/* ============================================================
   UPGRADE YOUR BUSINESS — shared stylesheet
   Palette: "Warm Paper" — ivory / warm ink / burnt ochre
   ============================================================ */

/* ---------- Fonts (self-hosted, no CDN) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --bg: #F5F1E8;
  --bg-raised: #FCF9F2;
  --ink: #211C15;
  --ink-soft: #5F584B;
  --accent: #A04A0C;
  --accent-deep: #6E3407;
  --line: #E0D7C4;

  /* warm shadows — never neutral gray on paper */
  --shadow-1: 0 1px 1px rgba(52, 40, 22, 0.04), 0 3px 10px rgba(52, 40, 22, 0.05);
  --shadow-2: 0 2px 3px rgba(52, 40, 22, 0.05), 0 14px 36px rgba(52, 40, 22, 0.08);
  --shadow-3: 0 3px 6px rgba(52, 40, 22, 0.06), 0 32px 72px rgba(52, 40, 22, 0.12);

  /* type scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.17rem + 0.4vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.42rem + 0.9vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --step-4: clamp(2.8rem, 2rem + 4vw, 5.6rem);

  /* spacing */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 3.25rem;
  --s-6: 5.5rem;

  --radius: 6px;
  --radius-lg: 14px;
  --container: 68rem;

  /* motion tokens (fed to gsap.defaults in main.js) */
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-tap: 160ms;
  --dur-hover: 220ms;

  /* depth system — one shared space */
  --perspective: 1200px;
  --z-near: 60px;
  --z-mid: 30px;
  --z-far: -40px;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: clip; /* NOT overflow:hidden — that would eat sticky/pins */
  -webkit-font-smoothing: antialiased;
}

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

h1, h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: calc(var(--step-4) * 1.08); }
h2 { font-size: var(--step-3); }
h3 {
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { max-width: 62ch; }

a { color: var(--accent-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
p a, .site-footer a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  p a:hover, .site-footer a:hover { background-size: 0% 1px; background-position: 100% 100%; }
}

::selection { background: var(--accent); color: var(--bg-raised); }

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

.container {
  width: min(var(--container), 100% - 2 * var(--s-3));
  margin-inline: auto;
}

.section { padding-block: var(--s-6); }

.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: var(--s-3);
}
.eyebrow::before { content: "\2014\00a0"; color: var(--line); }

.lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: var(--s-3);
  max-width: 56ch;
}

.serif-line {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
  letter-spacing: 0;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}
.brand {
  font-weight: 900;
  font-size: var(--step-0);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}
.nav { display: flex; gap: var(--s-3); align-items: center; }
.nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
  padding-block: 0.2rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--dur-hover) var(--ease-out-strong);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: scaleX(1); transform-origin: left center; }
}
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--line); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover { color: var(--accent-deep); }

.nav-toggle { display: none; }

@media (max-width: 40rem) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    color: var(--ink);
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    padding: var(--s-3);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: var(--s-1) 0; font-size: var(--step-0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--bg-raised);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-hover) ease, color var(--dur-hover) ease,
              border-color var(--dur-hover) ease;
  will-change: transform;
}
.btn:hover { background: var(--accent-deep); color: var(--bg-raised); }
.btn:active { transform: scale(0.97); transition-duration: var(--dur-tap); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent-deep); color: var(--accent-deep); background: transparent; }

/* ---------- Hero (depth stage) ---------- */
.hero {
  position: relative;
  min-height: 88vh;   /* fallback first */
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: clip;
}
.hero-copy { position: relative; z-index: 2; max-width: 38rem; }
.hero-copy .lede { margin-bottom: var(--s-3); }
.hero-ctas { display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: var(--s-3);
}
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-hover) ease, border-color var(--dur-hover) ease;
}
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }
.card .price {
  display: block;
  margin-top: var(--s-3);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: calc(var(--step-1) * 1.12);
  color: var(--ink);
}
.card .price small { font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }

.card { will-change: transform; transition: box-shadow var(--dur-hover) ease, border-color var(--dur-hover) ease, translate var(--dur-hover) var(--ease-out-strong); }
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    box-shadow: var(--shadow-2);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    translate: 0 -3px;
  }
}

/* ---------- Pinned process (3-beat scrub) ---------- */
.process { position: relative; }
.process-pin {
  min-height: 100vh;   /* fallback first */
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.process-track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s-5); align-items: center; }
.process-beats { position: relative; min-height: 16rem; }
.process-beat {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: transform, opacity;
}
.process-beat:first-child { opacity: 1; }
.process-beat .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: var(--step-1);
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  line-height: 1;
}
.process-beat h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: var(--step-2);
  letter-spacing: -0.012em;
  margin: var(--s-2) 0;
}
.process-beat p { color: var(--ink-soft); }
.process-visual {
  perspective: var(--perspective);
  display: grid;
  place-items: center;
}
.process-sheet {
  width: min(100%, 26rem);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  will-change: transform;
  overflow: clip;
}
.process-sheet img { width: 100%; height: 100%; object-fit: cover; }
.process-progress {
  position: absolute;
  left: 0; bottom: 12%;
  height: 2px;
  width: 100%;
  background: var(--line);
}
.process-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
@media (max-width: 56rem) {
  .process-track { grid-template-columns: 1fr; gap: var(--s-4); }
  .process-visual { order: -1; }
  .process-sheet { aspect-ratio: 16 / 9; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-3);
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
}
.stat b {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: var(--step-3);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.stat span {
  color: var(--ink-soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto blockquote {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: calc(var(--step-3) * 1.1);
  line-height: 1.18;
  color: var(--ink);
  max-width: 22ch;
  margin-inline: auto;
}
.manifesto blockquote strong { color: var(--accent-deep); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(172deg, #2A241B 0%, #211C15 100%);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  text-align: center;
  box-shadow: var(--shadow-3);
}
.cta-band h2 { color: var(--bg-raised); }
.cta-band p { color: color-mix(in srgb, var(--bg) 70%, transparent); margin: var(--s-2) auto var(--s-4); }
.cta-band .btn { background: var(--accent); }
.cta-band .btn:hover { background: var(--bg-raised); color: var(--ink); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--s-3); max-width: 34rem; margin-top: var(--s-4); }
.field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7em 0.9em;
  transition: border-color var(--dur-hover) ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-deep);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--s-4);
  padding-block: var(--s-4);
  color: var(--ink-soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent-deep); }

/* ---------- Reveal helpers (JS sets initial state; CSS stays visible without JS) ---------- */
.reveal { will-change: transform, opacity; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: var(--s-5) var(--s-4); border-bottom: 1px solid var(--line); }
.page-head p { margin-top: var(--s-2); color: var(--ink-soft); font-size: var(--step-1); }

/* ---------- Values list (about) ---------- */
.values { counter-reset: v; margin-top: var(--s-4); display: grid; gap: 0; }
.value {
  counter-increment: v;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--s-3);
  padding-block: var(--s-3);
  border-top: 1px solid var(--line);
}
.value::before {
  content: "0" counter(v);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  padding-top: 0.35rem;
}
.value h3 { margin-bottom: var(--s-1); }
.value p { color: var(--ink-soft); }

/* ---------- Reduced motion: final states, no motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .process-beat { position: static; opacity: 1 !important; margin-bottom: var(--s-4); }
  .process-beats { min-height: 0; }
  .process-pin { min-height: 0; padding-block: var(--s-5); }
  .process-progress { display: none; }
}

/* ============================================================
   v2 ADDITIONS — motion-maximal build
   ============================================================ */

/* ---------- Pinned hero product showcase ---------- */
.hero--showcase {
  min-height: 100vh;
  min-height: 100svh;
  display: block;
  overflow: visible; /* pin needs no clipping ancestor */
}
.hero-pin {
  position: relative; /* anchors the closing layer inside the pin */
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding-bottom: 4rem; /* clears the scroll hint */
}

.hero-outro {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: var(--s-1);
  pointer-events: none;
  opacity: 0; /* revealed only by the scrub's closing beat */
  will-change: transform, opacity;
}
.hero-outro-line {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 18ch;
}
.hero-outro-line em { font-style: italic; color: var(--accent-deep); }

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  perspective: 1100px;
}
.foot-plate {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-2) var(--s-3);
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 0.3rem;
  transform-style: preserve-3d;
  will-change: transform;
}
.foot-plate .k {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}
.foot-plate b { font-weight: 700; font-size: var(--step-0); letter-spacing: -0.015em; }
.foot-plate > span:last-child { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 56rem) {
  .hero-foot { grid-template-columns: 1fr; gap: var(--s-1); }
  .foot-plate > span:last-child { display: none; } /* keep the stack short on phones */
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-5);
  align-items: center;
}
@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* the 3D product */
.product-stage {
  perspective: var(--perspective);
  display: grid;
  place-items: center;
  min-height: 46vh;
}
.product {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 4 / 3;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(168deg, rgba(255, 253, 246, 0.9) 0%, rgba(255, 253, 246, 0) 34%),
    var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  backface-visibility: hidden;
  overflow: clip;
  display: grid;
}
.product-face--back {
  transform: rotateY(180deg) translateZ(14px);
  background:
    linear-gradient(168deg, rgba(255, 244, 224, 0.06) 0%, rgba(255, 244, 224, 0) 40%),
    #262019;
  color: var(--bg);
}
.product-face--front { transform: translateZ(14px); }
.product-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 28px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg-raised) 78%, var(--ink)) 0%,
    color-mix(in srgb, var(--bg-raised) 64%, var(--ink)) 100%);
  border: 1px solid color-mix(in srgb, var(--line) 70%, var(--ink));
}
.product-edge--l { left: 0; transform: rotateY(-90deg) translateZ(14px); transform-origin: left center; }
.product-edge--r { right: 0; transform: rotateY(90deg) translateZ(14px); transform-origin: right center; }

/* front face: browser mock */
.mock-chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  align-self: start;
}
.mock-chrome i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.mock-chrome i:first-child { background: var(--accent); }
.mock-body { padding: 1.2rem; display: grid; gap: 0.7rem; align-content: start; }
.mock-h { height: 18px; width: 65%; border-radius: 9px; background: var(--ink); opacity: 0.88; }
.mock-l { height: 9px; border-radius: 5px; background: var(--ink-soft); opacity: 0.35; }
.mock-l.short { width: 70%; }
.mock-btn { height: 32px; width: 110px; border-radius: 16px; background: var(--accent); margin-top: 0.4rem; }

/* back face: code mock */
.code-body { padding: 1.4rem; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.7rem; line-height: 2; color: #D9CFBC; align-content: start; display: grid; }
.code-body b { color: #D98A4A; font-weight: 400; }
.code-body i { color: #857B69; font-style: normal; }

/* floating spec chips at depth */
.chip {
  position: absolute;
  padding: 0.5em 1em;
  border-radius: 999px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-1);
  will-change: transform;
  white-space: nowrap;
}
.chip--1 { top: 4%; left: -6%; transform: translateZ(90px); border-color: var(--accent); color: var(--accent-deep); }
.chip--2 { bottom: 10%; right: -8%; transform: translateZ(60px); }
.chip--3 { top: 42%; right: -14%; transform: translateZ(120px); }

/* rotating captions under the product */
.product-captions { position: relative; min-height: 2.2rem; margin-top: var(--s-3); text-align: center; }
.product-caption {
  position: absolute;
  inset: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
}
.product-caption:first-child { opacity: 1; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- Spiral flashcard helix ---------- */
.spiral { position: relative; }
.spiral-pin {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: var(--s-3);
  overflow: visible;
}
.spiral-head { text-align: center; }
.helix-stage {
  perspective: 1400px;
  display: grid;
  place-items: center;
  min-height: 46vh;
  min-height: 46svh;
}
.helix {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  width: 1px; height: 1px; /* pure anchor; cards position around it */
}
.helix-card {
  position: absolute;
  top: 50%; left: 50%;
  width: 13rem;
  margin: -4.5rem 0 0 -6.5rem;
  height: 9rem;
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1rem;
  backface-visibility: hidden;
  will-change: transform;
}
.helix-card b { font-size: var(--step-0); font-weight: 700; letter-spacing: -0.015em; }
.helix-card span { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.45; }
.helix-card .k {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}

@media (max-width: 40rem) {
  .helix-card { width: 10.5rem; margin-left: -5.25rem; height: 8rem; }
}

/* ---------- Reduced motion overrides for v2 sections ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-pin, .spiral-pin { min-height: 0; padding-block: var(--s-5); }
  .hero-outro { position: static; opacity: 1; transform: none !important; margin-top: var(--s-4); }
  .product { transform: none !important; }
  .product-face--back, .product-edge { display: none; }
  .product-caption { position: static; opacity: 1; }
  .helix-stage { perspective: none; min-height: 0; }
  .helix {
    width: 100%; height: auto;
    transform: none !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: var(--s-2);
  }
  .helix-card { position: static; margin: 0; transform: none !important; width: auto; height: auto; min-height: 7rem; }
  .scroll-hint { display: none; }
}

/* optional-field hint on form labels */
.field label .opt {
  font-weight: 400;
  color: var(--ink-soft);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
