/* IMAGINARIUM — home.css (page-specific) */

/* ============ HERO (3 variants) ============ */
.hero { position: relative; }
body:not([data-hero]) .hero-v:not([data-v="split"]) { display: none; }
body[data-hero="split"]    .hero-v:not([data-v="split"])    { display: none; }
body[data-hero="monument"] .hero-v:not([data-v="monument"]) { display: none; }
body[data-hero="sheet"]    .hero-v:not([data-v="sheet"])    { display: none; }

.hero-v { min-height: 100svh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
/* .wrap is a flex item here; without an explicit width it shrinks to fit its
   content instead of stretching to the same 1320px column every other page uses. */
.hero-v > .wrap { width: 100%; }

/* kicker: plain voice with marker-highlighted word */
.hv-kicker { font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.2; }
.hv-kicker .marker { font-size: 1.12em; line-height: 1; }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; opacity: .55; letter-spacing: .3em;
}

/* ---- V1 SPLIT ---- */
.hv-split { background: var(--black); color: var(--white); }
.hv-split .hv-grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
  padding-top: calc(var(--header-h) + 24px); padding-bottom: 80px;
}
.hv-split .hv-grid > div:first-child { container-type: inline-size; min-width: 0; }
.hv-split .hv-title { font-size: min(clamp(44px, 6.6vw, 116px), 12cqw); }
/* "Intelligence" — manufactured word.
   Static blue outline (the real text), with an overlaid fill (::before)
   that cycles through three fabrication metaphors:
   additive (printed up in layers) -> subtractive (milled away) -> formative (molten flow-in). */
.hv-split .hv-title .blue-line,
.hv-sheet .hv-title .blue-line {
  position: relative;
  color: transparent;
  -webkit-text-stroke: clamp(1.4px, .16vw, 2.8px) var(--blue);
}
/* Two manufacturing fills alternate inside the word:
   POWDER (powder-bed additive — a granular grain rises and settles),
   then LIQUID (casting / moulding — a glossy molten flow sloshes up). */
.hv-split .hv-title .blue-line::before,
.hv-sheet .hv-title .blue-line::before,
.hv-split .hv-title .blue-line::after,
.hv-sheet .hv-title .blue-line::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  -webkit-text-stroke: 0;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
  pointer-events: none;
}
/* POWDER — granular blue grain with a fine white stipple */
.hv-split .hv-title .blue-line::before,
.hv-sheet .hv-title .blue-line::before {
  background-color: var(--blue);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.5) .4px, transparent 1.1px),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.18) .4px, transparent 1.1px),
    linear-gradient(180deg, var(--blue-bright), var(--blue));
  background-size: 3.5px 3.5px, 5px 5px, 100% 100%;
  animation: intelPowder 13s linear infinite;
}
/* LIQUID — smooth glossy gradient with a bright meniscus sheen */
.hv-split .hv-title .blue-line::after,
.hv-sheet .hv-title .blue-line::after {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 9%),
    linear-gradient(180deg, var(--blue-bright) 0%, var(--blue) 38%, var(--blue) 100%);
  background-size: 100% 100%;
  animation: intelLiquid 13s ease-in-out infinite;
}
/* Powder fills the first half, empties, then waits hidden */
@keyframes intelPowder {
  0%   { clip-path: inset(100% 0 0 0); opacity: 1; }
  3%   { clip-path: inset(100% 0 0 0); opacity: 1; }
  30%  { clip-path: inset(0 0 0 0); }      /* grain builds up */
  33%  { clip-path: inset(0 0 4% 0); }     /* settle */
  36%  { clip-path: inset(0 0 0 0); }
  44%  { clip-path: inset(0 0 0 0); opacity: 1; }   /* hold full */
  49%  { clip-path: inset(100% 0 0 0); opacity: 1; }/* drains away */
  50%  { opacity: 0; }
  100% { clip-path: inset(100% 0 0 0); opacity: 0; }
}
/* Liquid fills the second half, sloshes, then drains out the bottom */
@keyframes intelLiquid {
  0%   { clip-path: inset(100% 0 0 0); opacity: 0; }
  50%  { clip-path: inset(100% 0 0 0); opacity: 0; }
  51%  { opacity: 1; }
  82%  { clip-path: inset(0 0 0 0); opacity: 1; }   /* molten rise */
  85%  { clip-path: inset(3% 0 0 0); }              /* slosh */
  88%  { clip-path: inset(0 0 0 0); }
  94%  { clip-path: inset(0 0 0 0); opacity: 1; }   /* hold full */
  99%  { clip-path: inset(0 0 100% 0); opacity: 1; }/* drain out the bottom */
  100% { clip-path: inset(0 0 100% 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-split .hv-title .blue-line,
  .hv-sheet .hv-title .blue-line {
    color: var(--blue);
    -webkit-text-stroke: 0;
  }
  .hv-split .hv-title .blue-line::before,
  .hv-sheet .hv-title .blue-line::before,
  .hv-split .hv-title .blue-line::after,
  .hv-sheet .hv-title .blue-line::after { display: none; }
}
.hv-split .hv-kicker { font-size: clamp(26px, 2.6vw, 40px); margin: 18px 0 22px; }
.hv-split .hv-body { max-width: 52ch; opacity: .8; font-size: 15.5px; margin-bottom: 34px; }
.hv-split .hv-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hv-split .hv-brain { position: relative; display: flex; justify-content: center; }
.hv-split .hv-brain .brain-rotor { width: min(34vw, 420px); animation: brain-sway 14s ease-in-out infinite; }
@keyframes brain-sway {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) { .hv-split .hv-brain .brain-rotor { animation: none; } }
.hv-split .hv-doodle-1 { position: absolute; top: 2%; right: 4%; width: 74px; opacity: .9; animation: planeFlyIn 1.1s cubic-bezier(.2,.8,.2,1) .25s both; }
@keyframes planeFlyIn { from { transform: translate(-130px, 26px) rotate(-30deg) scale(.6); opacity: 0; } 70% { opacity: .9; } to { transform: translate(0,0) rotate(0) scale(1); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .hv-split .hv-doodle-1 { animation: none; } }
.hv-split .hv-doodle-2 { position: absolute; bottom: 6%; left: -2%; width: 93px; opacity: .8; transform-origin: center; animation: flowerBloom 1.2s cubic-bezier(.2,.8,.25,1) .45s both; }
@keyframes flowerBloom { from { transform: rotate(-120deg) scale(0); opacity: 0; } 60% { opacity: .8; } to { transform: rotate(0deg) scale(1); opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .hv-split .hv-doodle-2 { animation: none; } }
/* idea bulb: rays-less base, with the spark overlay (lines + glow) pulsing in
   on a periodic "light-up" beat */
.hv-split .hv-doodle-2 .bulb-stack { position: relative; display: block; width: 100%; }
.hv-split .hv-doodle-2 .bulb-stack .motif-img { display: block; width: 100%; height: auto; }
.hv-split .hv-doodle-2 .bulb-stack .bulb-lit { position: absolute; inset: 0; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hv-split .hv-doodle-2 .bulb-stack .bulb-lit { animation: bulbLight 4s ease-in-out 1.2s infinite; will-change: opacity, filter; }
}
@keyframes bulbLight {
  0%, 55% { opacity: 0; filter: none; }                                       /* rays-less idle */
  62%     { opacity: 1; filter: drop-shadow(0 0 5px var(--blue-bright)); }     /* lines snap on */
  67%     { opacity: .35; filter: none; }                                      /* flicker */
  74%     { opacity: 1; filter: drop-shadow(0 0 9px var(--blue-bright)); }     /* full glow */
  84%     { opacity: 1; filter: drop-shadow(0 0 6px var(--blue-bright)); }     /* brief hold */
  100%    { opacity: 0; filter: none; }                                        /* fade back out */
}

/* ---- interactive 3D brain (brain3d.js) ---- */
.brain3d-stage { perspective: 1000px; perspective-origin: 50% 45%; }
.brain3d-stage .brain3d-rotor {
  animation: none !important;          /* JS drives the motion now */
  cursor: grab;
  /* pan-y: vertical swipes on the brain still scroll the page (critical on
     iOS — full "none" wedges Safari's scroll gesture); horizontal drag rotates */
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .brain3d-stage .brain3d-rotor { touch-action: none; }
}
.brain3d-stage .brain3d-rotor.is-grabbing { cursor: grabbing; }
.brain3d-mark {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
/* separate the two hemispheres in depth so rotation reveals real parallax */
.brain3d-mark > svg { transform: translateZ(2px); }
.brain3d-mark .brain-fill-img {
  transform: translateZ(42px);
  filter: drop-shadow(0 8px 18px rgba(11,80,140,.28));
}
/* ground shadow that shifts and softens as the object tilts */
.brain3d-mark::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -7%; height: 22%;
  transform: translate(var(--shx, 0px), var(--shy, 14px)) translateZ(-60px);
  background: radial-gradient(50% 100% at 50% 0%, rgba(8,12,20,.30), transparent 72%);
  filter: blur(8px);
  opacity: calc(.45 + var(--tilt, 0) * .35);
  pointer-events: none;
}
.brain3d-hint {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); opacity: .55;
  display: inline-flex; align-items: center; gap: 7px;
  pointer-events: none; white-space: nowrap;
  transition: opacity .5s ease;
  animation: brain3d-hint-pulse 2.4s ease-in-out infinite;
}
.brain3d-hint-i { font-size: 14px; opacity: .8; }
.brain3d-hinted .brain3d-hint { opacity: 0; animation: none; }
@keyframes brain3d-hint-pulse { 0%,100% { opacity: .35; } 50% { opacity: .7; } }
@media (prefers-reduced-motion: reduce) {
  .brain3d-hint { animation: none; }
}
@media (max-width: 900px) {
  .hv-split .hv-grid { grid-template-columns: 1fr; padding-bottom: 100px; }
  .hv-split .hv-brain { order: -1; margin-top: 8px; }
  .hv-split .hv-brain .brain-rotor { width: min(38vw, 200px); }
}
@media (max-width: 640px) {
  .hv-split .hv-doodle-1 { width: 44px; }
  .hv-split .hv-doodle-2 { width: 54px; }
}

/* ---- V2 MONUMENT ---- */
.hv-monument { background: var(--black); color: var(--white); justify-content: center; }
.hv-monument .hv-stack {
  padding-top: calc(var(--header-h) + 4vh);
  text-align: left;
  container-type: inline-size;
}
.hv-monument .hv-word { font-size: min(clamp(56px, 10.6vw, 188px), 12cqw); display: block; line-height: .88; }
.hv-monument .hv-word.w2 { color: var(--blue); position: relative; }
.hv-monument .hv-word .inline-brain { display: inline-block; width: 0.62em; vertical-align: baseline; margin: 0 0.04em -0.04em 0.08em; }
.hv-monument .hv-kicker {
  position: absolute; right: 4%; bottom: -0.25em; font-size: clamp(22px, 2.6vw, 44px);
  color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.7); z-index: 2;
}
.hv-monument .hv-sub {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 20px 40px; margin-top: clamp(28px, 4vh, 56px); padding-bottom: 110px;
}
.hv-monument .hv-body { max-width: 46ch; opacity: .8; font-size: 15.5px; }
.hv-monument .hv-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hv-monument .hero-marquee {
  border-top: 1px solid var(--hairline-d);
  padding: 14px 0; position: absolute; bottom: 0; left: 0; right: 0;
}
.hv-monument .hero-marquee .marquee-item { font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em; opacity: .6; }
.hv-monument .hero-marquee .marquee-item .dot { color: var(--blue); }

/* ---- V3 SHEET ---- */
.hv-sheet { background: var(--paper); color: var(--ink); }
.hv-sheet .sheet-frame {
  position: absolute; inset: calc(var(--header-h) + 14px) clamp(14px, 2.5vw, 36px) clamp(14px, 2.5vw, 36px);
  border: 1.5px solid var(--ink); pointer-events: none;
}
.hv-sheet .sheet-frame::before {
  content: ""; position: absolute; inset: 6px; border: 0.5px solid rgba(11,11,12,.4);
}
.hv-sheet .sheet-corner { position: absolute; font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .65; }
.hv-sheet .sc-tl { top: 16px; left: 18px; }
.hv-sheet .sc-tr { top: 16px; right: 18px; }
.hv-sheet .sc-bl { bottom: 16px; left: 18px; }
.hv-sheet .hv-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 84px); padding-bottom: 120px; position: relative; z-index: 1;
  container-type: inline-size;
}
.hv-sheet .hv-title { font-size: min(clamp(44px, 7.6vw, 136px), 12cqw); }
/* hv-sheet .blue-line animated together with hv-split (see intelFill rule above) */
.hv-sheet .hv-kicker { font-size: clamp(26px, 2.8vw, 42px); margin: 20px 0 24px; }
.hv-sheet .hv-body { max-width: 54ch; font-size: 15.5px; opacity: .85; margin-bottom: 34px; }
.hv-sheet .hv-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hv-sheet .title-block {
  position: absolute; right: clamp(26px, 3.5vw, 52px); bottom: clamp(26px, 3.5vw, 52px);
  border: 1.5px solid var(--ink); background: var(--paper); z-index: 2;
  display: none; grid-template-columns: auto auto; font-family: var(--font-mono);
}
@media (min-width: 980px) { .hv-sheet .title-block { display: grid; } }
.hv-sheet .title-block > div { padding: 10px 16px; border-top: 1px solid var(--ink); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.hv-sheet .title-block > div:nth-child(-n+2) { border-top: 0; }
.hv-sheet .title-block > div:nth-child(odd) { border-right: 1px solid var(--ink); opacity: .6; }
.hv-sheet .hv-sheet-brain { position: absolute; right: clamp(20px, 4vw, 70px); bottom: 16%; width: clamp(110px, 12vw, 190px); z-index: 0; display: none; }
@media (min-width: 1250px) { .hv-sheet .hv-sheet-brain { display: block; } }
.hv-sheet .hv-sheet-doodle { position: absolute; left: 46%; top: 18%; width: 60px; color: var(--blue); }

/* ============ §2 DUALITY MANIFESTO ============ */
.manifesto { }
.manifesto-grid { display: grid; grid-template-columns: 1fr minmax(280px, 34%); gap: clamp(24px, 4vw, 70px); align-items: start; }
@media (max-width: 900px) { .manifesto-grid { grid-template-columns: 1fr; } }
.mani-bands { display: flex; flex-direction: column; }
.mani-band {
  padding: clamp(34px, 4.5vw, 64px) 0; border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 6px;
}
.mani-band:last-child { border-bottom: 1px solid var(--hairline); }
.mani-band .m-left { font-size: clamp(34px, 4.6vw, 72px); }
.mani-band .m-right { font-size: clamp(28px, 3.4vw, 52px); align-self: flex-end; display: flex; align-items: center; gap: 14px; }
.mani-band .m-connector { width: clamp(48px, 6vw, 96px); color: var(--blue); flex-shrink: 0; }
.mani-sticky { position: sticky; top: 22vh; padding: 10px 0; }
@media (max-width: 900px) { .mani-sticky { position: static; max-width: 260px; margin: 0 auto; } }
.mani-sticky .mono { display: block; text-align: center; margin-top: 22px; opacity: .55; font-size: 10.5px; }

/* ============ §3 STATS ============ */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); text-align: center; }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr; } }
.stat .odo, .stat [data-count] { font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 11vw, 180px); line-height: 1; color: var(--ink); }
.stat .mono { display: block; margin-top: 10px; opacity: .6; }
.stats-line { text-align: center; margin-top: clamp(30px, 4vw, 54px); font-size: clamp(20px, 2.2vw, 30px); }

/* ============ §4 RIGHT PROCESS ============ */
.process-band { background: var(--blue); color: var(--white); position: relative; }
.process-band .banner {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.process-band .banner .display { font-size: clamp(26px, 3.4vw, 52px); }
.bp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .bp-tiles { grid-template-columns: 1fr; } }
.bp-tile {
  border: 1.5px solid rgba(255,255,255,.55); padding: clamp(22px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 14px; min-height: 230px;
  background: rgba(255,255,255,.04);
}
.bp-tile .bp-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; opacity: .7; }
.bp-tile .bp-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.2vw, 32px); text-transform: uppercase; }
.bp-tile .bp-name .marker { color: var(--ink); font-size: .96em; margin-left: 10px; }
.bp-tile .bp-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.bp-tile svg.bp-art { width: 100%; height: 116px; margin-top: auto; }
/* screenshot icon style: black marks + white fills on the blue band */
.bp-art .i-ln  { stroke: var(--ink); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp-art .i-wln { stroke: var(--white); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp-art .i-blk { fill: var(--ink); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.bp-art .i-wht { fill: var(--white); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.process-axis { margin-top: clamp(40px, 5vw, 72px); }

/* ---- process tiles as click-to-flip cards (flip via button only) ---- */
.flip.flip-btn-only:not(.flipped) .flip-inner { transform: none; } /* kill hover/focus auto-flip */
.bp-tile.flip { border: 0; padding: 0; background: none; min-height: 0; gap: 0; }
.bp-tile .flip-inner { flex: 1; display: grid; }
.bp-tile .flip-face {
  position: relative; inset: auto; grid-area: 1 / 1; min-height: 230px;
  gap: 14px; padding: clamp(22px, 2.4vw, 34px);
}
.bp-tile .bp-front { border: 2.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.04); color: var(--white); }
.bp-tile .bp-back  { border: 2.5px solid var(--ink); background: var(--ink); color: var(--white); transform: rotateY(180deg); }
.bp-tile svg.bp-art { flex-shrink: 0; }
.bp-flip {
  margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  background: none; border: 1.5px solid currentColor; color: inherit; padding: 10px 16px;
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.bp-flip span { font-size: 14px; line-height: 1; transition: transform .45s cubic-bezier(.3,.8,.3,1); }
.bp-flip:hover span { transform: rotate(180deg); }
.bp-front .bp-flip:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.bp-back .bp-flip { margin-top: auto; }
.bp-back .bp-flip:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.bp-back .bp-gist { font-size: 15px; line-height: 1.6; max-width: 38ch; margin-top: 2px; }
.bp-back .bp-gist .marker { color: var(--blue-bright); font-size: 1.15em; white-space: nowrap; }
.bp-back .bp-tl-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .5; margin-top: 10px; }
.bp-back .bp-links { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-back .bp-links a {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); text-decoration: none; padding: 8px 13px; border: 1px solid rgba(255,255,255,.35);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.bp-back .bp-links a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.bp-back .bp-doodle { position: absolute; right: 20px; top: 20px; width: 52px; color: var(--blue-bright); opacity: .9; transform: rotate(6deg); pointer-events: none; }
/* Touch devices: components.css flattens the 3D flip and crossfades faces,
   but only for .flip-front/.flip-back. The process tiles use .bp-front/.bp-back,
   so mirror the same crossfade here or both faces paint stacked. */
@media (hover: none) {
  .bp-tile .bp-front, .bp-tile .bp-back { transform: none; transition: opacity .35s ease; }
  .bp-tile .bp-back { opacity: 0; pointer-events: none; }
  .bp-tile.flipped .bp-back { opacity: 1; pointer-events: auto; }
  .bp-tile.flipped .bp-front { opacity: 0; pointer-events: none; }
  @media (prefers-reduced-motion: reduce) { .bp-tile .bp-front, .bp-tile .bp-back { transition: none; } }
}
/* Desktop Safari (html.ua-safari, set by core.js): same crossfade as touch,
   the components.css fallback only covers .flip-front/.flip-back and these
   tiles use .bp-front/.bp-back, so mirror it here too. */
html.ua-safari .bp-tile .bp-front, html.ua-safari .bp-tile .bp-back { transform: none; transition: opacity .35s ease; }
html.ua-safari .bp-tile .bp-back { opacity: 0; pointer-events: none; }
html.ua-safari .bp-tile.flipped .bp-back { opacity: 1; pointer-events: auto; }
html.ua-safari .bp-tile.flipped .bp-front { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { html.ua-safari .bp-tile .bp-front, html.ua-safari .bp-tile .bp-back { transition: none; } }

/* ============ §7 WORK FLIP CARDS ============ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.work-grid .flip { height: 480px; cursor: pointer; }
.flip .wf-tags { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.flip .wf-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 12px 0 16px; }
.flip .wf-slot { margin-top: auto; }
.flip .wf-slot image-slot { width: 100%; height: 210px; display: block; }
.flip-back .wf-leap { font-family: var(--font-marker); font-weight: 700; font-size: 30px; line-height: 1.2; }
.flip-back .wf-stat { margin-top: auto; }
.flip-back .wf-stat .big { font-family: var(--font-display); font-weight: 900; font-size: 54px; line-height: 1; }
.flip-back .wf-doodle { width: 64px; color: var(--ink); align-self: flex-end; }
.flip .wf-hint { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; opacity: .45; margin-top: 14px; text-transform: uppercase; }

/* ============ §9 QUOTE ============ */
.quote-band blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 3.6vw, 56px); line-height: 1.1; letter-spacing: -0.015em; max-width: 22ch;
}
.quote-band blockquote .q-blue { color: var(--blue); }
.quote-band cite { display: block; margin-top: 28px; font-style: normal; }

/* ============ §4b FILM ============ */
.home-film .yt {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border: 1px solid var(--hairline-d);
}
.home-film .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-film .film-note { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ============ §2b OUR CLIENTS ============ */
.clients-band { padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--hairline-d); border-bottom: 1px solid var(--hairline-d); }
.clients-band .eyebrow { color: rgba(255,255,255,.6); margin-bottom: clamp(18px, 2.5vw, 26px); }
.clients-band .marquee-item { gap: 0; padding-right: 0; }
.clients-band .marquee-item img { height: clamp(26.45px, 2.65vw, 39.68px); width: auto; max-width: none; opacity: .8; }
.clients-band .marquee-item img.md { height: clamp(39.68px, 3.97vw, 55.55px); }
.clients-band .marquee-item img.lg { height: clamp(58.19px, 5.82vw, 84.64px); }
.clients-band .marquee-item .sq { width: 7px; height: 7px; background: var(--blue); display: inline-block; margin: 0 clamp(26px, 3.2vw, 52px); }

/* ============ §10 CLOSING CTA ============ */
.closing-cta { background: var(--blue); color: var(--ink); }
.closing-cta .marker { color: var(--ink); }
.closing-cta .display { color: var(--white); }
