/* Fulcrum VDC — marketing site v2
   Built to the Fulcrum VDC Brand Guidelines v1.0.
   Palette, type, and proportions derive from that document — do not
   freelance new colors or typefaces.
   Motion language: mechanical, precise, staggered — never bouncy. */

/* ─── fonts — self-hosted woff2 (no third-party requests) ─── */
@font-face {
  font-family: 'Anton';
  src: url('/assets/fonts/anton-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrainsmono-regular.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrainsmono-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── palette / tokens ─── */
:root {
  /* Primary */
  --ink:   #1A1814;
  --lime:  #C6FF3D;
  --bone:  #F2EFE8;

  /* Support */
  --ink2:  #0F0D0A;
  --lime2: #9BCC2F;
  --ash:   #7A7468;
  --line:  #2A2620;

  /* Semantic */
  --bg: var(--ink);
  --surface: #221F1A;
  --text: var(--bone);
  --text-dim: var(--ash);
  --accent: var(--lime);
  --border: var(--line);

  /* Glow — lime at low alpha, used sparingly */
  --glow-soft: 0 0 24px rgba(198, 255, 61, 0.10);
  --glow-hard: 0 0 0 1px rgba(198, 255, 61, 0.35), 0 0 32px rgba(198, 255, 61, 0.18);

  /* Geometry */
  --radius: 0;
  --max-w: 1200px;
  --max-w-narrow: 760px;
  --gutter: 28px;

  /* Motion — industrial snap */
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.6, 0, 0.2, 1);
  --dur-fast: 0.18s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;
}

/* ─── reset / base ─── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  /* faint blueprint grid over ink */
  background-image:
    linear-gradient(rgba(242, 239, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 232, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

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

::selection { background: var(--lime); color: var(--ink); }

/* ─── typography ─── */
h1, h2, .display {
  font-family: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bone);
  line-height: 0.9;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(52px, 8.5vw, 124px);
  line-height: 0.88;
  margin: 0 0 28px;
}
h2 {
  font-size: clamp(32px, 4.5vw, 52px);
}
h3 {
  /* Per § 13: H3 is Archivo Black, not Anton */
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--bone);
}

p { margin: 12px 0; color: var(--bone); }
p.muted, .muted { color: var(--ash); }
p.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--bone);
  margin: 0 0 32px;
  max-width: 60ch;
}

strong { font-weight: 700; color: var(--bone); }

.text-lime { color: var(--lime); }
.text-bone { color: var(--bone); }

/* Eyebrow + caption — JetBrains Mono */
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--lime);
  margin: 0 0 24px;
}
.caption {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 10px;
  color: var(--ash);
}

/* ─── links ─── */
a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
a:hover { border-bottom-color: var(--lime); }
a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* ─── brand lockup — official artwork only, never hand-rendered ─── */
.lockup {
  display: inline-flex;
  align-items: center;
  border: 0;
}
.lockup:hover { border: 0; }
.lockup img, .lockup svg { height: 26px; width: auto; display: block; }
.site-footer .lockup img { height: 20px; }

/* ─── header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 13, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* scroll progress hairline */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.btn) {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--bone);
  border-bottom: 1px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--lime); border-bottom-color: transparent; }
.site-nav a.is-active { color: var(--lime); }

/* Products nav dropdown (CSS-only hover; label links to /products/) */
.nav-item--has-menu { position: relative; display: inline-flex; align-items: center; }
.nav-item--has-menu::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nav-menu { position: absolute; top: 100%; left: 0; margin-top: 12px; min-width: 250px;
  background: var(--ink2); border: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 6px 0; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.nav-item--has-menu:hover .nav-menu, .nav-item--has-menu:focus-within .nav-menu {
  opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { display: block; padding: 11px 18px; white-space: nowrap; text-decoration: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px;
  text-transform: none; letter-spacing: 0; color: var(--bone); border: none; }
.nav-menu a:hover { background: var(--line); color: var(--lime); }

/* ─── mobile nav ─── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--bone);
  width: 42px; height: 42px;
  cursor: pointer;
  position: relative;
  z-index: 80;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--bone);
  margin: 3px auto;
  transition: transform var(--dur-fast) var(--ease-snap), opacity var(--dur-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: 'Anton', 'Impact', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(36px, 10vw, 56px);
  line-height: 1.15;
  color: var(--bone);
  border: 0;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.45s var(--ease-snap), opacity 0.45s ease, color var(--dur-fast);
}
.mobile-menu.is-open a { transform: translateY(0); opacity: 1; }
.mobile-menu a:hover { color: var(--lime); }
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu .caption {
  margin-top: 40px;
  opacity: 0;
  transition: opacity 0.45s ease 0.3s;
}
.mobile-menu.is-open .caption { opacity: 1; }

/* keep the header (and its toggle-X) above the open menu overlay */
body.menu-open .site-header {
  z-index: 90;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ─── buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
  line-height: 1;
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
}
.btn:hover {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
  border-bottom: 1px solid var(--bone);
}
.btn-primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--lime2);
  border-color: var(--lime2);
  color: var(--ink);
  box-shadow: var(--glow-soft);
}
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover {
  background: var(--line);
  color: var(--bone);
  border-color: var(--line);
}
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.btn--lg { padding: 18px 30px; font-size: 18px; }

/* ─── sections / layout ─── */
.section { padding: 110px var(--gutter); position: relative; }
.section--tight { padding: 64px var(--gutter); }
.section + .section { border-top: 1px solid var(--line); }
.section__inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.section__inner--narrow { max-width: var(--max-w-narrow); }

.section-head { display: flex; flex-direction: column; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ash); max-width: 62ch; margin: 0; font-size: 16px; }

/* drawing-sheet frame: mono metadata + corner registration ticks */
.sheet-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sheet-meta span:last-child { color: var(--lime2); }

.corner-ticks::before,
.corner-ticks::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 0 solid var(--lime2);
  opacity: 0.55;
  pointer-events: none;
}
.corner-ticks::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner-ticks::after { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* ─── hero ─── */
.hero {
  position: relative;
  min-height: calc(100svh - 75px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 90px var(--gutter);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero h1 { max-width: 12ch; }
.hero p.lede { max-width: 52ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* coordinate readout — bottom right of hero, CAD-style */
.hero__coords {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  z-index: 2;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}
.hero__coords .x, .hero__coords .y { color: var(--lime2); }

/* mono facts row under CTA */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 44px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero__facts span::before { content: '▸ '; color: var(--lime); }

/* headline word-mask reveal */
.h-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.h-mask > span {
  display: inline-block;
  transform: translateY(110%);
  animation: h-rise var(--dur-slow) var(--ease-snap) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes h-rise { to { transform: translateY(0); } }

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 44px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--lime);
  animation: cue-drop 2.2s var(--ease-press) infinite;
}
@keyframes cue-drop {
  0% { top: -50%; }
  60%, 100% { top: 110%; }
}

/* ─── marquee ticker ─── */
.marquee {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: var(--ink2);
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__seq {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}
.marquee__seq span { padding: 0 18px; }
.marquee__seq span:nth-child(odd) { color: var(--bone); }
.marquee__seq i {
  font-style: normal;
  color: var(--lime);
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ─── audience split panels ─── */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.audience__panel {
  position: relative;
  border: 1px solid var(--line);
  padding: 44px 40px 40px;
  background: linear-gradient(160deg, rgba(34, 31, 26, 0.6), rgba(15, 13, 10, 0.4));
  overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow 0.3s ease, transform 0.3s var(--ease-snap);
}
.audience__panel:hover {
  border-color: rgba(198, 255, 61, 0.4);
  box-shadow: var(--glow-soft);
  transform: translateY(-4px);
}
.audience__panel::before {
  content: attr(data-index);
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ash);
}
.audience__panel h3 {
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0 0 18px;
}
.audience__panel ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
}
.audience__panel li {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bone);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.audience__panel li::before {
  content: '+';
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── product showcase rows ─── */
.showcase { display: flex; flex-direction: column; gap: 96px; }
.showcase__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.showcase__row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.showcase__row--flip .showcase__copy { order: 2; }
.showcase__row--flip .showcase__media { order: 1; }
.showcase__copy h3 {
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0 0 16px;
}
.showcase__copy p { color: var(--bone); margin: 0 0 22px; max-width: 48ch; }
.showcase__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.showcase__tags li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  border: 1px solid var(--line);
  padding: 5px 10px;
}
.showcase__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* media frame — window chrome around screenshots/demos */
.frame {
  border: 1px solid var(--line);
  background: var(--ink2);
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 8px; height: 8px;
  border: 1px solid var(--ash);
  display: block;
  font-style: normal;
}
.frame__bar i:first-child { background: var(--lime); border-color: var(--lime); }
.frame__title {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.frame__body { position: relative; overflow: hidden; }
.frame__body img { width: 100%; height: auto; }

/* tilt interaction (JS sets --rx/--ry) */
.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* ─── demo stages ─── */
.demo {
  position: relative;
  background:
    linear-gradient(rgba(242, 239, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 232, 0.03) 1px, transparent 1px),
    var(--ink2);
  background-size: 28px 28px, 28px 28px, auto;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.demo svg { width: 100%; height: auto; display: block; }

/* NWC installer demo (DOM-based) */
.nwc-demo {
  width: 100%;
  max-width: 560px;
  padding: 26px 24px 22px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.nwc-demo__head {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ash);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.nwc-demo__row {
  display: grid;
  grid-template-columns: 16px 1fr 70px minmax(150px, auto);
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(42, 38, 32, 0.6);
  font-size: 12px;
  color: var(--bone);
}
.nwc-demo__box {
  width: 12px; height: 12px;
  border: 1px solid var(--ash);
  position: relative;
}
.nwc-demo__box.is-checked { border-color: var(--lime); background: var(--lime); }
.nwc-demo__box.is-checked::after {
  content: '';
  position: absolute;
  left: 3px; top: 0;
  width: 4px; height: 8px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.nwc-demo__bar {
  height: 3px;
  background: var(--line);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}
.nwc-demo__bar.is-on { opacity: 1; }
.nwc-demo__bar i {
  display: block;
  height: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.nwc-demo__status {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-align: right;
  white-space: nowrap;
}
.nwc-demo__status.is-done { color: var(--lime); }
.nwc-demo__foot {
  padding-top: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ash);
  min-height: 16px;
}

/* demo replay button */
.demo__replay {
  position: absolute;
  right: 10px; bottom: 10px;
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ash);
  border: 1px solid var(--line);
  padding: 6px 10px;
  cursor: pointer;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.demo__replay:hover { color: var(--lime); border-color: var(--lime2); }

/* ─── stats band ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.stat {
  border: 1px solid var(--line);
  padding: 28px 26px 24px;
  background: rgba(15, 13, 10, 0.5);
}
.stat__num {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.01em;
  display: block;
}
.stat__num sub { font-size: 0.4em; vertical-align: baseline; color: var(--lime2); }
.stat__label {
  display: block;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ─── cards (border-only, sharp corners) ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: border-color var(--dur-fast), transform 0.3s var(--ease-snap), box-shadow 0.3s ease;
}
.card:hover {
  border-color: rgba(198, 255, 61, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-soft);
}
.card .eyebrow { margin-bottom: 18px; }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0 0 24px; color: var(--bone); flex: 1; }
.card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card--placeholder {
  border-style: dashed;
  align-items: flex-start;
  justify-content: center;
  min-height: 200px;
}
.card--placeholder:hover { transform: none; box-shadow: none; }
.card--placeholder p { color: var(--ash); margin: 0; }
.cards .card h3 a { color: var(--bone); text-decoration: none; }
.cards .card h3 a:hover { color: var(--lime); }

/* ─── service cards ─── */
.service {
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-fast), transform 0.3s var(--ease-snap), box-shadow 0.3s ease;
}
.service:hover {
  border-color: rgba(198, 255, 61, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-soft);
}
.service .eyebrow { margin-bottom: 14px; }
.service h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 14px; }
.service h3 {
  font-family: 'Anton', 'Impact', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0 0 14px;
}
.service p { margin: 0 0 20px; }
.service ul { list-style: none; padding: 0; margin: 0; }
.service li {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bone);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.service li::before {
  content: '+';
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}
.service li:first-of-type { border-top: 1px solid var(--line); margin-top: 8px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* ─── features ─── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}
.feature .eyebrow { font-size: 10px; margin-bottom: 10px; }
.feature h3 { font-size: 15px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ash); margin: 0; }

/* ─── workflow steps (product pages) ─── */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: 44px;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.01em;
}
.step h3 { margin-bottom: 8px; font-size: 17px; }
.step p { margin: 0; color: var(--ash); max-width: 64ch; }

/* ─── pricing ─── */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  border: 1px solid var(--line);
  padding: 32px;
  transition: border-color var(--dur-fast), box-shadow 0.3s ease;
}
.pricing-card:hover { border-color: rgba(198, 255, 61, 0.35); box-shadow: var(--glow-soft); }
.pricing-card--featured { border-color: var(--lime2); position: relative; }
.pricing-card .eyebrow { margin-bottom: 12px; }
.pricing-card h3 { margin-bottom: 16px; }
.pricing-card__price {
  font-family: 'Anton', 'Impact', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 56px;
  line-height: 1;
  color: var(--lime);
  margin: 0;
}
.pricing-card__unit {
  display: block;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.pricing-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.pricing-card li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--bone);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.pricing-card li:last-child { padding-bottom: 0; }

/* ─── prepaid tier table ─── */
.tier-wrap { margin-top: 40px; overflow-x: auto; }
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.tier-table th,
.tier-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.tier-table th {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  color: var(--ash);
  font-weight: 500;
}
.tier-table td { color: var(--bone); }
.tier-table td:last-child { color: var(--lime); }
.tier-table tbody tr:last-child td { border-bottom: 0; }

/* ─── FAQ (details/summary) ─── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--bone);
  transition: color var(--dur-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  transition: transform var(--dur-fast) var(--ease-snap);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--lime); }
.faq details > div { padding: 0 0 24px; color: var(--ash); max-width: 70ch; }
.faq details > div p { color: var(--ash); margin: 0 0 12px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ─── tagline (verbatim per § 14) ─── */
.tagline {
  font-family: 'Anton', 'Impact', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  margin: 0;
}
.tagline__l1 { display: block; color: var(--bone); }
.tagline__l2 { display: block; color: var(--lime); }

/* ─── CTA strip — INK on LIME (§ 10) ─── */
.cta-strip {
  background: var(--lime);
  color: var(--ink);
  padding: 110px var(--gutter);
  text-align: center;
  border-top: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
  position: relative;
  overflow: hidden;
}
.cta-strip__inner { max-width: var(--max-w-narrow); margin: 0 auto; position: relative; z-index: 1; }
.cta-strip h2 { color: var(--ink); margin: 0 0 16px; }
.cta-strip p { color: var(--ink); margin: 0 0 32px; opacity: 0.85; }
.cta-strip .eyebrow { color: var(--ink); }
.cta-strip .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}
.cta-strip .btn:hover {
  background: var(--ink2);
  border-color: var(--ink2);
  color: var(--lime);
}
.cta-strip a { color: var(--ink); border-bottom-color: var(--ink); }
/* Tagline on LIME bg — both lines INK (§ 10) */
.cta-strip .tagline__l1,
.cta-strip .tagline__l2 { color: var(--ink); }

/* ─── tagline block ─── */
.tagline-block {
  background: var(--ink2);
  padding: 96px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tagline-block__inner { max-width: var(--max-w); margin: 0 auto; }

/* ─── prose pages (about / privacy / terms / eula) ─── */
.prose h2 { margin-top: 56px; margin-bottom: 20px; }
.prose h2:first-of-type { margin-top: 32px; }
.prose ul { margin: 16px 0; padding-left: 22px; color: var(--bone); }
.prose li { margin: 8px 0; }

/* ─── contact form ─── */
.form-grid { display: grid; gap: 18px; max-width: 560px; }
.form-grid label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  display: block;
  margin-bottom: 8px;
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  background: var(--ink2);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  padding: 13px 14px;
  border-radius: 0;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--lime2);
  box-shadow: var(--glow-soft);
}
.form-grid select {
  width: 100%;
  background-color: var(--ink2);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  padding: 13px 38px 13px 14px;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%237A7468' d='M0 0h12L6 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-grid select:focus {
  outline: none;
  border-color: var(--lime2);
  box-shadow: var(--glow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
/* Honeypot — kept in the DOM for bots, hidden from people + assistive tech. */
.form-grid .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Submit-status banner. */
.form-status {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left-width: 3px;
}
.form-status--ok { border-left-color: var(--lime); background: rgba(198,255,61,0.06); color: var(--bone); }
.form-status--err { border-left-color: #e2603d; background: rgba(226,96,61,0.07); color: var(--bone); }
.form-grid .btn[disabled] { opacity: 0.6; cursor: progress; }

/* ─── footer ─── */
.site-footer {
  background: var(--ink2);
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 40px;
}
.site-footer__inner { max-width: var(--max-w); margin: 0 auto; }

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.site-footer__tagline .tagline { font-size: clamp(40px, 5vw, 56px); }

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.site-footer__nav-group h4 {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: var(--lime);
  margin: 0 0 14px;
  font-weight: 500;
}
.site-footer__nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__nav-group a {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--bone);
}
.site-footer__nav-group a:hover { color: var(--lime); border: 0; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 10px;
  color: var(--ash);
}

/* ─── scroll-reveal utilities ─── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--dur-slow) ease,
    transform var(--dur-slow) var(--ease-snap);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-line {
  /* hairline that draws in horizontally */
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur-slow) var(--ease-snap);
  transition-delay: var(--d, 0s);
}
.reveal-line.is-in { transform: scaleX(1); }

/* scramble text targets — JS decodes them */
[data-scramble] { white-space: pre; }

/* ─── utilities ─── */
.spacer-sm { height: 16px; }
.spacer-md { height: 32px; }
.spacer-lg { height: 64px; }

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ─── responsive ─── */
@media (max-width: 960px) {
  .showcase__row,
  .showcase__row--flip { grid-template-columns: 1fr; gap: 32px; }
  .showcase__row--flip .showcase__copy { order: 1; }
  .showcase__row--flip .showcase__media { order: 2; }
  .audience { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 960px) {
  /* scene sits behind copy on small screens — keep it atmospheric */
  .hero__canvas { opacity: 0.4; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero { padding: 64px var(--gutter) 80px; min-height: auto; }
  .section { padding: 64px var(--gutter); }
  .section--tight { padding: 40px var(--gutter); }
  .cta-strip, .tagline-block { padding: 64px var(--gutter); }
  .site-header__inner { padding: 12px var(--gutter); gap: 14px; }
  .lockup img, .lockup svg { height: 22px; }
  .site-footer { padding: 56px var(--gutter) 32px; }
  .site-footer__nav { grid-template-columns: 1fr; }
  .pricing-card__price { font-size: 44px; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step__num { font-size: 32px; }
  .hero__coords { display: none; }
}

/* ─── reduced motion: kill all decorative animation ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-line { opacity: 1; transform: none; }
  .h-mask > span { transform: none; animation: none; }
  .marquee__track { animation: none; }
  .scroll-cue { display: none; }
  .tilt { transform: none; }
}
