/* ============================================================
   G-Tracer — g-tracer.com  (v4, consolidated)
   Palette sampled from the brand mark: warm filament light
   against trace blue on near-black. Motion engine: GSAP +
   Lenis (html.gsap is set by main.js only when the libs are
   live, so everything degrades to a static layout).
   ============================================================ */

:root {
  --ink:      #04060a;
  --ink-2:    #070b13;
  --surface:  #0b1019;
  --line:     rgba(178, 198, 228, 0.10);
  --line-hot: rgba(245, 166, 98, 0.35);

  --amber:    #f5a662;
  --ember:    #e2622b;
  --blue:     #4a86c8;

  --text:     #e9edf3;
  --muted:    #98a1b3;

  --font-display: 'Clash Display', 'Archivo', system-ui, sans-serif;
  --font-body:    'Switzer', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --max: 1160px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.js { scroll-behavior: auto; } /* Lenis owns smoothing */

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: 0.01em; }

p { margin: 0; }
a { color: var(--text); text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(245, 166, 98, 0.28); }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--amber), var(--ember));
  color: #150a04;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(226, 98, 43, 0.35); }

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%,
              rgba(255, 255, 255, 0.34) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(130%); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--line-hot); }

.btn-small { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------------- chips ---------------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 11px;
  background: rgba(11, 16, 25, 0.6);
  width: fit-content;
}

.chip-dot, .node-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-amber { background: var(--amber); }
.dot-ember { background: var(--ember); }
.dot-blue  { background: var(--blue); }

/* ---------------- nav ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease,
              transform 0.35s cubic-bezier(0.22, 0.9, 0.24, 1);
}

.nav.scrolled {
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

html.js .nav.tucked { transform: translateY(-110%); }

.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-mark { border-radius: 50%; }

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  font-size: 0.93rem;
}

.nav-links > a:not(.btn) { color: var(--muted); transition: color 0.18s; }
.nav-links > a:not(.btn):hover { color: var(--text); }

/* ============================================================
   HERO — movie-title sequence
   Resting composition: logo at 2x, slightly defocused, with
   the wordmark centered over it. The engine starts at 4x and
   plays the card sequence; without it, CSS lands on the
   resting frame directly.
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-logo-wrap {
  position: absolute;
  width: min(35vmin, 340px);
  aspect-ratio: 1;
  will-change: transform, filter, opacity;
}

.hero-logo {
  width: 100%;
  aspect-ratio: 1;
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 88%);
          mask-image: radial-gradient(closest-side, #000 52%, transparent 88%);
}

/* static fallback lands on the end frame */
html:not(.js) .hero-logo-wrap,
html.js:not(.gsap) .hero-logo-wrap {
  transform: scale(2);
  filter: blur(0.4px);
  opacity: 0.92;
}

.title-cards {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 var(--pad);
  pointer-events: none;
}

.tc {
  grid-area: 1 / 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.8), 0 0 60px rgba(4, 6, 10, 0.6);
  opacity: 0;
  visibility: hidden;
}

.tc-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.tc-name {
  font-weight: 600;
  font-size: clamp(2.7rem, 7vw, 5rem);
  letter-spacing: 0.16em;
  line-height: 1;
}

.tc-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-shadow: none;
}

html:not(.js) .tc-brand,
html.js:not(.gsap) .tc-brand {
  opacity: 1;
  visibility: visible;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.scroll-cue i {
  display: block;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(178, 198, 228, 0.35);
  border-radius: 12px;
  position: relative;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--amber);
}

.scroll-cue span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

html:not(.js) .scroll-cue,
html.js:not(.gsap) .scroll-cue { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .scroll-cue i::after { animation: cueDrop 1.8s ease-in-out infinite; }
  @keyframes cueDrop {
    0%   { transform: translateY(0);    opacity: 1; }
    70%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 0; }
  }
}

/* ---------------- capability strip ---------------- */

.strip {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 15px 0;
  background: var(--ink-2);
  position: relative;
  z-index: 2;
}

.strip-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: slide 46s linear infinite;
}

.strip-track i { color: var(--ember); font-style: normal; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

html.gsap .strip-track { animation: none; } /* engine drives it */

/* ============================================================
   BIGSAY — What / Why, large-type statements
   ============================================================ */

.bigsay {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 15vh, 160px) var(--pad);
}

.bigsay-title {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  margin-bottom: clamp(26px, 4vh, 42px);
}

.bigsay-body {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.5;
  max-width: 27em;
  letter-spacing: 0.005em;
}

.bigsay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(30px, 5vh, 48px);
}

/* words dim only when the scrub engine is live */
html.gsap .scrub-words .mw { opacity: 0.13; will-change: opacity; }

/* ---------------- generic sections ---------------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 11vh, 120px) var(--pad);
}

.section-tight { padding-block: clamp(30px, 5vh, 54px); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(36px, 6vh, 60px);
  max-width: 46em;
}

.section-sub { color: var(--muted); font-size: 1.03rem; }

section[id], .section[id], .bigsay[id] { scroll-margin-top: 86px; }

/* ============================================================
   TOOLSET — flip-up video tiles
   ============================================================ */

.vgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  perspective: 1400px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.card:hover { border-color: var(--line-hot); }

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
              rgba(245, 166, 98, 0.10), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.vcard {
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #000;
}

.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-body h3 { margin-top: 2px; }
.card-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* cursor-tilt (fine pointers, engine on) */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.js .card.in {
    transform: perspective(850px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  }
  html.js .card.in.tilting {
    transition: transform 0.16s ease, border-color 0.25s ease;
  }
}

/* ---------------- foundations ---------------- */

.foundations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  border-block: 1px solid var(--line);
  padding: 22px 4px;
}

.foundations-label { font-size: 0.9rem; color: var(--muted); }

.foundations ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 34px);
  margin: 0; padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------------- early access ---------------- */

.access-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(74, 134, 200, 0.10), transparent 50%),
    radial-gradient(120% 160% at 0% 100%, rgba(226, 98, 43, 0.12), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(30px, 5vw, 56px);
  will-change: clip-path;
}

.access-copy { display: flex; flex-direction: column; gap: 18px; }
.access-copy p { color: var(--muted); }

#access-form { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.field-row { display: flex; gap: 16px; }

.field label { font-size: 0.84rem; font-weight: 500; color: var(--muted); }
.optional { font-weight: 400; opacity: 0.6; }

.field input,
.field select {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.18s ease;
}

.field input:focus,
.field select:focus { outline: none; border-color: var(--amber); }

.form-note { min-height: 1.4em; font-size: 0.88rem; color: var(--amber); }

/* ---------------- footer ---------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 34px var(--pad) 44px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a { color: var(--muted); border-bottom: 1px solid var(--line); }
.footer a:hover { color: var(--text); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  color: var(--text);
}

.footer-brand img { border-radius: 50%; }

/* ============================================================
   REVEALS (generic .fxc, driven by ScrollTrigger.batch)
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  html.js .fxc {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
    transition:
      opacity 0.9s cubic-bezier(0.22, 0.9, 0.24, 1),
      transform 0.9s cubic-bezier(0.22, 0.9, 0.24, 1);
    transition-delay: var(--d, 0s);
  }
  html.js .fxc.in { opacity: 1; transform: none; }
}

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */

main, .footer { position: relative; z-index: 2; }

#bg-canvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.ambient-warm, .ambient-cool {
  position: absolute;
  inset: -20%;
  will-change: opacity, transform;
}

.ambient-warm {
  background:
    radial-gradient(46% 38% at 78% 18%, rgba(226, 98, 43, 0.16), transparent 70%),
    radial-gradient(30% 26% at 12% 78%, rgba(245, 166, 98, 0.07), transparent 70%);
  opacity: 0.9;
}

.ambient-cool {
  background:
    radial-gradient(44% 40% at 18% 30%, rgba(74, 134, 200, 0.13), transparent 70%),
    radial-gradient(36% 30% at 82% 82%, rgba(74, 134, 200, 0.10), transparent 70%);
  opacity: 0.35;
}

.scroll-ray {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
}

.scroll-ray i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber), var(--ember) 55%, var(--blue));
  box-shadow: 0 0 12px rgba(245, 166, 98, 0.55);
  will-change: transform;
}

/* ============================================================
   PRELOADER — render slate
   ============================================================ */

html:not(.js) .loader { display: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
}

.loader.done {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
}

.loader-brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--muted);
}

.loader-pct {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.loader-bar {
  width: 230px;
  height: 2px;
  background: rgba(178, 198, 228, 0.12);
  overflow: hidden;
  border-radius: 2px;
}

.loader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber), var(--ember));
  box-shadow: 0 0 10px rgba(245, 166, 98, 0.6);
}

.loader-status {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 1.2em;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

.cursor-dot, .cursor-ring { display: none; }

@media (pointer: fine) {
  html.cur body, html.cur a, html.cur button,
  html.cur .card, html.cur label { cursor: none; }

  html.cur .cursor-dot {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 10px rgba(245, 166, 98, 0.8);
    z-index: 300;
    pointer-events: none;
    opacity: 0;
  }

  html.cur .cursor-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1px solid rgba(245, 166, 98, 0.45);
    border-radius: 50%;
    z-index: 299;
    pointer-events: none;
    opacity: 0;
  }

  html.cur .cursor-ring span {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.14em;
    color: var(--amber);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  html.cur .cursor-ring.live { border-color: rgba(245, 166, 98, 0.9); }
  html.cur .cursor-ring.live span { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 940px) {
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .access-panel { grid-template-columns: 1fr; }
  .nav-links > a:not(.btn) { display: none; }
}

@media (max-width: 520px) {
  .vgrid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .render-hud { flex-wrap: wrap; }
  .render-hud .btn { margin-left: 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
  .strip-track { animation: none; flex-wrap: wrap; width: auto; }
  .btn, .card { transition: none; }
  .btn-primary::after { display: none; }
  #bg-canvas { display: none; }
  .ambient-warm, .ambient-cool { will-change: auto; transform: none !important; }
  html.js .nav.tucked { transform: none; }
}

/* ============================================================
   v4.1 — ALL-CAPS TYPE SYSTEM
   Every piece of text matches the capital layout of the
   wordmark. Tracking is tiered: widest on the name (0.16em),
   generous on display, modest on running text so caps stay
   readable. Node-name chips (.chip-code) keep code casing;
   user input is never transformed.
   ============================================================ */

h1, h2, h3,
.tc,
.bigsay-body,
.section-sub,
.card-body p,
.access-copy p,
.btn,
.nav-links > a,
.field label,
.form-note,
.footer,
.foundations-label,
.chip,
.loader-brand {
  text-transform: uppercase;
}

/* tiered tracking + caps-tuned sizes */
h2 { letter-spacing: 0.09em; }
h3 { letter-spacing: 0.07em; }

.tc { letter-spacing: 0.09em; font-size: clamp(1.35rem, 3vw, 2.5rem); }
.tc-name { letter-spacing: 0.16em; } /* the reference */

.bigsay-title { letter-spacing: 0.08em; }

.bigsay-body {
  font-size: clamp(1.15rem, 2.15vw, 1.62rem);
  line-height: 1.62;
  letter-spacing: 0.045em;
  max-width: 30em;
}

.section-sub {
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

.card-body p {
  font-size: 0.8rem;
  letter-spacing: 0.045em;
  line-height: 1.7;
}

.access-copy p {
  font-size: 0.9rem;
  letter-spacing: 0.045em;
  line-height: 1.75;
}

.btn { letter-spacing: 0.07em; font-size: 0.86rem; }
.btn-small { font-size: 0.78rem; }

.nav-links > a:not(.btn) { letter-spacing: 0.08em; font-size: 0.84rem; }

.field label { letter-spacing: 0.06em; }
.form-note { letter-spacing: 0.04em; font-size: 0.8rem; }

.footer { letter-spacing: 0.04em; font-size: 0.8rem; }
.footer a { text-transform: lowercase; } /* email reads as an address */

.chip { letter-spacing: 0.08em; }
.chip-code { text-transform: none; letter-spacing: 0.04em; } /* node names keep code casing */

/* never transform what the user types */
input, select, textarea, option { text-transform: none; }

/* v4.2 — bold lead-in title cards */
.tc { font-weight: 700; }
.tc-date { font-weight: 400; }

/* ============================================================
   v4.3 — intro depth passes + brand card
   The wordmark lands bold and bigger, over a thin grey bar the
   launch line stencils through (the date is set in the page's
   ground color, so it reads as punched out of the bar).
   ============================================================ */

.tc { will-change: transform, opacity, filter; }

.tc-name {
  font-weight: 700;
  font-size: clamp(3.2rem, 8.5vw, 6.4rem);
}

.tc-brand { gap: 22px; }

.tc-under {
  align-self: stretch;          /* spans the wordmark width — the underline */
  text-align: center;
  background: #7e8798;          /* the thin grey box */
  color: var(--ink);            /* launch line stencils through */
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  text-shadow: none;
}

/* static frame (no engine / reduced motion): the sequence never
   plays, so keep the logo faint behind the resting wordmark */
html:not(.js) .hero-logo-wrap,
html.js:not(.gsap) .hero-logo-wrap { opacity: 0.45; }

/* ============================================================
   v4.4 — feather timing + macro focus
   The opening pass runs unfeathered (edges are far offscreen at
   12x); the widened feather returns with the finale. Sections
   passing through the mid-viewport focal plane get filter and
   opacity driven by scroll.
   ============================================================ */


html.gsap .strip,
html.gsap .bigsay,
html.gsap .section {
  will-change: filter, opacity;
}

/* honeypot — offscreen for humans, present for bots */
.hp {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   v4.5 — TYPOGRAPHY (revised)
   Clash Display everywhere, as before. Section title cards go
   heavy so they anchor their paragraphs; every G-TRACER
   wordmark tightens its kerning and takes the bright trace
   blue so it pops.
   ============================================================ */

:root {
  --blue-bright: #9cc4ef;
}

/* section headers: heavy — the header to the paragraph */
.bigsay-title,
.section-head h2 {
  font-weight: 700;
}

/* wordmark tier: tight kerning + bright trace blue, everywhere it says G-TRACER */
.tc-name,
.nav-wordmark,
.footer-brand span,
.loader-brand,
.brand-ink {
  letter-spacing: 0.04em;
  color: var(--blue-bright);
}

/* ============================================================
   v4.6 — LAUNCH ADDITIONS
   Wispy parallax plates, demo reel, And-more banner tile,
   workflow steps.
   ============================================================ */

/* ---------- smoke plates (engine-driven) ---------- */

.plate {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  display: none;
  mix-blend-mode: screen;
}

html.gsap .plate { display: block; }

.plate-far  { z-index: 1; opacity: 0.20; }

.plate-roll {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background-repeat: repeat-y;
  background-size: 100% auto;
  will-change: transform;
}

/* ---------- demo reel ---------- */

.reel-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.reel-stage video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

@media (pointer: fine) {
  html.cur .reel-stage,
  html.cur video { cursor: auto; } /* native controls need a real cursor */
}

/* ---------- "And more" banner tile ---------- */

.vcard-more {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background:
    radial-gradient(80% 200% at 0% 50%, rgba(74, 134, 200, 0.10), transparent 60%),
    radial-gradient(80% 200% at 100% 50%, rgba(226, 98, 43, 0.10), transparent 60%),
    var(--surface);
}

.more-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.more-copy p { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 700px) {
  .vcard-more { flex-direction: column; align-items: flex-start; }
}

/* ---------- workflow ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.flow article {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.flow h3 { text-transform: uppercase; letter-spacing: 0.07em; }
.flow p  { color: var(--muted); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.045em; line-height: 1.7; }

@media (max-width: 940px) {
  .flow { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .plate { display: none !important; }
}
