/* =========================================================================
   SYSTMS — sections.css
   Component + section-specific styling.
   ========================================================================= */

/* ---- NAV ---------------------------------------------------------------- */
.nav{
  position:sticky; top:0; z-index:40;
  background:rgba(10,10,10,0.78);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-in{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px var(--gutter);
}
.brand{ display:flex; align-items:center; gap:13px; }
.smark{
  width:22px;height:22px;border:1.5px solid var(--text);border-radius:5px;
  display:grid;place-items:center;font-family:var(--display);font-weight:900;
  font-size:14px;letter-spacing:-0.04em;line-height:1;
}
.smark-img{ height:24px; width:auto; display:block; }
.brand-word{ font-size:14px; font-weight:500; letter-spacing:0.26em; text-transform:uppercase; }
.brand-div{ width:1px; height:14px; background:var(--line-2); }
.brand-sub{ font-size:11px; letter-spacing:0.24em; text-transform:uppercase; color:var(--muted); }
.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-links a{
  font-size:13px; letter-spacing:0.2em; text-transform:uppercase; color:var(--text);
  transition:color .2s ease;
}
.nav-links a:hover{ color:var(--muted); }
.nav-links .count{ color:var(--muted); }
.nav-right{ display:flex; align-items:center; gap:18px; }
.nav-burger{ display:none; }

/* ---- HERO --------------------------------------------------------------- */
.hero{ position:relative; overflow:hidden; }
.hero-grid{
  display:grid; grid-template-columns:56% 44%;
  align-items:stretch; min-height:min(86vh, 860px);
}

/* ===== SPLIT HERO (big media + logo overlay | text) ===== */
.hero--split{ overflow:hidden; }
.hero--split .hero-grid{ grid-template-columns:57% 43%; min-height:min(90vh, 940px); }

.hero-media{
  position:relative; overflow:hidden; background:#1a4fd6;
  border-right:1px solid var(--line);
}
.hero-media > video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  /* isolate the video on its own GPU layer so its 24fps repaint doesn't
     force the grain/scrim above it to re-composite every frame (kills jitter) */
  transform:translateZ(0);
  will-change:transform;
}
.hero-media-scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0) 26%, rgba(10,10,10,0) 60%, rgba(10,10,10,0.78) 100%);
}
.hero-logo-over{
  position:absolute; z-index:3; top:9%; left:50%; transform:translateX(-50%);
  width:min(84%, 600px); height:auto;
  filter:drop-shadow(0 16px 34px rgba(0,0,0,0.5));
}
.hero-media-meta{
  position:absolute; left:0; right:0; z-index:4; display:flex; justify-content:space-between;
  padding:0 24px; font-size:9.5px; letter-spacing:0.2em; text-transform:uppercase; color:var(--text);
}
.hero-media-meta.top{ top:24px; }
.hero-media-meta.bottom{ bottom:24px; }
.hero-media-meta span{
  background:rgba(10,10,10,0.5); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.16); border-radius:4px; padding:6px 10px;
}
.hero-media-meta .live{ display:inline-flex; align-items:center; gap:8px; }
.hero-media-meta .live i{ width:7px; height:7px; border-radius:50%; background:var(--accent); animation:pulse 1.6s ease-in-out infinite; }

.hero-text{
  position:relative; z-index:2;
  padding:64px 56px 56px 54px;
  display:flex; flex-direction:column; justify-content:center;
}
.hero-text::before{ content:none; }
.hero-grid-tex{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(242,240,235,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,240,235,0.05) 1px, transparent 1px);
  background-size:60px 60px;
  -webkit-mask-image:radial-gradient(ellipse 85% 78% at 56% 46%, #000 36%, transparent 84%);
          mask-image:radial-gradient(ellipse 85% 78% at 56% 46%, #000 36%, transparent 84%);
}
.hero-text > *:not(.hero-grid-tex){ position:relative; z-index:1; }
.hero-text .hero-logo{
  width:clamp(340px, 33vw, 480px); height:auto; display:block; margin:0 0 34px;
}
.hero-h1{
  font-family:var(--display); font-weight:900;
  letter-spacing:-0.03em; line-height:1.0;
  font-size:clamp(40px, 4.4vw, 72px);
  margin:24px 0 0;
}
.hero-h1 .l2{ color:var(--text); }
.hero-h1 .l3{ color:var(--muted); }
.hero-lead{
  margin:28px 0 0; max-width:36ch;
  font-size:clamp(15px,1.15vw,18px); font-weight:500; letter-spacing:0.005em; line-height:1.55; text-transform:none;
  color:var(--text);
}
.hero-lead b{ color:var(--accent); font-weight:600; }
.hero-sub{ margin-top:20px; font-family:var(--mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); }
.hero-cta{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; align-items:center; }

/* ===== LOADER — red wordmark + thin red line, then the hero rises in =====
   Pure CSS timeline (no JS race): the bar fills ~1.3s, the overlay hides at
   1.7s, hero children stagger in just after. prefers-reduced-motion collapses
   the whole sequence to instant via the global animation override. */
.loader{
  position:fixed; inset:0; z-index:999; background:var(--bg);
  display:flex; align-items:center; justify-content:center;
  animation:loaderHide .5s ease 1.7s forwards;
}
.loader-in{ width:min(72vw, 760px); }
/* wordmark rendered in red: the white PNG is used as a mask over accent */
.loader-logo{
  display:block; width:clamp(180px, 22vw, 300px); aspect-ratio:1867/226;
  background:var(--accent);
  -webkit-mask:url("assets/SYSTMS_LOGO_hero.png") left center/contain no-repeat;
          mask:url("assets/SYSTMS_LOGO_hero.png") left center/contain no-repeat;
}
.loader-bar{
  display:block; margin-top:20px; height:2px; position:relative; overflow:hidden;
  background:var(--line-2);
}
.loader-fill{
  position:absolute; left:0; top:0; bottom:0; width:0; background:var(--accent);
  animation:loadbar 1.3s cubic-bezier(.65,0,.35,1) .15s forwards;
}
@keyframes loadbar{ from{ width:0; } to{ width:100%; } }
@keyframes loaderHide{ to{ opacity:0; visibility:hidden; } }
@keyframes riseIn{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }

/* ===== COVER HERO — full-bleed visual, giant red wordmark across it,
   tag + red uppercase sub-line below (ref screenshot) ===== */
.hero--cover{
  position:relative; min-height:100svh; overflow:hidden; background:var(--bg);
  display:flex; align-items:center; justify-content:center;
}
/* the stage IS the uncropped (square) frame — everything hangs off its edges */
.hero-stage{
  position:relative; z-index:1;
  width:min(100vw, calc(100svh * 16 / 9)); aspect-ratio:16/9;
}
.hero-stage-video{ width:100%; height:100%; object-fit:cover; display:block; }
/* the SYSTMS logo spans the FULL viewport width, riding the top edge */
.hero-wordmark{
  position:absolute; z-index:2;
  top:clamp(14px, 2.5vh, 30px);
  left:2.3%; right:4.2%;
  aspect-ratio:1867/226; margin:0;
  background:var(--accent);
  -webkit-mask:url("assets/SYSTMS_LOGO_hero.png") center/contain no-repeat;
          mask:url("assets/SYSTMS_LOGO_hero.png") center/contain no-repeat;
}
.hero-tm{
  position:absolute; z-index:2;
  top:clamp(12px, 2.2vh, 26px); right:0.9%;
  font-family:var(--sans); font-weight:700; color:var(--accent);
  font-size:clamp(14px, 2.4vh, 26px); line-height:1;
}
/* "(01) APPLIED AI STUDIO" — live type, bottom of the hero, left-aligned to
   the same column as (02) below. The (01) is the same .sec-num as every
   other section; the words stack two lines of display caps beside it. */
.hero-cover-tag{
  position:absolute; z-index:2; margin:0;
  /* directly beneath the wordmark: its top offset + its computed height
     ((100vw - side insets) / logo aspect 8.261) + a breath of space */
  top:calc(clamp(14px, 2.5vh, 30px)
       + (min(100vw, 100svh * 16 / 9) * 0.935) / 8.261
       + clamp(20px, 3.5vh, 44px));
  left:calc(max((100vw - 1440px) / 2, 0px) + var(--gutter) + clamp(28px, 8vw, 150px) - (100vw - 100%) / 2);
  display:flex; align-items:flex-start; gap:clamp(16px, 2.2vw, 40px);
  color:var(--accent);
}
/* the studio statement lives IN the hero, overlapping the image, beside (01) */
.hero-cover-tag .tag-statement{
  font-family:var(--sans); font-weight:700;
  font-size:clamp(20px, 2.1vw, 36px); line-height:1.3;
  color:var(--text); max-width:34ch;
  text-shadow:0 4px 26px rgba(0,0,0,0.55);
}
.hero-cover-tag .tag-statement b{ color:var(--accent); font-weight:700; }
/* semi-transparent audio toggle, bottom-right of the hero */
.hero-audio{
  position:absolute; z-index:3; right:clamp(16px, 2vw, 36px); bottom:4%;
  padding:10px 16px; border-radius:999px;
  background:rgba(10,10,10,0.35); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.25); color:var(--text);
  font-family:var(--mono); font-size:10px; font-weight:500; letter-spacing:0.2em;
  opacity:0.85; transition:opacity .2s ease, border-color .2s ease, color .2s ease;
}
.hero-audio:hover{ opacity:1; border-color:var(--accent); color:var(--accent); }

/* ---- carousel (PRISM case page UI walkthrough) --------------------------- */
.carousel{ position:relative; overflow:hidden; }
.car-track{ display:flex; transition:transform .45s ease; }
.car-track img{ width:100%; flex:0 0 100%; display:block; }
.car-btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:42px; height:42px; border-radius:999px; cursor:pointer;
  border:1px solid rgba(255,255,255,0.3); background:rgba(10,10,10,0.45);
  color:var(--text); font-family:var(--mono); font-size:15px;
  backdrop-filter:blur(6px);
  transition:border-color .2s ease, color .2s ease;
}
.car-btn:hover{ border-color:var(--accent); color:var(--accent); }
.car-btn.prev{ left:14px; }
.car-btn.next{ right:14px; }
.car-dots{
  position:absolute; bottom:14px; left:50%; transform:translateX(-50%);
  display:flex; gap:9px; z-index:4;
}
.car-dots i{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.35); cursor:pointer; }
.car-dots i.on{ background:var(--accent); }

/* hero settles in as the loader clears (homepage only — the loader div scopes it) */
.loader ~ main .hero--cover .hero-stage-video{ opacity:0; animation:fadeIn .9s ease 1.6s forwards; }
.loader ~ main .hero--cover .hero-wordmark,
.loader ~ main .hero--cover .hero-tm{          opacity:0; animation:fadeIn .7s ease 1.8s forwards; }
.loader ~ main .hero--cover .hero-cover-tag{   opacity:0; animation:fadeIn .7s ease 1.95s forwards; }

/* ===== SECTION NUMBERS — big red "(0X)" carrying on from the hero's (01) ===== */
/* set in DISPLAY so the glyphs match the hero's (01) lockup reference */
.sec-num{
  display:block;
  font-family:var(--display); font-weight:900; color:var(--accent);
  font-size:clamp(54px, 7vw, 118px); line-height:0.8; letter-spacing:-0.03em;
  white-space:nowrap;
}

/* ===== STATEMENT — (02) + the "we build" line on black, hero → work ===== */
.statement{ padding:clamp(70px, 10vh, 130px) 0; }
.statement-grid{
  display:grid; grid-template-columns:auto 1fr;
  gap:clamp(32px, 6vw, 110px); align-items:start;
  padding-left:clamp(28px, 8vw, 150px);
}
.statement-p{
  margin:0; font-family:var(--sans); font-weight:700;
  font-size:clamp(19px, 2vw, 32px); line-height:1.32;
  color:var(--text); max-width:38ch;
}
.statement-p b{ color:var(--accent); font-weight:700; }

/* ===== PROOF — (03) beside the stats ===== */
.proof-grid-outer{
  display:grid; grid-template-columns:auto 1fr;
  gap:clamp(32px, 6vw, 110px); align-items:start;
}
/* cap to the same column width the statement/case text lives in */
.proof-body{ min-width:0; max-width:780px; }

/* ===== LEAD — statement-voice intro copy (replaces the old mono-lead) ===== */
.lead-p{
  font-family:var(--sans); font-weight:600; text-transform:none;
  font-size:clamp(16px, 1.5vw, 22px); line-height:1.45; letter-spacing:0;
  color:var(--muted); max-width:48ch;
}

/* ===== NUM-GRID — generic (0X) + content layout for numbered sections ===== */
.num-grid{
  display:grid; grid-template-columns:auto 1fr;
  gap:clamp(32px, 6vw, 110px); align-items:start;
}
.num-body{ min-width:0; }

/* ===== CASE STUDY — (05) Doodles / PRISM 1.0 ===== */
.case-grid{
  display:grid; grid-template-columns:auto 1fr;
  gap:clamp(32px, 6vw, 110px); align-items:start;
}
.case-body{ min-width:0; }
.case-p{
  margin:24px 0 0; font-family:var(--sans); font-weight:700;
  font-size:clamp(20px, 2.1vw, 36px); line-height:1.3;
  color:var(--text); max-width:44ch;
}
.case-p b{ color:var(--accent); font-weight:700; }
.case-cta{ margin-top:28px; }
.case-media{
  position:relative; margin-top:44px; overflow:hidden;
  border:1px solid var(--line-2); border-radius:6px; background:var(--panel-2);
  aspect-ratio:16/9;
}
.case-media video{ width:100%; height:100%; object-fit:cover; }

/* ===== WORK — justified grid at native aspect ratios ======================
   app.js sets --tw (width%) and --ta (the clip's real w/h) per tile; rows
   are justified so every tile in a row shares one height and NOTHING is
   cropped — the tile shape IS the clip shape. */
.work-band{ padding:6px 0 0; }
/* the grid ignores the 1440px page cap — near full-bleed with slim margins */
.wrap--full{ max-width:none; padding-left:clamp(10px, 1.2vw, 22px); padding-right:clamp(10px, 1.2vw, 22px); }
.work-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:16px;
}
/* sits inside .wrap (page margins, per ref frames) with visible dark gutters */
.lockup-grid{ display:flex; flex-wrap:wrap; margin:0 calc(-1 * clamp(4px, 0.55vw, 9px)); }
.lockup-grid .feed-tile{
  border:clamp(4px, 0.55vw, 9px) solid var(--bg);
  width:var(--tw, 50%); aspect-ratio:var(--ta, 1);
}
/* work page chrome */
.work-page-head{ padding:clamp(120px, 15vh, 170px) 0 30px; }
.feed-sentinel{
  padding:36px 0 64px; text-align:center;
  font-size:10px; letter-spacing:0.24em; text-transform:uppercase; color:var(--muted-2);
}
/* ---- BRAND STRIP -------------------------------------------------------- */
.brandstrip{ padding:60px 0; text-align:center; }
.brandstrip .names{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:0; margin-top:30px;
}
.brandstrip .names span{
  font-family:var(--display); font-weight:900;
  font-size:clamp(20px,2.5vw,32px); letter-spacing:-0.01em; text-transform:uppercase;
  color:var(--muted-2); padding:6px clamp(20px,2.8vw,38px); line-height:1;
  transition:color .25s ease, opacity .25s ease; cursor:default;
}
.brandstrip .names:hover span{ opacity:0.4; }
.brandstrip .names span:hover{ color:var(--text); opacity:1; }
.brandstrip .names i{ width:5px; height:5px; border-radius:50%; background:var(--line-2); display:inline-block; flex:none; }
/* ---- Client logos (white silhouettes, optically balanced) --------------- */
/* one row, spanning 80% of the page, logos in equal slots filling the width */
.brandstrip .logos, .proof-clients .logos{
  display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between;
  gap:clamp(12px, 1.6vw, 26px); width:90%; margin:44px auto 0;
}
/* founder-attributed client wall under the (03) stats */
.proof-clients{ margin-top:clamp(60px, 9vh, 110px); }
.proof-clients .clients-intro{
  margin:0; text-align:center;
  font-family:var(--sans); font-weight:600;
  font-size:clamp(15px, 1.35vw, 20px); color:var(--muted);
}
.client-logo{
  flex:1 1 0; min-width:0;
  width:auto; max-width:100%; height:auto; max-height:66px;
  object-fit:contain; opacity:0.6; transition:opacity .25s ease;
}
.client-logo.is-svg{ filter:brightness(0) invert(1); }    /* force single-colour SVGs white */
/* wordmarks read at a smaller height than icons — give the very wide ones a touch more slot */
.client-logo[alt="Bethesda"], .client-logo[alt="Cartoon Network"]{ flex-grow:1.5; }
/* phones: let it wrap rather than crush 15 logos onto one line */
@media (max-width:760px){
  .brandstrip .logos, .proof-clients .logos{ flex-wrap:wrap; width:100%; justify-content:center; gap:22px 26px; }
  .client-logo{ flex:0 1 auto; max-height:26px; }
}

/* ---- WHAT WE BUILD ------------------------------------------------------ */
.build-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:clamp(40px,6vw,90px); align-items:start; }
.build-head .sub-h{ margin-top:18px; }
.build-body{ display:flex; flex-direction:column; gap:34px; padding-top:6px; }
.def{ border-left:2px solid var(--accent); padding:4px 0 4px 22px; }
.def-head{ display:flex; align-items:baseline; gap:14px; }
.def-term{ font-family:var(--display); font-weight:900; font-size:clamp(26px,3vw,38px); letter-spacing:-0.02em; line-height:1; }
.def-pos{ font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted); }
.def-text{ margin:14px 0 0; font-size:clamp(16px,1.4vw,20px); font-weight:500; line-height:1.55; color:var(--text); max-width:40ch; }
.def-text .hl{ color:var(--accent); font-weight:600; }
.build-examples{ list-style:none; margin:0; padding:22px 0; display:flex; flex-direction:column; gap:14px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.build-examples li{ font-size:clamp(15px,1.3vw,19px); letter-spacing:0.01em; color:var(--muted); line-height:1.2; }
.build-examples li b{ font-family:var(--display); font-weight:900; font-size:1.18em; letter-spacing:-0.01em; color:var(--text); margin-right:8px; }
.build-note{ margin:0; font-size:13px; line-height:1.7; color:var(--muted); max-width:52ch; }
.build-note .hl{ color:var(--text); }

/* ---- THESIS ------------------------------------------------------------- */
.thesis-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(40px,5vw,76px); align-items:center; }
.thesis-statement{
  margin:22px 0 0; font-family:var(--mono); font-size:clamp(16px,1.45vw,21px);
  font-weight:500; line-height:1.5; letter-spacing:0.005em; color:var(--text); text-transform:none;
}
.thesis-statement .ts-kicker{
  display:block; font-family:var(--display); font-weight:900;
  font-size:clamp(18px,2vw,28px); line-height:1; letter-spacing:-0.02em;
  color:var(--accent); text-transform:uppercase; margin-bottom:10px;
}
.thesis-statement .ts-big{
  display:block; font-family:var(--display); font-weight:900;
  font-size:clamp(44px,5.2vw,78px); line-height:0.88; letter-spacing:-0.03em; margin-bottom:18px;
}
.thesis-statement .ts-accent{ color:var(--accent); font-weight:600; }
.thesis-sub{ margin:24px 0 0; font-size:clamp(14px,1.25vw,17px); line-height:1.65; color:var(--muted); max-width:46ch; }
.thesis-media{
  position:relative; aspect-ratio:4/3; overflow:hidden;
  border:1px solid var(--line-2); border-radius:6px; background:var(--panel-2);
}
.thesis-media video{ width:100%; height:100%; object-fit:cover; }
.frame-meta{
  position:absolute; left:0; right:0; bottom:0; z-index:4; display:flex; justify-content:space-between;
  padding:11px 13px; font-size:9px; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--muted); background:linear-gradient(transparent, rgba(10,10,10,0.85));
}
.frame-meta .acc{ color:var(--accent); }

/* ---- PROOF --------------------------------------------------------------- */
/* stats stack vertically inside the same narrow column as the other
   sections' text — big number, label beneath, hairline between */
.proof-stats{
  display:grid; grid-template-columns:1fr; gap:clamp(28px, 4.5vh, 48px);
}
.pstat .num{
  font-family:var(--display); font-weight:900;
  font-size:clamp(64px, 8vw, 150px); line-height:0.88; letter-spacing:-0.03em;
}
.pstat .lab{
  margin-top:16px; font-family:var(--sans); font-weight:700; text-transform:uppercase;
  font-size:clamp(13px, 1.15vw, 17px); letter-spacing:0.08em;
  color:var(--text); line-height:1.4;
}
.pstat + .pstat{ border-top:1px solid var(--line); padding-top:clamp(28px, 4.5vh, 48px); }
/* non-numeric claim — same display voice, sized to sit with the numerals */
.pstat .num--text{ font-size:clamp(36px, 3.8vw, 68px); line-height:0.98; }
/* receipt rows — keyed bold lines under the stats */
.proof-rows{ margin-top:60px; border-top:1px solid var(--line); }
.proof-row{
  display:flex; flex-wrap:wrap; align-items:baseline;
  padding:22px 0; border-bottom:1px solid var(--line);
}
/* keys + values at full statement size (matches .statement-p in (02)) */
.proof-row .pk{
  flex:0 0 auto; margin-right:clamp(28px, 4vw, 64px);
  font-family:var(--sans); font-weight:700;
  font-size:clamp(19px, 2vw, 32px); letter-spacing:0.02em; text-transform:uppercase;
  color:var(--accent);
}
/* mono micro-chrome on media frames stays tiny by design (tags, meta strips) */
.proof-row .pv{
  font-family:var(--sans); font-weight:700;
  font-size:clamp(19px, 2vw, 32px); letter-spacing:0.02em; text-transform:uppercase;
  color:var(--text); line-height:1.35;
}
.proof-row .pv + .pv::before{ content:"·"; color:var(--accent); margin:0 clamp(14px, 1.4vw, 24px); font-weight:700; }

/* ---- TWO ENDS OF GENERATIVE AI — full-red manifesto ----------------------
   The whole section flips to SYSTMS red with black type (ref frames):
   centered display headline up top, two plain text columns low in the
   section, everything uppercase heavy — no panels, no chrome. */
.section-red{
  background:var(--accent); border-top:0;
  padding:clamp(110px, 15vh, 190px) 0 clamp(90px, 12vh, 150px);
}
.section-red ::selection{ background:#0A0A0A; color:var(--accent); }
.section-red .sec-num{ color:#0A0A0A; }
.ends-h{ text-align:left; color:#0A0A0A; margin:0; font-size:clamp(36px, 4.6vw, 76px); }
.ends-grid{
  display:grid; grid-template-columns:1fr 1.05fr 0.95fr; gap:clamp(36px, 5vw, 84px);
  margin-top:clamp(56px, 9vh, 110px); align-items:start;
}
/* the verdict — third column, arrow aimed at the model layer beside it,
   top-aligned with the column keys */
.end-verdict{
  margin:0; font-family:var(--sans); font-weight:800;
  font-size:clamp(20px, 2.1vw, 34px); line-height:1.15; letter-spacing:0;
  color:#0A0A0A;
}
.end .end-key{
  font-family:var(--sans); font-weight:800;
  font-size:clamp(15px, 1.25vw, 20px); letter-spacing:0.1em; text-transform:uppercase;
  color:#0A0A0A; margin-bottom:18px;
}
/* statement voice, sentence case — statement size but a weight lighter and
   looser leading: solid 700 blocks on red are hard to read at length */
.end p{
  margin:0; font-family:var(--sans); font-weight:600; text-transform:none;
  font-size:clamp(19px, 2vw, 32px); line-height:1.42; letter-spacing:0.002em;
  color:#0A0A0A; max-width:40ch;
}
/* ---- the spectrum: a scale with SYSTMS pinned at the model-layer end ---- */
.spectrum{ margin-top:clamp(56px, 9vh, 110px); }
.spectrum-track{ position:relative; height:2px; background:#0A0A0A; }
/* hollow node at the platforms end */
.spectrum-track::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:14px; height:14px; border-radius:50%;
  border:2px solid #0A0A0A; background:var(--accent);
}
/* the S-mark sits AT the far end — black on the red field, alpha-masked */
.spectrum-chip{
  position:absolute; right:0; bottom:calc(100% + 14px);
  width:clamp(64px, 6vw, 110px); aspect-ratio:286/165;
  background:#0A0A0A;
  -webkit-mask:url("assets/SYSTMS_MARK_hi.png") center/contain no-repeat;
          mask:url("assets/SYSTMS_MARK_hi.png") center/contain no-repeat;
}
.spectrum-labels{
  display:flex; justify-content:space-between;
  margin-top:18px;
  font-family:var(--sans); font-weight:800;
  font-size:clamp(15px, 1.25vw, 20px); letter-spacing:0.1em; text-transform:uppercase;
  color:#0A0A0A;
}
/* the close points at the marker: display line, right-aligned under the chip */
.ends-close{ margin:clamp(48px, 7vh, 90px) 0 0; text-align:right; }
.ends-close .big{
  display:block; font-family:var(--display); font-weight:900;
  font-size:clamp(28px, 3.4vw, 48px); letter-spacing:-0.02em; line-height:1;
  color:#0A0A0A;
}

/* ---- TICKER ------------------------------------------------------------- */
.ticker{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden; background:var(--panel); }
.ticker-track{
  display:flex; width:max-content; gap:0;
  animation:marquee 38s linear infinite;
}
.ticker-track .it{
  display:inline-flex; align-items:center; gap:18px; padding:15px 0;
  font-size:11px; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted);
}
.ticker-track .it::after{ content:""; width:7px; height:7px; background:var(--accent); margin:0 22px; flex:none; }
.ticker-track .it b{ color:var(--text); font-weight:500; }

/* ---- STUDIO ------------------------------------------------------------- */
.studio-intro{
  margin:26px 0 0; max-width:58ch;
  font-family:var(--sans); font-weight:600;
  font-size:clamp(16px,1.5vw,22px); line-height:1.5; color:var(--muted);
  text-transform:none; letter-spacing:0;
}
.studio-intro b{ color:var(--text); font-weight:700; }
.founders{ display:grid; grid-template-columns:1fr; gap:20px; margin-top:40px; }
.founder{ display:grid; grid-template-columns:260px 1fr; align-items:stretch; border:1px solid var(--line); background:var(--panel); border-radius:10px; overflow:hidden; }
.founder .port{
  position:relative; aspect-ratio:1/1; background:var(--accent); overflow:hidden;
  display:grid; place-items:center;
}
.founder .port img,
.founder .port video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  object-position:center top;
}
.founder .port::after{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(to bottom, transparent 60%, rgba(10,10,10,0.55) 100%);
}
.founder .port .role-tag{
  position:absolute; left:14px; bottom:14px; z-index:3;
  font-size:9.5px; letter-spacing:0.24em; text-transform:uppercase; color:var(--accent-ink);
  border:1px solid rgba(255,255,255,0.55); border-radius:999px; padding:5px 11px;
  background:rgba(10,10,10,0.25); backdrop-filter:blur(4px);
}
.founder .meta{ padding:30px 36px; display:flex; flex-direction:column; justify-content:center; }
.founder .fname{
  font-family:var(--display); font-weight:900;
  letter-spacing:-0.02em; line-height:0.95; font-size:clamp(26px,2.6vw,36px);
}
.founder .frole{ font-size:10.5px; letter-spacing:0.22em; text-transform:uppercase; color:var(--accent); margin-top:10px; }
.founder .fbio{ margin-top:16px; font-size:12.5px; line-height:1.7; color:var(--muted); text-transform:none; letter-spacing:0; max-width:62ch; }
.founder .fbio b{ color:var(--text); font-weight:500; }

/* ---- THE FEED ----------------------------------------------------------- */
.feed-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.feed-follow{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:12px;
  font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--text);
  border:1px solid var(--line-2); border-radius:999px; padding:11px 18px; transition:border-color .2s ease, color .2s ease;
}
.feed-follow:hover{ border-color:var(--accent); color:var(--accent); }
.feed-follow .ig-glyph{
  width:14px; height:14px; border:1.5px solid currentColor; border-radius:4px; position:relative; flex:none;
}
.feed-follow .ig-glyph::before{
  content:""; position:absolute; inset:2.5px; border:1.5px solid currentColor; border-radius:50%;
}
.feed-follow .ig-glyph::after{
  content:""; position:absolute; top:1.5px; right:1.5px; width:1.5px; height:1.5px; background:currentColor; border-radius:50%;
}
.feed-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:46px;
  border:1px solid var(--line-2); border-radius:10px; overflow:hidden;
}
.feed-tile{
  position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--panel-2);
  display:block; width:100%; padding:0; margin:0; cursor:pointer;
  -webkit-appearance:none; appearance:none;
  border:0; border-right:1px solid var(--line-2); border-bottom:1px solid var(--line-2);
}
.feed-grid .feed-tile:nth-child(3n){ border-right:0; }
.feed-grid .feed-tile:nth-child(n+7){ border-bottom:0; }
.feed-tile video, .feed-tile img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.feed-tile .pat{
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 11px),
    var(--accent);
}
.feed-tile:hover video, .feed-tile:hover img{ transform:scale(1.04); }
/* corner crops appear on hover */
.feed-tile .fc{ position:absolute; width:16px; height:16px; border:2px solid var(--accent); z-index:3; opacity:0; transition:opacity .25s ease; }
.feed-tile:hover .fc{ opacity:1; }
.feed-tile .fc.tl{ top:10px; left:10px; border-right:0; border-bottom:0; }
.feed-tile .fc.tr{ top:10px; right:10px; border-left:0; border-bottom:0; }
.feed-tile .fc.bl{ bottom:10px; left:10px; border-right:0; border-top:0; }
.feed-tile .fc.br{ bottom:10px; right:10px; border-left:0; border-top:0; }
/* play affordance — click a tile to expand the full clip */
.feed-tile .fplay{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) scale(.86); z-index:3;
  width:52px; height:52px; border-radius:50%; pointer-events:none;
  border:1px solid rgba(242,240,235,0.55); background:rgba(10,10,10,0.34);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  opacity:0; transition:opacity .25s ease, transform .25s ease, border-color .2s ease;
}
.feed-tile .fplay::after{
  content:""; position:absolute; top:50%; left:54%; transform:translate(-50%,-50%);
  border-style:solid; border-width:7px 0 7px 12px; border-color:transparent transparent transparent var(--text);
}
.feed-tile:hover .fplay{ opacity:1; transform:translate(-50%,-50%) scale(1); border-color:var(--accent); }
/* metadata overlay */
.feed-tile .fmeta{
  position:absolute; left:0; right:0; bottom:0; z-index:2; padding:30px 12px 11px;
  font-size:9px; letter-spacing:0.14em; text-transform:uppercase; color:var(--text);
  background:linear-gradient(transparent, rgba(10,10,10,0.9));
  opacity:0; transform:translateY(6px); transition:opacity .25s ease, transform .25s ease;
}
.feed-tile:hover .fmeta{ opacity:1; transform:none; }
.feed-tile .fmeta .id{ color:var(--accent); }
.feed-tile .fview{
  position:absolute; top:11px; left:11px; z-index:3;
  display:inline-flex; align-items:center; gap:7px;
  font-size:8.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--text);
  background:rgba(10,10,10,0.66); backdrop-filter:blur(6px);
  border:1px solid var(--line-2); border-radius:999px; padding:5px 10px;
  opacity:0; transition:opacity .25s ease, border-color .2s ease;
}
.feed-tile:hover .fview{ opacity:1; }
.feed-tile .fview:hover{ border-color:var(--accent); color:var(--accent); }

/* ---- Lightbox (feed full clips) ---------------------------------------- */
.lightbox{
  position:fixed; inset:0; z-index:100;
  display:flex; align-items:center; justify-content:center; padding:5vmin;
  background:rgba(5,5,5,0.92); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s ease;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lb-stage{ position:relative; max-width:min(94vw, 1080px); display:flex; flex-direction:column; align-items:center; gap:15px; }
.lb-frame{
  position:relative; padding:clamp(16px, 3vw, 30px);
  background:radial-gradient(circle at 50% 42%, #1c1c1c 0%, #0d0d0d 80%);
  border:1px solid var(--line-2);
}
.lb-frame video, .lb-frame img{
  display:block; max-width:min(86vw, 1000px); max-height:72vh; width:auto; height:auto; background:#000;
}
.lb-frame .crop{ z-index:4; }
.lb-close{
  position:fixed; top:20px; right:24px; z-index:2; cursor:pointer;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line-2); background:rgba(10,10,10,0.6); color:var(--text);
  font-size:15px; line-height:1; transition:border-color .2s ease, color .2s ease;
}
.lb-close:hover{ border-color:var(--accent); color:var(--accent); }

/* ---- BUILDING BLOCKS (process rows) ------------------------------------- */
.blocks-head{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:24px; }
.proc{ display:flex; flex-direction:column; margin-top:52px; }
.proc-row{
  display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:center;
  padding:64px 0; border-top:1px solid var(--line);
}
.proc-row.reverse .proc-info{ order:2; }
.proc-row.reverse .proc-media{ order:1; }
.proc-info{ position:relative; }
.proc-num{
  font-family:var(--display); font-weight:900;
  font-size:clamp(80px,12vw,168px); letter-spacing:-0.04em; line-height:0.8;
  color:var(--text); opacity:0.12; position:absolute; top:-22px; left:-4px; z-index:0;
}
.proc-info .inner{ position:relative; z-index:1; }
.proc-key{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.proc-key .k{ font-size:11px; letter-spacing:0.22em; text-transform:uppercase; color:var(--accent); }
.proc-chip{
  font-size:9.5px; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted);
  border:1px solid var(--line-2); border-radius:999px; padding:4px 10px;
}
.proc-title{
  font-family:var(--display); font-weight:900;
  letter-spacing:-0.025em; line-height:0.94; font-size:clamp(36px,4.2vw,58px); margin:18px 0 0;
}
.proc-desc{ margin-top:22px; font-family:var(--sans); font-size:clamp(17px,1.55vw,22px); font-weight:600; letter-spacing:0.005em; line-height:1.5; color:var(--text); text-transform:none; max-width:30ch; }
.proc-desc .hl{ color:var(--accent); font-weight:600; }
.proc-link{
  display:inline-flex; align-items:center; gap:8px; margin-top:24px;
  font-family:var(--mono); font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--text);
  border-bottom:1px solid var(--line-2); padding-bottom:5px; transition:color .2s ease, border-color .2s ease, gap .2s ease;
}
.proc-link:hover{ color:var(--accent); border-color:var(--accent); gap:14px; }
.proc-frame-link{ display:block; cursor:pointer; transition:border-color .25s ease, transform .25s ease; }
.proc-frame-link:hover{ border-color:var(--accent); transform:translateY(-3px); }

.proc-media{ position:relative; }
.frame{
  position:relative; aspect-ratio:1/1; overflow:hidden; border:1px solid var(--line-2);
  border-radius:6px; background:var(--panel-2);
}
.frame.wide{ aspect-ratio:16/9; }
.frame video, .frame img{ width:100%; height:100%; object-fit:cover; }
.frame .tag{
  position:absolute; top:12px; left:12px; z-index:4;
  font-size:9px; letter-spacing:0.2em; text-transform:uppercase; color:var(--text);
  background:rgba(10,10,10,0.72); backdrop-filter:blur(6px);
  border:1px solid var(--line-2); border-radius:4px; padding:5px 9px;
}
.frame .tag.acc{ background:var(--accent); color:var(--accent-ink); border-color:var(--accent); top:auto; left:auto; bottom:12px; right:12px; }
.frame .metastrip{
  position:absolute; left:0; right:0; bottom:0; z-index:4;
  display:flex; justify-content:space-between;
  padding:10px 12px; font-size:9px; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--muted); background:linear-gradient(transparent, rgba(10,10,10,0.85));
}

/* ---- HOW WE WORK / SPECTRUM OF ENGAGEMENT ------------------------------- */
.mode-title{
  font-size:clamp(32px,3.6vw,54px) !important;
  line-height:1.04 !important; max-width:24ch;
}
.modes{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:56px; }
.mode{
  border:1px solid var(--accent); border-radius:8px;
  padding:32px 30px 38px; display:flex; flex-direction:column;
  background:rgba(255,45,30,0.02);
}
/* key gets a fixed 2-line slot and the headline a fixed offset, so the
   "We run / We operate / You drive" lines align across all three cards */
.mode-key{
  font-family:var(--display); font-weight:900; letter-spacing:-0.01em; line-height:1.05;
  font-size:clamp(20px,2.1vw,28px); text-transform:uppercase; color:var(--accent);
  min-height:2.3em;
}
.mode-key .hl{ color:var(--accent); }
.mode-h{
  font-family:var(--display); font-weight:900; letter-spacing:-0.02em; line-height:1.0;
  font-size:clamp(22px,2.3vw,30px); color:var(--text);
  margin:clamp(64px, 10vh, 130px) 0 0;
}
.mode-p{
  margin:18px 0 0; font-family:var(--sans); font-weight:500;
  font-size:clamp(13px,1.1vw,16px); line-height:1.55; color:var(--muted);
  text-transform:none; letter-spacing:0;
}

/* ---- TRY IT (FLDS) ------------------------------------------------------ */
.tryit-grid{ display:grid; grid-template-columns:0.88fr 1.12fr; gap:54px; align-items:center; margin-top:48px; }
.tryit-copy .status-note{ font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted-2); margin-top:16px; line-height:1.7; max-width:46ch; }
.tryit-cta{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.tryit-copy{ align-self:start; }
.tryit-copy .flds-logo{ display:block; height:46px; width:auto; margin:0 0 26px; }

/* ---- FLDS waitlist form ------------------------------------------------- */
.waitlist{ margin-top:26px; max-width:440px; }
.wl-fields{ display:flex; flex-direction:column; gap:10px; }
.wl-input{
  width:100%;
  background:var(--bg); border:1px solid var(--line-2); border-radius:8px; padding:14px 15px;
  color:var(--text); font-family:var(--mono); font-size:13px; letter-spacing:0.02em;
  transition:border-color .2s ease;
}
.wl-input::placeholder{ color:var(--muted-2); letter-spacing:0.1em; text-transform:uppercase; }
.wl-input:focus{ outline:none; border-color:#4a4a48; }
.wl-submit{ margin-top:14px; }
.wl-submit:disabled{ opacity:0.55; pointer-events:none; }
.wl-msg{ font-size:11px; letter-spacing:0.08em; text-transform:uppercase; margin:14px 0 0; min-height:1.2em; line-height:1.6; color:var(--muted); }
.wl-msg.ok{ color:var(--accent); }
.wl-msg.err{ color:#ff6a3d; }
.comparator{
  position:relative; aspect-ratio:1/1; border:1px solid var(--line-2); border-radius:8px; overflow:hidden;
  background:var(--panel-2); user-select:none;
}
.comparator video, .comparator img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.comparator .before{ filter:brightness(.82) saturate(.85) blur(0.6px); clip-path:inset(0 50% 0 0); }
.comparator .handle{
  position:absolute; top:0; bottom:0; left:50%; width:2px; background:var(--accent); z-index:5; transform:translateX(-50%);
}
.comparator .knob{
  position:absolute; top:50%; left:50%; width:44px; height:44px; border-radius:50%;
  background:var(--accent); color:var(--accent-ink); transform:translate(-50%,-50%);
  display:grid; place-items:center; z-index:6; font-size:14px; box-shadow:0 6px 20px rgba(0,0,0,0.5);
}
.comparator .ctag{
  position:absolute; top:12px; z-index:5; font-size:9px; letter-spacing:0.2em; text-transform:uppercase;
  background:rgba(10,10,10,0.72); border:1px solid var(--line-2); border-radius:4px; padding:5px 9px; color:var(--text);
}
.comparator .ctag.l{ left:12px; }
.comparator .ctag.r{ right:12px; background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
.comparator .scan{
  position:absolute; left:0; right:0; height:40%; z-index:4; pointer-events:none;
  background:linear-gradient(rgba(255,45,30,0) 0%, rgba(255,45,30,0.16) 50%, rgba(255,45,30,0) 100%);
  animation:scan 2.6s linear infinite;
}

/* ---- START A PROJECT (form) --------------------------------------------- */
.form-wrap{ margin-top:48px; border:1px solid var(--line); border-radius:12px; background:var(--panel); overflow:hidden; }
.form-steps{ display:flex; border-bottom:1px solid var(--line); }
.form-steps .fs{
  flex:1; padding:16px 18px; border-right:1px solid var(--line);
  font-size:10px; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted-2);
  display:flex; align-items:center; gap:10px; transition:color .25s ease;
}
.form-steps .fs:last-child{ border-right:0; }
.form-steps .fs .n{
  width:20px;height:20px;border-radius:50%;border:1px solid var(--line-2); display:grid; place-items:center;
  font-size:9px; flex:none; transition:all .25s ease;
}
.form-steps .fs.active{ color:var(--text); }
.form-steps .fs.active .n{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.form-steps .fs.done .n{ border-color:var(--text); color:var(--text); }
.form-body{ padding:40px; min-height:280px; }
.fstep{ display:none; }
.fstep.active{ display:block; animation:fadein .35s ease; }
@keyframes fadein{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }
.fstep h3{ font-family:var(--display); font-weight:900; font-size:30px; letter-spacing:-0.02em; margin:0 0 6px; }
.fstep .hint{ font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); margin:0 0 28px; }
.fgrid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:10px; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); }
.field input, .field textarea{
  background:var(--bg); border:1px solid var(--line-2); border-radius:8px; padding:13px 14px;
  color:var(--text); font-family:var(--mono); font-size:13px; letter-spacing:0.02em;
  transition:border-color .2s ease;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:#4a4a48; }
.field textarea{ resize:vertical; min-height:120px; }
.choices{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.choice{
  border:1px solid var(--line-2); border-radius:8px; padding:16px 18px; background:var(--bg);
  font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--text); text-align:left;
  transition:border-color .2s ease, background .2s ease;
}
.choice:hover{ border-color:#4a4a48; }
.choice.sel{ border-color:var(--accent); background:rgba(255,45,30,0.06); }
.choice .ck{ color:var(--accent); float:right; opacity:0; }
.choice.sel .ck{ opacity:1; }
.choice-label{ font-size:10px; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); margin:18px 0 10px; }
.form-foot{ display:flex; justify-content:space-between; align-items:center; padding:22px 40px; border-top:1px solid var(--line); }
.form-foot .back{ font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted); background:none; border:0; }
.form-foot .back:disabled{ opacity:0; pointer-events:none; }
.contact-card{
  margin-top:48px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  border:1px solid var(--line-2); border-radius:12px; background:var(--panel);
  padding:clamp(28px,4vw,48px);
}
.cc-left{ display:flex; flex-direction:column; gap:14px; }
.cc-label{ font-size:11px; letter-spacing:0.22em; text-transform:uppercase; color:var(--muted); }
.cc-email{
  font-family:var(--display); font-weight:900; letter-spacing:-0.02em; line-height:0.95;
  font-size:clamp(32px,4.4vw,60px); color:var(--text); transition:color .2s ease;
}
.cc-email:hover{ color:var(--accent); }
.cc-btn{ flex:none; }

.contact-strip{
  margin-top:30px; display:flex; flex-wrap:wrap; gap:8px 26px;
  font-size:10.5px; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted);}
.contact-strip .acc{ color:var(--accent); }
.form-done{ text-align:center; padding:30px 0; display:none; }
.form-done.show{ display:block; animation:fadein .4s ease; }
.form-done .big{ font-family:var(--display); font-weight:900; font-size:44px; letter-spacing:-0.02em; }

/* ---- DROPS -------------------------------------------------------------- */
.drops{ display:grid; grid-template-columns:1fr auto; gap:40px; align-items:center; }
.drops .signup{ display:flex; gap:0; border:1px solid var(--line-2); border-radius:999px; overflow:hidden; min-width:380px; }
.drops .signup input{
  flex:1; background:transparent; border:0; padding:14px 20px; color:var(--text);
  font-family:var(--mono); font-size:12px; letter-spacing:0.04em; text-transform:uppercase;
}
.drops .signup input:focus{ outline:none; }
.drops .signup button{
  background:transparent; border:0; border-left:1px solid var(--line-2); color:var(--text);
  padding:0 22px; font-size:11px; letter-spacing:0.18em; text-transform:uppercase;
}
.drops .signup button:hover{ color:var(--accent); }

/* ---- FOOTER ------------------------------------------------------------- */
.footer{ border-top:1px solid var(--line); }
.footer-in{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px;
  padding:26px var(--gutter);
  font-size:10px; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted-2);
}
.footer-nav{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-social{ display:flex; gap:22px; justify-content:flex-end; flex-wrap:wrap; }
.footer-nav a:hover, .footer-social a:hover{ color:var(--text); }
.footer-email{ justify-self:center; color:var(--muted); font-size:12px; letter-spacing:0.1em; text-transform:none; }
.footer-email:hover{ color:var(--text); }

/* ---- reveal-on-scroll (only active once JS marks the page ready) -------- */
html.reveal-ready .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
html.reveal-ready .reveal.in{ opacity:1; transform:none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero--split .hero-grid{ grid-template-columns:1fr; }
  .hero-media{ min-height:62vh; border-right:0; border-bottom:1px solid var(--line); order:1; }
  .hero-text{ padding:48px 28px; order:2; }
  .hero-left{ border-right:0; border-bottom:1px solid var(--line); padding:48px 28px; }
  .hero-stage{ min-height:480px; padding:40px 0; }
  .founders{ grid-template-columns:1fr; }
  /* Feed stays a 3x3 IG grid on mobile (9 tiles fill it cleanly — no orphan cell). */
  .founder{ grid-template-columns:1fr; }
  .founder .port{ aspect-ratio:16/10; }
  .founder .meta{ padding:26px 26px 30px; }
  .build-grid{ grid-template-columns:1fr; gap:32px; }
  .thesis-grid{ grid-template-columns:1fr; gap:34px; }
  .ends-grid{ grid-template-columns:1fr; }
  .statement-grid, .proof-grid-outer, .case-grid, .num-grid{ grid-template-columns:1fr; gap:20px; }
  .statement-grid{ padding-left:0; }
  .sec-num{ font-size:clamp(44px, 9vw, 72px); }
  .proc-row{ grid-template-columns:1fr; gap:30px; padding:48px 0; }
  .proc-row.reverse .proc-info{ order:1; }
  .proc-row.reverse .proc-media{ order:2; }
  .modes{ grid-template-columns:1fr; gap:18px; }
  .mode{ min-height:0; }
  .tryit-grid{ grid-template-columns:1fr; }
  .nav-links{ display:none; }
  .nav-right .pill{ display:none; }
  .nav-burger{ display:inline-flex; }
  .drops{ grid-template-columns:1fr; }
  .drops .signup{ min-width:0; }
  .footer-in{ grid-template-columns:1fr; text-align:center; gap:18px; justify-items:center; }
  .footer-nav, .footer-social{ justify-content:center; }
}
@media (max-width:560px){
  .fgrid, .choices{ grid-template-columns:1fr; }
  .hero-stats{ flex-wrap:wrap; gap:18px; }
  .stat + .stat{ border-left:0; padding-left:0; }
  .form-body, .form-foot{ padding:26px 22px; }
  .brandstrip .names span{ padding:6px 14px; }
  .proof-row .pk{ flex:0 0 100%; margin-bottom:8px; }
}
@media (max-width:768px){
  /* single column on mobile, each clip at its native aspect — no cropping */
  .lockup-grid .feed-tile{ width:100%; }
  .work-head{ flex-wrap:wrap; gap:12px; }
  /* stage fills the viewport width — pull the lockup to the page gutter */
  .hero-cover-tag{ left:16px; }
  .hero-tm{ right:1%; }
}
