/* ═══════════════════════════════════════════════════════════════
   RowOneX — site stylesheet.
   Structure: visible column rules, corner ticks, ">" eyebrows,
   bordered panels, a fixed background video stage, count-ups.
   Colour (#000 / #F5C518) and type (Barlow) unchanged throughout.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --black: #000;
  --yellow: #F5C518;
  --white: #fff;
  --line: rgba(255, 255, 255, 0.09);
  --line-lit: rgba(245, 197, 24, 0.28);
  --panel: rgba(9, 9, 12, .64);
  --muted: #cacaca;
  --shell: 1200px;
  --gut: clamp(20px, 4vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

/* ─── Scroll progress (adopted from variant B) ────────────────── */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--yellow);
  z-index: 200;
  transition: width .1s linear;
}

/* ─── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px var(--gut);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}

.nav[data-stuck="true"] {
  border-bottom-color: var(--line);
  background: rgba(0, 0, 0, 0.92);
}
.nav-logo svg { width: 76px; height: 48px; }
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-left: 30px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a { color: #a5a5a5; transition: color .18s; }
.nav-links a:hover { color: var(--white); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Header CTA is sized to sit level with the logo rather than tower over it.
   Scoped to .nav-right so the full-width CTA in the mobile panel, which is a
   tap target, keeps its larger padding. */
.nav-right .btn {
  font-size: 12.5px;
  letter-spacing: .12em;
  height: 36px;
  padding: 0 22px;
  line-height: 1;
}

/* ─── The signature: a visible column grid running through it all ── */
.rules {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to right, var(--line) 0 1px, transparent 1px calc(100% / 6));
  background-size: 100% 100%;
  opacity: .8;
}

/* Corner ticks, the small crosshairs kog puts at section joints. */
.band { position: relative; padding-block: clamp(78px, 9vw, 132px); }
.band::before, .band::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.band::before { top: 0; }
.band::after { bottom: 0; }

.tick {
  position: absolute;
  width: 9px; height: 9px;
  pointer-events: none;
  z-index: 2;
}
.tick::before, .tick::after {
  content: '';
  position: absolute;
  background: var(--yellow);
}
.tick::before { left: 0; right: 0; top: 4px; height: 1px; }
.tick::after { top: 0; bottom: 0; left: 4px; width: 1px; }
.tick--tl { top: -5px; left: calc(var(--gut) - 4px); }
.tick--tr { top: -5px; right: calc(var(--gut) - 4px); }

.shell { position: relative; z-index: 1; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }

/* ─── Eyebrow, with the ">" prompt prefix ─────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 22px;
}
.eyebrow::before { content: '>'; margin-right: 7px; opacity: .65; }

.h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 700; }

.lede { color: rgba(255,255,255,.86); font-size: 1.06rem; max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ─── Buttons, with the paired arrow square kog uses ──────────── */
.cta-row { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: #000;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 15px;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 15px 30px 13px;
  border: 1px solid var(--yellow);
  transition: background .2s, color .2s;
  overflow: hidden;
}
.btn .ch { display: inline-block; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.btn:hover .ch { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; border: 1px solid var(--line); color: var(--white);
  font-size: 19px; transition: background .2s, color .2s, border-color .2s;
}
.btn-arrow:hover { background: var(--yellow); color: #000; border-color: var(--yellow); }

/* ─── Hero ────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); overflow: hidden; }
/* ─── Persistent background stage ──────────────────────────────
   The reference pins one fixed, full-viewport layer at z-index 0 and
   scrolls all content over it. Same idea here, with the hero video as
   the source: the footage never moves, the page travels across it.
   ─────────────────────────────────────────────────────────────── */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-stage video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.bg-stage video.is-playing { opacity: .45; }

/* Gold tint on the footage's own highlights. */
.bg-stage::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  mix-blend-mode: soft-light;
  background: radial-gradient(ellipse 75% 60% at 50% 42%, rgba(245,197,24,.9), transparent 70%);
}
/* Veil. Without this, body copy has to fight moving footage for 6000px. */
.bg-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.36) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,.7) 100%),
    radial-gradient(ellipse 60% 50% at 50% 34%, transparent 0%, rgba(0,0,0,.36) 78%);
}

/* Everything else rides above the stage. Note: .nav keeps its own
   sticky positioning, so it is raised by z-index alone. */
.hero, .band, .foot { position: relative; z-index: 1; }
.nav { z-index: 110; }

.hero .shell { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 7rem); letter-spacing: -0.025em; }
.hero h1 span { color: var(--yellow); }
.hero-sub { margin-top: 20px; font-size: clamp(1rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.88); font-weight: 500; }
.hero-tag { margin-top: 14px; color: var(--muted); max-width: 54ch; margin-inline: auto; font-size: .97rem; }
.hero .cta-row { margin-top: 34px; justify-content: center; }

/* ─── Stat strip, where the count-ups live ────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); text-align: center; }
.stat:first-child { border-left: 0; }
.stat-n {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 3rem); color: var(--yellow);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-l { margin-top: 7px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ─── Panels ──────────────────────────────────────────────────── */
.grid { display: grid; gap: 1px; background: var(--line); backdrop-filter: blur(2px); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(255px,1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); }
.panel { background: var(--panel); padding: clamp(26px,3vw,38px); position: relative; transition: background .25s; }
.panel:hover { background: rgba(16,16,20,.82); }
.panel-n {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .2em; color: var(--yellow); display: block; margin-bottom: 14px;
}
.panel .h3 { margin-bottom: 11px; }
.panel p { color: var(--muted); font-size: .95rem; }

/* ─── Rows (the strengths list) ───────────────────────────────── */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 74px 1fr; gap: clamp(16px,3vw,44px); padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-n { font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size:1.8rem; color: rgba(245,197,24,.4); line-height:1; }
.row .h3 { margin-bottom: 8px; }
.row p { color: var(--muted); font-size: .95rem; max-width: 74ch; }

/* ─── Market ──────────────────────────────────────────────────── */
.market { display:grid; grid-template-columns: repeat(auto-fit, minmax(310px,1fr)); gap: clamp(36px,5vw,72px); align-items:center; }
.big-n { font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size: clamp(4.4rem,11vw,8.5rem); line-height:.85; color: var(--yellow); letter-spacing:-.04em; font-variant-numeric: tabular-nums; }
.bar-row { margin-bottom: 18px; }
.bar-top { display:flex; justify-content:space-between; font-size:.9rem; margin-bottom:6px; }
.bar-top b { color: var(--yellow); font-family:'Barlow Condensed',sans-serif; font-variant-numeric: tabular-nums; }
.bar-track { height:5px; background:rgba(255,255,255,.08); }
.bar-fill { height:100%; background: var(--yellow); width:0; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.is-in .bar-fill { width: var(--w); }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq { border-top:1px solid var(--line); max-width: 900px; }
.faq details { border-bottom:1px solid var(--line); }
.faq summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:20px; align-items:center;
  padding: 22px 0; font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:1.3rem; text-transform:uppercase; transition: color .18s; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary:hover { color: var(--yellow); }
.faq summary span { color: var(--yellow); flex:none; transition: transform .22s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p { padding-bottom: 26px; color: var(--muted); max-width: 70ch; }

/* ─── Close + footer ──────────────────────────────────────────── */
.close { text-align:center; position:relative; overflow:hidden; }
.close::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(245,197,24,.15), transparent 62%); }
.close h2 { font-size: clamp(2.6rem,7vw,5.4rem); }
.close h2 span { color: var(--yellow); }
.close .cta-row { justify-content:center; margin-top: 32px; }
.foot { border-top:1px solid var(--line); padding: 28px var(--gut); display:flex; flex-wrap:wrap; gap:14px 34px; justify-content:space-between; font-size:12.5px; color: var(--muted); }
.foot b { color: var(--yellow); }

/* ─── Reveal primitives ───────────────────────────────────────── */
[data-reveal-item] { opacity:0; transform: translateY(20px); transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1); }
[data-reveal-item].is-in { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal-item] { opacity:1; transform:none; transition:none; }
  .bar-fill { transition:none; }
}

@media (max-width: 820px) {
  .nav-links { display:none; }
  .rules { background-image: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px calc(100% / 3)); }
  .row { grid-template-columns: 1fr; gap: 6px; }
}


/* ═══════════════════════════════════════════════════════════════
   BACKGROUND STAGE — poster + LQIP layers
   The stage carries a blurred inline thumbnail under a real poster,
   so it is never an empty box before the video decodes. Desktop only:
   a fixed element playing video is where mobile Safari stutters.
   ═══════════════════════════════════════════════════════════════ */
.bg-stage {
  background-color: var(--black);
  background-image:
    url('./media/hero-poster.jpg'),
    url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAAB//8AAKACAAQAAAABAAAAIKADAAQAAAABAAAAEgAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/+ICpElDQ19QUk9GSUxFAAE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pjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMACQkJCQkJEAkJEBYQEBAWHhYWFhYeJh4eHh4eJi4mJiYmJiYuLi4uLi4uLjc3Nzc3N0FBQUFBSUlJSUlJSUlJSf/bAEMBCwwMEhESIBERIEwzKjNMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTP/dAAQAAv/aAAwDAQACEQMRAD8AztSj1zT4xHMoePsCMf4iuKvpI5DmW3EZ9duP5V6/J4n8PapHseXyj6NwP8K5DV7vT9pRXjkT/ZI/lQB5yY4j92kNt8u4mrtw1mxJj4qgzAcK3FAH/9Dxk1GakNRGgBDSUGigD//Z');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* ═══════════════════════════════════════════════════════════════
   HERO MEDIA — phones only. Portrait video inside the hero rather
   than fixed behind the page.
   ═══════════════════════════════════════════════════════════════ */
.hero-media { display: none; }

@media (max-width: 768px) {
  .hero-media {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-image:
      url('./media/hero-poster-mobile.jpg'),
      url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAA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AQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMACQkJCQkJEAkJEBYQEBAWHhYWFhYeJh4eHh4eJi4mJiYmJiYuLi4uLi4uLjc3Nzc3N0FBQUFBSUlJSUlJSUlJSf/bAEMBCwwMEhESIBERIEwzKjNMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTP/dAAQAAv/aAAwDAQACEQMRAD8Awp9e8z5bpSPaRQw/MVjXL6bOCfJjJ9UOP0rudc8PwoS1swbd/CeDXITeHH2Fm+Rh6jj8xQBz32Wz/utR9ltP7rVbOlXION360n9lXP8Ae/WgD//Q66a6sLsbgVYfWuX1B/KB8p+PQ14yt9cJ9yRh9DQ1/dN96Rj+NAHoRveei0n232WvOPtU3940fapv7xoA/9k=');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
  }
  .hero-media video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .8s ease;
  }
  .hero-media video.is-playing { opacity: .42; }
  .hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.7) 55%, rgba(0,0,0,.88));
  }
  /* The fixed stage stops carrying video on phones; keep only its wash. */
  .bg-stage video { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   NAV — Use Cases dropdown + mobile menu
   ═══════════════════════════════════════════════════════════════ */
.nav-dd { position: relative; }

.nav-dd-btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; color: #a5a5a5;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 500; transition: color .18s;
}
.nav-dd-btn:hover,
.nav-dd[data-open="true"] .nav-dd-btn { color: var(--white); }
.nav-dd[data-pinned="true"] .nav-dd-btn { color: var(--yellow); }

.nav-caret {
  width: 0; height: 0; border-left: 4px solid transparent;
  border-right: 4px solid transparent; border-top: 5px solid currentColor;
  transition: transform .2s;
}
.nav-dd[data-open="true"] .nav-caret { transform: rotate(180deg); }

.nav-dd-menu {
  --dd-gap: 16px;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); margin-top: var(--dd-gap);
  min-width: 192px; list-style: none;
  background: rgba(8,8,10,.97); backdrop-filter: blur(12px);
  border: 1px solid rgba(245,197,24,.22);
  padding: 6px; display: none; z-index: 130;
}
/* Bridges the gap so the pointer never leaves .nav-dd on the way down. */
.nav-dd-menu::before {
  content: ''; position: absolute;
  top: calc(-1 * var(--dd-gap)); left: 0; right: 0; height: var(--dd-gap);
}
.nav-dd[data-open="true"] .nav-dd-menu { display: block; }
.nav-dd-menu a {
  display: block; padding: 10px 14px; color: var(--muted);
  font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible {
  background: rgba(245,197,24,.1); color: var(--yellow);
}
.nav-dd-menu a[aria-current="page"] { color: var(--yellow); }

/* Shown only inside the open mobile panel; the desktop CTA lives in
   .nav-right. Hidden globally here so it cannot leak onto desktop. */
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none; width: 42px; height: 38px; background: none;
  border: 1px solid rgba(245,197,24,.25); cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px;
  background: var(--white); transform: translateX(-50%);
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; left: 0; transform: none; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav[data-menu="open"] .nav-toggle span { background: transparent; }
.nav[data-menu="open"] .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav[data-menu="open"] .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

:where(a, button, summary, .nav-dd-btn, .nav-toggle):focus-visible {
  outline: 2px solid var(--yellow); outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--yellow); color: #000; padding: 10px 18px;
  font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-right { display: none; }

  .nav[data-menu="open"] .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 62px; left: 0; right: 0;
    max-height: calc(100dvh - 62px); overflow-y: auto;
    padding: 8px 20px 28px; background: #000;
    border-bottom: 1px solid rgba(245,197,24,.2);
    margin-left: 0;
  }
  .nav[data-menu="open"] .nav-links > li { border-top: 1px solid rgba(255,255,255,.07); }
  .nav[data-menu="open"] .nav-links > li > a,
  .nav[data-menu="open"] .nav-dd-btn {
    display: block; text-align: left; padding: 17px 2px; width: 100%; font-size: 15px;
  }
  .nav[data-menu="open"] .nav-dd-menu::before { display: none; }
  .nav[data-menu="open"] .nav-dd-menu {
    position: static; transform: none; display: block; margin: 0 0 12px;
    min-width: 0; background: none; border: 0;
    border-left: 2px solid rgba(245,197,24,.3); padding: 0 0 0 16px;
  }
  .nav[data-menu="open"] .nav-dd-menu a { padding: 13px 14px; }
  .nav[data-menu="open"] .nav-dd-btn { pointer-events: none; }
  .nav[data-menu="open"] .nav-caret { display: none; }
  .nav[data-menu="open"] .nav-mobile-cta { display: block; margin-top: 20px; }
  .nav[data-menu="open"] .nav-links > li:has(.nav-mobile-cta) { border-top: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   PANEL ICONS — carried over from the existing feature cards
   ═══════════════════════════════════════════════════════════════ */
.panel-icon { color: var(--yellow); margin-bottom: 18px; }
.panel-icon svg { width: 38px; height: 38px; }

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL
   Scroll-snap based rather than transform based: the browser handles
   centring, momentum and touch swipe, and it degrades to a plain
   scroller with no JS. The active card is the large one; neighbours
   peek in at reduced opacity so the row reads as continuous.
   ═══════════════════════════════════════════════════════════════ */
.carousel { position: relative; }

.carousel-viewport {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Side padding centres the first and last cards. */
  padding-inline: max(var(--gut), calc((100% - 62%) / 2));
  padding-block: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-card {
  flex: 0 0 62%;
  scroll-snap-align: center;
  opacity: .38;
  transform: scale(.94);
  transform-origin: center bottom;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1),
    border-color .5s ease;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(30px, 3.4vw, 48px);
}

.carousel-card.is-current {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(245, 197, 24, .38);
}

/* The carousel and revenue cards both carry far more space around their
   icons than the four-up use-case grid does, so they run a quarter
   larger than the panel default. */
.carousel-card .panel-icon svg,
#revenue .panel-icon svg { width: 48px; height: 48px; }
.carousel-card .h3 { margin-bottom: 12px; }
.carousel-card p { color: var(--muted); font-size: 1rem; max-width: 52ch; }

/* Dots double as the keyboard control, since the viewport itself only
   exposes scrolling. */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 34px; height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .18);
  cursor: pointer;
  transition: background .3s ease;
}
.carousel-dot:hover { background: rgba(255, 255, 255, .4); }
.carousel-dot[aria-current="true"] { background: var(--yellow); }


@media (max-width: 900px) {
  .carousel-viewport {
    gap: 16px;
    padding-inline: max(var(--gut), calc((100% - 84%) / 2));
  }
  .carousel-card { flex: 0 0 84%; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-viewport { scroll-behavior: auto; }
  .carousel-card { transition: none; opacity: 1; transform: none; }
  .carousel[data-playing="true"] .carousel-dot[aria-current="true"]::after { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL-DRIVEN MODE
   The section pins and the card row translates in step with scroll
   position. Applied by script only on wide viewports with motion
   allowed; everywhere else the plain snap scroller above stands, so
   touch swipe and no-JS both still work.
   ═══════════════════════════════════════════════════════════════ */
.carousel.is-scrolldriven {
  /* Height is set inline by script: it defines the scroll distance. */
  position: relative;
}

.carousel.is-scrolldriven .carousel-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3.4vh, 44px);
  overflow: hidden;
}

.carousel.is-scrolldriven .carousel-viewport {
  overflow: visible;
  scroll-snap-type: none;
  padding-inline: 0;
  width: 100%;
  will-change: transform;
  transition: none;
}

.carousel.is-scrolldriven .carousel-card {
  flex: 0 0 clamp(340px, 46vw, 660px);
  scroll-snap-align: none;
}

.carousel.is-scrolldriven .carousel-dots { margin-top: 0; }

/* A hint that the section drives on scroll, shown until you start. */
.carousel-hint {
  display: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .75;
  transition: opacity .4s ease;
}
.carousel.is-scrolldriven .carousel-hint { display: block; }
.carousel.is-scrolldriven[data-progress="started"] .carousel-hint { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .carousel.is-scrolldriven .carousel-viewport { transform: none !important; }
}

/* The carousel band supplies its own rhythm from the sticky pin, so the
   standard band padding would only add dead space above and below. */
.band--carousel { padding-block: 0; }

.carousel-head { flex: none; }
.carousel-head .lede { max-width: 58ch; }

/* Heading rides inside the pin so it stays on screen with the cards. */
.carousel.is-scrolldriven .carousel-head { margin-bottom: 0; }

/* Manual mode keeps the heading in normal flow above the track. */
.carousel:not(.is-scrolldriven) .carousel-head { margin-bottom: 40px; }
.carousel:not(.is-scrolldriven) { padding-block: clamp(78px, 9vw, 132px); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   Two columns: the pitch on the left, the form in a panel on the
   right. Same tokens as everywhere else.
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}

.contact-intro .lede { margin-top: 20px; }

/* Supporting points beneath the intro. */
.contact-points { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 26px; }

.contact-point {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-point::before {
  content: '';
  width: 9px; height: 9px;
  margin-top: 7px;
  background: var(--yellow);
}
.contact-point h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 5px;
}
.contact-point p { color: var(--muted); font-size: .94rem; max-width: 46ch; }

/* ─── The form panel ──────────────────────────────────────────── */
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 42px);
}

.field { margin-bottom: 20px; }

.field label,
.field .field-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.field label .optional {
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: none;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, .45);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: 13px 14px;
  transition: border-color .18s ease, background .18s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #6e6e6e; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(0, 0, 0, .7);
}

.field textarea { resize: vertical; min-height: 120px; }

/* Two fields sharing a row, for the name pair. */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Validation, surfaced only after a submit attempt. */
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #ff8b7a;
}
.field[data-invalid="true"] input { border-color: #ff8b7a; }
.field[data-invalid="true"] .field-error { display: block; }

/* Honeypot: off-screen rather than display:none, so a bot that skips
   hidden fields but not invisible ones still fills it in. */
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile { margin: 4px 0 22px; }

.form-note {
  margin: 4px 0 22px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form .btn { width: 100%; justify-content: center; }

/* Submission result. */
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 197, 24, .4);
  background: rgba(245, 197, 24, .08);
  font-size: 14px;
  line-height: 1.6;
}
.form-status[data-shown="true"] { display: block; }
.form-status a { color: var(--yellow); }

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

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
