/* ==========================================================================
   GLS Refrigeration & Air Conditioning - main stylesheet (v2 art direction)
   Designed and developed by COR3 Haus Production

   Direction: "daylight and equipment". A light, calm page between a dark
   header and footer. Photography carries the weight; type stays small and
   precise. Structure comes from spacing and hairlines, not boxes.
   Blue and red are the existing brand colours: blue marks system/links,
   red is reserved for the urgent call action.
   Mobile-first. Desktop navigation begins at 62em.
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #e3e8ea;
  --frost: #f6f8f9;
  --ink: #15252f;
  --ink-deep: #0f1c24;
  --ink-soft: #2b3f4b;
  --muted: #4a5c66;
  --blue: #0f6ca8;
  --blue-logo: #01adef;
  --red: #d32a2e;
  --red-deep: #b01f24;
  --line: rgba(21, 37, 47, 0.16);
  --line-ink: rgba(246, 248, 249, 0.16);

  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Small, controlled type scale */
  --fs-xs: 0.75rem;                                   /* 12 */
  --fs-label: 0.6875rem;                              /* 11 */
  --fs-sm: 0.8125rem;                                 /* 13 */
  --fs-base: 0.9375rem;                               /* 15 */
  --fs-lead: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --fs-h3: 1.0625rem;                                 /* 17 */
  --fs-h2: clamp(1.45rem, 1.2rem + 1vw, 2rem);        /* 23 to 32 */
  --fs-h1: clamp(1.75rem, 1.35rem + 1.7vw, 2.6rem);   /* 28 to 41 */

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(3.5rem, 8vw, 7rem);
  --radius: 2px;
  --header-h: 3.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.nav-open { overflow: hidden; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--fs-base) / 1.65 var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.site-header :focus-visible, .section--ink :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .nav :focus-visible { outline-color: var(--blue-logo); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--frost); color: var(--ink); padding: 0.6rem 0.9rem; font-weight: 600; }
.skip:focus { top: 0.75rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--frost { background: var(--frost); }
.section--ink { background: var(--ink); color: var(--frost); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Type ---- */
.label {
  display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1rem;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 1.5rem; height: 1px; background: var(--blue); flex: none; }
.section--ink .label, .hero .label { color: rgba(246, 248, 249, 0.72); }
.section--ink .label::before, .hero .label::before { background: var(--blue-logo); }
.h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.022em; }
.h2 { font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.02em; }
.h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; font-weight: 550; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }

/* ---- Buttons and links ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 2.75rem; padding: 0.6rem 1.15rem; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--frost); font: 500 var(--fs-sm) / 1 var(--font); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn--call { background: var(--red); border-color: var(--red); color: #fff; }
.btn--call:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(21, 37, 47, 0.4); }
.btn--ghost:hover { background: var(--ink); color: var(--frost); border-color: var(--ink); }
.hero .btn:not(.btn--call), .section--ink .btn:not(.btn--call) { background: transparent; color: var(--frost); border-color: rgba(246, 248, 249, 0.5); }
.hero .btn:not(.btn--call):hover, .section--ink .btn:not(.btn--call):hover { background: var(--frost); color: var(--ink); border-color: var(--frost); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.75rem; }

.link {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink); text-decoration: none; padding-block: 0.35rem; border-bottom: 1px solid var(--line);
}
.link::after { content: ""; width: 0.9rem; height: 1px; background: currentColor; transition: width 0.25s ease; }
.link:hover { border-bottom-color: var(--ink); }
.link:hover::after { width: 1.6rem; }
.hero .link, .section--ink .link { color: var(--frost); border-bottom-color: var(--line-ink); }
.hero .link:hover, .section--ink .link:hover { border-bottom-color: var(--frost); }

/* ==========================================================================
   Header: dark bar. The logo is designed for black, so it sits directly on it.
   LOGO PLACEMENT: assets/img/gls-logo-120/240.webp
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink); color: var(--frost); }
.site-header__bar {
  display: flex; align-items: center; gap: 1rem; min-height: var(--header-h);
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 2rem; width: auto; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.header-actions .btn { min-height: 2.5rem; padding: 0.5rem 0.9rem; }
.header-actions .btn--wa { display: none; background: transparent; color: var(--frost); border-color: rgba(246, 248, 249, 0.4); }
.header-actions .btn--wa:hover { background: var(--frost); color: var(--ink); border-color: var(--frost); }
.hide-mobile { display: none; }

.nav-toggle { display: none; }
.js .nav-toggle {
  display: block; position: relative; z-index: 80; width: 2.75rem; height: 2.75rem; flex: none;
  background: transparent; border: 1px solid rgba(246, 248, 249, 0.4); border-radius: var(--radius); cursor: pointer; padding: 0;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.2rem; height: 1.5px; background: var(--frost); position: absolute; left: 50%;
  transform: translateX(-50%); transition: transform 0.2s, background-color 0.2s, top 0.2s;
}
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* Without JS the nav is a wrapped row under the bar. With JS (.js) it becomes a drawer. */
.site-header__bar { flex-wrap: wrap; }
.nav { order: 3; flex: 1 0 100%; padding: 0.25rem 0 0.75rem; }
.nav__list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.nav__link { display: block; padding: 0.5rem 0; color: var(--frost); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; }
.nav__link[aria-current] { text-decoration: underline; text-underline-offset: 0.35em; }
.nav__contact { display: none; }

.js .site-header__bar { flex-wrap: nowrap; }
.js .nav-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(10, 18, 24, 0.66); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s 0.25s; }
.js .nav-scrim[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 0.25s; }
.js .nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; order: 0; flex: none;
  width: min(86vw, 21rem); padding: 4.75rem 1.5rem 2rem; display: flex; flex-direction: column;
  background: var(--ink-deep); color: var(--frost); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden; transition: transform 0.28s ease, visibility 0s 0.28s;
}
.js .nav[data-open="true"] { transform: none; visibility: visible; transition: transform 0.28s ease; }
.js .nav__list { flex-direction: column; flex-wrap: nowrap; gap: 0; }
.js .nav__link { padding: 0.95rem 0; border-bottom: 1px solid var(--line-ink); font-size: 1.0625rem; font-weight: 500; text-decoration: none; }
.js .nav__link[aria-current] { color: var(--blue-logo); }
.js .nav__contact { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.6rem; }
.js .nav__contact .btn { background: var(--frost); border-color: var(--frost); color: var(--ink); }
.js .nav__contact .btn--call { background: var(--red); border-color: var(--red); color: #fff; }
.js .nav__contact p { margin: 0.6rem 0 0; font-size: var(--fs-xs); color: rgba(246, 248, 249, 0.75); }
.js .nav__contact a.nav__mail { color: var(--frost); }

@media (min-width: 62em) {
  .js .nav-toggle, .js .nav-scrim, .js .nav__contact { display: none; }
  .header-actions .btn--wa { display: inline-flex; }
  .hide-mobile { display: inline; }
  .header-actions { margin-left: 0; }
  .site-header__bar, .js .site-header__bar { flex-wrap: nowrap; }
  .nav, .js .nav {
    position: static; z-index: auto; order: 0; flex: none; width: auto; padding: 0; background: transparent; color: var(--frost);
    flex-direction: row; overflow: visible; transform: none; visibility: visible; transition: none; margin-left: auto; margin-right: 1.5rem; display: flex;
  }
  .nav__list, .js .nav__list { flex-direction: row; flex-wrap: nowrap; gap: 0.25rem; }
  .nav__link, .js .nav__link {
    position: relative; display: block; padding: 0.5rem 0.8rem; border-bottom: 0; color: rgba(246, 248, 249, 0.78);
    font-size: var(--fs-sm); text-decoration: none; transition: color 0.2s;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.15rem; height: 1px;
    background: var(--blue-logo); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
  }
  .nav__link:hover, .nav__link[aria-current], .js .nav__link[aria-current] { color: #fff; text-decoration: none; }
  .nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
}

/* ==========================================================================
   Home hero: full-bleed photograph, small type, content set low-left.
   IMAGE PLACEMENT: hero photograph. The triage sheet below overlaps its base.
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; display: flex; color: var(--frost); background: var(--ink);
  min-height: clamp(30rem, 84svh, 43rem); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 42%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(15, 28, 36, 0.96) 0%, rgba(15, 28, 36, 0.7) 34%, rgba(15, 28, 36, 0.12) 68%, rgba(15, 28, 36, 0.3) 100%),
    linear-gradient(90deg, rgba(15, 28, 36, 0.62) 0%, rgba(15, 28, 36, 0) 62%);
}
.hero__inner { position: relative; margin-top: auto; width: 100%; padding-block: 3rem clamp(5.5rem, 10vw, 7.5rem); }
.hero__copy { max-width: 34rem; }
.hero__title { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.022em; margin-bottom: 1rem; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.6; color: rgba(246, 248, 249, 0.86); max-width: 46ch; margin-bottom: 1.5rem; }
.hero__caption { display: none; }
@media (min-width: 52em) {
  .hero__caption {
    display: block; position: absolute; right: var(--gutter); bottom: 5.25rem; max-width: 15rem; margin: 0;
    font-size: var(--fs-xs); line-height: 1.45; text-align: right; color: rgba(246, 248, 249, 0.66);
  }
}

/* Triage sheet overlaps the hero: one soft shadow, the only one on the page. */
.triage-wrap { position: relative; z-index: 3; margin-top: -3.5rem; padding-bottom: 0; }
.triage { background: var(--frost); border-radius: 3px; padding: 1.25rem; box-shadow: 0 24px 48px -28px rgba(15, 28, 36, 0.45); }
.triage__title { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; font-weight: 550; margin-bottom: 0.3rem; }
.triage__sub { margin: 0 0 1rem; font-size: var(--fs-sm); color: var(--muted); }
.triage__opts { display: grid; }
.triage__opt {
  display: flex; align-items: center; gap: 0.8rem; width: 100%; min-height: 3rem; padding: 0.7rem 0.1rem;
  border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 500 var(--fs-base) / 1.3 var(--font); text-align: left; cursor: pointer; transition: color 0.2s, padding 0.2s;
}
.triage__opt::before {
  content: ""; flex: none; width: 0.85rem; height: 0.85rem; border: 1.5px solid var(--ink); border-radius: 50%; transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.triage__opt:hover { color: var(--blue); padding-left: 0.35rem; }
.triage__opt[aria-pressed="true"] { color: var(--blue); }
.triage__opt[aria-pressed="true"]::before { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 2px var(--frost); }
.triage__result { margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ink); display: grid; gap: 0.9rem 2.5rem; animation: reveal 0.28s ease-out; }
.triage__result:empty { display: none; }
.triage__result h3 { font-size: var(--fs-base); font-weight: 600; }
.triage__list { display: grid; gap: 0.45rem; font-size: var(--fs-sm); }
.triage__list li { position: relative; padding-left: 1.1rem; max-width: 50ch; }
.triage__list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.5rem; height: 1px; background: var(--blue); }
.triage__safety { margin: 0; font-size: var(--fs-xs); color: var(--muted); border-left: 2px solid var(--red); padding-left: 0.7rem; }
.triage__fallback { margin-top: 0.75rem; font-size: var(--fs-sm); }
.triage__fallback ul { display: grid; gap: 0.3rem; margin-top: 0.4rem; }
@media (min-width: 52em) {
  .triage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 3rem; padding: 1.75rem 2rem; align-items: start; }
  .triage__head { grid-column: 1; }
  .triage__opts { grid-column: 2; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .triage__opt:nth-child(-n + 2) { border-top: 0; }
  .triage__result { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "h h" "list safety" "list actions"; align-items: start; margin-top: 1rem; }
  .triage__result h3 { grid-area: h; }
  .triage__result .triage__list { grid-area: list; }
  .triage__result .triage__safety { grid-area: safety; }
  .triage__result .actions { grid-area: actions; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Home composition
   ========================================================================== */
.sec-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.sec-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.sec-head .label { margin-bottom: 0.8rem; }

.intro__grid { display: grid; gap: 3rem; }
.intro__text .h2 { margin-bottom: 1.25rem; max-width: 18ch; }
.intro__text p { color: var(--ink-soft); }
.inline-facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; margin: 1.5rem 0 1.75rem; font-size: var(--fs-sm); font-weight: 500; }
@media (min-width: 40em) {
  .inline-facts { gap: 0.35rem 0; }
  .inline-facts li + li::before { content: ""; display: inline-block; width: 1px; height: 0.9em; background: var(--line); margin: 0 1rem; vertical-align: -0.1em; }
}
.intro__media { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); padding-bottom: 2rem; }
.intro__media .m1 { grid-column: 1 / 9; grid-row: 1; }
.intro__media .m2 { grid-column: 7 / 13; grid-row: 1; align-self: end; margin-bottom: -2rem; position: relative; z-index: 2; outline: 0.5rem solid var(--ground); }
@media (min-width: 52em) {
  .intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
}

/* Image presentation: no borders, no caption bars. */
.ph { margin: 0; }
.ph__frame { overflow: hidden; border-radius: var(--radius); background: #c4ccd0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { margin-top: 0.55rem; font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); }
.section--ink .ph figcaption { color: rgba(246, 248, 249, 0.66); }
.r-34 .ph__frame, .ph.r-34 .ph__frame { aspect-ratio: 3 / 4; }
.r-45 .ph__frame, .ph.r-45 .ph__frame { aspect-ratio: 4 / 5; }
.r-32 .ph__frame, .ph.r-32 .ph__frame { aspect-ratio: 3 / 2; }
.r-43 .ph__frame, .ph.r-43 .ph__frame { aspect-ratio: 4 / 3; }
.r-21 .ph__frame, .ph.r-21 .ph__frame { aspect-ratio: 16 / 10; }

/* Services: image-led editorial rows */
.svc { display: grid; gap: 1.25rem; padding-block: clamp(1.75rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.svc__body .h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.svc__body p { color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); margin: 0 0 1.25rem; }
.tags li + li::before { content: "/"; margin: 0 0.6rem; opacity: 0.45; }
.svc .ph__frame img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.svc:hover .ph__frame img { transform: scale(1.03); }
@media (min-width: 52em) {
  .svc { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: center; }
  .svc__media { grid-column: 1 / 7; }
  .svc__body { grid-column: 8 / 13; }
  .svc--flip .svc__media { grid-column: 7 / 13; grid-row: 1; }
  .svc--flip .svc__body { grid-column: 2 / 7; grid-row: 1; }
}
.pair { display: grid; border-top: 1px solid var(--line); }
.pair > div { padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.pair .h3 { margin-bottom: 0.5rem; }
.pair p { color: var(--ink-soft); font-size: var(--fs-sm); }
@media (min-width: 52em) { .pair { grid-template-columns: 1fr 1fr; column-gap: 2rem; } .pair > div:nth-child(odd) { padding-right: 2rem; } }

/* Work teaser (dark) */
.teaser { display: grid; gap: 0.6rem; grid-template-columns: 1fr 1fr; }
.teaser .ph__frame, .teaser figure { height: 100%; }
.teaser figure { margin: 0; }
.teaser .t1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.teaser .t2, .teaser .t3, .teaser .t4, .teaser .t5 { aspect-ratio: 1 / 1; }
.teaser .t2 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.teaser .t5 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.teaser img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.teaser figure:hover img { transform: scale(1.04); }
@media (min-width: 52em) {
  .teaser { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(11rem, 17vw, 15rem); gap: 0.75rem; }
  .teaser .t1 { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: auto; }
  .teaser .t2 { grid-column: 5 / 10; grid-row: 1 / 2; aspect-ratio: auto; }
  .teaser .t3 { grid-column: 10 / 13; grid-row: 1 / 3; aspect-ratio: auto; }
  .teaser .t4 { grid-column: 5 / 8; grid-row: 2 / 3; aspect-ratio: auto; }
  .teaser .t5 { grid-column: 8 / 10; grid-row: 2 / 3; aspect-ratio: auto; }
}

.cols4 { display: grid; gap: 1.75rem 2rem; }
.cols4 > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.cols4 h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 0.4rem; }
.cols4 p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
@media (min-width: 40em) { .cols4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62em) { .cols4 { grid-template-columns: repeat(4, 1fr); } }

/* Closing contact (light) */
.closing__grid { display: grid; gap: 2rem; }
.closing .h2 { margin-bottom: 0.9rem; max-width: 20ch; }
.contact-index { border-top: 1px solid var(--ink); }
.contact-index > div { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-index a { text-decoration: none; }
.contact-index a::after { content: ""; position: absolute; inset: 0; }   /* whole row is the link */
.contact-index small { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em; }
.contact-index strong { font-size: var(--fs-h3); font-weight: 550; letter-spacing: -0.01em; text-align: right; }
.contact-index div:hover a strong { color: var(--blue); }
@media (min-width: 52em) { .closing__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: center; } }

/* ==========================================================================
   Inner page heads and rows
   ========================================================================== */
.phead { padding-top: clamp(2rem, 5vw, 3.5rem); }
.crumbs { margin-bottom: 1.25rem; font-size: var(--fs-xs); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.phead__title { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.022em; max-width: 24ch; margin-bottom: 1rem; }
.phead__lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 54ch; margin-bottom: 1.5rem; }
.phead__media { margin-top: clamp(1.75rem, 4vw, 3rem); }
.phead__media .ph__frame { aspect-ratio: 16 / 10; }
@media (min-width: 52em) { .phead__media .ph__frame { aspect-ratio: 21 / 8; } }
.phead--split .phead__grid { display: grid; gap: 2rem; }
.phead--split .phead__media { margin: 0; }
@media (min-width: 52em) {
  .phead--split .phead__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
  .phead--split .phead__media .ph__frame { aspect-ratio: 4 / 5; max-height: 30rem; }
}
.phead--tight { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.rows { border-top: 1px solid var(--ink); }
.rows__item { display: grid; gap: 0.5rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.rows__item h3 { font-size: var(--fs-h3); font-weight: 550; letter-spacing: -0.01em; }
.rows__item p { margin: 0; color: var(--ink-soft); }
.rows__item .tags { margin: 0.8rem 0 0; }
.rows__item .link { justify-self: start; margin-top: 0.4rem; }
@media (min-width: 52em) {
  .rows__item { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); align-items: start; }
  .rows__item .link { justify-self: end; margin-top: 0; }
}

.split { display: grid; gap: 2rem; }
@media (min-width: 52em) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
}
.split__text .h2 { margin-bottom: 1.25rem; }

.checklist { display: grid; gap: 0.55rem; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 1.5rem; max-width: 52ch; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.75rem; height: 0.4rem; border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); }

.duo { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; align-items: start; }
.duo .wide { grid-column: 1 / -1; }
@media (min-width: 52em) { .duo { grid-template-columns: 7fr 5fr; gap: 1rem; } .duo .wide { grid-column: auto; } .duo--rev { grid-template-columns: 5fr 7fr; } }

.facts { border-top: 1px solid var(--ink); }
.facts__item { display: grid; gap: 0.3rem 2rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.facts__item dt { font-weight: 600; }
.facts__item dd { margin: 0; color: var(--ink-soft); max-width: 58ch; }
@media (min-width: 52em) { .facts__item { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } }

.faq { border-top: 1px solid var(--ink); }
.faq__item { padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 0.3rem; }
.faq__item p { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 62em) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; } }
.methods { border-top: 1px solid var(--ink); }
.method { display: grid; gap: 0.1rem; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.method__label { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em; }
.method__value { font-size: 1.1875rem; line-height: 1.3; font-weight: 550; letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere; }
a.method__value:hover { color: var(--blue); }
.method__note { margin: 0.2rem 0 0; font-size: var(--fs-xs); color: var(--muted); }
.method__note a { border-bottom: 1px solid var(--line); text-decoration: none; }

.form { background: var(--frost); border-radius: 3px; padding: clamp(1.25rem, 3vw, 2rem); }
.form__head h2 { font-size: var(--fs-h3); font-weight: 550; margin-bottom: 1.25rem; }
.form__body { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.9rem; padding: 0.65rem 0.8rem; border: 1px solid rgba(21, 37, 47, 0.3); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 400 var(--fs-base) / 1.4 var(--font); transition: border-color 0.2s;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff6f6; }
.field__error { margin: 0; color: #a3171b; font-size: var(--fs-xs); font-weight: 600; }
.field__error[hidden] { display: none; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.form__status { border-left: 2px solid var(--blue); padding: 0.4rem 0 0.4rem 0.9rem; background: transparent; font-size: var(--fs-sm); }
.form__status[hidden] { display: none; }
.form__status p { margin: 0 0 0.5rem; }
.form__status p:last-child { margin: 0; }
.form__status strong { display: block; margin-bottom: 0.2rem; font-weight: 600; }
.form__status a { text-decoration: underline; }

.locate { display: grid; gap: 1.75rem; }
.locate__body { display: grid; gap: 0.9rem; align-content: center; }
.locate__addr { font-size: 1.1875rem; line-height: 1.3; font-weight: 550; letter-spacing: -0.01em; margin: 0; }
.locate__photo .ph__frame { aspect-ratio: 16 / 10; }
@media (min-width: 52em) { .locate { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } .locate__photo { order: -1; } }

/* ==========================================================================
   Map chooser dialog
   ========================================================================== */
.mapdlg { width: min(92vw, 24rem); padding: 0; border: 0; border-radius: 3px; background: var(--frost); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.mapdlg::backdrop { background: rgba(10, 18, 24, 0.7); }
.mapdlg__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 1rem 0.8rem 1.1rem; background: var(--ink); color: var(--frost); }
.mapdlg__head h2 { font-size: var(--fs-base); font-weight: 550; }
.mapdlg__close { width: 2.5rem; height: 2.5rem; border: 1px solid rgba(246, 248, 249, 0.4); border-radius: var(--radius); background: transparent; color: var(--frost); font: 300 1.4rem / 1 var(--font); cursor: pointer; }
.mapdlg__close:focus-visible { outline-color: var(--blue-logo); }
.mapdlg__body { padding: 1.1rem; display: grid; gap: 0.6rem; }
.mapdlg__body p { margin: 0 0 0.3rem; font-size: var(--fs-xs); color: var(--muted); }
.mapdlg__opt { justify-content: flex-start; }

/* ==========================================================================
   Our work: grouped mosaic gallery + lightbox + video
   ========================================================================== */
.group { display: grid; gap: 1.25rem; padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.group__head h2 { font-size: var(--fs-h3); font-weight: 550; margin-bottom: 0.35rem; }
.group__head p { margin: 0; font-size: var(--fs-sm); color: var(--muted); max-width: 30ch; }
.group__head .count { display: block; font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); background: #c4ccd0; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; }
.tile.is-wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.045); }
.tile__cap {
  position: absolute; inset: auto 0 0 0; padding: 2rem 0.8rem 0.7rem; text-align: left; font: 400 var(--fs-xs) / 1.35 var(--font); color: #fff;
  background: linear-gradient(0deg, rgba(15, 28, 36, 0.82), rgba(15, 28, 36, 0)); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; } }
@media (min-width: 52em) {
  .group { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2.5rem; }
  .group__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(14rem, 27vw, 22rem); gap: 0.75rem; }
  .tile, .tile.is-wide { aspect-ratio: auto; grid-column: span 4; }
  .tile.s5 { grid-column: span 5; } .tile.s6 { grid-column: span 6; } .tile.s7 { grid-column: span 7; } .tile.s8 { grid-column: span 8; }
}

.videos { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); }
.video { margin: 0; }
.video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: var(--radius); }
.video figcaption { padding-top: 0.6rem; font-size: var(--fs-xs); line-height: 1.45; color: rgba(246, 248, 249, 0.7); }

.lightbox { width: min(94vw, 62rem); max-height: 94svh; padding: 0; border: 0; border-radius: 3px; background: var(--ink-deep); color: var(--frost); overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 12, 16, 0.86); }
.lightbox__img { width: 100%; max-height: 76svh; object-fit: contain; background: var(--ink-deep); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; }
.lightbox__cap { margin: 0; font-size: var(--fs-xs); color: rgba(246, 248, 249, 0.8); }
.lightbox__btns { display: flex; gap: 0.4rem; flex: none; }
.lightbox__btns button { min-width: 2.5rem; height: 2.5rem; padding: 0 0.7rem; border: 1px solid rgba(246, 248, 249, 0.35); border-radius: var(--radius); background: transparent; color: var(--frost); font: 500 var(--fs-xs) / 1 var(--font); cursor: pointer; }
.lightbox__btns button:hover { background: var(--frost); color: var(--ink); }
.lightbox :focus-visible { outline-color: var(--blue-logo); }

/* ==========================================================================
   Footer (dark; ATTRIBUTION wording required)
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--frost); }
.footer__grid { display: grid; gap: 2.25rem; padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.footer__brand img { height: 2.75rem; width: auto; margin-bottom: 1rem; }
.footer__brand p { margin: 0; font-size: var(--fs-sm); max-width: 32ch; color: rgba(246, 248, 249, 0.72); }
.footer__col h2 { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 248, 249, 0.6); margin-bottom: 0.9rem; }
.footer__col li + li { margin-top: 0.45rem; }
.footer__col a, .footer__col address { font-size: var(--fs-sm); font-style: normal; color: var(--frost); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer__legal { display: grid; gap: 0.35rem; padding-block: 1.1rem 1.5rem; border-top: 1px solid var(--line-ink); font-size: var(--fs-xs); color: rgba(246, 248, 249, 0.62); }
.footer__legal p { margin: 0; max-width: none; }
.footer__legal a { color: var(--frost); text-underline-offset: 0.2em; }
@media (min-width: 52em) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
  .footer__legal { grid-template-columns: 1fr auto; }
}

.notfound { padding-block: var(--section); }
.notfound .phead__title { margin-bottom: 1rem; }

/* ==========================================================================
   Motion (GSAP drives entrances; CSS holds the hidden start state only while
   the .anim class is present. The class is never set for reduced-motion users
   and is removed automatically if the animation script fails to load.)
   ========================================================================== */
.anim [data-reveal] { opacity: 0; transform: translateY(20px); }
.anim [data-reveal-img] .ph__frame, .anim [data-reveal-img].tile { clip-path: inset(0 0 100% 0); }

/* Hero copy entrance is CSS-only and transform-only: the text is visible from the first frame and never waits on JavaScript. */
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
.hero__copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__copy > *:nth-child(2) { animation-delay: 0.07s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.14s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .triage-wrap, .videos, .mapdlg, .lightbox, .hero__shade { display: none !important; }
  body { background: #fff; }
}
