/* ==========================================================================
   CLADSMAN — Specialist cladding installers, Melbourne & Victoria
   Round-2 redesign: photographic, editorial, architectural.
   Palette: warm paper / ink / charcoal band moments / muted oak accent.
   Type: Archivo variable (wght + wdth) — expanded uppercase display,
   normal-width body; system mono for captions and indices.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2efe9;
  --paper-2: #eae6dd;
  --white: #ffffff;
  --ink: #131415;
  --ink-soft: #35383a;
  --grey: #6f7370;
  --line: rgba(19, 20, 21, 0.16);
  --line-strong: rgba(19, 20, 21, 0.32);
  --charcoal: #191b1c;
  --charcoal-2: #212425;
  --timber: #a87c52;
  --timber-deep: #8f6540;
  --white-line: rgba(255, 255, 255, 0.22);
  --white-dim: rgba(255, 255, 255, 0.68);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap-max: 1480px;
  --gutter: clamp(20px, 4vw, 56px);

  --dur: 0.7s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (not hidden): hidden turns body into a scroll container and
     breaks position:sticky, which the film hero relies on */
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
button { font: inherit; }

::selection { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------- utility */
.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section[id] { scroll-margin-top: 92px; }

.mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 10px 18px; z-index: 200; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* Display headings — expanded, tight, architectural */
.display {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-weight: 640;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.95;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  height: 54px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--timber-deep); border-color: var(--timber-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--timber); border-color: var(--timber); color: var(--white); }

.btn--ghost-light { background: rgba(15, 16, 17, 0.18); border-color: rgba(255, 255, 255, 0.65); color: var(--white); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.4s var(--ease);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  max-width: none;
}
.brand {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125;
  font-weight: 780;
  font-size: 21px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
}
.brand sup {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  vertical-align: super;
  margin-left: 6px;
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 520;
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.site-nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.site-nav .btn { height: 44px; padding-inline: 20px; }
.nav-phone { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; white-space: nowrap; }

/* Over-hero state (dark imagery behind) */
.site-header--overlay { color: var(--white); }
.site-header--overlay .brand, .site-header--overlay .site-nav a:not(.btn) { color: var(--white); text-shadow: 0 1px 16px rgba(8, 10, 12, 0.45); }
.site-header--overlay .site-nav .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.site-header--overlay .site-nav .btn:hover { background: var(--timber); border-color: var(--timber); color: var(--white); }

/* Solid state after scroll */
.site-header.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand, .site-header.is-solid .site-nav a:not(.btn) { color: var(--ink); }
.site-header.is-solid .site-nav .btn { background: var(--ink); border-color: var(--ink); color: var(--white); }
.site-header.is-solid .site-nav .btn:hover { background: var(--timber-deep); border-color: var(--timber-deep); }

@media (max-width: 860px) {
  .site-nav a.nav-link { display: none; }
  .site-header .wrap { height: 64px; }
}
@media (max-width: 600px) {
  .site-nav .nav-phone { display: none; }
  .brand { font-size: 18px; }
  .site-nav .btn { padding-inline: 16px; font-size: 11.5px; height: 40px; }
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  --hero-base-scale: 1.012;
}
.hero--short { min-height: max(78svh, 560px); }

.hero__media {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
  will-change: transform;
}
.hero__media img, .hero__media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media picture img { height: 100%; }
.hero__media--rotator .hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 1.8s ease,
    transform 8.5s cubic-bezier(0.18, 0.82, 0.2, 1);
}
.hero__media--rotator .hero__slide.is-active {
  opacity: 1;
  transform: scale(1.065);
}
.hero__media--rotator .hero__slide--01 img { object-position: 50% 50%; }
.hero__media--rotator .hero__slide--02 img { object-position: 60% 50%; }
.hero__media--rotator .hero__slide--03 img { object-position: 52% 50%; }
@media (max-width: 640px) {
  .hero__media--rotator .hero__slide--01 img { object-position: 50% 50%; }
  .hero__media--rotator .hero__slide--02 img { object-position: 64% 50%; }
  .hero__media--rotator .hero__slide--03 img { object-position: 55% 50%; }
}
.hero__media--video .hero__poster,
.hero__media--video .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media--video .hero__poster { z-index: 0; }
.hero__media--video .hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media--video .hero__video {
  z-index: 1;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 1.2s ease;
}
.hero__media--video .hero__video.is-ready { opacity: 1; }

/* Scrims: bottom-left for text, top for header. Photos stay visible. */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10, 11, 12, 0.44) 0%, rgba(10, 11, 12, 0) 20%),
    linear-gradient(78deg, rgba(10, 11, 12, 0.62) 0%, rgba(10, 11, 12, 0.26) 36%, rgba(10, 11, 12, 0) 60%),
    linear-gradient(to top, rgba(10, 11, 12, 0.72) 0%, rgba(10, 11, 12, 0.26) 32%, rgba(10, 11, 12, 0) 56%);
  pointer-events: none;
}
.hero--video::before {
  background:
    linear-gradient(to bottom, rgba(10, 11, 12, 0.3) 0%, rgba(10, 11, 12, 0) 20%),
    linear-gradient(78deg, rgba(10, 11, 12, 0.46) 0%, rgba(10, 11, 12, 0.2) 38%, rgba(10, 11, 12, 0.03) 66%),
    linear-gradient(to top, rgba(10, 11, 12, 0.58) 0%, rgba(10, 11, 12, 0.16) 35%, rgba(10, 11, 12, 0) 58%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(28px, 5vh, 56px);
  display: grid;
  gap: clamp(20px, 3.2vh, 34px);
}
.hero__eyebrow { color: var(--white-dim); display: flex; gap: 14px; align-items: center; }
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--timber); }

.hero__title {
  font-size: clamp(30px, 8.4vw, 96px);
  color: var(--white);
  text-shadow: 0 2px 44px rgba(10, 11, 12, 0.35);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(112%); }
.is-ready .hero__title .line > span { transform: translateY(0); transition: transform 1s var(--ease); }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: 0.08s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: 0.16s; }
.hero--video .hero__title .line > span {
  transform: none;
  transition: none;
}

.hero__sub {
  max-width: 56ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 22px rgba(10, 11, 12, 0.55), 0 1px 3px rgba(10, 11, 12, 0.35);
}
.hero__sub strong { font-weight: 620; color: var(--white); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-top: 1px solid var(--white-line);
  padding-top: 16px;
  color: var(--white-dim);
}
.hero__foot .mono { font-size: 10.5px; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--white-dim), transparent);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Load reveal for hero media */
.hero__media { clip-path: inset(0 0 0 0); }
.js .hero__media { opacity: 0.001; transform: scale(1.07); }
.js .is-ready .hero__media,
.js.is-ready .hero__media {
  opacity: 1;
  transform: scale(1.015);
  transition: opacity 0.9s ease, transform 1.6s var(--ease);
}

@media (max-width: 640px) {
  .hero__inner {
    padding-block: 88px 96px;
    gap: 16px;
  }
  .hero__eyebrow {
    max-width: min(100%, 30ch);
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 10px;
    line-height: 1.45;
  }
  .hero__eyebrow::before { width: 34px; }
  .hero__title {
    max-width: 100%;
    font-size: clamp(34px, 10.2vw, 44px);
    font-variation-settings: "wdth" 104;
    line-height: 0.98;
  }
  .hero__sub {
    max-width: min(100%, 34ch);
    font-size: 15px;
    line-height: 1.48;
  }
  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__cta .btn {
    width: min(100%, 304px);
  }
  .hero__foot .hero__caption { display: none; }
}

@media (max-width: 600px) {
  .site-header .wrap { gap: 12px; }
  .site-nav .btn { display: none; }
}

@media (max-width: 480px) {
  .hero__inner { padding-bottom: 112px; }
}

/* --------------------------------------------------------------- sections */
.section { padding-block: clamp(72px, 10vw, 148px); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--flush-top { padding-top: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.section-head__label { color: var(--grey); display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.section-head__label::after { content: ""; width: 52px; height: 1px; background: var(--line-strong); }
.section-head h2 { font-size: clamp(30px, 4.6vw, 64px); }
.section-head--stack { flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 700px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section-head h2 { max-width: 100%; overflow-wrap: anywhere; }
}

.lede {
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.45;
  font-weight: 460;
  letter-spacing: -0.005em;
  max-width: 30em;
}
.lede strong { font-weight: 640; }

/* --------------------------------------------------------------- marquee */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 14px;
  background: var(--paper);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee__group { display: flex; align-items: center; }
.marquee__group span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-inline: 18px;
}
.marquee__group span::after { content: "·"; color: var(--timber); margin-left: 36px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------- proof strip */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3.5vw, 44px);
}
.proof__item { display: grid; gap: 10px; align-content: start; }
.proof__item .mono { color: var(--timber-deep); }
.proof__item p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.proof__item h3 { font-size: clamp(17px, 1.6vw, 21px); font-weight: 620; letter-spacing: -0.005em; }
@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------------------------------------------------- work carousel */
.work-section {
  background:
    radial-gradient(circle at 76% 16%, rgba(168, 124, 82, 0.12), transparent 34%),
    linear-gradient(180deg, #090a0a 0%, #141616 100%);
  color: var(--white);
  overflow: hidden;
}
.work-section .section-head__label { color: rgba(255,255,255,0.52); }
.work-section .section-head__label::after { background: rgba(255,255,255,0.22); }
.work-section .display { color: var(--white); }

.work-carousel {
  --work-x: 0;
  --work-y: 0;
  position: relative;
  min-height: clamp(520px, 56vw, 740px);
  margin-top: clamp(8px, 1.2vw, 18px);
  perspective: 1200px;
  isolation: isolate;
}
.work-carousel::before {
  content: "";
  position: absolute;
  inset: 12% -8% 8%;
  background: linear-gradient(90deg, rgba(255,255,255,0.035), transparent 24%, rgba(255,255,255,0.05) 58%, transparent);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0.78;
  pointer-events: none;
}
.work-item {
  --slide-x: 0px;
  --slide-scale: 0.76;
  --slide-rot: 0deg;
  position: absolute;
  top: clamp(26px, 4vw, 56px);
  left: 50%;
  width: min(72vw, 920px);
  height: clamp(360px, 42vw, 580px);
  margin: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(calc(-50% + var(--slide-x) + (var(--work-x) * 10px)), calc(var(--work-y) * 8px), 0)
    scale(var(--slide-scale))
    rotateY(var(--slide-rot));
  transition: opacity 0.7s ease, transform 0.85s var(--ease), filter 0.7s ease;
  filter: brightness(0.42) saturate(0.72);
  z-index: 1;
}
.work-item.is-active {
  --slide-x: 0px;
  --slide-scale: 1;
  --slide-rot: 0deg;
  opacity: 1;
  pointer-events: auto;
  filter: brightness(1) saturate(1.02);
  z-index: 4;
}
html:not(.js) .work-item:first-of-type {
  --slide-x: 0px;
  --slide-scale: 1;
  --slide-rot: 0deg;
  opacity: 1;
  pointer-events: auto;
  filter: brightness(1) saturate(1.02);
  z-index: 4;
}
.work-item.is-prev {
  --slide-x: max(-640px, -36vw);
  --slide-scale: 0.78;
  --slide-rot: 6deg;
  opacity: 0.42;
  z-index: 2;
}
.work-item.is-next {
  --slide-x: min(640px, 36vw);
  --slide-scale: 0.78;
  --slide-rot: -6deg;
  opacity: 0.42;
  z-index: 2;
}
.work-item.is-far-prev {
  --slide-x: max(-930px, -54vw);
  --slide-scale: 0.58;
  opacity: 0.18;
  z-index: 1;
}
.work-item.is-far-next {
  --slide-x: min(930px, 54vw);
  --slide-scale: 0.58;
  opacity: 0.18;
  z-index: 1;
}
.work-item__media {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #0f1010;
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0,0,0,0.44), 0 0 0 1px rgba(255,255,255,0.1);
}
.work-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 38%, rgba(0,0,0,0.74) 100%),
    radial-gradient(circle at calc(54% + var(--work-x) * 18%) calc(42% + var(--work-y) * 12%), rgba(255,255,255,0.18), transparent 34%);
  pointer-events: none;
}
.work-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.035 + var(--slide-zoom, 0)));
  transition: transform 1.1s var(--ease);
}
.work-item.is-active .work-item__media img {
  --slide-zoom: 0.018;
}
.work-item__caption {
  position: absolute;
  left: clamp(18px, 3vw, 40px);
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 3vw, 36px);
  display: grid;
  gap: 9px;
  color: var(--white);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
  z-index: 2;
}
.work-item.is-active .work-item__caption {
  opacity: 1;
  transform: translateY(0);
}
html:not(.js) .work-item:first-of-type .work-item__caption {
  opacity: 1;
  transform: translateY(0);
}
.work-item__caption .mono {
  color: rgba(255,255,255,0.58);
  font-size: 10.5px;
}
.work-item__caption .title {
  max-width: 18ch;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 760;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0;
}
.work-item__body {
  display: none;
  max-width: 58ch;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.55;
}
.work-carousel__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 3.4vw, 48px);
  z-index: 8;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}
.work-nav {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font: 700 28px/1 var(--font-body);
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.26);
  transition: transform 0.25s var(--ease), background 0.25s ease;
}
.work-nav:hover { transform: translateY(-2px); background: var(--white); }
.work-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) minmax(240px, 0.44fr) minmax(260px, 0.68fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
  padding-top: clamp(22px, 3vw, 38px);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.work-story .mono { color: rgba(255,255,255,0.44); }
.work-story h3 {
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 640;
  line-height: 1.08;
  color: var(--white);
}
.work-story p {
  max-width: 68ch;
  color: rgba(255,255,255,0.74);
  font-size: 15.5px;
  line-height: 1.62;
}

@media (max-width: 860px) {
  .work-carousel {
    display: flex;
    gap: 16px;
    min-height: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px var(--gutter) 22px;
    margin-inline: calc(var(--gutter) * -1);
    perspective: none;
    scrollbar-width: none;
  }
  .work-carousel::-webkit-scrollbar { display: none; }
  .work-carousel::before { display: none; }
  .work-item,
  .work-item.is-active,
  .work-item.is-prev,
  .work-item.is-next,
  .work-item.is-far-prev,
  .work-item.is-far-next {
    position: relative;
    inset: auto;
    left: auto;
    flex: 0 0 min(88vw, 560px);
    width: auto;
    height: clamp(390px, 88vw, 560px);
    opacity: 1;
    filter: none;
    transform: none;
    scroll-snap-align: center;
    pointer-events: auto;
  }
  .work-item__media { height: 100%; }
  .work-item__caption {
    opacity: 1;
    transform: none;
  }
  .work-item__caption .title {
    max-width: 16ch;
    font-size: clamp(25px, 8vw, 40px);
  }
  .work-carousel__controls { display: none; }
  .work-story {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .work-item,
  .work-item.is-active,
  .work-item.is-prev,
  .work-item.is-next,
  .work-item.is-far-prev,
  .work-item.is-far-next {
    flex-basis: 86vw;
    height: 460px;
  }
}

/* --------------------------------------------------------------- services */
.services { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr 180px;
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(24px, 3vw, 40px);
  transition: background 0.35s var(--ease);
}
.service-row:hover { background: var(--white); }
.service-row__num { color: var(--grey); padding-top: 8px; }
.service-row h3 {
  font-size: clamp(21px, 2.6vw, 32px);
  font-variation-settings: "wdth" 112;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.service-row p { color: var(--ink-soft); font-size: 15.5px; max-width: 62ch; }
.service-row__tag { justify-self: end; text-align: right; color: var(--timber-deep); padding-top: 10px; }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 44px 1fr; }
  .service-row__tag { display: none; }
}

/* ------------------------------------------------------------ dark details */
.details-band {
  background: var(--charcoal);
  color: var(--white);
  padding-block: clamp(72px, 9vw, 132px);
  overflow: hidden;
}
.details-band .section-head__label { color: rgba(255, 255, 255, 0.55); }
.details-band .section-head__label::after { background: var(--white-line); }
.details-band .lede { color: rgba(255, 255, 255, 0.85); }
.details-band .lede strong { color: var(--white); }

.details-rail {
  display: flex;
  gap: clamp(14px, 1.8vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 10px;
  margin-top: clamp(36px, 5vw, 64px);
  scrollbar-width: none;
}
.details-rail::-webkit-scrollbar { display: none; }
.detail-card {
  flex: 0 0 auto;
  width: clamp(240px, 27vw, 380px);
  scroll-snap-align: start;
  display: grid;
  gap: 12px;
}
.detail-card figure { overflow: hidden; background: var(--charcoal-2); aspect-ratio: 4 / 5; margin: 0; }
.detail-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.detail-card:hover img { transform: scale(1.04); }
.detail-card figcaption { display: none; }
.detail-card .mono { color: rgba(255, 255, 255, 0.6); font-size: 10.5px; }
.detail-card .mono b { color: var(--white); font-weight: 600; display: block; margin-bottom: 2px; font-size: 11.5px; }

.details-band__hint { color: rgba(255,255,255,0.4); margin-top: 18px; }

/* ---------------------------------------------------------------- process */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
  counter-reset: step;
}
.process li {
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.process li .mono { color: var(--timber-deep); }
.process li h3 { font-size: 17px; font-weight: 620; }
.process li p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- faq */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 22px;
  font-size: clamp(16.5px, 1.6vw, 19px);
  font-weight: 560;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--timber-deep);
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 68ch; font-size: 15.5px; }

/* --------------------------------------------------------------- areas */
.areas-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #111313 0%, #191b1c 46%, #222526 100%);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.areas-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  opacity: 0.38;
}
.areas-section .wrap { position: relative; z-index: 1; }
.areas-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.areas-copy {
  display: grid;
  gap: 24px;
  max-width: 610px;
}
.areas-copy .section-head__label { color: rgba(255, 255, 255, 0.52); }
.areas-copy .section-head__label::after { background: rgba(255, 255, 255, 0.22); }
.areas-copy h2 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 74px);
}
.areas-copy p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.35vw, 19px);
}
.areas-cta {
  width: max-content;
  min-width: 172px;
}
.areas-map {
  position: relative;
  min-height: clamp(360px, 43vw, 560px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(160deg, rgba(168,124,82,0.12), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 38px 90px rgba(0,0,0,0.28);
  overflow: hidden;
}
.areas-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.10) 45%, transparent 58%);
  transform: translateX(-120%);
  animation: mapSheen 8.5s var(--ease) infinite;
}
.areas-map__svg {
  position: absolute;
  inset: 2% 2% 4% 2%;
  width: 96%;
  height: 94%;
  overflow: visible;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.34));
}
.map-disc {
  fill: rgba(255,255,255,0.035);
  stroke: none;
}
.map-land {
  fill: rgba(255,255,255,0.018);
}
.map-outline,
.map-spine,
.map-road,
.map-coast,
.map-dock,
.map-grid-lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.map-outline {
  stroke: url(#mapLine);
  stroke-width: 2.2;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawMap 2.8s var(--ease) forwards;
}
.map-grid-lines path {
  stroke: rgba(255,255,255,0.075);
  stroke-width: 0.8;
}
.map-road {
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1;
  stroke-linecap: round;
}
.map-road--main {
  stroke: rgba(255,255,255,0.31);
  stroke-width: 1.35;
}
.map-bay-fill {
  fill: rgba(4, 5, 6, 0.92);
  stroke: none;
}
.map-coast {
  stroke: rgba(255,255,255,0.62);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.map-dock {
  stroke: rgba(168, 124, 82, 0.76);
  stroke-width: 1;
  stroke-linecap: round;
}
.map-spine {
  stroke: rgba(168, 124, 82, 0.68);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
  animation: routeDrift 13s linear infinite;
}
.map-spine--secondary {
  stroke: rgba(255,255,255,0.22);
  stroke-width: 1;
  animation-duration: 17s;
}
.map-pins circle {
  fill: var(--timber);
  stroke: rgba(255,255,255,0.72);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPinPulse 3.6s ease-in-out infinite;
}
.map-pins circle:nth-child(2) { animation-delay: 0.35s; }
.map-pins circle:nth-child(3) { animation-delay: 0.7s; }
.map-pins circle:nth-child(4) { animation-delay: 1.05s; }
.map-pins circle:nth-child(5) { animation-delay: 1.4s; }
.map-pins circle:nth-child(6) { animation-delay: 1.75s; }
.map-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.9vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(255,255,255,0.66);
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.map-label--inner { left: 46%; top: 53%; color: rgba(255,255,255,0.82); }
.map-label--east { right: 7%; top: 34%; }
.map-label--bay { left: 50%; bottom: 13%; }
.map-label--north { left: 25%; top: 19%; }
.map-label--growth { right: 10%; bottom: 25%; }
.area-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(34px, 4vw, 58px);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}
.area-group {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: clamp(20px, 2vw, 30px);
  background: rgba(18, 19, 20, 0.82);
}
.area-group .mono { color: rgba(255,255,255,0.48); }
.area-group p {
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  line-height: 1.62;
}
@keyframes drawMap {
  to { stroke-dashoffset: 0; }
}
@keyframes routeDrift {
  to { stroke-dashoffset: -260; }
}
@keyframes mapPinPulse {
  0%, 100% { transform: scale(1); opacity: 0.68; }
  45% { transform: scale(1.45); opacity: 1; }
}
@keyframes mapSheen {
  0%, 42% { transform: translateX(-120%); opacity: 0; }
  52% { opacity: 0.75; }
  70%, 100% { transform: translateX(120%); opacity: 0; }
}
@media (max-width: 980px) {
  .areas-layout {
    grid-template-columns: 1fr;
  }
  .areas-map {
    min-height: 430px;
  }
  .area-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .areas-section::before {
    background-size: 64px 64px;
    opacity: 0.28;
  }
  .areas-copy {
    gap: 18px;
  }
  .areas-copy h2 {
    font-size: clamp(31px, 9vw, 42px);
  }
  .areas-map {
    min-height: 330px;
    border-left: 0;
  }
  .map-label {
    font-size: 8.5px;
  }
  .map-label--north { left: 18%; top: 18%; }
  .map-label--inner { left: 40%; top: 54%; }
  .map-label--east { right: 5%; top: 34%; }
  .map-label--bay { left: 45%; bottom: 12%; }
  .map-label--growth { right: 7%; bottom: 24%; }
  .area-groups {
    grid-template-columns: 1fr;
  }
  .area-group {
    min-height: 0;
    padding: 22px;
  }
}

/* --------------------------------------------------------------- reviews */
.reviews-section {
  background:
    radial-gradient(circle at 16% 0%, rgba(168,124,82,0.14), transparent 34%),
    linear-gradient(135deg, #111313 0%, #1a1c1d 100%);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}
.reviews-copy {
  display: grid;
  gap: 24px;
  max-width: 620px;
}
.reviews-copy .section-head__label { color: rgba(255,255,255,0.52); }
.reviews-copy .section-head__label::after { background: rgba(255,255,255,0.22); }
.reviews-copy h2 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 72px);
}
.reviews-copy p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(16px, 1.3vw, 18px);
  max-width: 58ch;
}
.reviews-copy .btn { width: max-content; }
.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.reviews-score {
  display: grid;
  grid-template-columns: auto 1fr;
  width: max-content;
  min-width: 220px;
  gap: 4px 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.reviews-score[hidden] { display: none; }
.reviews-score strong {
  grid-row: span 2;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 0.88;
  letter-spacing: 0;
}
.reviews-score span {
  color: rgba(255,255,255,0.9);
  font-weight: 680;
}
.reviews-score small {
  color: rgba(255,255,255,0.56);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.review-widget-preview {
  position: relative;
  min-height: clamp(330px, 34vw, 440px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025)),
    rgba(8,9,9,0.52);
  box-shadow: 0 34px 90px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}
.review-widget-preview::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 70%;
  height: 95%;
  background: radial-gradient(circle, rgba(168,124,82,0.22), transparent 62%);
  pointer-events: none;
}
.review-feed-state {
  position: absolute;
  left: clamp(24px, 3vw, 36px);
  top: clamp(22px, 3vw, 32px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 48px);
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,11,11,0.58);
  color: rgba(255,255,255,0.62);
  backdrop-filter: blur(10px);
}
.review-feed-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--timber);
  box-shadow: 0 0 18px rgba(168,124,82,0.74);
}
.review-widget-preview.is-live .review-feed-state {
  color: rgba(255,255,255,0.8);
}
.review-card {
  position: absolute;
  inset: clamp(26px, 4vw, 48px);
  display: grid;
  align-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateX(26px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.65s var(--ease);
}
.review-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.review-card .mono { color: rgba(255,255,255,0.48); }
.review-card h3 {
  max-width: 11ch;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 760;
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--white);
}
.review-card p {
  max-width: 44ch;
  color: rgba(255,255,255,0.74);
  font-size: 15.5px;
  line-height: 1.58;
}
.review-card[data-google-review] {
  align-content: end;
  padding-top: 42px;
}
.review-card[data-google-review] h3 {
  max-width: none;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}
.review-card__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: rgba(255,255,255,0.58);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.review-card__score {
  color: var(--timber);
}
.review-card__link {
  width: max-content;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.review-card__link:hover { color: var(--timber); }
.review-widget-preview__nav {
  position: absolute;
  left: clamp(26px, 4vw, 48px);
  bottom: clamp(24px, 3vw, 36px);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.review-widget-preview__nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font: 700 24px/1 var(--font-body);
  cursor: pointer;
}
.review-dots {
  position: absolute;
  right: clamp(24px, 3vw, 36px);
  bottom: clamp(34px, 3.4vw, 46px);
  display: flex;
  gap: 7px;
}
.review-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.24);
  padding: 0;
}
.review-dots button.is-active { background: var(--timber); }
@media (max-width: 900px) {
  .reviews-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .review-widget-preview { min-height: 390px; }
  .review-card h3 { max-width: 13ch; font-size: clamp(29px, 9vw, 42px); }
  .reviews-actions .btn { width: 100%; }
  .reviews-score { width: 100%; }
  .review-card[data-google-review] h3 { font-size: clamp(25px, 8vw, 34px); }
}

/* ------------------------------------------------------------------ quote */
.quote-section { background: var(--paper-2); border-top: 1px solid var(--line); }
.quote-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.quote-rail { display: grid; gap: 26px; position: sticky; top: 100px; }
.quote-rail h2 { font-size: clamp(32px, 4.2vw, 56px); }
.quote-rail > p { color: var(--ink-soft); max-width: 46ch; }
.quote-contacts { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.quote-contacts a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease);
}
.quote-contacts a:hover { padding-left: 8px; }
.quote-contacts .mono { color: var(--grey); }
.quote-contacts .val { font-weight: 560; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: -0.005em; }

.form-card {
  background: var(--white);
  padding: clamp(24px, 3.4vw, 48px);
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -36px rgba(19, 20, 21, 0.25);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 13px 14px;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--timber);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(168, 124, 82, 0.18);
}
.form-note { grid-column: 1 / -1; color: var(--grey); font-size: 13px; }
.form-note a { color: var(--timber-deep); }
.form-card .btn { width: 100%; grid-column: 1 / -1; height: 58px; }
.hidden-field { position: absolute; left: -9999px; }
@media (max-width: 980px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-rail { position: static; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--charcoal); color: var(--white); padding-top: clamp(56px, 7vw, 96px); }
.footer-mark {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(38px, 12vw, 208px);
  line-height: 0.86;
  letter-spacing: 0.005em;
  color: var(--white);
  opacity: 0.97;
  user-select: none;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--white-line);
  margin-top: clamp(28px, 4vw, 56px);
}
.footer-cols p { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; max-width: 44ch; }
.footer-cols .mono { color: rgba(255, 255, 255, 0.45); margin-bottom: 14px; }
.footer-cols ul { display: grid; gap: 9px; }
.footer-cols a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14.5px; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.4);
}
.footer-base .mono { font-size: 10px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink);
  transform: translateY(102%);
  transition: transform 0.4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.sticky-cta a:first-child { background: var(--white); color: var(--ink); }
.sticky-cta a:last-child { background: var(--ink); color: var(--white); }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* -------------------------------------------------------------- reveals */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
}
.js [data-reveal="2"].is-in { transition-delay: 0.08s; }
.js [data-reveal="3"].is-in { transition-delay: 0.16s; }

/* ------------------------------------------------- landing-page specifics */
.landing-hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255,255,255,0.85); }
.landing-hero__points span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.landing-hero__points span::before { content: ""; width: 5px; height: 5px; background: var(--timber); }

.landing-form-section { background: var(--paper-2); border-top: 1px solid var(--line); }
.landing-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.landing-gallery figure { overflow: hidden; margin: 0; background: var(--paper-2); display: grid; gap: 10px; }
.landing-gallery .media { overflow: hidden; aspect-ratio: 4 / 3; }
.landing-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.landing-gallery figure:hover img { transform: scale(1.035); }
.landing-gallery figcaption { padding: 0 2px 8px; }
.landing-gallery figcaption .mono { color: var(--grey); font-size: 10.5px; }
@media (max-width: 860px) { .landing-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .landing-hero__points {
    max-width: min(100%, 34ch);
    gap: 8px 14px;
  }
  .landing-hero__points span {
    font-size: 13px;
  }
  .landing-form-section .quote-rail h2.display {
    max-width: 12ch;
    font-size: clamp(28px, 8vw, 34px) !important;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 540px) { .landing-gallery { grid-template-columns: 1fr; } }

.system-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.system-section .lede {
  max-width: 76ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}
.system-grid article {
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.system-grid .mono { color: var(--timber-deep); }
.system-grid h3 { font-size: 17.5px; font-weight: 620; }
.system-grid p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 960px) { .system-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .system-grid { grid-template-columns: 1fr; } }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.why-grid article { border-top: 1px solid var(--line-strong); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.why-grid .mono { color: var(--timber-deep); }
.why-grid h3 { font-size: 17.5px; font-weight: 620; }
.why-grid p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--charcoal); color: var(--white); text-align: left; }
.cta-band .section-head__label { color: rgba(255,255,255,0.5); }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 84px); color: var(--white); }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 56ch; margin-top: 18px; }

/* ------------------------------------------------------------- thank you */
.ty-main {
  min-height: 82svh;
  display: grid;
  align-content: center;
  gap: 22px;
  padding-block: 140px 80px;
  max-width: 860px;
}
.ty-main h1 { font-size: clamp(40px, 6.5vw, 88px); }
.ty-main .lede { color: var(--ink-soft); }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.ty-steps { display: grid; gap: 0; border-top: 1px solid var(--line-strong); margin-top: 26px; }
.ty-steps li { display: flex; gap: 22px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); }
.ty-steps .mono { color: var(--timber-deep); }
.ty-steps p { font-size: 15.5px; color: var(--ink-soft); }

/* ==========================================================================
   FILM HERO - fragmented mosaic facade (homepage)
   One rigid photographic camera plane with staggered aligned crops from the
   same source image. Desktop: sticky stage; scroll = dolly push-in, pointer =
   subtle parallax. Mobile: letterboxed film frame with fewer image tiles.
   All motion is transform/opacity only. JS module: main.js "film hero".
   ========================================================================== */

.hero--film {
  display: block;
  min-height: 0;
  overflow: visible;
  background: var(--charcoal);
}
.hero--film::before { content: none; }

.hero-film__sticky { height: 176vh; }
.hero-film__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1500px;
  background: var(--charcoal);
}
@supports (height: 100svh) {
  .hero-film__sticky { height: 176svh; }
  .hero-film__viewport { height: 100svh; }
}

/* --- camera + photographic plane --- */
.hero-film__camera {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}
.hero-film__plane {
  /* JS sizes this to cover the viewport at the exact image aspect;
     without JS it simply fills the viewport (static fallback). */
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}
.hero-film__photo,
.hero-film__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-film__photo img {
  object-fit: cover;
  object-position: 58% 45%;
  filter: saturate(1.03) contrast(1.045) brightness(0.99);
}

/* Old survey/chrome layer removed for the replacement hero image. */
.film-glint,
.hero-film__sweep,
.hero-film__survey,
.film-markers,
.film-index,
.film-detail,
.hero-film__sun {
  display: none !important;
}

/* Fragmented mosaic hero: premium architectural image panels. */
.hero--film {
  background:
    radial-gradient(90% 90% at 78% 34%, rgba(34, 52, 61, 0.34), transparent 58%),
    linear-gradient(105deg, #070809 0%, #101315 44%, #0b0d0e 100%);
}
.hero--film .hero-film__photo img {
  object-position: 64% 45%;
  opacity: var(--hero-photo-opacity, 0.18);
  filter: saturate(0.98) contrast(1.05) brightness(0.88);
}
.hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.mosaic-tile {
  --lift-x: 0px;
  --lift-y: 0px;
  --tile-scale: 1;
  --tile-rotate: 0deg;
  --glow: 0.22;
  position: absolute;
  overflow: hidden;
  opacity: 0;
  border-radius: 4px;
  background: #121517;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;
  transform:
    translate3d(var(--lift-x), var(--lift-y), 0)
    rotate(var(--tile-rotate))
    scale(var(--tile-scale));
  transform-origin: 50% 50%;
  transition:
    opacity 0.75s ease,
    box-shadow 0.32s ease;
  will-change: transform, opacity;
}
.js .hero--film.is-ready .mosaic-tile { opacity: 0.94; }
.mosaic-tile:nth-child(3),
.mosaic-tile:nth-child(6) { opacity: 0; }
.js .hero--film.is-ready .mosaic-tile:nth-child(3),
.js .hero--film.is-ready .mosaic-tile:nth-child(6) { opacity: 0.78; }
.js .hero--film.is-ready .mosaic-tile:nth-child(2) { transition-delay: 0.06s; }
.js .hero--film.is-ready .mosaic-tile:nth-child(3) { transition-delay: 0.12s; }
.js .hero--film.is-ready .mosaic-tile:nth-child(4) { transition-delay: 0.18s; }
.js .hero--film.is-ready .mosaic-tile:nth-child(5) { transition-delay: 0.24s; }
.js .hero--film.is-ready .mosaic-tile:nth-child(6) { transition-delay: 0.30s; }
.js .hero--film.is-ready .mosaic-tile:nth-child(7) { transition-delay: 0.36s; }
.mosaic-tile img {
  position: absolute;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  filter: saturate(1.03) contrast(1.04) brightness(0.98);
  transform-origin: 50% 50%;
  will-change: transform;
}
.mosaic-tile::before,
.mosaic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mosaic-tile::before {
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 34%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.14));
  opacity: 0.48;
}
.mosaic-tile::after {
  z-index: 3;
  background:
    radial-gradient(circle at var(--light-x, 52%) var(--light-y, 45%),
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0.05) 32%,
      rgba(255, 255, 255, 0) 62%);
  opacity: var(--glow);
  mix-blend-mode: screen;
}
.tile-1,
.tile-4 { border-radius: 3px; }
.tile-2,
.tile-6 { border-radius: 7px; }
.hero-assembly-shimmer {
  position: absolute;
  inset: -18% -24%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-48%, 0, 0) rotate(-13deg);
  transform-origin: 50% 50%;
  mix-blend-mode: screen;
  background:
    linear-gradient(100deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0.08) 44%,
      rgba(255, 237, 205, 0.30) 49%,
      rgba(255, 255, 255, 0.12) 54%,
      rgba(255, 255, 255, 0) 64%,
      rgba(255, 255, 255, 0) 100%);
  filter: blur(0.4px);
  will-change: transform, opacity;
}
.hero-assembly-shimmer.is-flashing {
  animation: assemblyShimmer 1.55s cubic-bezier(0.18, 0.84, 0.22, 1) 1 both;
}
@keyframes assemblyShimmer {
  0% {
    opacity: 0;
    transform: translate3d(-46%, 4%, 0) rotate(-13deg);
  }
  22% { opacity: 0.58; }
  54% { opacity: 0.34; }
  100% {
    opacity: 0;
    transform: translate3d(46%, -4%, 0) rotate(-13deg);
  }
}
.hero-film__inner > .hero__sub:not(.hero__sub--mosaic) { display: none; }
.hero--film .hero__title {
  max-width: min(720px, 52vw);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.94;
}
.hero--film .hero__sub--mosaic {
  display: block;
  max-width: 580px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.35vw, 20px);
}

/* Entrance: fade + slow settle from a deeper zoom (film title feel) */
.js .hero--film .hero-film__plane { opacity: 0.001; }
.js .hero--film.is-ready .hero-film__plane {
  opacity: 1;
  transition: opacity 1.1s ease;
}
@media (min-width: 861px) {
  .js .hero--film .hero-film__plane { transform: scale(1.085); }
  .js .hero--film.is-ready .hero-film__plane {
    transform: scale(1);
    transition: opacity 1.1s ease, transform 3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* --- realistic light: glazing glints + one-off sweep --- */
.film-glint {
  position: absolute;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: skewX(-4deg);
  background: linear-gradient(104deg,
    rgba(255, 255, 255, 0) 22%,
    rgba(255, 255, 255, 0.8) 47%,
    rgba(255, 255, 255, 0.25) 56%,
    rgba(255, 255, 255, 0) 78%);
}
.film-glint--a { left: 44.25%; top: 48.8%; width: 13%; height: 36%; }
.film-glint--b { left: 60.75%; top: 40.9%; width: 9%; height: 38.5%; }

.hero-film__sweep {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 34%;
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-140%);
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 247, 235, 0.95) 50%,
    rgba(255, 255, 255, 0) 100%);
}
.js .hero--film.is-ready .hero-film__sweep {
  animation: filmSweep 3s cubic-bezier(0.33, 0, 0.2, 1) 0.9s 1 forwards;
}
@keyframes filmSweep {
  0% { opacity: 0; transform: translateX(-140%); }
  18% { opacity: 0.55; }
  82% { opacity: 0.4; }
  100% { opacity: 0; transform: translateX(420%); }
}

/* --- survey overlay: drafting lines registered to the facade --- */
.hero-film__survey {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hero-film__survey path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke 0.35s ease;
}
.hero-film__survey path.is-hot {
  stroke: var(--timber);
  stroke-width: 3.5;
  filter: drop-shadow(0 0 6px rgba(168, 124, 82, 0.55));
}
.hero-film__nodes rect { fill: var(--timber); opacity: 0; }

/* --- detail markers (survey points) --- */
.film-markers { position: absolute; inset: 0; pointer-events: none; }
.film-marker {
  position: absolute;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero--film.is-live .film-marker { opacity: 1; transform: none; }
.hero--film.is-live .film-marker:nth-of-type(2) { transition-delay: 0.12s; }
.hero--film.is-live .film-marker:nth-of-type(3) { transition-delay: 0.24s; }
.film-marker::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
}
.hero--film.is-live .film-marker::before { animation: markerPulse 3.4s ease-out infinite; }
.hero--film.is-live .film-marker:nth-of-type(2)::before { animation-delay: 1.1s; }
.hero--film.is-live .film-marker:nth-of-type(3)::before { animation-delay: 2.2s; }
@keyframes markerPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(2.05); opacity: 0; }
  100% { transform: scale(2.05); opacity: 0; }
}
.film-marker__ring {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}
.film-marker__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--timber);
  transition: background 0.3s ease;
}
.film-marker:hover .film-marker__ring,
.film-marker:focus-visible .film-marker__ring { border-color: var(--timber); transform: scale(1.18); }
.film-marker:hover .film-marker__dot,
.film-marker:focus-visible .film-marker__dot { background: var(--white); }
.film-marker.is-active .film-marker__ring {
  border-color: var(--timber);
  background: rgba(168, 124, 82, 0.16);
  transform: scale(1.18);
}
.hero--film.is-focus .film-marker { opacity: 0.28; }
.hero--film.is-focus .film-marker.is-active { opacity: 1; }
.film-marker__tag {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: rgba(10, 11, 12, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 8px 12px;
  white-space: nowrap;
  font-size: 10.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.film-marker--flip .film-marker__tag { left: auto; right: calc(100% + 10px); transform: translateY(-50%) translateX(6px); }
.film-marker:hover .film-marker__tag,
.film-marker:focus-visible .film-marker__tag { opacity: 1; transform: translateY(-50%); }

/* --- viewport-level light + grade + scrims (not transformed: crisp text) --- */
.hero-film__sun {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 120vmax;
  height: 120vmax;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 238, 214, 0.5) 0%,
    rgba(255, 238, 214, 0.16) 34%,
    rgba(255, 238, 214, 0) 62%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
  will-change: transform;
}
.hero-film__sun.is-on { opacity: 1; }
.hero-film__grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 92% at 58% 42%, rgba(0, 0, 0, 0) 56%, rgba(7, 8, 10, 0.3) 100%),
    linear-gradient(12deg, rgba(24, 18, 10, 0.1), rgba(9, 13, 20, 0.12) 62%);
}
.hero-film__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8, 9, 11, 0.38) 0%, rgba(8, 9, 11, 0) 20%),
    linear-gradient(78deg, rgba(8, 9, 11, 0.46) 0%, rgba(8, 9, 11, 0.18) 36%, rgba(8, 9, 11, 0) 62%),
    linear-gradient(to top, rgba(8, 9, 11, 0.5) 0%, rgba(8, 9, 11, 0.08) 32%, rgba(8, 9, 11, 0) 54%);
}
.hero-film__darken {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #07080a;
  opacity: 0.06;
  pointer-events: none;
}
.hero-film__grain {
  position: absolute;
  inset: -2%;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* --- copy block + meta bar --- */
.hero-film__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(64px, 9vh, 108px);
  z-index: 5;
  transition: opacity 0.55s ease;
}
.hero--film .hero__title {
  max-width: min(720px, 52vw);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.94;
}
.hero--film.is-focus .hero-film__inner { opacity: 0.05; pointer-events: none; }

.hero-film__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  padding: 14px var(--gutter) 16px;
  color: var(--white-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(to top, rgba(7, 8, 10, 0.44), rgba(7, 8, 10, 0));
}
[data-film-cue] { transition: opacity 0.4s ease; }
.hero-film__caption { font-size: 10.5px; opacity: 0.8; }
.film-index { display: flex; gap: clamp(10px, 1.6vw, 22px); }
.film-index button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  padding: 6px 2px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.film-index button:hover,
.film-index button:focus-visible { color: var(--white); border-bottom-color: var(--timber); }
.film-index button.is-active { color: var(--timber); border-bottom-color: var(--timber); }

/* --- detail panel (camera-focused annotation) --- */
.film-detail {
  position: absolute;
  z-index: 7;
  left: var(--gutter);
  bottom: clamp(84px, 12vh, 148px);
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  background: rgba(11, 12, 14, 0.78);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 26px 22px;
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.film-detail.is-open { opacity: 1; transform: none; pointer-events: auto; }
.film-detail__index { display: block; color: var(--timber); margin-bottom: 10px; }
.film-detail__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 640;
  text-transform: uppercase;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.film-detail__body { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); margin-bottom: 16px; }
.film-detail__cta {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--timber);
  padding-bottom: 3px;
  font-size: 11px;
}
.film-detail__cta:hover { color: var(--timber); }
.film-detail__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.film-detail__close:hover { color: var(--white); }

/* --- no-JS fallback: static single-screen hero, interactive chrome hidden --- */
html:not(.js) .hero-film__sticky { height: 100vh; }
html:not(.js) .hero--film .hero-film__photo img { opacity: 0.42; }
html:not(.js) .film-markers,
html:not(.js) .hero-film__survey,
html:not(.js) .hero-mosaic,
html:not(.js) .film-index,
html:not(.js) [data-film-cue],
html:not(.js) .film-detail,
html:not(.js) .film-glint,
html:not(.js) .hero-film__sweep,
html:not(.js) .hero-film__sun { display: none; }

/* --- mobile: intentional letterboxed film-frame hero --- */
@media (max-width: 860px) {
  .hero--film { background: #141617; }
  .hero-film__sticky { height: auto; }
  .hero-film__viewport {
    position: relative;
    height: auto;
    min-height: 132svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 80px;
    perspective: none;
    overflow: visible;
  }
  .hero-film__camera {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    aspect-ratio: 1 / 1.22;
    overflow: hidden;
    background: #0d0e0f;
    transform: none !important;
  }
  .hero-film__camera::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    background: radial-gradient(140% 120% at 50% 30%, rgba(0, 0, 0, 0) 55%, rgba(5, 6, 8, 0.38) 100%);
  }
  .hero-film__plane { transform-origin: 0 0; }
  .hero-film__plane.is-focus { transition: transform 0.95s var(--ease); }
  .js .hero--film .hero-film__plane { transform: none; }
  .hero-mosaic {
    inset: 0;
    overflow: hidden;
  }
  .mosaic-tile {
    border-radius: 4px;
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  }
  .js .hero--film.is-ready .mosaic-tile { opacity: 0.88; }
  .mosaic-tile:nth-child(7) { display: none; }
  .mosaic-tile:nth-child(4),
  .mosaic-tile:nth-child(5),
  .mosaic-tile:nth-child(6) { opacity: 0; }
  .js .hero--film.is-ready .mosaic-tile:nth-child(4),
  .js .hero--film.is-ready .mosaic-tile:nth-child(5),
  .js .hero--film.is-ready .mosaic-tile:nth-child(6) { opacity: 0.76; }
  .hero-assembly-shimmer {
    inset: -24% -55%;
    z-index: 4;
    filter: blur(0.2px);
  }
  .hero--film .hero-film__photo img { opacity: 0.55; }
  .hero--film .hero__title {
    max-width: none;
    font-size: clamp(28px, 8.2vw, 35px);
    line-height: 1;
  }
  .hero--film .hero__sub--mosaic {
    max-width: none;
    font-size: 16px;
  }
  .hero-film__sun,
  .hero-film__grade,
  .hero-film__scrim,
  .hero-film__darken,
  .hero-film__grain,
  .film-glint,
  .film-markers { display: none; }
  .hero-film__inner {
    position: relative;
    order: 1;
    bottom: auto;
    padding-block: 0 22px;
  }
  .hero-film__meta {
    position: relative;
    order: 3;
    border-top: 0;
    background: none;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 14px var(--gutter) 12px;
  }
  [data-film-cue] { display: none; }
  .hero-film__caption { width: 100%; font-size: 9.5px; opacity: 0.62; order: 2; }
  .film-index { width: 100%; order: 1; gap: 8px; }
  .film-index button {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    padding: 11px 8px;
    font-size: 10px;
    white-space: nowrap;
    text-align: center;
  }
  .film-index button.is-active {
    background: rgba(168, 124, 82, 0.14);
    border-color: var(--timber);
    color: var(--white);
  }
  .film-detail {
    position: relative;
    order: 4;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 2px var(--gutter) 20px;
  }
  .hero--film.is-focus .hero-film__inner { opacity: 1; pointer-events: auto; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .hero__media { opacity: 1; transform: none; }
  .hero__media--rotator .hero__slide { opacity: 0; transform: none; }
  .hero__media--rotator .hero__slide.is-active { opacity: 1; transform: none; }
  .hero__media--video .hero__video { display: none; }
  .hero__title .line > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }

  /* Film hero — static composed frame, everything readable, no camera. */
  .js .hero--film .hero-film__plane { opacity: 1; transform: none; transition: none; }
  .mosaic-tile { opacity: 0.86 !important; transform: none !important; }
  .hero-assembly-shimmer { display: none !important; }
  .hero-film__sweep { animation: none !important; opacity: 0 !important; }
  .film-marker::before { animation: none !important; }
  .hero--film .film-marker { opacity: 1; transform: none; }
  .hero-film__survey path { stroke-dashoffset: 0 !important; opacity: 0.4; }
  .hero-film__nodes rect { opacity: 0.5 !important; }
  .hero-film__sun { display: none; }
  .film-glint { display: none; }
  .map-outline { stroke-dashoffset: 0 !important; }
  .map-spine,
  .map-pins circle,
  .areas-map::after { animation: none !important; }
}

@media (min-width: 641px) and (max-width: 860px) {
  .hero-film__viewport { min-height: 124svh; }
  .hero-film__camera { aspect-ratio: 16 / 13.8; }
}
