/* Encra v2 — ivory base, near-black stages, ruby accent, Satoshi. Tokens: website/plan/ENCRA-DESIGN-SYSTEM.md */
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("./fonts/satoshi/Satoshi-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("./fonts/satoshi/Satoshi-VariableItalic.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ivory: #faf8f5;
  --ivory-2: #f3f0ea;
  --ink: #111111;
  --ink-2: #181818;
  --graphite: #2a2a2a;
  --muted: #6f6a63;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.32);
  --ruby: #e11d48;
  --ruby-soft: #ec486b;
  --ruby-tint: #fad4dc;
  --stage-text: #faf8f5;
  --stage-muted: #b8b3ac;
  --stage-line: rgba(250, 248, 245, 0.14);
  --shadow: 0 24px 48px rgba(17, 17, 17, 0.18);
  --shadow-soft: 0 10px 24px rgba(17, 17, 17, 0.12);
  --max: 1400px;
  --pad: clamp(1rem, 3vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ivory); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--graphite);
  font-family: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration-thickness: 0.06em; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--ruby); }
:focus-visible { outline: 3px solid var(--ruby); outline-offset: 3px; }
::selection { background: var(--ruby); color: var(--ivory); }
h1, h2, h3 { color: var(--ink); }
.stage h1, .stage h2, .stage h3 { color: var(--stage-text); }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--ivory);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell { width: min(100%, var(--max)); margin-inline: auto; border-inline: 1px solid var(--line); }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-inline: var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex; min-height: 2.75rem; align-items: baseline; gap: 0.35rem;
  color: var(--ink); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  text-decoration: none;
}
.brand .leaf { width: 0.42em; height: 0.42em; flex: none; transform: translateY(-0.02em); }
.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.75rem); font-size: 0.9rem; font-weight: 500; }
.site-nav a { position: relative; display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--ink); text-decoration: none; }
.site-nav a:not(.button)::after {
  position: absolute; right: 0; bottom: 0.55rem; left: 0; height: 2px; background: var(--ruby); content: "";
  transform: scaleX(0); transform-origin: right; transition: transform 160ms ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-button {
  display: none; min-width: 2.75rem; min-height: 2.75rem;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
}
.menu-button span { display: block; width: 1.15rem; height: 2px; margin: 0.25rem auto; background: currentColor; }

/* ---------- buttons and type */
.button {
  display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.8rem 1.2rem; border: 1px solid var(--ruby); background: var(--ruby); color: var(--ivory);
  font-size: 0.9rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 150ms ease;
}
.button span { transition: transform 150ms ease; }
.button:hover { background: #c81640; border-color: #c81640; }
.button:hover span { transform: translateX(0.2rem); }
.button:active { transform: translateY(1px); }
.button--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.button--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.stage .button { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.stage .button:hover { background: #ffffff; border-color: #ffffff; }
.stage .button--ghost { background: transparent; color: var(--ivory); }
.stage .button--ghost:hover { background: var(--ivory); color: var(--ink); }
.button:disabled { border-color: var(--line); background: var(--ivory-2); color: var(--muted); cursor: not-allowed; }

.eyebrow { margin: 0; color: var(--ruby); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.stage .eyebrow { color: var(--ruby-soft); }
.display, .page-title, .section-title { margin: 0; font-weight: 500; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.display { max-width: 12ch; font-size: clamp(2.75rem, 6.2vw, 5.4rem); }
.page-title { max-width: 14ch; font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
.section-title { max-width: 16ch; font-size: clamp(2rem, 3.6vw, 3.3rem); letter-spacing: -0.03em; }
.accent { color: var(--ruby); }
.stage .accent { color: var(--ruby-soft); }
.lede { max-width: min(36rem, 100%); margin: 1.5rem 0 0; color: var(--graphite); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; }
.stage .lede { color: var(--stage-text); }
.body-copy { max-width: 44rem; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.stage .body-copy { color: var(--stage-muted); }
.body-copy strong { color: var(--ink); font-weight: 600; }
.stage .body-copy strong { color: var(--stage-text); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.micro-note { margin: 1.1rem 0 0; color: var(--muted); font-size: 0.82rem; }
.motif { margin: 0 0 0.6rem; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.motif .accent { color: var(--ruby); }

/* ---------- sections and stages */
.section { border-bottom: 1px solid var(--line); }
.stage { background: var(--ink); color: var(--stage-text); border-color: var(--stage-line); }
.stage .section, .stage.section { border-bottom-color: var(--stage-line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; padding: var(--section) var(--pad) clamp(2rem, 4vw, 3.5rem); }
.section-head .body-copy { justify-self: end; }

/* ---------- reveal (enter animation) */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- hero with the stage block */
.hero { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; min-height: 38rem; flex-direction: column; align-items: stretch; justify-content: center; padding: clamp(3.5rem, 7vw, 6.5rem) var(--pad) 3.5rem; }
.hero-copy .eyebrow, .page-hero .eyebrow { margin-bottom: 1.4rem; }
.hero-stage { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3rem) var(--pad); border-left: 1px solid var(--line); background: var(--ivory-2); }
.stage-block { position: relative; width: 100%; aspect-ratio: 4 / 3.1; perspective: 1400px; }
.stage-group { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.plinth { position: absolute; left: 4%; right: 4%; bottom: 0; height: 12%; background: var(--ink); transform: translateZ(-90px); }
.layer { position: absolute; margin: 0; box-shadow: var(--shadow); background: #fff; will-change: transform; transition: box-shadow 180ms ease; }
.layer img { width: 100%; height: auto; }
.layer-a { left: 5%; top: 3%; width: 46%; --base: translateZ(-30px) rotateY(12deg) rotateX(5deg); }
.layer-b { right: 4%; top: 9%; width: 38%; --base: translateZ(-10px) rotateY(-11deg) rotateX(4deg); }
.layer-c { left: 2%; bottom: 11%; width: 23%; --base: translateZ(40px) rotateY(9deg) rotateX(2deg); }
.layer-d { right: 6%; bottom: 7%; width: 44%; --base: translateZ(60px) rotateY(-7deg) rotateX(3deg); }
.layer { transform: var(--base); }
.stage-leaf { position: absolute; top: 3%; right: 4%; width: 2.2rem; }
.stage-phone { display: none; }
.hero-stage .figure-note { display: inline-block; margin-top: 1.1rem; padding: 0.5rem 0.75rem; background: rgba(250, 248, 245, 0.85); }

/* ---------- strips and grids */
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.proof-item { display: flex; min-height: 7rem; flex-direction: column; justify-content: center; padding: 1.25rem var(--pad); border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { color: var(--ink); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: -0.02em; }
.proof-item span { margin-top: 0.35rem; color: var(--muted); font-size: 0.82rem; }
.proof-item .num { color: var(--ruby); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 0.5rem; }

.parts-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.part { display: flex; flex-direction: column; min-height: 20rem; padding: 1.75rem var(--pad) 2rem; border-right: 1px solid var(--line); }
.part:last-child { border-right: 0; }
.part .number { margin: 1.2rem 0 0.6rem; color: var(--ink); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 300; letter-spacing: -0.06em; line-height: 1; }
.part h3 { margin: 0; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.part p { max-width: 24rem; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }
.part-art { margin: 1.4rem 0 0; perspective: 900px; }
.part-art img, .part-art .mockup-grid { transition: transform 160ms ease; box-shadow: var(--shadow-soft); }
.part-art:hover img, .part-art:hover .mockup-grid { transform: rotateY(var(--ty, 0deg)) rotateX(var(--tx, 0deg)); }

.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > * { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.split > * + * { border-left: 1px solid var(--line); }
.split-art { display: flex; flex-direction: column; justify-content: center; background: var(--ivory-2); }
.split h2 { max-width: 14ch; margin: 0.6rem 0 0; font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }

.check-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 0.85rem 0 0.85rem 1.7rem; border-bottom: 1px solid var(--line); color: var(--graphite); }
.check-list li::before { position: absolute; left: 0; color: var(--ruby); content: "→"; font-weight: 700; }
.check-list strong { color: var(--ink); font-weight: 600; }
.stage .check-list li { color: var(--stage-text); border-bottom-color: var(--stage-line); }
.stage .check-list strong { color: var(--stage-text); }

.figure { margin: 0; }
.figure-note { max-width: 36rem; margin: 0.8rem 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; letter-spacing: 0.01em; }
.stage .figure-note { color: var(--stage-muted); }

.mockup-grid { display: grid; width: min(100%, 36rem); grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mockup-grid--3 { grid-template-columns: repeat(3, 1fr); width: 100%; }
.mockup-grid--5 { grid-template-columns: repeat(5, 1fr); width: 100%; }
.mockup-grid figure { margin: 0; padding: 0.8rem 0.8rem 0.9rem; background: var(--ivory); }
.mockup-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mockup-grid figcaption { margin-top: 0.55rem; color: var(--ink); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mockup-grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.split-art .figure-note { width: min(100%, 36rem); }

/* reviewer questions */
.reviewer-qs { margin: 0 0 1.25rem; padding: 0; list-style: none; display: grid; gap: 0.4rem; width: min(100%, 36rem); }
.reviewer-qs li { padding: 0.55rem 0.8rem; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font-size: 0.86rem; }

/* ---------- the page turn (scroll-pinned) */
.turn { position: relative; height: 300vh; }
.turn-sticky { position: sticky; top: 0; display: grid; height: 100vh; grid-template-columns: 0.85fr 1.15fr; overflow: hidden; }
.turn-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 4rem) var(--pad); }
.turn-copy h2 { margin: 0.6rem 0 0; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.turn-caps { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.turn-caps li { display: flex; gap: 0.8rem; align-items: baseline; color: var(--stage-muted); font-size: 0.95rem; transition: color 300ms ease; }
.turn-caps li .n { color: var(--stage-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; }
.turn-caps li.is-active { color: var(--stage-text); }
.turn-caps li.is-active .n { color: var(--ruby-soft); }
.turn-stack { position: relative; perspective: 1500px; }
.turn-page { position: absolute; left: 14%; top: 7%; width: 54%; margin: 0; box-shadow: var(--shadow); background: #fff; transform-origin: left center; will-change: transform, opacity; }
.turn-page img { width: 100%; height: auto; }
.turn .figure-note { margin-top: 1.6rem; }

/* ---------- steps rail */
.steps { padding: var(--section) var(--pad); }
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.step { padding: 1.4rem 1.2rem 1.6rem; background: var(--ivory); }
.step-num { display: block; color: var(--ivory); -webkit-text-stroke: 1px var(--ink); font-size: 2.6rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; transition: color 300ms ease; }
.step.is-active .step-num { color: var(--ruby); -webkit-text-stroke: 0; }
.step h3 { margin: 0.9rem 0 0.4rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

/* ---------- pricing teaser, FAQ, CTA band */
.free-kit { display: grid; grid-template-columns: 1.1fr 0.9fr; border-bottom: 1px solid var(--line); }
.free-kit > * { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.free-kit > * + * { border-left: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: 0.7fr 1.3fr; }
.faq-heading, .faq-list { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.faq-heading { border-right: 1px solid var(--line); }
.faq-heading .sticky { position: sticky; top: 6rem; }
.faq-list { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.faq details { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { min-height: 2.5rem; padding-right: 2rem; color: var(--ink); font-size: 1.05rem; font-weight: 500; cursor: pointer; }
.faq details p { max-width: 44rem; margin: 0.6rem 0 0; color: var(--muted); line-height: 1.65; }
.cta-band { display: grid; min-height: 16rem; grid-template-columns: 1.35fr 0.65fr; }
.cta-band-copy { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.cta-band-action { position: relative; display: grid; overflow: hidden; place-items: center; padding: 2rem; border-left: 1px solid var(--stage-line); background: var(--ink-2); }
.cta-band-action::before { position: absolute; right: -0.06em; bottom: -0.34em; color: var(--ruby); content: "→"; font-size: clamp(10rem, 18vw, 16rem); font-weight: 500; line-height: 1; opacity: 0.95; transform: translateX(20px); transition: transform 400ms var(--ease); }
.cta-band.in .cta-band-action::before { transform: none; }
.cta-band-action .button { position: relative; z-index: 2; }

/* ---------- page hero, plans, contact, prose, examples */
.page-hero { position: relative; min-height: 22rem; overflow: hidden; padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero .lede { max-width: 42rem; }
.page-hero .big-leaf { position: absolute; right: -2%; bottom: -14%; width: clamp(10rem, 22vw, 20rem); opacity: 0.95; pointer-events: none; }
.page-hero > *:not(.big-leaf) { position: relative; z-index: 2; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.plan { position: relative; display: flex; min-height: 30rem; flex-direction: column; padding: 2.4rem var(--pad) 2rem; border-right: 1px solid var(--line); transition: transform 180ms ease, box-shadow 180ms ease; }
.plan:last-child { border-right: 0; }
.plan--featured { background: var(--ivory-2); }
.plan--featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.plan-tag { position: absolute; top: 0; right: 0; left: 0; padding: 0.45rem var(--pad); background: var(--ruby); color: var(--ivory); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.plan h3 { margin: 0.8rem 0 0; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.price { margin: 0.8rem 0 0.2rem; color: var(--ink); font-size: clamp(2.8rem, 4.5vw, 3.8rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.plan-credits { margin: 0 0 1.5rem; color: var(--graphite); font-size: 1.05rem; }
.plan-credits strong { color: var(--ink); font-weight: 600; }
.plan ul { margin: 0 0 1.75rem; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; }
.plan li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.plan .button { margin-top: auto; }
.plan-status { min-height: 2.4rem; margin: 0.8rem 0 0; color: var(--muted); font-size: 0.76rem; }

.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.contact-copy, .contact-form-wrap { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.contact-copy { border-right: 1px solid var(--line); }
.contact-fallback { margin-top: 2.5rem; }
.fallback-links { margin: 0.5rem 0 0; font-size: 1.05rem; }
.intake-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { color: var(--ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.field .optional { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.8rem; border: 1px solid var(--line-strong); border-radius: 0; background: #fff; color: var(--ink); }
.field input:disabled, .field select:disabled { color: var(--muted); border-color: var(--line); background: var(--ivory-2); }
.field--honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 2.5rem; margin: 0; padding: 0.75rem; background: var(--ivory-2); color: var(--graphite); font-size: 0.82rem; }
.form-privacy { margin: 0; color: var(--muted); font-size: 0.76rem; }

.prose { display: grid; grid-template-columns: 0.6fr 1.4fr; }
.prose-nav, .prose-copy { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.prose-nav { border-right: 1px solid var(--line); }
.prose-nav ol { margin: 1.2rem 0 0; padding-left: 1.2rem; color: var(--graphite); }
.prose-copy section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.prose-copy h2 { margin: 0 0 0.6rem; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; }
.prose-copy p, .prose-copy li { max-width: 44rem; color: var(--muted); line-height: 1.7; }

.walk { display: grid; grid-template-columns: 1.1fr 0.9fr; border-bottom: 1px solid var(--stage-line); }
.walk-art { position: relative; padding: clamp(2rem, 4vw, 3.5rem) var(--pad); }
.walk-art .figure { position: relative; width: min(100%, 34rem); margin-inline: auto; box-shadow: var(--shadow); }
.walk-art .hl { position: absolute; border: 2px solid var(--ruby-soft); pointer-events: none; opacity: 0; transition: opacity 160ms ease; }
.walk-art .hl.on { opacity: 1; }
.walk-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3.5rem) var(--pad); border-left: 1px solid var(--stage-line); }
.walk-copy h2 { margin: 0.5rem 0 0; font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.callouts { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.callouts li { display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.7rem; padding: 0.55rem 0.6rem; border: 1px solid transparent; color: var(--stage-muted); font-size: 0.92rem; line-height: 1.45; cursor: default; transition: border-color 160ms ease, color 160ms ease; }
.callouts li:hover, .callouts li:focus-within { border-color: var(--stage-line); color: var(--stage-text); }
.callouts .dot { display: inline-grid; width: 1.7rem; height: 1.7rem; place-items: center; background: var(--ruby); color: var(--ivory); font-size: 0.7rem; font-weight: 700; }
.callouts strong { color: var(--stage-text); font-weight: 600; }
.provenance { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.provenance table { width: min(100%, 48rem); margin-top: 1.5rem; border-collapse: collapse; font-size: 0.9rem; }
.provenance th, .provenance td { padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.provenance th { width: 12rem; color: var(--ink); font-weight: 600; }
.provenance td { color: var(--muted); }
dialog.lightbox { width: min(92vw, 60rem); max-height: 92vh; padding: 0; border: 0; background: var(--ivory); box-shadow: var(--shadow); }
dialog.lightbox::backdrop { background: rgba(17, 17, 17, 0.75); }
dialog.lightbox img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
dialog.lightbox form { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 1rem; }
dialog.lightbox p { margin: 0; color: var(--muted); font-size: 0.82rem; }
dialog.lightbox button { min-height: 2.4rem; padding: 0.4rem 0.9rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }

.error-page { position: relative; display: grid; min-height: calc(100svh - 4.5rem); overflow: hidden; place-items: center start; padding: var(--pad); }

/* ---------- how it works: the rail */
.rail { display: grid; grid-template-columns: 0.22fr 0.78fr; }
.rail-nums { position: sticky; top: 5.5rem; align-self: start; display: grid; gap: 0.2rem; padding: 2.5rem var(--pad); }
.rail-nums a { display: block; color: var(--ivory); -webkit-text-stroke: 1px var(--ink); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; text-decoration: none; transition: color 300ms ease; }
.rail-nums a.is-active { color: var(--ruby); -webkit-text-stroke: 0; }
.rail-steps { border-left: 1px solid var(--line); }
.rail-step { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) var(--pad); border-bottom: 1px solid var(--line); }
.rail-step:last-child { border-bottom: 0; }
.rail-step h2 { margin: 0.4rem 0 0.8rem; font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.rail-step p { color: var(--muted); line-height: 1.6; max-width: 32rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1.4rem; background: var(--line); border: 1px solid var(--line); }
.pair div { padding: 0.9rem 1rem; background: var(--ivory); }
.pair .eyebrow { margin-bottom: 0.4rem; }
.pair p { margin: 0; color: var(--graphite); font-size: 0.9rem; line-height: 1.5; }
.proof { display: flex; flex-direction: column; justify-content: center; }
.fan { position: relative; height: 22rem; perspective: 1200px; }
.fan img { position: absolute; left: 0; top: 0; width: 46%; box-shadow: var(--shadow); transform-origin: bottom left; }
.fan img:nth-child(1) { transform: rotateY(-10deg) rotateZ(-6deg); }
.fan img:nth-child(2) { left: 14%; transform: rotateY(-6deg) rotateZ(-2deg); }
.fan img:nth-child(3) { left: 28%; transform: rotateY(-2deg) rotateZ(2deg); }
.fan img:nth-child(4) { left: 42%; transform: rotateY(2deg) rotateZ(6deg); }
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
.download { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad); }
@media (max-width: 900px) {
  .rail { grid-template-columns: 1fr; }
  .rail-nums { display: none; }
  .rail-steps { border-left: 0; }
  .rail-step, .honest, .download { grid-template-columns: 1fr; }
  .fan { height: 16rem; }
}

/* ---------- footer */
.site-footer { display: grid; grid-template-columns: 1.2fr auto auto; gap: 1.5rem 2.5rem; align-items: center; min-height: 6rem; padding: 1.75rem var(--pad); color: var(--muted); font-size: 0.82rem; }
.footer-brand { display: grid; gap: 0.25rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.site-footer nav a { display: inline-flex; min-height: 2.5rem; align-items: center; color: var(--graphite); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- responsive */
@media (max-width: 1040px) {
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .walk { grid-template-columns: 1fr; }
  .walk-copy { border-left: 0; border-top: 1px solid var(--stage-line); }
  .mockup-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .site-header { min-height: 4.25rem; }
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 4.25rem 0 auto; display: none; max-height: calc(100svh - 4.25rem); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; border-bottom: 1px solid var(--line-strong); background: var(--ivory); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { min-height: 3.5rem; justify-content: space-between; padding-inline: var(--pad); border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .button { margin: 1rem var(--pad); justify-content: center; }
  .hero, .section-head, .split, .free-kit, .cta-band, .faq, .contact, .prose { grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; padding-bottom: 2.5rem; }
  .hero-stage { border-left: 0; border-top: 1px solid var(--line); padding-block: 2rem; }
  .stage-block { display: none; }
  .stage-phone { display: block; width: 100%; height: auto; box-shadow: var(--shadow-soft); }
  .section-head .body-copy { justify-self: start; }
  .parts-grid, .plans { grid-template-columns: 1fr; }
  .part, .plan { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .part:last-child, .plan:last-child { border-bottom: 0; }
  .split > * + *, .free-kit > * + *, .cta-band-action, .faq-list, .contact-form-wrap, .prose-copy { border-top: 1px solid var(--line); border-left: 0; }
  .faq-heading, .contact-copy, .prose-nav { border-right: 0; }
  .faq-heading .sticky { position: static; }
  .cta-band-action { min-height: 12rem; }
  .contact { display: flex; flex-direction: column-reverse; }
  .turn { height: auto; }
  .turn-sticky { position: static; display: block; height: auto; overflow: visible; }
  .turn-stack { display: flex; gap: 1rem; padding: 0 var(--pad) 2rem; overflow-x: auto; scroll-snap-type: x mandatory; perspective: none; -webkit-overflow-scrolling: touch; }
  .turn-page { position: static; flex: none; width: 76%; scroll-snap-align: center; transform: none !important; opacity: 1 !important; }
  .turn-caps { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-num { color: var(--ruby); -webkit-text-stroke: 0; }
}
@media (max-width: 680px) {
  .site-shell { border-inline: 0; }
  .display, .page-title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-item, .proof-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .mockup-grid--3, .mockup-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .layer { transform: var(--base) !important; }
  .turn { height: auto; }
  .turn-sticky { position: static; display: grid; height: auto; }
  .turn-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1rem var(--pad); perspective: none; }
  .turn-page { position: static; width: auto; transform: none !important; opacity: 1 !important; }
}
