/* ==========================================================================
   AR AUTOMATION — "The Golden Thread"
   Editorial luxury. Matte black / warm cream flip / one continuous gold line.
   Fraunces (emotion) × Space Grotesk (structure).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0A0A0A;
  --cream: #F2EBDD;
  --ink: #141210;              /* near-black text on cream */
  --text: #F5F0E8;
  --muted: rgba(245, 240, 232, 0.55);
  --faint: rgba(245, 240, 232, 0.28);

  --gold: #F5A623;
  --gold-light: #FFD98A;
  --gold-deep: #8a5d10;
  --grad: linear-gradient(105deg, #F5A623 0%, #FFD98A 100%);
  --hairline: rgba(245, 166, 35, 0.16);

  --serif: "Fraunces", Georgia, serif;
  --grotesk: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 5.5rem);

  /* custom cubic-beziers — no default eases anywhere */
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-yank: cubic-bezier(0.7, 0, 0.18, 1);
  --ease-drift: cubic-bezier(0.45, 0.05, 0.15, 0.95);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg);
}
html.is-locked { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--grotesk);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100svh;
}

html.cursor-on body,
html.cursor-on a,
html.cursor-on button { cursor: none; }

img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: #0A0A0A; }
::-moz-selection { background: var(--gold); color: #0A0A0A; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--gold-light)); border-radius: 99px; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Film grain + vignette ---------- */
.grain {
  position: fixed; inset: 0;
  z-index: 9990;
  pointer-events: none;
  overflow: hidden;
}
.grain::before {
  content: "";
  position: absolute; inset: -100%;
  width: 300%; height: 300%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grainShift 900ms steps(6) infinite;
}
.grain::after {
  /* subtle vignette */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 105% at 50% 45%, transparent 62%, rgba(0, 0, 0, 0.32) 100%);
}
@keyframes grainShift {
  0%   { transform: translate3d(0, 0, 0); }
  25%  { transform: translate3d(-2%, -3%, 0); }
  50%  { transform: translate3d(2%, 1%, 0); }
  75%  { transform: translate3d(-1%, 3%, 0); }
  100% { transform: translate3d(3%, -2%, 0); }
}

/* ==========================================================================
   TYPE SYSTEM
   ========================================================================== */
.f-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.01em;
}
.gold-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em; /* italic overhang room */
}

.micro-label {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-family: var(--grotesk);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.label-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25em;
  letter-spacing: 0;
  color: var(--gold);
}

.edge-note {
  position: absolute;
  top: 50%;
  right: calc(var(--pad) * 0.35);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.ghost-num {
  position: absolute;
  left: -3vw;
  bottom: -9vw;
  font-family: var(--grotesk);
  font-size: 30vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 166, 35, 0.13);
  pointer-events: none;
  user-select: none;
}

/* masked line reveals */
.hl-mask {
  display: block;
  overflow: clip;
  padding: 0.13em 0.12em;
  margin: -0.13em -0.12em;
}
.hl-line {
  display: block;
  transform-origin: left bottom;
  will-change: transform;
}

/* thread-drawn underline on hover (wavy gold stitch) */
.stitch-link {
  position: relative;
  padding-bottom: 0.35em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='7' viewBox='0 0 26 7'%3E%3Cpath d='M0 3.5 Q 6.5 0.5 13 3.5 T 26 3.5' fill='none' stroke='%23F5A623' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 0 7px;
  transition: background-size 0.7s var(--ease-silk), color 0.4s var(--ease-lux);
}
.stitch-link:hover { background-size: 100% 7px; color: var(--gold-light); }

/* ==========================================================================
   THE GOLDEN THREAD (SVG segments)
   ========================================================================== */
.thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.thread-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}
.thread-dark .thread-path { stroke: var(--ink); opacity: 0.85; }

/* mobile simplified thread: vertical line down the left edge */
.thread-mobile {
  display: none;
  position: fixed;
  top: 0; left: max(12px, 3.5vw);
  width: 1.5px;
  height: 100svh;
  z-index: 5;
  background: linear-gradient(var(--gold), var(--gold-light));
  transform-origin: top center;
  transform: scaleY(0);
  pointer-events: none;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed; inset: 0;
  z-index: 9980;
  background:
    radial-gradient(125% 90% at 50% 40%, rgba(245, 166, 35, 0.07), transparent 58%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.pre-inner {
  width: min(78vw, 440px);
  will-change: transform, opacity;
}
.pre-logo-wrap {
  position: relative;
  width: min(64vw, 330px);
  margin: 0 auto;
  aspect-ratio: 752 / 356;
}
.pre-logo {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 46px rgba(0, 0, 0, 0.55));
  clip-path: inset(0 100% 0 0);        /* JS wipes this open — logo "draws in" */
}
/* gold light streak, masked to the exact logo shape so it only catches the glyph */
.pre-sheen {
  position: absolute; inset: 0;
  -webkit-mask: url("logo-full.png") center / contain no-repeat;
          mask: url("logo-full.png") center / contain no-repeat;
  background: linear-gradient(105deg,
    transparent 42%, rgba(255, 246, 224, 0.9) 50%, transparent 58%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: -60% 0;
  opacity: 0;
  pointer-events: none;
}
.pre-line {
  position: relative;
  height: 1px;
  margin: clamp(1.9rem, 5vw, 2.6rem) auto 1.05rem;
  width: 100%;
  background: rgba(245, 240, 232, 0.11);
  overflow: hidden;
}
.pre-line i {
  position: absolute; inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), #FFD98A);
  box-shadow: 0 0 14px rgba(245, 166, 35, 0.6);
}
.pre-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--grotesk);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
}
.pre-count { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.pre-count b { font-weight: 600; }
.pre-count em { font-style: normal; opacity: 0.55; margin-left: 0.15em; }

/* ==========================================================================
   CURSOR — canvas trail + label blob
   ========================================================================== */
#cursorCanvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 9995;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-lux);
}
html.cursor-on #cursorCanvas { opacity: 1; }

.cursor-blob {
  position: fixed; top: 0; left: 0;
  z-index: 9996;
  pointer-events: none;
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-light), var(--gold));
  box-shadow: 0 0 44px rgba(245, 166, 35, 0.45);
  transform: scale(0);
  transition: transform 0.5s var(--ease-silk);
}
html.cursor-label-on .cursor-blob { transform: scale(1); }
.cursor-blob-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0A0A0A;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--pad);
  transition: transform 0.7s var(--ease-lux), background-color 0.5s var(--ease-lux), border-color 0.5s var(--ease-lux);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom-color: var(--hairline);
}
.nav.nav-init, .nav.is-hidden { transform: translateY(-110%); }

.nav-logo { display: inline-flex; align-items: center; gap: 0.7rem; position: relative; overflow: hidden; }
.nav-logo-img {
  height: 30px; width: auto; display: block;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.4));
}
/* golden shimmer sweep across the mark on hover */
.nav-logo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(245, 166, 35, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
@media (hover: hover) {
  .nav-logo:hover::after { transition: transform 0.9s var(--ease-lux); transform: translateX(120%); }
}
.nav-logo-word {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-clock {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.clock-sep { color: var(--gold); margin: 0 0.6em; }

/* circular CTA with rotating rim text */
.orbit-cta {
  position: relative;
  width: 92px; height: 92px;
  display: grid;
  place-items: center;
  flex: none;
  will-change: transform;
}
.orbit-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: orbitSpin 16s linear infinite;
}
.orbit-text {
  font-family: var(--grotesk);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  fill: var(--muted);
  transition: fill 0.4s var(--ease-lux);
}
.orbit-cta:hover .orbit-text { fill: var(--gold-light); }
.orbit-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(245, 166, 35, 0.6);
  transition: transform 0.5s var(--ease-silk);
}
.orbit-cta:hover .orbit-dot { transform: scale(1.8); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
  /* poster paints instantly under the video — no black flash while it buffers */
  background-image:
    url("hero-poster.jpg"),
    radial-gradient(ellipse 80% 60% at 72% 18%, rgba(245, 166, 35, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, #14100a 0%, #0A0A0A 55%, #0d0b07 100%);
  background-size: cover, auto, auto;
  background-position: center 38%, center, center;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  /* lifted presence: no brightness cut — legibility comes from the
     bottom gradient + vignette, not from dimming the frame */
  filter: contrast(1.06) saturate(1.05);
  opacity: 0;
  transition: opacity 0.9s var(--ease-lux);
}
.hero-video.is-ready { opacity: 1; }
.hero-grade {
  /* faint gold wash only — brand warmth, never darkness */
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 70% 25%, rgba(245, 166, 35, 0.16) 0%, transparent 60%),
    linear-gradient(160deg, rgba(138, 93, 16, 0.1) 0%, transparent 45%, rgba(245, 166, 35, 0.08) 100%);
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.hero-shade {
  /* targeted legibility: bottom-up gradient behind the headline zone only */
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 50%,
    rgba(10, 10, 10, 0.5) 78%,
    rgba(10, 10, 10, 0.88) 100%);
}
.hero-shade::after {
  /* very subtle edge vignette — the center stays bright and crisp */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 130% 115% at 50% 42%, transparent 62%, rgba(0, 0, 0, 0.32) 100%);
}

#dust {
  position: absolute; inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
}

.hero-meta {
  position: absolute;
  z-index: 3;
  top: clamp(6.5rem, 14vh, 9rem);
  right: var(--pad);
  max-width: 250px;
  font-size: 0.82rem;
  font-weight: 350;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}
.hero-meta .micro-label { margin-bottom: 0.9rem; color: var(--gold); }

.hero-title {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  bottom: clamp(4rem, 10vh, 7rem);
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(3rem, 10.5vw, 12.5rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}
.hero-title .gold-text {
  /* clipped-gradient text can't take text-shadow — drop-shadow the pixels instead */
  text-shadow: none;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.55));
}
/* staggered left offsets — deliberately uneven */
.hero-title .hl-mask:nth-child(2) { margin-left: 0.55em; }
.hero-title .hl-mask:nth-child(3) { margin-left: 1.2em; }
.hero-title .f-it { font-weight: 380; letter-spacing: -0.015em; }

#thread-hero { z-index: 2; }

/* ==========================================================================
   02 · MANIFESTO — the light flip
   ========================================================================== */
.manifesto {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  min-height: 130vh;
  padding: clamp(9rem, 18vh, 14rem) var(--pad) clamp(8rem, 16vh, 12rem);
  overflow: clip;
}
.manifesto-skew { will-change: transform; }

.manifesto-label {
  color: rgba(20, 18, 16, 0.55);
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
  margin-left: 8%;
}
.manifesto-label .label-num { color: var(--gold-deep); }

.manifesto-text {
  position: relative;
  z-index: 3;
  margin-left: 8%;
  max-width: 17ch;
  font-family: var(--grotesk);
  font-weight: 480;
  font-size: clamp(2rem, 4.6vw, 4.9rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.manifesto-text .f-it { font-weight: 420; }
.manifesto-text .mword { display: inline-block; }

/* hand-drawn gold circles around key phrases */
.circled { position: relative; white-space: nowrap; }
.circle-svg {
  position: absolute;
  inset: -0.28em -0.35em -0.32em -0.4em;
  width: calc(100% + 0.75em);
  height: calc(100% + 0.6em);
  overflow: visible;
  pointer-events: none;
}
.circle-svg path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2px;
  stroke-linecap: round;
  opacity: 0.9;
}

.manifesto-aside {
  position: relative;
  z-index: 3;
  margin: clamp(4rem, 9vh, 7rem) 12% 0 auto;
  width: fit-content;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  color: rgba(20, 18, 16, 0.72);
  text-align: right;
}

#thread-manifesto { z-index: 1; }

/* ==========================================================================
   03 · SERVICES — takeover deck
   ========================================================================== */
.services { position: relative; }
#thread-services { z-index: 30; }

.svc-deck { position: relative; }

.svc-slide {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
.svc-card {
  position: relative;
  height: 100%;
  background: var(--slide-bg, #0A0A0A);
  overflow: clip;
  will-change: transform;
  border-top: 1px solid var(--hairline);
}
.svc-veil {
  position: absolute; inset: 0;
  z-index: 6;
  background: #050505;
  opacity: 0;
  pointer-events: none;
}

.svc-body {
  position: absolute;
  z-index: 4;
  left: clamp(1.25rem, 8vw, 9rem);
  bottom: clamp(3.5rem, 13vh, 8rem);
  max-width: min(52vw, 780px);
}
.svc-title {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 9rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.svc-title .f-it {
  font-weight: 380;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.svc-desc {
  max-width: 40ch;
  margin: 1.6rem 0 1.8rem 22%;   /* offset right — asymmetric on purpose */
  font-size: 0.95rem;
  font-weight: 350;
  color: var(--muted);
}
.svc-link {
  margin-left: 22%;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-link { /* stitch underline */
  padding-bottom: 0.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='7' viewBox='0 0 26 7'%3E%3Cpath d='M0 3.5 Q 6.5 0.5 13 3.5 T 26 3.5' fill='none' stroke='%23F5A623' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 0 7px;
  transition: background-size 0.7s var(--ease-silk), color 0.4s var(--ease-lux), letter-spacing 0.5s var(--ease-lux);
}
.svc-link:hover { background-size: 100% 7px; color: var(--gold-light); letter-spacing: 0.26em; }

/* media window with clip reveal + hover scale/tint */
.svc-media {
  position: absolute;
  z-index: 3;
  right: clamp(1.25rem, 7vw, 8rem);
  top: clamp(5.5rem, 13vh, 9rem);
  width: clamp(240px, 30vw, 460px);
  aspect-ratio: 4 / 3;
  overflow: clip;
  border-radius: 3px;
  clip-path: inset(0 0 0 0);
}
.svc-media-fill {
  position: absolute; inset: 0;
  transform: scale(1.001);
  transition: transform 1.2s var(--ease-drift);
}
.svc-media::after {
  /* gold tint on hover */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.28), rgba(255, 217, 138, 0.08));
  opacity: 0;
  transition: opacity 0.7s var(--ease-lux);
}
.svc-media:hover::after { opacity: 1; }
.svc-media:hover .svc-media-fill { transform: scale(1.05); }
.svc-media-cap {
  position: absolute;
  left: 1rem; bottom: 0.8rem;
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
}
/* real service imagery — fills the 4/3 frame; inherits the deck's clip-wipe
   reveal (.svc-media clip-path) + the hover zoom from .svc-media-fill */
.svc-media-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* browser-chrome bar — desktop keeps the clean editorial window (hidden);
   it becomes a premium app-window header on mobile */
.svc-chrome { display: none; }

.svc-edge { color: rgba(245, 240, 232, 0.22); }

/* ==========================================================================
   04 · PROCESS — the thread becomes the path
   ========================================================================== */
.process {
  position: relative;
  background: var(--bg);
  overflow: clip;
}
.process-head {
  position: absolute;
  z-index: 5;
  top: clamp(5rem, 10vh, 7rem);
  left: var(--pad);
  pointer-events: none;
}
.process-head .micro-label { margin-bottom: 1.4rem; }
.process-title {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.process-stage { height: 100vh; height: 100svh; }

.process-track {
  position: relative;
  width: 360vw;
  height: 100%;
  will-change: transform;
}
.thread-track { z-index: 1; }

.process-node {
  position: absolute;
  z-index: 3;
  left: var(--nx);
  top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 24px rgba(245, 166, 35, 0.75);
  transform: scale(0);
}

.process-card {
  position: absolute;
  z-index: 2;
  left: var(--nx);
  top: 55%;
  width: clamp(300px, 26vw, 430px);
  padding: 1.9rem 2rem 2.1rem;
  background: rgba(18, 15, 8, 0.72);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  transform-origin: top left;
  will-change: transform;
}
.pc-num {
  position: absolute;
  top: -0.62em;
  right: 0.35em;
  font-family: var(--grotesk);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 166, 35, 0.4);
  pointer-events: none;
}
.pc-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
  margin-bottom: 0.7rem;
}
.pc-desc {
  font-size: 0.88rem;
  font-weight: 350;
  color: var(--muted);
}

/* ==========================================================================
   05 · RESULTS
   ========================================================================== */
.results {
  position: relative;
  min-height: 125vh;
  padding: clamp(8rem, 16vh, 12rem) var(--pad) clamp(9rem, 18vh, 14rem);
  overflow: clip;
}
#thread-results { z-index: 1; }
.results-label { margin-bottom: clamp(3rem, 7vh, 5rem); }

.results-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.stat-hero { grid-column: 1 / 8; }
.stat-hero-num {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(6rem, 19vw, 21rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
/* gradient lives on the digits themselves — a background-clip:text parent
   with transformed (rolling) children mis-clips in Chrome */
.stat-hero-num .slot-digit,
.stat-hero-num .slot-static,
.stat-hero-unit,
html.reduced-motion .stat-hero-num .slot,
html.no-js .stat-hero-num .slot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-hero-unit { font-size: 0.42em; margin-left: 0.04em; }
.stat-hero-cap {
  margin: 2.2rem 0 0 6%;
  max-width: 26ch;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 350;
  line-height: 1.6;
  color: var(--muted);
}
.stat-hero-cap .f-it { color: var(--gold-light); }

.stat-side {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vh, 4.5rem);
  margin-top: clamp(6rem, 16vh, 12rem);
}
.stat-side .stat:nth-child(2) { margin-left: 14%; }
.stat-side .stat:nth-child(3) { margin-left: 5%; }

.stat { border-left: 1px solid var(--hairline); padding-left: 1.5rem; }
.stat-num {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.stat-x { font-size: 0.6em; color: var(--gold); margin-left: 0.08em; }
.stat-cap {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.results-edge { color: var(--faint); }

/* slot-machine digit columns — fixed 1em windows, tabular digits,
   whole-step translation; mobile uses a count-up instead (script.js) */
.slot { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; line-height: 1; }
.slot-col {
  display: inline-block;
  overflow: clip;
  height: 1em;
  line-height: 1;
  vertical-align: bottom;
  contain: paint;
}
.slot-stack { display: block; will-change: transform; }
.slot-digit { display: block; height: 1em; line-height: 1; text-align: center; }
.slot-static { display: inline-block; height: 1em; line-height: 1; vertical-align: bottom; }

/* ==========================================================================
   06 · FINAL CTA — the knot
   ========================================================================== */
.cta {
  position: relative;
  min-height: 130vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8rem, 16vh, 12rem) var(--pad) clamp(6rem, 12vh, 9rem);
  overflow: clip;
}
#thread-knot { z-index: 1; }
.knot-glow {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: blur(7px);
  opacity: 0;
}

.cta-title {
  position: relative;
  z-index: 3;
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(3.2rem, 14vw, 17rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.cta-title .hl-mask:nth-child(2) { margin-left: 0.7em; }
.cta-title .f-it { font-weight: 380; }

.btn-mega {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(170px, 17vw, 250px);
  aspect-ratio: 1;
  margin: clamp(2rem, 5vh, 4rem) clamp(4vw, 10vw, 14vw) 0 auto;
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transition: box-shadow 0.7s var(--ease-lux);
}
.btn-mega-fill {
  position: absolute; inset: -1px;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold));
  transform: scale(0);
  transition: transform 0.7s var(--ease-yank);
}
.btn-mega-label {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  letter-spacing: 0.02em;
  transition: color 0.5s var(--ease-lux);
}
.btn-mega:hover { box-shadow: 0 0 100px rgba(245, 166, 35, 0.4); }
.btn-mega:hover .btn-mega-fill { transform: scale(1.02); }
.btn-mega:hover .btn-mega-label { color: #0A0A0A; }

.cta-contacts {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3rem, 8vh, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}
.contact-line {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--grotesk);
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 450;
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease-lux);
}
.contact-line:hover { color: var(--gold-light); }
.contact-line .micro-label { color: var(--faint); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(3rem, 6vh, 5rem);
  overflow: clip;
}
.footer-logo {
  display: block;
  width: clamp(120px, 16vw, 180px); height: auto;
  margin: 0 var(--pad) clamp(2.5rem, 5vh, 4rem);
  opacity: 0.92;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 0 var(--pad) clamp(3rem, 6vh, 5rem);
}
.f-col { display: flex; flex-direction: column; gap: 0.55rem; }
.f-col .micro-label { color: var(--gold); margin-bottom: 0.7rem; }
.f-col a {
  width: fit-content;
  font-size: 0.8rem;
  font-weight: 350;
  color: var(--muted);
  padding-bottom: 0.3em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='7' viewBox='0 0 26 7'%3E%3Cpath d='M0 3.5 Q 6.5 0.5 13 3.5 T 26 3.5' fill='none' stroke='%23F5A623' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 0 6px;
  transition: background-size 0.6s var(--ease-silk), color 0.35s var(--ease-lux);
}
.f-col a:hover { background-size: 100% 6px; color: var(--text); }
.f-note {
  font-size: 0.74rem;
  font-weight: 350;
  line-height: 1.8;
  color: var(--faint);
}

/* giant outlined marquee that fills with gold at page end */
.footer-marquee { overflow: clip; padding: 1.5rem 0 0.5rem; }
.fm-track {
  display: flex;
  width: max-content;
  animation: fmMove 38s linear infinite;
  will-change: transform;
}
.fm-word {
  font-family: var(--grotesk);
  font-size: 20vw;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 166, 35, 0.5);
  /* bottom half of this 200%-tall background is gold — JS scrubs it up into view */
  background-image: linear-gradient(to top, #F5A623 0%, #FFD98A 49.9%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
}
@keyframes fmMove {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 899px) {
  .thread { display: none; }
  .thread-mobile { display: block; }

  .nav-clock { display: none; }
  .orbit-cta { width: 72px; height: 72px; }
  .orbit-text { font-size: 12px; }

  .hero-title { font-size: 10.8vw; right: var(--pad); }
  .hero-title .hl-mask:nth-child(2) { margin-left: 0.3em; }
  .hero-title .hl-mask:nth-child(3) { margin-left: 0.6em; }
  .hero-meta { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7); }
  /* portrait crop: keep the subject above the headline zone */
  .hero-video { object-position: 50% 30%; }
  .hero-media { background-image:
    url("hero-poster-mobile.jpg"),
    radial-gradient(ellipse 80% 60% at 72% 18%, rgba(245, 166, 35, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, #14100a 0%, #0A0A0A 55%, #0d0b07 100%);
    background-position: center 30%, center, center;
  }
  .hero-meta {
    position: static;
    margin: 7.5rem var(--pad) 0 auto;
    padding-left: 0;
    max-width: 66vw;          /* keep the caption inside the viewport — no right-edge clip */
    text-align: right;
    overflow-wrap: break-word;
  }
  .hero-meta .micro-label { display: block; letter-spacing: 0.22em; }
  /* the reveal wrapper is inline-block (hugs content) → force it to wrap so the
     long "WEBSITES · APPS · AI AUTOMATION" line can't push the caption off-screen */
  .hero-meta .ml-text { max-width: 100%; white-space: normal; }
  .hero { display: flex; flex-direction: column; }
  .edge-note { display: none; }

  .manifesto-text { max-width: none; margin-left: 6%; font-size: 7.2vw; }
  .manifesto-label { margin-left: 6%; }

  /* services deck → horizontal swipe cards */
  .svc-deck {
    display: flex;
    gap: 4vw;
    overflow-x: auto;
    padding: 10vh var(--pad);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .svc-slide {
    position: static;
    flex: none;
    width: 84vw;
    height: 74svh;
    scroll-snap-align: center;
  }
  /* premium "app window" service card — the media becomes a big framed
     16:9 laptop screen on top, headline + copy stacked below */
  .svc-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1.25rem, 5vw, 1.9rem);
    padding: clamp(1.35rem, 5.5vw, 2.1rem);
    border: 1px solid var(--hairline);
    border-radius: 16px;
    overflow: hidden;
    will-change: transform, opacity;
  }
  .svc-body {
    position: relative;
    left: auto; bottom: auto;
    order: 2;
    max-width: 100%;
  }
  .svc-title { font-size: clamp(1.75rem, 8vw, 2.9rem); }
  .svc-desc { margin: 1.05rem 0 1.35rem; max-width: 42ch; }
  .svc-desc, .svc-link { margin-left: 0; }

  .svc-media {
    position: relative;
    order: 1;
    right: auto; left: auto; top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 7px;
    background: linear-gradient(158deg, #16130d, #0a0908);
    border: 1px solid rgba(245, 205, 130, 0.18);
    border-radius: 14px;
    box-shadow:
      0 30px 64px -30px rgba(0, 0, 0, 0.95),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: visible;
    clip-path: none;
  }
  .svc-media::after { display: none; }           /* no hover-tint layer on touch */

  .svc-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
    border-bottom: 1px solid rgba(245, 205, 130, 0.1);
  }
  .svc-chrome i {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4c4842;
  }
  .svc-chrome i:nth-child(3) {
    background: var(--gold);
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.5);
  }
  .svc-chrome b {
    margin-left: auto;
    font-family: var(--grotesk);
    font-weight: 450;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(245, 240, 232, 0.44);
    white-space: nowrap;
  }
  .svc-media-fill {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    display: block;
    transform: none;
    transition: none;
  }

  .ghost-num { font-size: 40vw; bottom: auto; top: -7vw; left: -3vw; z-index: 0; }

  /* process → vertical cards */
  .process-head { position: static; padding: clamp(5rem, 12vh, 8rem) var(--pad) 3rem; }
  .process-stage { height: auto; }
  .process-track { width: auto; height: auto; display: flex; flex-direction: column; gap: 2.2rem; padding: 0 var(--pad) 6rem; }
  .thread-track, .process-node { display: none; }
  /* width only — position/offset reset live in the mobile process block below
     (they must beat the base left:var(--nx)/top:55% used for the desktop track) */
  .process-card { width: auto; }

  .results-grid { grid-template-columns: 1fr; }
  .stat-hero { grid-column: auto; }
  .stat-side { grid-column: auto; margin-top: 3rem; }
  .results { min-height: 0; }

  .cta { min-height: 100svh; }
  .cta-title { font-size: 15vw; }
  .btn-mega { margin-right: auto; margin-left: 0; }

  .footer-cols { grid-template-columns: 1fr 1fr; }

  .cursor-blob, #cursorCanvas, #dust { display: none; }
}

@media (max-width: 540px) {
  /* premium 2-column footer grid — compact + balanced, never a sparse
     left-hugging list. Groups pair up: build|company, social|colophon */
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.8rem 1.5rem;
    padding-top: clamp(2.5rem, 6vh, 3.5rem);
    border-top: 1px solid var(--hairline);
  }
  .f-col { gap: 0.75rem; }
  .f-col .micro-label { margin-bottom: 0.9rem; }
  .f-col a { font-size: 0.82rem; overflow-wrap: break-word; }
  .f-col-note .f-note { font-size: 0.72rem; }
  .nav-logo-word { display: none; }
}

html.touch .cursor-blob,
html.touch #cursorCanvas { display: none; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
html.reduced-motion .nav { transform: none !important; }
html.reduced-motion .thread-path,
html.reduced-motion .circle-svg path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
html.reduced-motion .process-stage { height: auto; }
html.reduced-motion .process-track {
  width: auto; height: auto;
  display: flex; flex-direction: column; gap: 2.5rem;
  padding: 0 var(--pad) 6rem;
}
html.reduced-motion .thread-track,
html.reduced-motion .process-node { display: none; }
html.reduced-motion .process-card { position: static; width: auto; }
html.reduced-motion .process-head { position: static; padding: clamp(5rem, 12vh, 8rem) var(--pad) 3rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .grain::before, .orbit-ring, .fm-track, .ticker-track, .msg-dots i { animation: none !important; }
  #cursorCanvas, .cursor-blob, #dust, .preloader { display: none !important; }
  .nav { transform: none !important; }
  .fm-word { background-position: 0% 100%; }
}

/* ==========================================================================
   02b · WE BUILD EVERYTHING DIGITAL
   ========================================================================== */
.build {
  position: relative;
  min-height: 115vh;
  padding: clamp(7rem, 15vh, 11rem) var(--pad);
  overflow: clip;
  background-color: var(--bg);
  transition: background-color 1s var(--ease-lux);
}
/* temperature morphs — one per word */
.build.is-hot-0 { background-color: #0A0D12; }  /* apps → cool night */
.build.is-hot-1 { background-color: #150F06; }  /* websites → warm bronze */
.build.is-hot-2 { background-color: #181106; }  /* AI → deep gold */

.build-label { margin-left: 8%; margin-bottom: clamp(3rem, 7vh, 5rem); }

.build-lines { margin-left: 8%; position: relative; z-index: 3; }
.build-line {
  width: fit-content;
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 11.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--muted);
  transition: color 0.6s var(--ease-lux), transform 0.8s var(--ease-lux);
}
.build-line:nth-child(2) { margin-left: 0.55em; }
.build-line:nth-child(3) { margin-left: 1.15em; }
.build-line:hover { color: var(--text); transform: translateX(1.4vw); }
.build-line .f-it {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.build-word { position: relative; display: inline-block; }
.build-stitch {
  position: absolute;
  left: 0; bottom: -0.06em;
  width: 100%; height: 0.14em;
  overflow: visible;
  pointer-events: none;
}
.build-stitch path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2px;
  stroke-linecap: round;
}

.build-caption {
  position: relative;
  z-index: 3;
  margin: clamp(3rem, 7vh, 5rem) 10% 0 auto;
  width: fit-content;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--muted);
}
.build-caption .f-it { color: var(--gold-light); }

/* media window sliding in from the right edge */
.build-media {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 28vw, 460px);
  aspect-ratio: 4 / 3;
  pointer-events: none;
}
.build-pane {
  position: absolute; inset: 0;
  border-radius: 4px 0 0 4px;
  overflow: clip;
  transform: translateX(105%);
  transition: transform 0.9s var(--ease-yank);
  box-shadow: -20px 30px 80px rgba(0, 0, 0, 0.55);
}
.build-pane.is-in { transform: translateX(0); }
/* BUILD MEDIA gradient placeholders — visible, premium; swap per HTML comments */
.bp-1 { background:
    radial-gradient(120% 85% at 78% 12%, rgba(245, 166, 35, 0.30), transparent 62%),
    linear-gradient(135deg, #1c1406 0%, #6b4c0e 68%, #b98518 100%); }
.bp-2 { background:
    radial-gradient(120% 85% at 78% 12%, rgba(127, 178, 216, 0.28), transparent 62%),
    linear-gradient(135deg, #0b111c 0%, #274563 68%, #5988b3 100%); }
.bp-3 { background:
    radial-gradient(120% 85% at 78% 12%, rgba(255, 217, 138, 0.34), transparent 62%),
    linear-gradient(135deg, #1c1406 0%, #7a5410 68%, #d1a02c 100%); }
.build-pane-cap {
  position: absolute;
  z-index: 3;
  left: 1.1rem; bottom: 0.9rem;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ---- real work imagery: cinematic reveal inside each pane ---- */
.build-pane-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
  /* the pane's crossfade/slide handles arrival; the image keeps drifting
     (slow Ken Burns) so the frame never feels like a static screenshot */
  transition: transform 6.5s var(--ease-lux), clip-path 1.1s var(--ease-silk);
  clip-path: inset(0 0 0 100%);            /* hidden — wipes open on activate */
}
.build-pane.is-in .build-pane-img {
  transform: scale(1);
  clip-path: inset(0 0 0 0%);              /* left→right reveal */
}
.build-pane::before {                       /* bottom shade → caption legibility */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 6, 3, 0.8) 0%, rgba(8, 6, 3, 0.14) 34%, transparent 56%);
  pointer-events: none;
}
.build-pane::after {                        /* gold sheen sweep on activation */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 238, 196, 0.32) 50%, transparent 66%);
  transform: translateX(-130%);
  pointer-events: none;
}
.build-pane.is-in::after {
  transform: translateX(130%);
  transition: transform 1.25s var(--ease-silk) 0.25s;
}

/* ==========================================================================
   03 · INDUSTRIES
   ========================================================================== */
.industries {
  position: relative;
  min-height: 100vh;
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
  overflow: clip;
}
#thread-industries { z-index: 2; }

.ind-bgs { position: absolute; inset: 0; z-index: 0; }
.ind-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s var(--ease-lux), transform 6s var(--ease-drift);
  will-change: transform, opacity;
  background: linear-gradient(150deg, #151007 0%, #261c0d 100%);
  filter: saturate(1.05) contrast(1.04);
}
.ind-bg.is-active { opacity: 1; transform: scale(1.08); }
.ind-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.42) 40%, rgba(10,10,10,0.68) 100%);
}

.ind-inner { position: relative; z-index: 3; padding: 0 var(--pad); }
.ind-label { margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.ind-row { border-top: 1px solid var(--hairline); }
.ind-row:last-child { border-bottom: 1px solid var(--hairline); }

.ind-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  padding: clamp(1.4rem, 3vh, 2.2rem) 0;
  text-align: left;
}
.ind-idx {
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 166, 35, 0.35);
  flex: none;
}
.ind-title {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(1.6rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: transform 0.7s var(--ease-lux);
}
.ind-row:hover .ind-title,
.ind-row.is-open .ind-title { transform: translateX(1vw); }
.ind-key { transition: color 0.4s var(--ease-lux); }
.ind-row:hover .ind-key,
.ind-row.is-open .ind-key {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}
.flag-tag {
  flex: none;
  align-self: center;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: var(--grad);
  padding: 0.5em 1.1em;
  border-radius: 99px;
  box-shadow: 0 0 22px rgba(245, 166, 35, 0.35);
}
.ind-plus {
  margin-left: auto;
  flex: none;
  position: relative;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  transition: transform 0.6s var(--ease-lux), border-color 0.4s var(--ease-lux);
}
.ind-plus::before, .ind-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.ind-plus::before { width: 0.9rem; height: 1.5px; }
.ind-plus::after { width: 1.5px; height: 0.9rem; }
.ind-row:hover .ind-plus { border-color: var(--gold); }
.ind-row.is-open .ind-plus { transform: rotate(45deg); border-color: var(--gold); }

.ind-panel { height: 0; overflow: clip; }
.ind-stack {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.4rem;
  padding: 0.4rem 0 2rem calc(clamp(1.1rem, 2.2vw, 2.2rem) + clamp(1.2rem, 2.5vw, 2.5rem));
}
.ind-stack li {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.ind-stack li::before { content: "— "; color: var(--gold); }
.ind-cta {
  display: inline-block;
  margin: 0 0 2.2rem calc(clamp(1.1rem, 2.2vw, 2.2rem) + clamp(1.2rem, 2.5vw, 2.5rem));
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='7' viewBox='0 0 26 7'%3E%3Cpath d='M0 3.5 Q 6.5 0.5 13 3.5 T 26 3.5' fill='none' stroke='%23F5A623' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 0 7px;
  transition: background-size 0.7s var(--ease-silk), color 0.4s var(--ease-lux);
}
.ind-cta:hover { background-size: 100% 7px; color: var(--gold-light); }

/* ==========================================================================
   04 · FLAGSHIP CASE STUDY — "The AI Receptionist"
   ========================================================================== */
.case {
  position: relative;
  background: linear-gradient(180deg, #0B0A07 0%, #0A0A0A 100%);
  overflow: clip;
}
#thread-case { z-index: 1; }

.case-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 44% 56%;
}

.case-left {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
/* grid items must be allowed to shrink below their content's min size,
   or the ticker/phone force the column wider than the viewport */
.case-right { min-width: 0; }

/* ---------- phone mockup ---------- */
.phone {
  position: relative;
  height: min(80vh, 720px);
  aspect-ratio: 9 / 19;
  background: #050505;
  border: 1px solid rgba(245, 240, 232, 0.14);
  border-radius: 44px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(245, 166, 35, 0.08),
    inset 0 0 0 2px #000;
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 20px;
  background: #000;
  border: 1px solid #181818;
  border-radius: 99px;
  z-index: 6;
}
.phone-status {
  flex: none;
  display: flex;
  justify-content: space-between;
  padding: 12px 24px 4px;
  font-size: 0.64rem;
  font-weight: 550;
  color: rgba(245, 240, 232, 0.85);
  font-variant-numeric: tabular-nums;
}
.ps-icons { letter-spacing: 0.2em; font-size: 0.56rem; }

.wa-header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  background: #10140F;
  border-bottom: 1px solid rgba(245, 166, 35, 0.14);
  border-radius: 18px 18px 0 0;
}
.wa-avatar {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #0A0A0A;
  font-size: 0.72rem;
  font-weight: 600;
}
.wa-id strong { display: block; font-size: 0.8rem; letter-spacing: 0.01em; }
.wa-id em { font-style: normal; font-size: 0.6rem; color: var(--gold); }
.wa-icons { margin-left: auto; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.5em; }

.chat-screen {
  flex: 1;
  /* CRITICAL: without min-height:0 the flex item refuses to shrink below
     its content — the chat list stretches the whole phone open */
  min-height: 0;
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 20% 15%, rgba(245, 166, 35, 0.04) 0%, transparent 40%),
    #0B0E0C;
}
.chat-thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.chat-thread path { fill: none; stroke: var(--gold); stroke-width: 1.3px; opacity: 0.4; stroke-linecap: round; }

.chat-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  will-change: transform;
}
.chat-day {
  align-self: center;
  font-size: 0.54rem;
  font-weight: 550;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.4em 1em;
  border-radius: 99px;
  margin: 6px 0 2px;
}
.msg {
  position: relative;
  max-width: 84%;
  padding: 0.5rem 0.65rem 0.35rem;
  border-radius: 11px;
  font-size: 0.76rem;
  line-height: 1.45;
}
.msg.in {
  align-self: flex-start;
  background: #1B211D;
  border-top-left-radius: 3px;
}
.msg.out {
  align-self: flex-end;
  background: #2A2210;
  border: 1px solid rgba(245, 166, 35, 0.18);
  border-top-right-radius: 3px;
  min-height: 2em;
  min-width: 3.4em;
}
.msg-text { display: inline; white-space: pre-wrap; }
.msg-meta {
  display: block;
  text-align: right;
  font-size: 0.54rem;
  color: rgba(245, 240, 232, 0.45);
  margin-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}
.ticks { font-style: normal; letter-spacing: -0.14em; color: rgba(245, 240, 232, 0.4); }

.msg-dots {
  position: absolute;
  top: 0.62rem; left: 0.65rem;
  display: flex;
  gap: 3px;
  opacity: 0;
}
.msg-dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.55);
  animation: dotBounce 0.9s var(--ease-drift) infinite alternate;
}
.msg-dots i:nth-child(2) { animation-delay: 0.15s; }
.msg-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce { from { transform: translateY(0); } to { transform: translateY(-3px); } }

.stars { display: flex; gap: 0.3rem; margin: 0.4rem 0 0.1rem; }
.stars i {
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.5));
}

.wa-input {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 6px 6px;
  padding: 0.55rem 1rem;
  background: #14181B;
  border-radius: 99px;
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.35);
}

/* ---------- right column ---------- */
.case-right { padding: 4vh var(--pad) 10vh clamp(1.5rem, 4vw, 4rem); }
.case-block {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}
.case-block .micro-label { margin-bottom: 1.6rem; }
.case-head {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.case-head .f-it {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.case-copy {
  max-width: 46ch;
  font-size: 0.95rem;
  font-weight: 350;
  color: var(--muted);
}
.case-shot {
  position: relative;
  margin-top: 2.4rem;
  aspect-ratio: 16 / 10;
  max-width: 520px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: clip;
}
/* dashboard placeholders use the .ph-luxe component (end of file) */
.case-shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.7s var(--ease-lux);
}
.case-shot:hover::after { opacity: 1; }
.case-shot figcaption {
  position: absolute;
  left: 1rem; bottom: 0.8rem;
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
}

.case-ticker {
  margin-top: 2.6rem;
  max-width: min(520px, 100%);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 0.9rem 0;
  overflow: clip;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: tickerMove 18s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: var(--grotesk);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}
.ticker-track i { font-style: normal; color: var(--gold); }
@keyframes tickerMove {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.case-cta { margin: 2.6rem 0 0 0; }

/* ==========================================================================
   06 · THE ARCHITECT
   ========================================================================== */
.arch {
  position: relative;
  min-height: 115vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(5rem, 12vh, 9rem);
  overflow: clip;
}
#thread-arch { z-index: 2; }

.arch-clip {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: clip-path;
}
.arch-media { position: absolute; inset: 0; overflow: clip; }
.arch-fallback {
  /* founder poster paints instantly under the video — no black flash */
  position: absolute; inset: 0;
  background-image:
    url("videos/founder-poster.jpg"),
    linear-gradient(165deg, #12100b 0%, #0A0A0A 60%, #0e0b06 100%);
  background-size: cover, auto;
  background-position: 50% 32%, center;
  will-change: transform;
}
.arch-video, .arch-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: contrast(1.05) saturate(0.96);
  will-change: transform;
}
.arch-duotone {
  /* golden duotone wash ~12% */
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(140deg, #F5A623 0%, #8a5d10 100%);
  mix-blend-mode: color;
  opacity: 0.12;
}
.arch-shade {
  position: absolute; inset: 0;
  z-index: 3;
  background: linear-gradient(200deg,
    rgba(10, 10, 10, 0.42) 0%,
    rgba(10, 10, 10, 0.12) 45%,
    rgba(10, 10, 10, 0.9) 96%);
}

.arch-content { position: relative; z-index: 3; padding: 0 var(--pad); }
.arch-label { margin-bottom: 1.8rem; }
.arch-name {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(3.2rem, 12vw, 14.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.arch-name .hl-mask:nth-child(2) {
  font-size: 0.4em;
  margin: 0.15em 0 0 0.4em;
}
/* brand mark stands in for the personal name — logo monogram + wordmark */
.arch-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-family: var(--grotesk);
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.arch-brand-mark {
  width: auto; height: 1.7em;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}
.arch-link {
  display: inline-block;
  margin-top: clamp(1.8rem, 4vh, 3rem);
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='7' viewBox='0 0 26 7'%3E%3Cpath d='M0 3.5 Q 6.5 0.5 13 3.5 T 26 3.5' fill='none' stroke='%23F5A623' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 0 7px;
  transition: background-size 0.7s var(--ease-silk), color 0.4s var(--ease-lux);
}
.arch-link:hover { background-size: 100% 7px; color: var(--gold-light); }

/* ==========================================================================
   NEW SECTIONS — RESPONSIVE
   ========================================================================== */
@media (max-width: 899px) {
  .build { min-height: 0; }
  .build-lines, .build-label { margin-left: 2%; }
  .build-line { font-size: 12.5vw; }
  .build-line:nth-child(2) { margin-left: 0.3em; }
  .build-line:nth-child(3) { margin-left: 0.6em; }
  .build-media {
    position: relative;
    top: auto; right: auto;
    transform: none;
    width: 100%;
    margin-top: 3rem;
    pointer-events: auto;
  }
  .build-pane { position: absolute; border-radius: 4px; }
  .build-pane.bp-1 { transform: none; position: relative; }  /* show first pane statically */

  .ind-head { gap: 1rem; flex-wrap: wrap; }
  .ind-title { font-size: clamp(1.5rem, 7.5vw, 2.6rem); }
  .flag-tag { order: 5; margin-left: calc(1rem + 1.5em); }
  .ind-plus { width: 2.1rem; height: 2.1rem; }
  .ind-stack, .ind-cta { padding-left: 0; margin-left: 0; }

  .case-grid { grid-template-columns: 1fr; }
  .case-left { position: relative; height: auto; padding: 4rem 0 2rem; }
  .phone { height: min(72vh, 640px); }
  .case-right { padding: 2rem var(--pad) 4rem; }
  .case-block { min-height: 0; padding: 3.5rem 0; }

  /* architect: near-fullwidth rounded video window, name stacks below */
  .arch {
    min-height: 0;
    display: block;
    padding: clamp(4rem, 10vh, 6rem) 0 clamp(3.5rem, 8vh, 5rem);
  }
  .arch-clip {
    position: relative;
    inset: auto;
    width: calc(100% - 2 * var(--pad));
    margin: 0 auto;
    aspect-ratio: 3 / 4;
  }
  /* radius lives on the media layer — the animated clip-path on
     .arch-clip would override corner rounding */
  .arch-media { border-radius: 18px; overflow: clip; }
  .arch-video, .arch-img, .arch-fallback { object-position: 50% 34%; background-position: 50% 34%, center; }
  .arch-shade { background: linear-gradient(200deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.05) 50%, rgba(10,10,10,0.55) 100%); }
  .arch-content { padding: 2.4rem var(--pad) 0; }
  .arch-name { font-size: 12.5vw; }
}

/* reduced motion — new sections settle into their final states */
html.reduced-motion .build-pane.bp-1 { transform: translateX(0); }
html.reduced-motion .arch-clip { clip-path: none !important; }
html.reduced-motion .msg-dots { display: none; }
html.reduced-motion .ticks { color: var(--gold); }
html.reduced-motion .stars i { transform: none !important; }

/* ==========================================================================
   PLACEHOLDER-LUXE — premium stand-in for media that doesn't exist yet.
   Matte-black panel · 1px golden border · diagonal shimmer sweep (4s) ·
   faint thread motif in the corner · grain · gold micro-label.
   Frames are aspect-locked by their parents (.svc-media 4/3, .case-shot
   16/10), so swapping in the real <video>/<img> causes zero layout shift
   and inherits the exact same reveal animations.
   ========================================================================== */
.ph-luxe {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(150deg, #0E0D0A 0%, #0B0A08 55%, #131009 100%);
  border: 1px solid rgba(245, 166, 35, 0.3);
  overflow: clip;
}
.ph-luxe::before {
  /* fine grain */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
}
.ph-shimmer {
  position: absolute;
  top: -25%; bottom: -25%;
  left: 0;
  width: 46%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(245, 166, 35, 0.06) 35%,
    rgba(255, 217, 138, 0.16) 50%,
    rgba(245, 166, 35, 0.06) 65%,
    transparent 100%);
  transform: translateX(-130%) skewX(-14deg);
  animation: phSweep 4s var(--ease-drift) infinite;
  will-change: transform;
}
@keyframes phSweep {
  0%        { transform: translateX(-130%) skewX(-14deg); }
  55%, 100% { transform: translateX(390%) skewX(-14deg); }
}
.ph-thread {
  position: absolute;
  right: 0; bottom: 6%;
  width: 64%; height: 34%;
  opacity: 0.4;
  overflow: visible;
}
.ph-thread path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5px;
  stroke-linecap: round;
}
.ph-label {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  padding: 0 1rem;
  font-family: var(--grotesk);
  font-style: normal;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

/* circular variant (testimonials / avatars): golden ring + breathing glow
   instead of the shimmer. Use inside any square parent:
   <span class="ph-luxe ph-luxe--round"><b class="ph-label">Client — 01</b></span> */
.ph-luxe--round {
  border-radius: 50%;
  border-color: rgba(245, 166, 35, 0.5);
}
.ph-luxe--round .ph-shimmer,
.ph-luxe--round .ph-thread { display: none; }
.ph-luxe--round::after {
  content: "";
  position: absolute; inset: -2%;
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(245, 166, 35, 0.35), inset 0 0 18px rgba(245, 166, 35, 0.18);
  animation: phBreath 3.4s var(--ease-drift) infinite alternate;
}
@keyframes phBreath { from { opacity: 0.3; } to { opacity: 1; } }

/* placement hooks — hover behavior matches what the final media will do */
.case-shot .ph-luxe { transition: transform 1.2s var(--ease-drift); }
.case-shot:hover .ph-luxe { transform: scale(1.05); }

/* real dashboard imagery — fills the 16/10 frame, cinematic clip-wipe on reveal */
.case-shot-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease-drift);
}
.case-shot:hover .case-shot-img { transform: scale(1.05); }

/* ==========================================================================
   MOBILE REPAIR PASS — final overrides (must stay last in the cascade)
   ========================================================================== */

/* compact nav CTA — hidden on desktop, replaces the orbit badge on mobile */
.nav-pill { display: none; }

/* pointer chrome can never exist on touch, regardless of JS timing */
@media (hover: none), (pointer: coarse) {
  #cursorCanvas, .cursor-blob { display: none !important; }
}

@media (max-width: 899px) {
  /* 8 · one consistent 24px gutter everywhere */
  :root { --pad: 24px; }

  /* 4 · nav: solid gold pill, 44px touch target; orbit is desktop-only */
  .orbit-cta { display: none; }
  .nav-pill {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--grad);
    color: #0A0A0A;
    font-family: var(--grotesk);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 24px rgba(245, 166, 35, 0.25);
  }
  .nav { padding-top: 0.7rem; padding-bottom: 0.7rem; }

  /* 1 · no desktop-scale voids: clamp section rhythm to 96–128px,
         no non-hero section may demand a full viewport */
  .manifesto { min-height: 0; padding: 7rem var(--pad) 6rem; }
  .manifesto-label, .manifesto-text { margin-left: 0; }
  .manifesto-aside { margin-top: 3.5rem; margin-right: 0; }
  .build { min-height: 0; padding: 6.5rem var(--pad) 7rem; }
  .build-label, .build-lines { margin-left: 0; }
  .build-caption { margin-top: 2.5rem; margin-right: 0; }
  .industries { min-height: 0; padding: 6.5rem 0 6rem; }
  .ind-label { margin-bottom: 2rem; }
  .svc-deck { padding: 4rem var(--pad); }
  .svc-slide { height: 68svh; }
  .process-head { padding: 6rem var(--pad) 2.5rem; }
  .process-track { padding-bottom: 5rem; }
  .results { min-height: 0; padding: 6.5rem var(--pad) 7rem; }
  .results-label { margin-bottom: 2rem; }
  .stat-side { margin-top: 2.5rem; gap: 2.25rem; }
  .cta { min-height: 0; padding: 7rem var(--pad) 5rem; }
  .cta-contacts { margin-top: 2.5rem; }
  .arch { padding-top: 6rem; padding-bottom: 3.5rem; }
  .case-left { padding: 3rem 0 1rem; }
  .case-right { padding-top: 1rem; }
  .case-block { padding: 3rem 0; }

  /* 5 · phone frame: aspect-locked, nothing escapes it */
  .phone {
    width: min(78vw, 320px);
    height: auto;
    aspect-ratio: 9 / 19;
    overflow: clip;
  }
  .chat-thread { display: none; }   /* no squiggle behind bubbles */

  /* 8 · titles must never clip */
  .ind-title { font-size: clamp(1.3rem, 6vw, 2.4rem); line-height: 1.15; flex: 1 1 auto; min-width: 0; }
  .ind-head { align-items: center; }
  .cta-title { font-size: 10.5vw; }
  .cta-title .hl-mask:nth-child(2) { margin-left: 0.4em; }

  /* 8 · footer marquee clear of the link columns */
  .footer-marquee { margin-top: 2.5rem; padding-top: 0; }
  .fm-word { line-height: 1.08; }

  /* 8 · the one continuous mobile thread hugs the left gutter */
  .thread-mobile { left: 11px; }

  /* 7 · count-up slots are plain text — gradient applies directly
         (safe here: no transformed children on mobile) */
  .stat-hero-num .slot {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* 8 · no horizontal scroll, ever */
  .build-media, .svc-card, .case-grid { max-width: 100%; }
}

/* ==========================================================================
   WORLD-CLASS PASS — cinematic industries, founder moment, living labels,
   dataviz results, contact tiles, footer crest. Mobile-first.
   ========================================================================== */

/* ---------- MICRO-LABELS come alive: number pops, text wipes, dash draws.
     States exist only once JS arms them (html.ml-anim), so no-JS/reduced
     users always see the final state. ---------- */
html.ml-anim .micro-label .label-num {
  display: inline-block;
  transition: transform 0.9s var(--ease-lux), opacity 0.5s var(--ease-lux);
}
html.ml-anim .micro-label .ml-text {
  display: inline-block;
  clip-path: inset(-20% -5% -20% 0);
  transition: clip-path 1s var(--ease-silk) 0.15s, transform 1s var(--ease-lux) 0.15s;
}
html.ml-anim .micro-label::after {
  transform-origin: left center;
  transition: transform 1.1s var(--ease-silk) 0.25s;
}
html.ml-anim .micro-label:not(.ml-on) .label-num { opacity: 0; transform: translateY(0.7em) rotate(8deg); }
html.ml-anim .micro-label:not(.ml-on) .ml-text { clip-path: inset(-20% 100% -20% 0); transform: translateX(-0.4em); }
html.ml-anim .micro-label:not(.ml-on)::after { transform: scaleX(0); }

/* ==========================================================================
   INDUSTRIES — six cinematic takeover scenes
   ========================================================================== */
.industries { min-height: 0 !important; padding: 0 !important; }
#thread-industries { z-index: 30; }

.ind-head-strip {
  padding: clamp(6rem, 12vh, 9rem) var(--pad) clamp(2.5rem, 6vh, 4rem);
}
.ind-intro {
  margin-top: 1.6rem;
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.ind-intro .gold-text { padding-right: 0.07em; }

.ind-deck { position: relative; }

.ind-scene {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}
.ind-media { position: absolute; inset: 0; }
.ind-film {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  filter: contrast(1.05) saturate(0.98);
  will-change: transform;
}
.ind-grade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 25%, rgba(245, 166, 35, 0.18) 0%, transparent 60%),
    linear-gradient(155deg, rgba(138, 93, 16, 0.12) 0%, transparent 45%, rgba(245, 166, 35, 0.08) 100%);
  mix-blend-mode: overlay;
}
.ind-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.05) 34%,
    rgba(10, 10, 10, 0.16) 55%,
    rgba(10, 10, 10, 0.9) 100%);
}
.ind-scene-veil {
  position: absolute; inset: 0;
  z-index: 6;
  background: #050505;
  opacity: 0;
  pointer-events: none;
}

.ind-ghost {
  position: absolute;
  z-index: 2;
  top: clamp(0.5rem, 4vh, 3rem);
  right: -0.04em;
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: clamp(9rem, 26vw, 24rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 166, 35, 0.35);
  pointer-events: none;
}

.ind-content {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(2.5rem, 9vh, 6rem);
  max-width: 760px;
}
.ind-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.66rem;
  font-weight: 550;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 1.2rem;
}
.ind-kicker i {
  font-style: normal;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15em;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.ind-kicker .flag-tag { margin-left: 0.2rem; }

.ind-hook {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: clamp(2.4rem, 10.5vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}
.ind-hook .gold-text { text-shadow: none; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.5)); }

.ind-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
}
.ind-chips li {
  font-size: 0.6rem;
  font-weight: 550;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(245, 166, 35, 0.35);
  background: rgba(10, 10, 10, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.55em 1em;
  border-radius: 99px;
  white-space: nowrap;
}
.ind-more {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 0.74rem;
  font-weight: 550;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='7' viewBox='0 0 26 7'%3E%3Cpath d='M0 3.5 Q 6.5 0.5 13 3.5 T 26 3.5' fill='none' stroke='%23F5A623' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 0 7px;
  transition: background-size 0.7s var(--ease-silk), color 0.4s var(--ease-lux);
}
.ind-more:hover { background-size: 100% 7px; color: var(--gold-light); }

/* ==========================================================================
   BUILD — mobile scroll-activation (word lights up, film answers)
   ========================================================================== */
@media (max-width: 899px) {
  /* stack the section and pull the film window right under the words, so each
     word's picture is visible as it lights up — not buried at the section end */
  .build { display: flex; flex-direction: column; }
  .build-label   { order: 1; }
  .build-lines   { order: 2; }
  .build-media   { order: 3; }
  .build-caption { order: 4; }

  .build-line { transition: color 0.6s var(--ease-lux), transform 0.8s var(--ease-lux); }
  .build-line.is-live { color: var(--text); transform: translateX(10px); }

  .build-media {
    position: relative;
    top: auto; right: auto;
    transform: none;
    width: 100%;
    aspect-ratio: 5 / 4;          /* a touch shorter so words + film share the frame */
    margin-top: 2rem;
    border-radius: 8px;
    overflow: clip;
    border: 1px solid var(--hairline);
    pointer-events: none;
  }
  .build-pane {
    position: absolute !important;
    inset: 0;
    border-radius: 0;
    transform: scale(1.06);
    opacity: 0;
    transition: opacity 0.7s var(--ease-lux), transform 1.6s var(--ease-drift);
    box-shadow: none;
  }
  .build-pane.is-in { opacity: 1; transform: scale(1); }
  /* the caption label under the film */
  .build-pane-cap { font-size: 0.62rem; left: 0.9rem; bottom: 0.8rem; }
}

/* ==========================================================================
   ARCHITECT — the founder moment
   ========================================================================== */
.arch-sign {
  display: block;
  width: clamp(180px, 24vw, 320px);
  height: auto;
  margin: 0.6rem 0 1.4rem 0.3em;
  overflow: visible;
}
.arch-sign path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2px;
  stroke-linecap: round;
  opacity: 0.9;
}
.arch-quote {
  max-width: 30ch;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.arch-roles {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  padding: 0;
  margin-bottom: 1.8rem;
}
.arch-roles li {
  font-size: 0.62rem;
  font-weight: 550;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.arch-roles li::before { content: "— "; color: var(--gold); }

/* ==========================================================================
   PROCESS — mobile: knots tied onto the left-gutter thread
   ========================================================================== */
@media (max-width: 899px) {
  /* knots on the left thread: relative (so ::before dot anchors) but with the
     desktop horizontal offset reset — this kills the staircase overflow */
  .process-card {
    position: relative;
    left: 0; top: 0;
    width: auto;
    transition: border-color 0.6s var(--ease-lux);
  }
  .process-card::before {
    content: "";
    position: absolute;
    left: -17.5px;
    top: 2.2rem;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 16px rgba(245, 166, 35, 0.8);
    transform: scale(0);
    transition: transform 0.7s var(--ease-lux) 0.2s;
  }
  .process-card.is-on { border-color: rgba(245, 166, 35, 0.4); }
  .process-card.is-on::before { transform: scale(1); }
}

/* ==========================================================================
   RESULTS — dataviz gold: arc ring, proof bars, ghost word
   ========================================================================== */
.results-ghost {
  position: absolute;
  z-index: 0;
  top: clamp(2rem, 8vh, 6rem);
  right: -0.06em;
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: clamp(7rem, 24vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 166, 35, 0.1);
  pointer-events: none;
  user-select: none;
}
.stat-hero { position: relative; }
.stat-ring {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: clamp(-2rem, -3vw, -1rem);
  width: clamp(180px, 30vw, 420px);
  height: auto;
  transform: translateY(-62%) rotate(-90deg);
  opacity: 0.9;
  pointer-events: none;
}
.stat-ring circle { fill: none; stroke-linecap: round; }
.stat-ring-track { stroke: rgba(245, 166, 35, 0.12); stroke-width: 1; }
.stat-ring-fill {
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-dasharray: 100;
  stroke-dashoffset: 100; /* JS draws to 40 = a 60% arc */
  filter: drop-shadow(0 0 8px rgba(245, 166, 35, 0.5));
}
html.reduced-motion .stat-ring-fill, html.no-js .stat-ring-fill { stroke-dashoffset: 40; }
.stat-hero-num, .stat-hero-cap { position: relative; z-index: 1; }

.stat-bar {
  display: block;
  width: min(300px, 82%);
  height: 2px;
  margin: 0.8rem 0 0.7rem;
  background: rgba(245, 166, 35, 0.14);
  overflow: clip;
}
.stat-bar i {
  display: block;
  width: 100%; height: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.6);
}
html.reduced-motion .stat-bar i { transform: scaleX(var(--bw, 1)); }

/* ==========================================================================
   CTA — halo, spinning ring, contact tiles
   ========================================================================== */
.cta-halo {
  position: absolute;
  z-index: 0;
  top: 42%; left: 50%;
  width: min(120vw, 900px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 166, 35, 0.13) 0%, rgba(245, 166, 35, 0.04) 38%, transparent 65%);
  pointer-events: none;
  animation: haloBreath 4.5s var(--ease-drift) infinite alternate;
}
@keyframes haloBreath { from { opacity: 0.55; } to { opacity: 1; } }

.btn-mega-ring {
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(245, 166, 35, 0.85) 84%, rgba(255, 217, 138, 0.9) 90%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: ringSpin 5.5s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.cta-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 0;
}
.contact-line {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: rgba(18, 15, 8, 0.5);
  transition: border-color 0.5s var(--ease-lux), background-color 0.5s var(--ease-lux), transform 0.6s var(--ease-lux);
}
.contact-line:hover {
  border-color: rgba(245, 166, 35, 0.55);
  background: rgba(30, 23, 9, 0.75);
  transform: translateY(-4px);
  color: var(--text);
}
.cl-icon {
  flex: none;
  width: 2.6rem; height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.05rem;
}
.cl-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; font-size: clamp(0.85rem, 1.1vw, 1.05rem); overflow-wrap: anywhere; }
.cl-arrow { margin-left: auto; color: var(--gold); transition: transform 0.5s var(--ease-lux); }
.contact-line:hover .cl-arrow { transform: translateX(6px); }

/* ==========================================================================
   FOOTER — crest row
   ========================================================================== */
/* ==========================================================================
   FOOTER — the finale: interactive gold orbs + giant CTA sign-off
   ========================================================================== */
.footer { padding-top: 0; }                 /* the finale owns the top spacing */

/* physics centerpiece — full-bleed over the finale, behind the text.
   pointer-events is off by default (scroll stays safe on touch); the desktop
   JS turns it on so orbs can be grabbed. */
.footer-orbs {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.footer-finale {
  position: relative;
  z-index: 2;
  min-height: min(76svh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.6rem, 4vh, 2.8rem);
  padding: clamp(4rem, 12vh, 8rem) var(--pad) clamp(3rem, 8vh, 5rem);
  border-top: 1px solid var(--hairline);
  /* transparent to the pointer so orb drags in empty space fall through to the
     canvas beneath; only the chips + buttons below re-enable clicks */
  pointer-events: none;
}
.footer-status, .footer-actions { pointer-events: auto; width: fit-content; max-width: 100%; }

/* live status chip */
.footer-status {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--grotesk);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6BCB77;
  box-shadow: 0 0 0 0 rgba(107, 203, 119, 0.55);
  animation: statusPulse 2.6s ease-in-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(107, 203, 119, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(107, 203, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 203, 119, 0); }
}
.status-sep { opacity: 0.4; }
.status-time { color: var(--gold-light); letter-spacing: 0.1em; }

/* giant CTA headline (masked line reveal) */
.footer-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 8.5vw, 8.5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--text);
}
.fh-mask { display: block; overflow: hidden; padding-bottom: 0.05em; }
.fh-line { display: block; }
.footer-headline .f-it { font-style: italic; }

/* actions: magnetic book button + copy-email */
.footer-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.footer-book {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 1.05em 2em;
  border-radius: 99px;
  font-family: var(--grotesk);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 600; letter-spacing: 0.03em;
  color: #0A0A0A;
  background: var(--grad);
  overflow: hidden;
  isolation: isolate;
}
.footer-book .fb-arrow { transition: transform 0.5s var(--ease-lux); }
.footer-book::before {                      /* sheen sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.5) 50%, transparent 78%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease-silk);
}
.footer-book:hover .fb-arrow { transform: translateX(6px); }
.footer-book:hover::before { transform: translateX(120%); }

.footer-email {
  position: relative;
  display: inline-grid;                     /* stack the two faces in one cell */
  font-family: var(--grotesk);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-bottom: 0.35em;
  cursor: pointer;
  text-align: left;
}
.fe-face { grid-area: 1 / 1; transition: opacity 0.45s var(--ease-lux), transform 0.45s var(--ease-lux); }
.fe-text {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.4px;
  transition: background-size 0.5s var(--ease-silk), color 0.35s var(--ease-lux);
}
.footer-email:hover .fe-text { background-size: 100% 1.4px; color: var(--text); }
.fe-copied { color: var(--gold-light); opacity: 0; transform: translateY(0.45em); }
.footer-email.is-copied .fe-text { opacity: 0; transform: translateY(-0.45em); }
.footer-email.is-copied .fe-copied { opacity: 1; transform: translateY(0); }

/* base row: logo · back-to-top */
.footer-base {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(2rem, 5vh, 3rem) var(--pad);
  border-top: 1px solid var(--hairline);
}
.footer-base .footer-logo { width: clamp(118px, 14vw, 168px); height: auto; margin: 0; opacity: 0.9; }
.footer-top {
  font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 99px;
  padding: 0.8em 1.5em;
  transition: background-color 0.5s var(--ease-lux), color 0.5s var(--ease-lux);
}
.footer-top:hover { background: var(--grad); color: #0A0A0A; }

/* ---------- phone ambience: soft gold pool behind the device ---------- */
.case-left::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: min(90vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 62%);
  pointer-events: none;
}

/* ---------- responsive for the new pieces ---------- */
@media (max-width: 899px) {
  .ind-head-strip { padding: 6rem var(--pad) 2.5rem; }
  .ind-content { bottom: max(4.5rem, 9svh); }
  .ind-hook { font-size: 11vw; }
  .ind-ghost { font-size: 34vw; top: 4.5rem; will-change: auto; }
  .ind-chips li { font-size: 0.56rem; padding: 0.5em 0.85em; }

  /* ---- INDUSTRIES: strip per-frame GPU cost so scrolling stays 60fps ----
     Every one of these composited over the PLAYING video each frame; on phones
     that's what tanked the framerate after a couple of scenes. */
  .ind-chips li {                       /* glass blur → solid pill (blur over video is the worst) */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(12, 11, 9, 0.72);
  }
  .ind-film {                           /* no per-frame filter / no layer churn on full-screen video */
    filter: none;
    transform: none;
    will-change: auto;
  }
  .ind-grade { display: none; }         /* blend-mode gold wash over video — drop it (shade keeps legibility) */
  .ind-scene { will-change: auto; }
  /* the huge hook was re-rastered over the video across all 6 sticky scenes —
     a blurred text-shadow + a drop-shadow filter. Drop them; .ind-shade keeps
     legibility. (The ghost number stops its parallax on mobile via JS, so its
     gold stroke now rasters just once instead of every scroll frame.) */
  .ind-hook { text-shadow: none; }
  .ind-hook .gold-text { filter: none; }

  /* ---- SITE-WIDE mobile scroll-cost killers ------------------------------
     blur/blend over MOVING pixels (a video, or the viewport behind a fixed
     bar) is recomposited every single frame. This was the real reason the
     whole page — worst in the video-heavy industries — felt heavy. */
  .nav.is-scrolled {                    /* fixed bar re-blurred the entire viewport each frame */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(10, 10, 10, 0.92);
  }
  .hero-grade {                         /* overlay-blend sat over the PLAYING hero video */
    mix-blend-mode: normal;
    opacity: 0.4;
  }
  .arch-duotone {                       /* color-blend recomposited over the founder image on scroll */
    mix-blend-mode: normal;
    opacity: 0.15;
  }

  .stat-ring { left: -8px; width: 220px; transform: translateY(-58%) rotate(-90deg); }
  .results-ghost { font-size: 30vw; top: 1.5rem; }

  .cta-contacts { grid-template-columns: 1fr; }

  .footer-finale { min-height: min(70svh, 560px); padding-top: clamp(3.5rem, 10vh, 6rem); }
  .footer-headline { font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.08; }
  .footer-status { font-size: 0.62rem; letter-spacing: 0.14em; flex-wrap: wrap; }
  .footer-actions { gap: 1.4rem; }
  .footer-book { width: 100%; justify-content: center; }
  .footer-email { justify-self: start; }
  .footer-base { gap: 1.2rem; }

  .arch-quote { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-halo, .btn-mega-ring { animation: none; }
  .ind-scene-veil { opacity: 0 !important; }
}
