/* ==========================================================================
   AVALON CONSULTING HOUSE — avalon.css
   The Brand Book as code. Every token below is transcribed from the Book;
   do not invent values here. Proportion: Bone 78 · Ink 12 · Oxblood 8 · Brass 2.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · TOKENS  (Brand Book Plates 07–10, 13, 15)
   -------------------------------------------------------------------------- */
:root {
  /* Colour — core */
  --bone:    #F4EFE6;   /* The Ground */
  --ink:     #201812;   /* The Voice */
  --oxblood: #5E1A1E;   /* The Moment — one field per sequence */
  --brass:   #A9885A;   /* The Whisper — a line, never a fill */
  /* Colour — support (never the lead) */
  --bone-deep:     #E8E0D3;
  --oxblood-light: #7E3A3C;
  --taupe:         #9C8E80;
  --muted:         #6A5C4E;

  /* Type — two faces, five levels */
  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body:    "Public Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.75rem, 1.2rem + 5.4vw, 5.5rem);   /* ~54 print ref, fluid */
  --fs-heading: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);  /* ~32/38 */
  --fs-eyebrow: 0.8125rem;                                 /* 13px, +38%, caps */
  --fs-body:    1rem;                                      /* 16/28 */
  --fs-caption: 0.6875rem;                                 /* 11px, +18% */

  /* Motion — the house curve, three durations (Plate 15) */
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
  --t-hover:   180ms;   /* hover · ink   */
  --t-rise:    550ms;   /* reveal · rise */
  --t-curtain: 900ms;   /* curtain · hero */
  --rise: 24px;         /* rise distance — fade from 0 */

  /* Layout — twelve columns, generous margins (Plate 13) */
  --margin: clamp(1.375rem, 7vw, 7.5rem);  /* ~8% of the short edge */
  --gutter: 20px;
  --baseline: 8px;

  /* Hairline */
  --hairline: 1px solid rgba(169, 136, 90, 0.55);      /* brass, quiet */
  --hairline-taupe: 1px solid rgba(156, 142, 128, 0.4);
}

/* --------------------------------------------------------------------------
   02 · RESET + GROUND
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
body.menu-open, body.veiled { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--oxblood); color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   03 · THE REGISTER — five levels only (Plate 10)
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: 0.005em;
}
.heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-heading);
  line-height: 1.19;
  letter-spacing: 0.01em;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  line-height: 1.6;
}
.body-lg { font-size: 1.125rem; line-height: 1.7; font-weight: 300; }
.caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.doctrine { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.muted { color: var(--muted); }
.brass-text { color: var(--brass); }

/* --------------------------------------------------------------------------
   04 · LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap { padding-inline: var(--margin); max-width: 1760px; margin-inline: auto; }
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
/* Mobile: statement columns stack full-width — no squeezed reading */
@media (max-width: 860px) {
  .grid-12 > * { grid-column: 1 / -1 !important; }
  .grid-12 { row-gap: 1.75rem; }
}
@media (max-width: 640px) {
  .grid-12 .heading { font-size: 1.35rem; line-height: 1.4; max-width: none !important; }
}
.section { padding-block: clamp(5rem, 12vh, 9.5rem); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 8vh, 6rem); }

/* Grounds — the support tints hold sections, never the lead */
.ground-deep { background: var(--bone-deep); }
.ground-ink  { background: var(--ink); color: var(--bone); }
.ground-ink .caption { color: var(--taupe); }
.ground-ox   { background: var(--oxblood); color: var(--bone); }  /* THE MOMENT — once per sequence */
.ground-ox .caption { color: rgba(244, 239, 230, 0.65); }

/* Hairlines — brass does the framing, whitespace does the talking */
.rule {
  height: 1px; border: 0;
  background: rgba(169, 136, 90, 0.55);
}
html.js .rule {
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-curtain) var(--curve);
}
html.js .rule.is-inview { transform: scaleX(1); }
.ground-ink .rule, .ground-ox .rule { background: rgba(169, 136, 90, 0.7); }

/* Folio — quiet labels at section corners */
.folio {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--gutter);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

/* --------------------------------------------------------------------------
   05 · MOTION — nothing bounces, things settle (Plate 15)
   Reveal = rise 24px + fade from 0, 550ms, the house curve. JS adds .is-inview.
   All initial hidden states are gated on html.js — no JS, no hiding.
   -------------------------------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--rise));
  transition:
    opacity var(--t-rise) var(--curve),
    transform var(--t-rise) var(--curve);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-inview { opacity: 1; transform: none; }

/* Staggered line rise for display statements */
.lines .ln { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
html.js .lines .ln-in {
  display: block;
  transform: translateY(112%);
  transition: transform var(--t-curtain) var(--curve);
  transition-delay: var(--d, 0ms);
}
html.js .lines.is-on .ln-in { transform: none; }
.lines .ln-in { display: block; }

/* Image mask reveal — surfaces wipe like a page turning */
.wipe { position: relative; overflow: hidden; }
html.js .wipe::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--bone-deep);
  transform: scaleY(1); transform-origin: top center;
  transition: transform var(--t-curtain) var(--curve);
}
html.js .wipe.is-inview::after { transform: scaleY(0); }

/* --------------------------------------------------------------------------
   06 · BUTTONS + LINKS — hover is ink, 180ms
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.75em;
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 1.125rem 2.375rem;
  border: 1px solid transparent;
  transition: background-color var(--t-hover) var(--curve),
              color var(--t-hover) var(--curve),
              border-color var(--t-hover) var(--curve);
}
.btn--primary { background: var(--oxblood); color: var(--bone); }
.btn--primary:hover { background: var(--oxblood-light); }
.btn--ghost { border-color: rgba(169, 136, 90, 0.7); color: inherit; }
.btn--ghost:hover { border-color: var(--brass); background: rgba(169, 136, 90, 0.12); }
.btn--bone { border-color: rgba(244, 239, 230, 0.6); color: var(--bone); }
.btn--bone:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* Text link — brass hairline underline that inks on hover */
.tlink {
  position: relative; display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding-bottom: 0.45em;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transition: background-color var(--t-hover) var(--curve), transform var(--t-hover) var(--curve);
}
.tlink:hover::after { background: currentColor; }

.arrow { display: inline-block; transition: transform var(--t-hover) var(--curve); }
a:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   07 · HEADER — the quiet docent
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 90;
  padding-inline: var(--margin);
  height: 104px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background-color var(--t-rise) var(--curve),
              box-shadow var(--t-rise) var(--curve),
              transform var(--t-rise) var(--curve);
}
.site-header.is-scrolled {
  background: rgba(244, 239, 230, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(169, 136, 90, 0.35);
}
.ground-ink-page .site-header:not(.is-scrolled) { color: var(--bone); }

.brand-lockup { display: inline-flex; align-items: center; overflow: visible; }
/* One class per placement, sized independently. Adjust here only. */
img.logo--header { height: 68px; width: auto; }   /* v2.7: −12% again per Gerónimo */
img.logo--menu   { height: 72px; width: auto; }   /* −25% per Gerónimo */
img.logo--footer { height: 110px; width: auto; }   /* gap removed from the file; same visual size as approved */

.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); }
.site-nav a:not(.menu-btn) {
  font-size: 0.71rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  position: relative; padding-block: 0.4em;
  transition: color var(--t-hover) var(--curve);
}
.site-nav a:not(.menu-btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-hover) var(--curve);
}
.site-nav a:not(.menu-btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--oxblood); }
.ground-ink-page .site-nav a[aria-current="page"] { color: var(--brass); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: 0.71rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
}
.menu-btn .menu-ticks { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-btn .menu-ticks i {
  height: 1px; background: currentColor; display: block;
  transition: transform var(--t-hover) var(--curve), width var(--t-hover) var(--curve);
}
.menu-btn:hover .menu-ticks i:last-child { width: 60%; }

.site-nav .btn--nav {
  padding: 0.7em 1.5em; font-size: 0.68rem; letter-spacing: 0.26em;
}
@media (max-width: 1120px) {
  .site-nav a:not(.menu-btn):not(.btn--nav) { display: none; }
}
@media (max-width: 640px) {
  .site-nav .btn--nav { display: none; }
  img.logo--header { height: 47px; }
  img.logo--menu { height: 45px; }
  img.logo--footer { height: 84px; }
}

/* --------------------------------------------------------------------------
   08 · MENU OVERLAY — a room of its own
   -------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bone-deep);
  display: grid;
  grid-template-rows: auto 1fr auto;
  visibility: hidden;
  transform: translateY(-102%);
  transition: transform var(--t-curtain) var(--curve), visibility 0s linear var(--t-curtain);
}
.menu-overlay.is-open {
  visibility: visible; transform: none;
  transition: transform var(--t-curtain) var(--curve);
}
.menu-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--margin);
  padding-block: 0.9rem;                 /* v2: clear space — the mark never crops */
}
.menu-close { font-size: 0.71rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.menu-body {
  padding-inline: var(--margin);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter);
  align-content: center;
  overflow-y: auto;
}
.menu-list { list-style: none; display: flex; flex-direction: column; }
.menu-list li { overflow: hidden; border-bottom: var(--hairline-taupe); }
.menu-list li:first-child { border-top: var(--hairline-taupe); }
.menu-list a {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.55rem, 3.8vh, 2.6rem);
  line-height: 1.12;
  display: flex; align-items: baseline; gap: 1.25rem;
  padding-block: clamp(0.55rem, 1.4vh, 0.95rem);
  transform: translateY(110%);
  transition: transform var(--t-curtain) var(--curve), color var(--t-hover) var(--curve);
  transition-delay: var(--d, 0ms);
}
.menu-overlay.is-open .menu-list a { transform: none; }
.menu-list a:hover { color: var(--oxblood); }
.menu-list .caption { min-width: 2.2em; color: var(--brass); }
.menu-aside { display: flex; flex-direction: column; justify-content: center; gap: 2.25rem; }
.menu-aside .doctrine { font-size: 1.35rem; color: var(--oxblood); }
.menu-foot {
  padding: 1.25rem var(--margin) 1.75rem;
  border-top: var(--hairline);
  display: flex; justify-content: space-between; gap: var(--gutter);
}
@media (max-width: 860px) {
  .menu-body { grid-template-columns: 1fr; align-content: start; padding-top: 4vh; gap: 3rem; }
  .menu-aside { display: none; }
  .menu-foot { flex-wrap: wrap; }
}

/* --------------------------------------------------------------------------
   09 · CURTAIN (preloader) + PAGE VEIL — decisive out of the gate
   -------------------------------------------------------------------------- */
.curtain { display: none; }   /* no JS → no curtain */
html.js .curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bone);
  display: grid; place-items: center;
  transition: transform var(--t-curtain) var(--curve), visibility 0s linear var(--t-curtain);
}
.curtain::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: var(--brass);
}
.curtain .curtain-mark { width: 120px; opacity: 0; transition: opacity 600ms var(--curve); }
.curtain.marked .curtain-mark { opacity: 1; }   /* the mark FADES only — it never moves */
.curtain.is-done { transform: translateY(-101%); visibility: hidden; }

.veil {
  position: fixed; inset: 0; z-index: 190;
  background: var(--bone-deep);
  transform: translateY(102%);
  visibility: hidden;
  transition: transform 600ms var(--curve), visibility 0s linear 600ms;
}
.veil::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: var(--brass);
}
.veil.is-up { visibility: visible; transform: none; transition: transform 600ms var(--curve); }

/* --------------------------------------------------------------------------
   10 · FRAMES — photography behaves like the room it hangs in
   -------------------------------------------------------------------------- */
.frame {
  background: #fbf8f2;                    /* the matte */
  border: var(--hairline-taupe);
  padding: clamp(10px, 1.2vw, 18px);
}
.frame .frame-img { position: relative; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--ratio-45 .frame-img { aspect-ratio: 4 / 5; }
.frame--ratio-34 .frame-img { aspect-ratio: 3 / 4; }
.frame--ratio-11 .frame-img { aspect-ratio: 1 / 1; }
.frame--ratio-32 .frame-img { aspect-ratio: 3 / 2; }
.frame--ratio-169 .frame-img { aspect-ratio: 16 / 9; }
.plate-caption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.8rem;
}

/* Quiet zoom on hover — settles, never lunges */
.frame-img img { transition: transform var(--t-curtain) var(--curve); }
a:hover .frame-img img, .piece:hover .frame-img img { transform: scale(1.025); }

/* PLACEHOLDER chip — delete freely when real assets land */
.ph-chip {
  position: absolute; z-index: 3; top: 10px; left: 10px;
  font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); background: rgba(244, 239, 230, 0.85);
  padding: 0.35em 0.8em; border: var(--hairline-taupe);
}

/* --------------------------------------------------------------------------
   11 · HERO — Plate 17, exact
   -------------------------------------------------------------------------- */
.hero { padding-top: clamp(7rem, 16vh, 10.5rem); padding-bottom: clamp(3rem, 7vh, 5rem); }
.hero-box { border: var(--hairline-taupe); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hero-copy {
  padding: clamp(2.25rem, 6vw, 5.5rem);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1.5rem, 3.5vh, 2.25rem);
}
.hero-copy .eyebrow { color: var(--oxblood); }
.hero-copy .body-lg { max-width: 34em; color: var(--muted); }
.hero-ctas { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem); flex-wrap: wrap; }
.hero-art {
  border-left: var(--hairline-taupe);
  padding: clamp(1.5rem, 3.5vw, 3.25rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-ribbon {
  border-top: var(--hairline-taupe);
  overflow: hidden;
}
@media (max-width: 960px) {
  .hero { padding-top: 6.25rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { border-left: 0; border-top: var(--hairline-taupe); }
}

/* Ribbon — controlled momentum, literally */
.ribbon { padding-block: 1.05rem; white-space: nowrap; }
.ribbon-track { display: inline-flex; animation: ribbon 46s linear infinite; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 3.5rem; padding-right: 3.5rem; }
.ribbon i { font-style: normal; color: var(--oxblood); }
@keyframes ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
}

/* --------------------------------------------------------------------------
   12 · SHOWCASE — the work on the wall (hover reveals the idea)
   -------------------------------------------------------------------------- */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.8vw, 1.75rem); }
@media (max-width: 1240px) { .wall { grid-template-columns: repeat(3, 1fr); } }
.piece { display: block; position: relative; }
.piece .frame-img { isolation: isolate; }
.piece-idea {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(244, 239, 230, 0.96);
  padding: clamp(1rem, 1.8vw, 1.5rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.55rem;
  transform: translateY(101%);
  transition: transform 700ms var(--curve);          /* v2: softer, more fluid */
}
.piece-idea > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity 500ms var(--curve) 120ms, transform 500ms var(--curve) 120ms;
}
.piece-idea > * + * { transition-delay: 210ms, 210ms; }
.piece-idea > * + * + * { transition-delay: 300ms, 300ms; }
.piece-idea .doctrine { font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.3; }
.piece-idea .caption { color: var(--oxblood); }
.piece .frame-img img { transition: transform 900ms var(--curve); }
.piece:hover .piece-idea,
.piece:focus-visible .piece-idea,
.piece.is-tapped .piece-idea { transform: none; }
.piece:hover .piece-idea > *,
.piece:focus-visible .piece-idea > *,
.piece.is-tapped .piece-idea > * { opacity: 1; transform: none; }
.wall .plate-caption .caption:last-child { color: var(--brass); }
@media (max-width: 960px) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .wall { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13 · ROOMS — an index, not a card rack
   -------------------------------------------------------------------------- */
.rooms { list-style: none; }
.room {
  border-top: var(--hairline-taupe);
  display: grid;
  grid-template-columns: minmax(3.5rem, 8rem) 1fr minmax(0, 38%) auto;
  gap: var(--gutter);
  align-items: baseline;
  padding-block: clamp(1.4rem, 3.2vh, 2.4rem);
  position: relative;
}
.rooms .room:last-child { border-bottom: var(--hairline-taupe); }
.room-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  transition: color var(--t-hover) var(--curve), transform var(--t-rise) var(--curve);
}
.room--lead .room-name { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.room-note { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.room-go { justify-self: end; color: var(--brass); transition: transform var(--t-hover) var(--curve), color var(--t-hover) var(--curve); }
a.room:hover .room-name { color: var(--oxblood); transform: translateX(6px); }
a.room:hover .room-go { transform: translateX(5px); color: var(--oxblood); }
@media (max-width: 860px) {
  .room { grid-template-columns: 3rem 1fr auto; }
  .room-note { grid-column: 2 / -1; grid-row: 2; }
}

/* --------------------------------------------------------------------------
   14 · PATRONS — client marks, one system, quiet and premium
   -------------------------------------------------------------------------- */
/* v2.2 — the patrons as a fluid mosaic: varied cell shapes, dense flow,
   still hairline-framed, still one system. Same hover-brief interaction. */
.patrons {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(118px, auto);
  grid-auto-flow: row dense;
  gap: 10px;
}
/* v2.7 — an abstract composition, not a box: every cell carries its own
   closed hairline frame and the cells scatter with gaps between them, so
   the silhouette is irregular by design and no line is ever left stray. */
.patron {
  position: relative;
  border: var(--hairline);           /* each cell closes its own frame */
  display: grid; place-items: center;
  padding: clamp(1.1rem, 2.4vw, 2.25rem);
  overflow: hidden;
}
.patron--w { grid-column: span 2; }
.patron--t { grid-row: span 2; }
.patron--b { grid-column: span 2; grid-row: span 2; }
/* Fillers complete the mosaic rectangle — a quiet emblem, no interaction */
.patron--fill { pointer-events: none; }
.patron--fill .nib { opacity: 0.45; }
.patron img {
  max-height: clamp(42px, 4.6vw, 58px); width: auto; max-width: 100%;
  opacity: 0.85;
  transition: opacity 400ms var(--curve), transform 500ms var(--curve);
}
.patron--t img { max-height: clamp(76px, 9vw, 120px); }
.patron--b img { max-height: clamp(84px, 10vw, 140px); }
/* The challenge, on hover — logo recedes, the brief rises */
.patron-brief {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 0.45rem; text-align: center;
  padding: clamp(0.9rem, 2vw, 1.5rem);
  opacity: 0; transform: translateY(14px);
  transition: opacity 400ms var(--curve), transform 500ms var(--curve);
  pointer-events: none;
}
.patron-brief .caption { color: var(--oxblood); }
.patron-brief .doctrine { font-size: clamp(0.92rem, 1.15vw, 1.1rem); line-height: 1.4; max-width: 16em; }
.patron-brief::after {
  content: ""; width: 28px; height: 1px; background: var(--brass);
  order: -1; margin-bottom: 0.3rem;
  transform: scaleX(0); transition: transform 500ms var(--curve) 80ms;
}
.patron:hover img, .patron.is-briefed img { opacity: 0.07; transform: translateY(-8px) scale(0.97); }
.patron:hover .patron-brief, .patron.is-briefed .patron-brief { opacity: 1; transform: none; }
.patron:hover .patron-brief::after, .patron.is-briefed .patron-brief::after { transform: scaleX(1); }
@media (max-width: 900px) {
  .patrons { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(104px, auto); }
  .patron--w, .patron--b { grid-column: span 2; }
  .patron--t, .patron--b { grid-row: span 1; }
  .patron--t img, .patron--b img { max-height: 64px; }
}

/* Testimonials (PLACEHOLDER content) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.quote { border-top: var(--hairline); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.quote .doctrine { font-size: 1.2rem; line-height: 1.45; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   15 · FOUNDERS
   -------------------------------------------------------------------------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.founder { display: grid; grid-template-columns: minmax(0, 44%) 1fr; gap: clamp(1.25rem, 2.5vw, 2.25rem); align-items: end; }
.founder-meta { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 0.5rem; }
.founder-meta .heading { font-size: clamp(1.4rem, 1.9vw, 1.9rem); }
.founder-meta .doctrine { font-size: 1.05rem; line-height: 1.5; color: var(--oxblood); }
@media (max-width: 1100px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .founder { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   16 · CLOSING CALL + FOOTER — bone on ink, the reversal
   -------------------------------------------------------------------------- */
.closing { text-align: center; }
.closing .display { margin-block: 1.75rem 2.5rem; }
.closing .eyebrow { color: var(--brass); }

.site-footer { border-top: 1px solid rgba(169, 136, 90, 0.35); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(3rem, 7vh, 5rem);
}
.footer-col { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.footer-col a { transition: color var(--t-hover) var(--curve); font-size: 0.95rem; }
.footer-col a:hover { color: var(--brass); }
.footer-col .caption { margin-bottom: 0.35rem; color: var(--taupe); }
.footer-doctrine { font-size: 1.3rem; color: var(--brass); }
.footer-base {
  border-top: 1px solid rgba(169, 136, 90, 0.25);
  padding-block: 1.4rem;
  display: flex; justify-content: space-between; gap: var(--gutter); flex-wrap: wrap;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   17 · INNER-PAGE PRIMITIVES
   -------------------------------------------------------------------------- */
.page-hero { padding-top: clamp(8.5rem, 20vh, 13rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.page-hero .eyebrow { color: var(--oxblood); margin-bottom: 1.5rem; }
.page-hero .display { max-width: 11em; }
.page-hero .body-lg { max-width: 36em; color: var(--muted); margin-top: 1.75rem; }
.ground-ink .page-hero .eyebrow, .ground-ox .page-hero .eyebrow { color: var(--brass); }

/* Editorial split */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
@media (max-width: 960px) { .split, .split--flip { grid-template-columns: 1fr; } }

/* Offers — the consulting sub-rooms */
.offer {
  border-top: var(--hairline-taupe);
  display: grid; grid-template-columns: minmax(3rem, 7rem) minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--gutter);
  padding-block: clamp(2rem, 5vh, 3.5rem);
}
.offer h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.2; }
.offer ul { list-style: none; margin-top: 1.1rem; }
.offer ul li { padding: 0.55rem 0 0.55rem 1.4rem; position: relative; color: var(--muted); border-bottom: var(--hairline-taupe); font-size: 0.95rem; }
.offer ul li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 0.55em; height: 1px; background: var(--brass); }
@media (max-width: 860px) { .offer { grid-template-columns: 3rem 1fr; } .offer > div:last-child { grid-column: 2; } }

/* Process — a calm, staged sequence */
.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.step { border-top: 1px solid rgba(244, 239, 230, 0.35); padding-top: 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.step .caption { color: var(--brass); }
.step h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.step p { font-size: 0.92rem; line-height: 1.65; color: rgba(244, 239, 230, 0.75); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* Work gallery */
.filterbar { display: flex; flex-wrap: wrap; gap: 0.4rem 1.9rem; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.filterbar button {
  font-size: 0.71rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  padding-block: 0.5em; position: relative; color: var(--muted);
  transition: color var(--t-hover) var(--curve);
}
.filterbar button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-hover) var(--curve);
}
.filterbar button:hover { color: var(--ink); }
.filterbar button.is-active { color: var(--oxblood); }
.filterbar button.is-active::after { transform: scaleX(1); }

.cases { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.75rem, 3vw, 3rem) var(--gutter); }
.case { grid-column: span 4; display: flex; flex-direction: column; gap: 1rem; }   /* v2.1: smaller, 3-up */
.case-meta { display: flex; flex-direction: column; gap: 0.5rem; }
.case-meta .doctrine { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.32; }
.case-meta .idea { color: var(--muted); font-size: 0.92rem; }
.case.is-hidden { display: none; }
@media (max-width: 1100px) { .case { grid-column: span 6; } }
@media (max-width: 640px)  { .case { grid-column: 1 / -1; } }

/* The plates — a varied masonry of the collection (Work page) */
.plates { columns: 4 240px; column-gap: var(--gutter); }
.plates .frame { margin-bottom: var(--gutter); break-inside: avoid; }
/* Mobile: multi-column layouts break lazy-loading on iOS Safari (images
   never "intersect", leaving a blank block). A plain 2-up grid fixes it. */
@media (max-width: 700px) {
  .plates { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .plates .frame { margin-bottom: 0; break-inside: auto; }
}
.plates .frame--sq .frame-img { aspect-ratio: 1 / 1; }
.plates .frame--tall .frame-img { aspect-ratio: 2 / 3; }
.plates .frame--std .frame-img { aspect-ratio: 3 / 4; }

/* Production — film block */
.film {
  position: relative; background: var(--ink); overflow: hidden;
}
.film video, .film .film-poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.film-poster { opacity: 0.88; }
.film-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--bone); text-align: center; gap: 0;
  background: linear-gradient(rgba(32, 24, 18, 0.15), rgba(32, 24, 18, 0.45));
}
.film-overlay .play {
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.8);
  display: grid; place-items: center;
  transition: background-color var(--t-hover) var(--curve), transform var(--t-rise) var(--curve);
}
.film-overlay:hover .play { background: rgba(94, 26, 30, 0.85); transform: scale(1.04); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); }
.contact-mail {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.2em; display: inline-block;
  transition: color var(--t-hover) var(--curve);
}
.contact-mail:hover { color: var(--oxblood); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }               /* one field per line on phones */
  .contact-mail { font-size: 1.3rem; overflow-wrap: anywhere; }
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem var(--gutter); }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 300; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(156, 142, 128, 0.55);
  padding: 0.65em 0.1em;
  border-radius: 0;
  width: 100%; min-width: 0;   /* inputs' intrinsic width was overflowing phones */
  transition: border-color var(--t-hover) var(--curve);
}
.field textarea { min-height: 7.5em; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--oxblood);
}
.field.is-error input, .field.is-error textarea { border-bottom-color: var(--oxblood-light); }
.field .err { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxblood-light); display: none; }
.field.is-error .err { display: block; }
.form-done { border: var(--hairline); padding: 2.5rem; text-align: center; display: none; }
.form.is-done { display: none; }
.form.is-done + .form-done { display: block; }

/* FAQ */
.faq details { border-top: var(--hairline-taupe); }
.faq details:last-child { border-bottom: var(--hairline-taupe); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding-block: 1.35rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem;
  transition: color var(--t-hover) var(--curve);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--oxblood); }
.faq summary .caption { color: var(--brass); transition: transform var(--t-rise) var(--curve); }
.faq details[open] summary .caption { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; color: var(--muted); max-width: 52em; }

/* Doctrine passages (About) */
.passage { text-align: center; max-width: 34em; margin-inline: auto; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.passage .display { font-style: italic; font-size: clamp(2rem, 4vw, 3.4rem); }
.passage p { color: var(--muted); }

/* Nib icons — 24px grid, 1.5 stroke, rounded joins, never filled */
.nib { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nib--brass { color: var(--brass); }
.nib--ox { color: var(--oxblood); }
.nib--lg { width: 34px; height: 34px; stroke-width: 1.3; }

/* --------------------------------------------------------------------------
   18 · CUSTOM CURSOR — desktop only, a whisper
   -------------------------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed; z-index: 300; top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.cursor-dot { width: 5px; height: 5px; background: var(--ink); }
.cursor-ring {
  width: 30px; height: 30px;
  border: 1px solid rgba(169, 136, 90, 0.85);
  transition: width 250ms var(--curve), height 250ms var(--curve),
              border-color 250ms var(--curve), background-color 250ms var(--curve);
}
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 52px; height: 52px; border-color: var(--oxblood); background: rgba(94, 26, 30, 0.06); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* --------------------------------------------------------------------------
   19 · REDUCED MOTION — a genuinely calm fallback (fades only, no movement)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .lines .ln-in { transform: none; transition: none; }
  .lines:not(.is-on) { opacity: 0; transition: opacity 300ms ease; }
  .lines.is-on { opacity: 1; }
  .wipe::after { display: none; }
  .rule { transform: none; transition: none; }
  .curtain { transition: opacity 300ms ease, visibility 0s linear 300ms; }
  .curtain.is-done { transform: none; opacity: 0; }
  .veil, .menu-overlay { transition-duration: 1ms; }
  .frame-img img, .piece-idea, .room-name, .room-go, .arrow { transition: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* --------------------------------------------------------------------------
   20 · UTILITIES
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.maxw-prose { max-width: 44em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 400;
  background: var(--ink); color: var(--bone);
  padding: 0.6em 1.2em; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  transform: translateY(-300%);
  transition: transform var(--t-hover) var(--curve);
}
.skip-link:focus { transform: none; }

/* ==========================================================================
   21 · V2 — MORE ALIVE (revision pass)
   Approved deviation: subtle cursor/scroll drift relaxes the Book's strict
   no-parallax rule. Kept gentle — no bounce, no spin, house curve only.
   ========================================================================== */

/* --- Word-level reveal (scroll-triggered) ------------------------------- */
.wsplit .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
html.js .wsplit .w i {
  display: inline-block; font-style: inherit;
  transform: translateY(112%);
  transition: transform 700ms var(--curve);
  transition-delay: var(--d, 0ms);
}
html.js .wsplit.is-inview .w i { transform: none; }

/* --- THE CONSULTING MOMENT — a pinned declaration ------------------------ */
.cmoment { height: 170vh; position: relative; }   /* build runs into the pin, then rests */
.cmoment-sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; place-items: center; overflow: hidden;
  text-align: center; padding-inline: var(--margin);
}
.cmoment-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3rem, 11vw, 10.5rem);
  line-height: 1.02; letter-spacing: 0.01em;
  display: block;
}
.cmoment-title .cm-w { display: inline-block; will-change: transform, opacity; }
.cmoment .rule { max-width: 240px; margin: clamp(1.2rem,3vh,2rem) auto; }
.cmoment-sub { max-width: 30em; margin-inline: auto; color: var(--muted); }
@media (max-width: 860px) { .cmoment { height: 150vh; } }
@media (prefers-reduced-motion: reduce) { .cmoment { height: auto; } .cmoment-sticky { position: static; height: auto; padding-block: 5rem; } }

/* --- THE RIVER — the collection, drifting ------------------------------- */
.river-wrap { overflow: hidden; padding-block: clamp(1.5rem, 3vh, 2.5rem); }
.river {
  display: flex; flex-direction: column; gap: 14px; cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;   /* v2.5: dragging never selects */
}
.river img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.river.is-dragging { cursor: grabbing; }
.river-row { display: flex; gap: 14px; width: max-content; will-change: transform; }
.river .shot {
  flex: none;
  width: clamp(200px, 17.5vw, 300px);   /* v2.1: ~5–6 per row */
  background: #fbf8f2; border: var(--hairline-taupe); padding: 7px;
}
.river .shot img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block;
}
.river .shot .caption { display: block; padding-top: 6px; font-size: 0.625rem; }

/* River title — the display voice in two colours */
.river-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.06;
}
.river-title .ox { color: var(--oxblood); font-style: italic; }
@media (prefers-reduced-motion: reduce) {
  .river { overflow-x: auto; cursor: default; }
  .river-row { width: max-content; }
}

/* --- CURSOR DRIFT — images lean gently toward the pointer ---------------- */
[data-drift] img, [data-drift] .patron img { will-change: transform; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  [data-drift] img { transform: none !important; }
}

/* --- Cursor tag ("DRAG") -------------------------------------------------- */
.cursor-ring .cursor-tag {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-body); font-size: 8px; font-weight: 600;
  letter-spacing: 0.22em; color: var(--oxblood);
  opacity: 0; transition: opacity 250ms var(--curve);
}
.cursor-ring.has-tag { background: rgba(244, 239, 230, 0.9); border-color: var(--oxblood); }
.cursor-ring.has-tag .cursor-tag { opacity: 1; }

/* --- VIDEO CAROUSEL (Production House) — centre in focus ----------------- */
.vcarousel { position: relative; }
.vc-track {
  --card: min(320px, 68vw);
  display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem calc(50% - var(--card) / 2) 1.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.vc-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.vc-track::-webkit-scrollbar { display: none; }
.vc-card {
  flex: none; width: var(--card);
  scroll-snap-align: center;
  will-change: transform, opacity;
  transition: opacity 500ms var(--curve), transform 500ms var(--curve);   /* v2.3: cards ease as they pass — the fluid feel */
}
.vc-media {
  position: relative; overflow: hidden; background: var(--ink);
  aspect-ratio: 9 / 16;
  border: var(--hairline-taupe);
}
.vc-media img, .vc-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-media img { opacity: 0.92; }
.vc-veil {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(rgba(32,24,18,0.08), rgba(32,24,18,0.4));
  color: var(--bone);
}
.vc-veil .play {
  width: 58px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(244,239,230,0.8);
  display: grid; place-items: center;
  transition: background-color var(--t-hover) var(--curve);
}
.vc-card.is-center .vc-veil .play { background: rgba(94,26,30,0.85); }
.vc-card .plate-caption { padding-inline: 2px; }
.vc-nav {
  display: flex; gap: 1rem; justify-content: center; margin-top: 0.5rem;
}
.vc-nav button {
  width: 44px; height: 44px; border: 1px solid rgba(169,136,90,0.6); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  transition: border-color var(--t-hover) var(--curve), background-color var(--t-hover) var(--curve);
}
.vc-nav button:hover { border-color: var(--oxblood); background: rgba(94,26,30,0.06); }

/* --- FILM INDEX (Work) — a placard list beside one hanging screen -------- */
.film-index {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.fi-stage {
  max-width: min(400px, 100%); width: 100%; margin-inline: auto;
  border: 1px solid rgba(169, 136, 90, 0.4);
  padding: clamp(8px, 1vw, 12px);
  cursor: pointer;
}
.fi-stage video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: var(--ink); }
.fi-stage .plate-caption { margin-top: 0.7rem; }
.fi-list { list-style: none; }
.fi-item {
  width: 100%; display: grid; grid-template-columns: 2.6rem 1fr auto;
  gap: 1rem; align-items: baseline; text-align: left;
  padding-block: clamp(0.9rem, 2vh, 1.3rem);
  border-top: 1px solid rgba(244, 239, 230, 0.18);
  color: inherit;
  transition: color var(--t-hover) var(--curve);
}
.fi-list li:last-child .fi-item { border-bottom: 1px solid rgba(244, 239, 230, 0.18); }
.fi-item .caption { color: var(--taupe); transition: color var(--t-hover) var(--curve); }
.fi-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.85rem); line-height: 1.15;
  transition: transform var(--t-rise) var(--curve);
}
.fi-item:hover .fi-name, .fi-item.is-active .fi-name { color: var(--brass); }
.fi-item:hover .fi-name { transform: translateX(6px); }
.fi-item.is-active .caption { color: var(--brass); }
.fi-go { color: var(--taupe); opacity: 0; transition: opacity var(--t-hover) var(--curve); }
.fi-item.is-active .fi-go { opacity: 1; color: var(--brass); }
@media (max-width: 960px) { .film-index { grid-template-columns: 1fr; } }

/* --- FLOTILLA (Production stills) — frames resting on water --------------
   Idle: a slow, near-imperceptible bob. Cursor: frames ease away like a
   boat's wake. JS drives transforms; reduced-motion gets a still gallery. */
.flotilla .frame { will-change: transform; }

/* --- PRIMAL teaser — modest, a specialty aside --------------------------- */
.primal-teaser {
  display: grid; grid-template-columns: minmax(0, 240px) 1fr auto;
  gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  border: var(--hairline-taupe); background: #fbf8f2;
  padding: clamp(1rem, 2vw, 1.75rem);
}
.primal-teaser .pt-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.primal-teaser .pt-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
@media (max-width: 860px) { .primal-teaser { grid-template-columns: 1fr; } }

/* --- Founder portraits (real) -------------------------------------------- */
.founder .frame-img img { filter: none; }

/* --- Initial states for the pinned moment (JS-gated, reduced-motion-safe) - */
html.js .cmoment .eyebrow,
html.js .cmoment .cm-w,
html.js .cmoment-sub { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html.js .cmoment .eyebrow, html.js .cmoment .cm-w, html.js .cmoment-sub { opacity: 1; transform: none; }
}
html:not(.js) .river { overflow-x: auto; }

/* --- Smooth-scroll host (Lenis) ------------------------------------------ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
