/* ============================================================================
   PULSE 3 : the shared design system for pulseai.studio
   Extracted from the "film" homepage candidate and raised to a full system.

   Language   cinematic photography with baked-in grades (overlay gradients, never a CSS
              filter on a large image), paper base, ink sections, one deep green block,
              one ember signal colour, Geist + Geist Mono, Newsreader italic on one word.
   Radius     pills for buttons and chips, 16px surfaces, 8px inner rows, 24px stages.
   Motion     transform / opacity / clip-path only. Custom curves only. Reduced motion = a
              complete static page.
   Grid       12 columns, 24px gutter, side margins clamp(20px, 5vw, 96px), content 1520px.
   ============================================================================ */

@font-face { font-family: "Geist"; src: url("/website/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/website/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- 1. tokens ---------- */
:root {
  /* colour */
  --paper: #F4F1EA; --paper-2: #EAE5DA; --cream: #F7EFDF;
  --ink: #15130F; --ink-2: #3A3630; --ink-3: #1F1B16; --ink-0: #0B0907;
  --mute: #7A756B; --line: rgba(21, 19, 15, .12); --line-light: rgba(247, 239, 223, .12);
  --signal: #F2531B; --signal-2: #FF7A45; --signal-text: #C6400F;
  --green: #0E3B2C; --green-2: #16513C;
  --cream-70: rgba(247, 239, 223, .7); --cream-55: rgba(247, 239, 223, .55);
  /* type */
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --t-display: clamp(56px, 7.4vw, 112px);
  --t-h1: clamp(48px, 5.8vw, 84px);
  --t-h2: clamp(34px, 3.8vw, 56px);
  --t-h2-xl: clamp(40px, 4.8vw, 68px);
  --t-h3: clamp(22px, 2vw, 28px);
  --t-lede: clamp(17px, 1.3vw, 20px);
  --t-body: 17px; --t-small: 14px; --t-label: 12px;
  /* space */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --sec: clamp(96px, 12vw, 180px); --sec-s: clamp(64px, 8vw, 120px);
  --gutter: clamp(20px, 5vw, 96px); --gap: 24px; --max: 1520px; --measure: 1320px;
  /* radius */
  --r-pill: 999px; --r-xs: 8px; --r-s: 16px; --r-m: 24px;
  /* shadow (warm) */
  --shadow-ink: 0 30px 80px -20px rgba(10, 8, 4, .55), 0 2px 0 rgba(255, 255, 255, .04) inset;
  --shadow-paper: 0 24px 60px -24px rgba(60, 40, 10, .28);
  --shadow-lift: 0 12px 30px -12px rgba(60, 40, 10, .22);
  /* easing */
  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --d: .6s; --d-slow: 1s;
  --nav-h: 76px;
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-pill); z-index: 100; }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. grid ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-m { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
/* .span-N sets the END so it combines with .start-N in any order */
.span-1 { grid-column-end: span 1; } .span-2 { grid-column-end: span 2; } .span-3 { grid-column-end: span 3; } .span-4 { grid-column-end: span 4; } .span-5 { grid-column-end: span 5; } .span-6 { grid-column-end: span 6; } .span-7 { grid-column-end: span 7; } .span-8 { grid-column-end: span 8; } .span-9 { grid-column-end: span 9; } .span-10 { grid-column-end: span 10; } .span-11 { grid-column-end: span 11; } .span-12 { grid-column-end: span 12; }
.start-2 { grid-column-start: 2; } .start-3 { grid-column-start: 3; } .start-4 { grid-column-start: 4; } .start-5 { grid-column-start: 5; } .start-6 { grid-column-start: 6; } .start-7 { grid-column-start: 7; } .start-8 { grid-column-start: 8; }
.grid > * { min-width: 0; }
.stack { display: grid; gap: var(--s3); align-content: start; }
.stack-s { gap: var(--s2); } .stack-l { gap: var(--s4); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- 4. typography ---------- */
.display { font-size: var(--t-display); line-height: .96; letter-spacing: -.045em; font-weight: 450; }
.h1 { font-size: var(--t-h1); line-height: 1.0; letter-spacing: -.035em; font-weight: 450; max-width: 12em; text-wrap: balance; }
.h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.h2-xl { font-size: var(--t-h2-xl); letter-spacing: -.035em; }
.h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; }
.h4 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; font-weight: 500; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.body { font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.small { font-size: var(--t-small); line-height: 1.5; color: var(--mute); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label, .eyebrow { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); display: flex; gap: 12px; align-items: center; font-weight: 400; }
.eyebrow .num, .label .num { color: var(--signal); }
.serif, .h1 em, .h2 em, .display em, .statement-h em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.05em; }
.accent { color: var(--signal); }
.on-dark { color: var(--cream); }
.on-dark .lede, .on-dark .body, .lede-light, .body-light { color: rgba(247, 239, 223, .82); }
.on-dark .eyebrow, .on-dark .label, .eyebrow-light { color: var(--cream-70); }
.on-dark .small { color: var(--cream-55); }
.on-dark .h1 em, .on-dark .h2 em { color: var(--cream); }
.measure { max-width: 60ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; } .prose h3 { margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { text-decoration: underline; text-underline-offset: .18em; text-decoration-color: var(--signal); }

/* ---------- 5. buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; border: 1px solid transparent; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap; transition: transform var(--d) var(--ease-out), background-color var(--d) var(--ease-out), color var(--d) var(--ease-out), border-color var(--d) var(--ease-out), box-shadow var(--d) var(--ease-out); will-change: transform; }
.btn-arrow { display: inline-block; transition: transform var(--d) var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:hover .btn-arrow-down { transform: translateY(4px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: .15s; }
.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { background: var(--signal-2); box-shadow: 0 12px 30px -12px rgba(242, 83, 27, .6); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-paper { background: var(--cream); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.on-green .btn-paper, .section-green .btn-paper { color: var(--green); }
.btn-ghost { color: var(--cream); border-color: rgba(247, 239, 223, .35); background: rgba(21, 19, 15, .18); }
.btn-ghost:hover { border-color: rgba(247, 239, 223, .85); }
.btn-ghost-ink { color: var(--ink); border-color: rgba(21, 19, 15, .3); background: transparent; }
.btn-ghost-ink:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--ink); position: relative; }
.link-arrow span { transition: transform var(--d) var(--ease-out); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 8px; height: 1px; width: 100%; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .7s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover span { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--cream); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.on-dark .chip { border-color: rgba(247, 239, 223, .3); color: rgba(247, 239, 223, .85); }
.chip-signal { border-color: rgba(242, 83, 27, .5); color: var(--signal-text); }
.on-dark .chip-signal { color: var(--signal-2); }
.demo-tag { display: inline-flex; align-items: center; border: 1px solid rgba(247, 239, 223, .25); border-radius: var(--r-pill); padding: 2px 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 239, 223, .6); }
.demo-tag-ink { border-color: var(--line); color: var(--mute); }

/* ---------- 6. nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); padding: 14px var(--gutter); color: var(--cream); transition: color var(--d) var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(244, 241, 234, .96); opacity: 0; transition: opacity var(--d) var(--ease); z-index: -1; border-bottom: 1px solid var(--line); }
.nav.is-paper { color: var(--ink); }
.nav.is-paper::before { opacity: 1; }
/* dark scrim over ink and green sections; photo stages carry their own grade and get no scrim */
.nav.is-dark::before { opacity: 1; background: rgba(21, 19, 15, .86); border-bottom-color: rgba(247, 239, 223, .08); }
/* the brand slot: ONE include point. Swap the placeholder wordmark for /website/brand/logo.svg (paper) and
   logo-dark.svg (ink/photo) by replacing the contents of .brand-slot in nav and footer. Height is fixed at 22px. */
.brand, .nav-brand { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: inherit; }
.brand-slot { display: inline-flex; align-items: center; height: 22px; }
.brand-slot img, .brand-slot svg { height: 22px; width: auto; display: block; }
.brand-word { font-weight: 600; letter-spacing: -.035em; font-size: 22px; line-height: 1; }
.brand-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); display: inline-block; box-shadow: 0 0 0 3px rgba(242, 83, 27, .18); }
.brand-slot .on-light { display: none; } .brand-slot .on-dark-only { display: block; }
.nav.is-paper .brand-slot .on-light { display: block; } .nav.is-paper .brand-slot .on-dark-only { display: none; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links > a, .nav-group-btn { font-size: 15px; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; position: relative; opacity: .82; transition: opacity .5s var(--ease); background: none; border: 0; cursor: pointer; border-radius: var(--r-pill); }
.nav-links > a::after, .nav-group-btn::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--d) var(--ease-out); }
.nav-links > a:hover, .nav-group-btn:hover, .nav-links > a[aria-current="page"], .nav-group.is-current .nav-group-btn { opacity: 1; }
.nav-links > a:hover::after, .nav-group-btn:hover::after, .nav-links > a[aria-current="page"]::after, .nav-group.is-current .nav-group-btn::after { transform: scaleX(1); transform-origin: left; }
.nav-group { position: relative; }
.nav-group-btn svg { width: 10px; height: 10px; transition: transform var(--d) var(--ease-out); }
.nav-group.open .nav-group-btn svg { transform: rotate(180deg); }
.nav-drop { position: absolute; left: 0; top: calc(100% + 6px); min-width: 340px; display: grid; padding: 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-s); box-shadow: var(--shadow-paper); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.nav-group.open .nav-drop, .nav-group:focus-within .nav-drop { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .nav-group:hover .nav-drop { opacity: 1; transform: none; pointer-events: auto; } }
.nav-drop a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; padding: 0 12px; border-radius: var(--r-xs); font-size: 15px; white-space: nowrap; transition: background-color .3s var(--ease); }
.nav-drop a small { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .04em; }
.nav-drop a:hover { background: var(--paper-2); }
.nav-drop a[aria-current="page"] { background: var(--paper-2); }
.nav-drop-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 8px 12px 4px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-menu { display: none; appearance: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: var(--r-pill); min-height: 40px; padding: 0 16px; font-size: 14px; cursor: pointer; }
.nav-cta { background: var(--cream); color: var(--ink); min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav.is-paper .nav-cta { background: var(--ink); color: var(--paper); }
.nav.is-paper .nav-drop { box-shadow: var(--shadow-lift); }

/* ---------- 7. sections ---------- */
.section { padding: var(--sec) 0; position: relative; }
.section-s { padding: var(--sec-s) 0; }
.section-flush { padding: 0; }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper-2 { background: var(--paper-2); color: var(--ink); }
.section-cream { background: var(--cream); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-green { background: var(--green); color: var(--cream); position: relative; overflow: hidden; }
.section-green::before { content: ""; position: absolute; inset: auto -10% -30% auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(22, 81, 60, .9), rgba(14, 59, 44, 0)); pointer-events: none; }
.section-green > *, .section-ink > * { position: relative; }
.section-ink .lede, .section-green .lede, .section-ink .body, .section-green .body { color: rgba(247, 239, 223, .82); }
.section-ink .eyebrow, .section-green .eyebrow, .section-ink .label, .section-green .label { color: var(--cream-70); }
.section-ink .link-arrow, .section-green .link-arrow { color: var(--cream); }
.section-ink .chip, .section-green .chip { border-color: rgba(247, 239, 223, .3); color: rgba(247, 239, 223, .85); }
.section-ink .small, .section-green .small { color: var(--cream-55); }
.section-ink .h2 em, .section-green .h2 em { color: var(--cream); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section-ink .rule, .section-green .rule { background: var(--line-light); }

/* photo stage: full-bleed photo with a baked grade. Never a CSS filter on the image. */
.stage { position: relative; overflow: hidden; background: var(--ink-0); color: var(--cream); min-height: 70vh; display: grid; align-items: end; }
.stage-tall { min-height: 100vh; min-height: 100svh; }
.stage-photo { position: absolute; inset: 0; }  /* GPU-light: no oversized layer (Brave black tiles, 2026-09-24) */
.stage-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.stage-grade { position: absolute; inset: 0; pointer-events: none; }
.grade-night { background: linear-gradient(180deg, rgba(11, 9, 7, .55) 0%, rgba(11, 9, 7, .18) 35%, rgba(11, 9, 7, .55) 70%, rgba(11, 9, 7, .92) 100%), linear-gradient(90deg, rgba(11, 9, 7, .55) 0%, rgba(11, 9, 7, 0) 60%); }
.grade-left { background: linear-gradient(90deg, rgba(11, 9, 7, .88) 0%, rgba(11, 9, 7, .55) 40%, rgba(11, 9, 7, .1) 100%), linear-gradient(0deg, rgba(11, 9, 7, .6), transparent 40%); }
.grade-right { background: linear-gradient(270deg, rgba(11, 9, 7, .86) 0%, rgba(11, 9, 7, .6) 45%, rgba(11, 9, 7, .12) 100%), linear-gradient(0deg, rgba(11, 9, 7, .6), transparent 40%); }
.grade-bottom { background: linear-gradient(0deg, rgba(11, 9, 7, .92) 0%, rgba(11, 9, 7, .55) 40%, rgba(11, 9, 7, .15) 100%); }
.grade-warm { background: linear-gradient(0deg, rgba(11, 9, 7, .9) 0%, rgba(40, 22, 8, .45) 45%, rgba(11, 9, 7, .1) 100%), radial-gradient(60% 60% at 70% 30%, rgba(255, 170, 90, .18), transparent 70%); }
.grade-soft { background: linear-gradient(0deg, rgba(11, 9, 7, .55) 0%, rgba(11, 9, 7, .15) 60%, rgba(11, 9, 7, .25) 100%); }
.stage-sweep { position: absolute; inset: -20% -60%; background: linear-gradient(100deg, transparent 40%, rgba(255, 214, 170, .14) 50%, transparent 60%); mix-blend-mode: screen; animation: sweep 11s var(--ease-in-out) infinite; will-change: transform; pointer-events: none; display: none; }
@keyframes sweep { 0% { transform: translateX(-38%); } 100% { transform: translateX(38%); } }
.stage-kb img { transform-origin: 55% 45%; }  /* endless Ken Burns removed: it kept a huge layer re-rasterising under the pinned console */
@keyframes kenburns { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, 1.5%, 0); } }
.stage-copy { position: relative; z-index: 2; padding: calc(var(--nav-h) + var(--s6)) 0 var(--sec-s); display: grid; gap: 22px; max-width: 820px; }
.stage-copy .lede { max-width: 54ch; }
.stage-copy.align-right { justify-self: end; }
.stage-copy.center { justify-self: center; text-align: center; justify-items: center; }
.stage-copy.center .h1 { margin: 0 auto; }
.stage-dark { position: absolute; inset: 0; background: var(--ink-0); opacity: 0; pointer-events: none; z-index: 1; }
.stage .container { position: relative; z-index: 2; width: 100%; }
.stage[data-stage-pin] .stage-copy { padding-bottom: clamp(140px, 20vw, 260px); }
.stage-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cream-55); z-index: 2; }
.stage-ribbon { position: absolute; left: 0; right: 0; top: 58%; width: 100%; height: 34vh; pointer-events: none; opacity: .95; z-index: 1; }
/* object-position utilities */
.op-t img, img.op-t { object-position: 50% 0%; } .op-c img, img.op-c { object-position: 50% 50%; } .op-b img, img.op-b { object-position: 50% 100%; }
.op-l img, img.op-l { object-position: 0% 50%; } .op-r img, img.op-r { object-position: 100% 50%; }
.op-face img, img.op-face { object-position: 50% 30%; } .op-tl img, img.op-tl { object-position: 30% 20%; } .op-tr img, img.op-tr { object-position: 70% 20%; }

/* ---------- 8. photo chapters ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-s); background: var(--ink-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-grade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 9, 7, .55), transparent 55%); pointer-events: none; }
.photo-cap { position: absolute; left: 18px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-70); z-index: 1; }
.ratio-3-2 { aspect-ratio: 3 / 2; } .ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-2-3 { aspect-ratio: 2 / 3; } .ratio-16-9 { aspect-ratio: 16 / 9; } .ratio-1 { aspect-ratio: 1; }
/* split: photo bleeds to one edge, copy in the other half */
.chapter-split { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--ink); color: var(--cream); min-height: 88vh; }
.chapter-split .chapter-photo { position: relative; overflow: hidden; min-height: 60vh; }
.chapter-split .chapter-photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.chapter-split .chapter-photo::after { content: ""; position: absolute; inset: 0 -2px 0 0; background: linear-gradient(90deg, rgba(21, 19, 15, 0) 55%, var(--ink) 98%), linear-gradient(0deg, rgba(21, 19, 15, .5) 0%, transparent 40%); pointer-events: none; }
.chapter-split.flip { grid-template-columns: 1fr 1.15fr; }
.chapter-split.flip .chapter-photo { order: 2; }
.chapter-split.flip .chapter-photo::after { background: linear-gradient(270deg, rgba(21, 19, 15, 0) 55%, var(--ink) 98%), linear-gradient(0deg, rgba(21, 19, 15, .5) 0%, transparent 40%); }
.chapter-split .chapter-copy { display: grid; gap: 22px; align-content: center; padding: var(--sec-s) var(--gutter) var(--sec-s) clamp(24px, 4vw, 72px); max-width: 680px; }
.chapter-split.flip .chapter-copy { padding: var(--sec-s) clamp(24px, 4vw, 72px) var(--sec-s) var(--gutter); justify-self: end; }
.chapter-split .body, .chapter-split .lede, .chapter-bleed .body, .chapter-bleed .lede { color: rgba(247, 239, 223, .82); }
.chapter-split .eyebrow, .chapter-bleed .eyebrow { color: var(--cream-70); }
.chapter-split .link-arrow, .chapter-bleed .link-arrow, .chapter-split .h2 em, .chapter-bleed .h2 em { color: var(--cream); }
.chapter-split.on-paper { background: var(--paper-2); color: var(--ink); }
.chapter-split.on-paper .body, .chapter-split.on-paper .lede { color: var(--ink-2); }
.chapter-split.on-paper .eyebrow { color: var(--mute); }
.chapter-split.on-paper .link-arrow, .chapter-split.on-paper .h2 em { color: var(--ink); }
.chapter-split.on-paper .chapter-photo::after { background: linear-gradient(90deg, rgba(234, 229, 218, 0) 70%, var(--paper-2) 100%); }
.chapter-split.on-paper.flip .chapter-photo::after { background: linear-gradient(270deg, rgba(234, 229, 218, 0) 70%, var(--paper-2) 100%); }
/* full-bleed: photo behind, copy on a grade */
.chapter-bleed { position: relative; min-height: 92vh; display: grid; align-items: end; overflow: hidden; background: var(--ink-0); color: var(--cream); }
.chapter-bleed .chapter-copy { position: relative; z-index: 2; display: grid; gap: 22px; max-width: 760px; padding: var(--sec) 0 var(--sec-s); }
.chapter-bleed.align-right .chapter-copy { justify-self: end; }
/* portrait: a tall photo column beside a stack of copy */
.chapter-portrait { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.chapter-portrait .photo { aspect-ratio: 2 / 3; }
.chapter-portrait.flip .photo { order: 2; }
.chapter-portrait .chapter-copy { display: grid; gap: 22px; }

/* ---------- 9. the live call console ---------- */
.console { --c-bg: rgba(24, 21, 17, .94); --c-fg: var(--cream); --c-mute: rgba(247, 239, 223, .6); --c-line: rgba(247, 239, 223, .08); --c-dash: rgba(247, 239, 223, .18); --c-row: rgba(247, 239, 223, .08); --c-row-line: rgba(247, 239, 223, .14); --c-caller: rgba(247, 239, 223, .78); --c-agent: var(--signal-2);
  width: min(920px, 100%); background: var(--c-bg); color: var(--c-fg); border-radius: var(--r-s); box-shadow: var(--shadow-ink); border: 1px solid rgba(247, 239, 223, .1); overflow: hidden; font-family: var(--sans); }
.console.is-cream { --c-bg: var(--cream); --c-fg: var(--ink); --c-mute: var(--mute); --c-line: rgba(21, 19, 15, .1); --c-dash: rgba(21, 19, 15, .2); --c-row: rgba(21, 19, 15, .05); --c-row-line: rgba(21, 19, 15, .12); --c-caller: var(--ink-2); --c-agent: var(--signal-text); border-color: rgba(21, 19, 15, .1); box-shadow: var(--shadow-paper); }
.console.is-wide { width: 100%; }
.con-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--c-line); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--c-mute); }
.con-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; animation: pulse 1.8s var(--ease-out) infinite; }
.console[data-state="posted"] .con-dot, .console[data-state="logged"] .con-dot { animation: none; background: var(--green-2); }
.console.is-cream[data-state="posted"] .con-dot { background: var(--green); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 83, 27, .55); } 100% { box-shadow: 0 0 0 10px rgba(242, 83, 27, 0); } }
.con-line { color: var(--c-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.con-state { margin-left: auto; white-space: nowrap; }
.console[data-state="flagged"] .con-state { color: var(--signal-2); }
.console.is-cream[data-state="flagged"] .con-state { color: var(--signal-text); }
.con-timer { min-width: 5ch; text-align: right; }
.con-demo { border: 1px solid var(--c-dash); border-radius: var(--r-pill); padding: 2px 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-mute); white-space: nowrap; }
.con-wave { position: relative; height: 92px; border-bottom: 1px solid var(--c-line); }
.con-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.con-lbl { position: absolute; left: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; z-index: 1; }
.con-lbl-agent { top: 12px; color: var(--c-agent); }
.con-lbl-caller { bottom: 12px; color: var(--c-mute); }
.con-body { display: grid; grid-template-columns: 1.35fr 1fr; height: 372px; }
.con-scene { display: contents; }
.con-scene[hidden] { display: none; }
.con-clip { overflow: hidden; border-right: 1px solid var(--c-line); }
.con-transcript { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }  /* no own layer: it sits inside the moving, pinned console (matches the homepage) */
.tl { display: grid; grid-template-columns: 52px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(6px); }
.tl .who { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding-top: 4px; color: var(--c-mute); }
.tl.agent .who { color: var(--c-agent); }
.tl.caller .words { color: var(--c-caller); }
.tl .w { opacity: 0; display: inline; }
.con-side { padding: 18px 20px; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-mute); padding-bottom: 10px; border-bottom: 1px dashed var(--c-dash); }
.panel-list { display: grid; gap: 6px; padding: 10px 0; }
.pi { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; opacity: 0; transform: translateY(8px); }
.pi .qty { color: var(--c-mute); font-family: var(--mono); font-size: 12px; }
.pi-out { color: var(--c-mute); }
.pi-out > span:first-child { text-decoration: line-through; text-decoration-color: rgba(242, 83, 27, .8); }
.pi-tag { text-decoration: none; display: inline-block; margin-left: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--c-agent); border: 1px solid rgba(242, 83, 27, .5); border-radius: var(--r-pill); padding: 0 6px; vertical-align: 1px; }
.pi-note { justify-content: flex-start; }
.pi-k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mute); min-width: 72px; padding-top: 2px; flex: none; }
.panel-sum { border-top: 1px dashed var(--c-dash); padding-top: 10px; display: grid; gap: 4px; font-size: 13px; color: var(--c-mute); }
.panel-sum > div { display: flex; justify-content: space-between; }
.panel-total { color: var(--c-fg); font-size: 15px; font-weight: 500; padding-top: 4px; }
.panel-readback { margin-top: 12px; font-size: 12.5px; font-family: var(--mono); color: var(--c-agent); display: flex; align-items: center; gap: 8px; opacity: 0; }
.rb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 1.2s var(--ease-out) infinite; }
.panel-posted, .panel-flag { margin-top: 12px; border-radius: var(--r-xs); padding: 10px 12px; opacity: 0; transform: translateY(10px); }
.panel-posted { background: var(--c-row); border: 1px solid var(--c-row-line); }
.posted-row, .flag-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.posted-check { width: 14px; height: 14px; border-radius: 50%; background: var(--signal); position: relative; flex: none; }
.posted-check::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 3px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.posted-meta, .flag-meta { font-size: 12px; color: var(--c-mute); margin-top: 4px; }
.panel-flag { background: rgba(242, 83, 27, .14); border: 1px solid rgba(242, 83, 27, .5); }
.flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); animation: pulse 1.4s var(--ease-out) infinite; flex: none; }
.flag-meta { color: var(--c-caller); }
/* the ticket: an opaque climax card with every line on it */
.panel-ticket { margin-top: 12px; background: var(--ink-0); color: var(--cream); border: 1px solid rgba(247, 239, 223, .18); border-radius: var(--r-xs); padding: 12px; opacity: 0; transform: translateY(10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.console.is-cream .panel-ticket { background: var(--ink); }
.ticket-top { display: flex; align-items: center; gap: 8px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px dashed rgba(247, 239, 223, .2); }
.ticket-top .mono { margin-left: auto; font-size: 12px; color: var(--cream-55); }
.ticket-rows { display: grid; gap: 4px; padding: 8px 0; font-size: 12.5px; color: var(--cream-70); }
.ticket-rows li { display: flex; justify-content: space-between; gap: 12px; }
.ticket-rows li:last-child { color: var(--cream); padding-top: 4px; border-top: 1px dashed rgba(247, 239, 223, .2); }
.ticket-meta { font-size: 11.5px; color: var(--cream-55); display: flex; justify-content: space-between; }
.console.is-static .tl, .console.is-static .tl .w, .console.is-static .pi, .console.is-static .panel-posted, .console.is-static .panel-flag, .console.is-static .panel-ticket { opacity: 1; transform: none; }
.console.is-static .con-transcript { overflow: auto; max-height: 100%; }
.console.is-static .panel-readback { display: none; }
.console.is-static[data-state="readback"] .panel-readback { display: flex; opacity: 1; }
.console.is-static[data-state="readback"] .panel-posted, .console.is-static[data-state="readback"] .panel-flag, .console.is-static[data-state="live"] .panel-posted, .console.is-static[data-state="live"] .panel-flag, .console.is-static[data-state="incoming"] .panel-posted, .console.is-static[data-state="incoming"] .panel-flag { display: none; }
.console-wrap { display: flex; justify-content: center; }
.console-stage { position: relative; }
.console-float { position: absolute; left: 0; right: 0; top: 100%; z-index: 3; display: flex; justify-content: center; padding: 0 var(--gutter); will-change: transform; }

/* ---------- 10. numbered rail ---------- */
.rail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.rail-pin { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 22px; }
.rail-pin .h2 { max-width: 14ch; }
.rail-visual { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--ink-3); }
.rail-photo { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease-in-out); }
.rail-photo.is-on, .rail-photo:first-child { clip-path: inset(0); }
.rail-photo img { width: 100%; height: 100%; object-fit: cover; }
.rail-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 9, 7, .7), transparent 50%); }
.rail-big { position: absolute; left: 20px; bottom: 8px; font-family: var(--mono); font-size: clamp(72px, 9vw, 140px); line-height: 1; letter-spacing: -.04em; color: var(--cream); font-weight: 300; z-index: 2; display: grid; }
.rail-big span { display: block; grid-area: 1 / 1; }
.rail-big .is-swap { animation: numswap .55s var(--ease-out); }
@keyframes numswap { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.rail-steps { display: block; }
.rail-step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 36px 0; border-top: 1px solid var(--line); transition: opacity .6s var(--ease); }
.rail-step:last-child { border-bottom: 1px solid var(--line); }
.rail-num { font-family: var(--mono); font-size: 13px; color: var(--signal); padding-top: 8px; transition: transform .7s var(--ease-out); }
.rail-step:hover .rail-num, .rail-step.is-on .rail-num { transform: translateX(6px); }
.rail-step h3 { font-size: var(--t-h3); letter-spacing: -.025em; font-weight: 500; line-height: 1.15; margin-bottom: 10px; }
.rail-step p { color: var(--ink-2); max-width: 46ch; }
.section-ink .rail-step, .section-ink .rail-step:last-child { border-color: var(--line-light); }
.section-ink .rail-step p { color: rgba(247, 239, 223, .75); }

/* ---------- 11. statement ---------- */
.statement-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.facts { margin-top: 20px; display: grid; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--ink-2); }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 1.25px; background: var(--signal); }
.statement-h { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.14; letter-spacing: -.03em; font-weight: 400; max-width: 22ch; text-wrap: balance; }
.statement-h em { color: var(--signal); font-size: 1.06em; }
.section-ink .facts { color: rgba(247, 239, 223, .75); }
.section-ink .statement-h em { color: var(--signal-2); }
.promise-list { display: grid; }
.promise-list li { display: grid; grid-template-columns: 48px 1fr; align-items: baseline; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; font-weight: 500; line-height: 1.2; }
.promise-list li:last-child { border-bottom: 1px solid var(--line); }
.promise-list .mono { font-size: 12px; color: var(--signal); }
.section-ink .promise-list li { border-color: var(--line-light); }

/* ---------- 12. chip marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; white-space: nowrap; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.section-ink .marquee, .section-green .marquee { border-color: rgba(247, 239, 223, .15); }
.marquee-track { display: inline-flex; gap: 12px; will-change: transform; animation: marquee 36s linear infinite; animation-play-state: paused; }
.marquee.is-on .marquee-track { animation-play-state: running; }
.marquee-track span { display: inline-block; padding: 8px 16px; border: 1px solid rgba(21, 19, 15, .25); border-radius: var(--r-pill); font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.section-ink .marquee-track span, .section-green .marquee-track span { border-color: rgba(247, 239, 223, .3); color: rgba(247, 239, 223, .85); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 13. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 16px; padding: 22px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: inline-block; transition: transform var(--d) var(--ease-out), background-color var(--d) var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--d) var(--ease-out); }
.faq summary i::before { width: 12px; height: 1.5px; } .faq summary i::after { width: 1.5px; height: 12px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq summary:hover i { border-color: var(--ink); }
.faq-a { overflow: hidden; }
.faq-a > div { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 62ch; line-height: 1.55; }
.faq-a > div > * + * { margin-top: .8em; }
.section-ink .faq, .section-ink .faq details { border-color: var(--line-light); }
.section-ink .faq summary i { border-color: rgba(247, 239, 223, .3); }
.section-ink .faq details[open] summary i { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.section-ink .faq-a > div { color: rgba(247, 239, 223, .78); }

/* ---------- 14. compare table ---------- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-s); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; min-width: 640px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 400; padding-top: 12px; padding-bottom: 12px; }
.compare tbody th { font-weight: 500; color: var(--ink); width: 22%; letter-spacing: -.01em; }
.compare tbody td { color: var(--ink-2); }
.compare .us { background: var(--cream); color: var(--ink); }
.compare thead .us { color: var(--signal-text); border-top: 2px solid var(--signal); border-radius: var(--r-xs) var(--r-xs) 0 0; }
.compare tbody tr:last-child .us { border-radius: 0 0 var(--r-xs) var(--r-xs); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); margin-right: 10px; vertical-align: 1px; }
.compare .no::before { content: ""; display: inline-block; width: 8px; height: 1.5px; background: var(--mute); margin-right: 10px; vertical-align: 4px; }
.section-ink .compare th, .section-ink .compare td { border-color: var(--line-light); }
.section-ink .compare tbody th { color: var(--cream); } .section-ink .compare tbody td { color: rgba(247, 239, 223, .78); }
.section-ink .compare .us { background: rgba(247, 239, 223, .06); color: var(--cream); }
.section-ink .compare thead .us { color: var(--signal-2); }

/* ---------- 15. timeline ---------- */
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--gap); position: relative; padding-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; gap: 10px; align-content: start; padding-right: 12px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: -26px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--paper); }
.timeline .tk { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.timeline h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.timeline p { color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 34ch; }
.section-ink .timeline::before { background: var(--line-light); }
.section-ink .timeline li::before { box-shadow: 0 0 0 4px var(--ink); }
.section-ink .timeline p { color: rgba(247, 239, 223, .75); }
.section-ink .timeline .tk { color: var(--cream-55); }

/* ---------- 16. forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.field label b { color: var(--signal); font-weight: 400; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); background: rgba(255, 255, 255, .5); border: 1px solid rgba(21, 19, 15, .22); border-radius: 12px; appearance: none; -webkit-appearance: none; transition: border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2315130F' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.field input::placeholder, .field textarea::placeholder { color: rgba(21, 19, 15, .38); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(21, 19, 15, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(242, 83, 27, .25); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--signal); }
.field .hint { font-size: 13px; color: var(--mute); }
.field .error { font-size: 13px; color: var(--signal-text); }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.form-foot .small { max-width: 40ch; }
.form-ok { border: 1px solid var(--line); border-radius: var(--r-s); padding: 24px; background: var(--cream); display: grid; gap: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; border: 1px solid rgba(21, 19, 15, .35); border-radius: 6px; margin-top: 2px; display: grid; place-items: center; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--paper); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible { box-shadow: 0 0 0 3px rgba(242, 83, 27, .25); outline: none; }
.section-ink .field label, .section-ink .field .hint { color: var(--cream-55); }
.section-ink .field input, .section-ink .field select, .section-ink .field textarea { color: var(--cream); background: rgba(247, 239, 223, .05); border-color: rgba(247, 239, 223, .22); }
.section-ink .field input:focus, .section-ink .field select:focus, .section-ink .field textarea:focus { border-color: var(--cream); background: rgba(247, 239, 223, .08); }
.section-ink .field input::placeholder, .section-ink .field textarea::placeholder { color: rgba(247, 239, 223, .4); }

/* ---------- 17. cards, callouts, caller ID ---------- */
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-s); padding: 28px; display: grid; gap: 12px; align-content: start; box-shadow: none; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .h3 { font-size: 22px; }
.card .body { font-size: 15.5px; }
.card-ink { background: var(--ink-3); border-color: rgba(247, 239, 223, .12); color: var(--cream); }
.card-ink .body { color: rgba(247, 239, 223, .75); }
.card-ink .eyebrow { color: var(--cream-55); }
.section-ink .card { background: rgba(247, 239, 223, .05); border-color: rgba(247, 239, 223, .12); color: var(--cream); }
.section-ink .card .body { color: rgba(247, 239, 223, .75); }
.section-ink .card .eyebrow { color: var(--cream-55); }
.callout { border-left: 2px solid var(--signal); padding: 4px 0 4px 20px; color: var(--ink-2); max-width: 60ch; }
.callerid { width: min(340px, 100%); background: rgba(247, 239, 223, .06); border: 1px solid rgba(247, 239, 223, .16); border-radius: var(--r-s); padding: 28px 24px 22px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); animation: floaty 7s var(--ease-in-out) infinite alternate; will-change: transform; color: var(--cream); }
@keyframes floaty { from { transform: translateY(-6px) rotate(-.4deg); } to { transform: translateY(8px) rotate(.4deg); } }
.callerid-k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-55); }
.callerid-name { font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin-top: 10px; }
.callerid-num { font-family: var(--mono); font-size: 13px; color: rgba(247, 239, 223, .65); margin-top: 6px; }
.callerid-row { display: flex; gap: 10px; margin-top: 26px; }
.callerid-row span { flex: 1; text-align: center; border-radius: var(--r-pill); padding: 11px 0; font-size: 14px; font-weight: 500; }
.callerid-decline { border: 1px solid rgba(247, 239, 223, .25); color: var(--cream-70); }
.callerid-accept { background: var(--signal); color: #fff; }
.callerid-note { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--cream-55); line-height: 1.5; }
.brand-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-switch button { appearance: none; background: transparent; border: 1px solid rgba(247, 239, 223, .3); color: rgba(247, 239, 223, .85); border-radius: var(--r-pill); min-height: 40px; padding: 0 16px; font-size: 14px; cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.brand-switch button:hover { border-color: rgba(247, 239, 223, .8); }
.brand-switch button[aria-pressed="true"] { background: var(--cream); color: var(--green); border-color: var(--cream); }
.section-paper .brand-switch button, .section-paper-2 .brand-switch button, .section-cream .brand-switch button { border-color: rgba(21, 19, 15, .3); color: var(--ink-2); }
.section-paper .brand-switch button[aria-pressed="true"], .section-paper-2 .brand-switch button[aria-pressed="true"], .section-cream .brand-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.quote { border-left: 2px solid var(--signal); padding: 6px 0 6px 24px; display: grid; gap: 14px; max-width: 30ch; }
.quote p { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.18; letter-spacing: -.025em; font-weight: 450; text-wrap: balance; }
.quote cite { font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.section-ink .quote cite, .section-green .quote cite { color: var(--cream-55); }
/* the verticals row: five photo tiles, one line each. Horizontal snap scroll under 900px. */
.verticals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.vertical { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 5; border-radius: var(--r-s); overflow: hidden; background: var(--ink-3); color: var(--cream); padding: 18px; isolation: isolate; }
.vertical img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); z-index: -2; }
.vertical::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 9, 7, .9) 0%, rgba(11, 9, 7, .35) 45%, rgba(11, 9, 7, .1) 100%); z-index: -1; transition: opacity .8s var(--ease); }
.vertical:hover img { transform: scale(1.05); }
.vertical .num { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--signal-2); margin-bottom: auto; }
.vertical h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.025em; font-weight: 500; line-height: 1.1; }
.vertical p { font-size: 13.5px; line-height: 1.45; color: var(--cream-70); margin-top: 6px; }
.vertical .link-arrow { min-height: 0; margin-top: 12px; font-size: 14px; color: var(--cream); }
.swap { display: inline-grid; vertical-align: top; text-align: left; }
.swap-w { grid-area: 1 / 1; opacity: 0; will-change: transform, opacity; }
.swap-w:first-child { opacity: 1; }
[data-brand] { display: inline-block; }

/* ---------- 18. 404 ---------- */
.notfound { min-height: 80vh; display: grid; align-content: center; gap: 22px; padding-top: calc(var(--nav-h) + var(--s6)); padding-bottom: var(--sec-s); }
.notfound-code { font-family: var(--mono); font-weight: 300; font-size: clamp(96px, 18vw, 220px); line-height: .9; letter-spacing: -.06em; color: var(--ink); }
.notfound-code b { color: var(--signal); font-weight: 300; }

/* ---------- 19. the footer: the last frame ---------- */
.footer { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; padding: 0 0 22px; }
.footer-line { position: relative; display: block; width: 100%; height: 72px; pointer-events: none; }
.footer-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid rgba(244, 241, 234, .12); }
.footer-h { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; max-width: 15ch; color: var(--paper); text-wrap: balance; }
.footer-h em { color: var(--paper); }
.footer-cta { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 901px) { .footer-cta { justify-items: end; text-align: right; } }
.footer-mail { font-family: var(--mono); font-size: 14px; color: rgba(244, 241, 234, .7); position: relative; min-height: 32px; display: inline-flex; align-items: center; transition: color .5s var(--ease); }
.footer-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .7s var(--ease-out); }
.footer-mail:hover { color: var(--paper); }
.footer-mail:hover::after { transform: scaleX(1); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: clamp(36px, 4vw, 56px) 0 0; }
.footer-col { display: grid; gap: 2px; align-content: start; }
.footer-k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 241, 234, .5); margin-bottom: 10px; }
.footer-col a { min-height: 34px; display: inline-flex; align-items: center; color: rgba(244, 241, 234, .82); font-size: 15px; transition: color .5s var(--ease), transform var(--d) var(--ease-out); justify-self: start; }
.footer-col a:hover { color: var(--signal-2); transform: translateX(4px); }
.footer-col a[aria-current="page"] { color: var(--paper); }
/* the wordmark: 39vw type in a 34vw box (cap height .72em + .15em baseline air), rises from 35% on scroll */
.footer-mark { margin: clamp(56px, 8vw, 120px) var(--gutter) 0; line-height: 1; overflow: hidden; height: 34vw; position: relative; }
.footer-mark span { display: block; position: absolute; left: -.04em; bottom: 0; transform: translateY(35%); font-size: 39vw; font-weight: 500; letter-spacing: -.065em; color: rgba(244, 241, 234, .96); white-space: nowrap; transition: transform 1.4s var(--ease-out); will-change: transform; }
.footer-mark.in span, .no-js .footer-mark span { transform: translateY(0); }
.js .footer-mark span { transition: none; transform: none; } /* GSAP owns the transform when JS runs */
.js .footer-mark.in span { transform: none; }
.footer-mark img, .footer-mark svg { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(244, 241, 234, .5); border-top: 1px solid rgba(244, 241, 234, .12); padding-top: 18px; margin-top: 8px; letter-spacing: .02em; }
.footer-base a { color: inherit; }
.footer-base a:hover { color: var(--paper); }

/* ---------- 20. motion helpers ---------- */
[data-reveal] > * { opacity: 0; transform: translateY(28px); transition: opacity var(--d-slow) var(--ease-out), transform 1.1s var(--ease-out); }
[data-reveal].in > * { opacity: 1; transform: none; }
[data-reveal].in > *:nth-child(2) { transition-delay: .08s; } [data-reveal].in > *:nth-child(3) { transition-delay: .16s; } [data-reveal].in > *:nth-child(4) { transition-delay: .24s; } [data-reveal].in > *:nth-child(5) { transition-delay: .32s; } [data-reveal].in > *:nth-child(6) { transition-delay: .4s; } [data-reveal].in > *:nth-child(7) { transition-delay: .48s; } [data-reveal].in > *:nth-child(8) { transition-delay: .56s; }
[data-reveal="self"] { opacity: 0; transform: translateY(28px); transition: opacity var(--d-slow) var(--ease-out), transform 1.1s var(--ease-out); }
[data-reveal="self"] > * { opacity: 1; transform: none; transition: none; }
[data-reveal="self"].in { opacity: 1; transform: none; }
[data-load] > * { opacity: 0; transform: translateY(24px); }
[data-load].in > * { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
[data-load].in > *:nth-child(2) { transition-delay: .1s; } [data-load].in > *:nth-child(3) { transition-delay: .2s; } [data-load].in > *:nth-child(4) { transition-delay: .3s; }
[data-split] .ln { overflow: hidden; }
[data-split] .ln > div { will-change: transform; }
[data-split]:not(.is-split) { visibility: visible; }
.no-js [data-reveal] > *, .no-js [data-reveal="self"], .no-js [data-load] > * { opacity: 1; transform: none; }
.no-js .tl, .no-js .tl .w, .no-js .pi, .no-js .panel-posted, .no-js .panel-flag, .no-js .panel-ticket, .no-js .swap-w:first-child { opacity: 1; transform: none; }
.no-js .console-float { position: relative; top: auto; }
.no-js body[data-nav="paper"] .nav { color: var(--ink); } .no-js body[data-nav="paper"] .nav::before { opacity: 1; } .no-js body[data-nav="paper"] .nav-cta { background: var(--ink); color: var(--paper); }
.no-js body[data-nav="dark"] .nav::before { opacity: 1; background: rgba(21, 19, 15, .86); }
.no-js .rail-photo:first-child { clip-path: inset(0); }
.split-mask { overflow: hidden; display: block; }

/* ---------- 21. guide chrome (style guide page only) ---------- */
.guide-bar { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 12px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); position: relative; z-index: 4; }
.guide-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); display: inline-block; }
.guide-bar code { font-family: inherit; color: var(--ink); background: none; white-space: nowrap; }
.guide-bar { flex-wrap: wrap; row-gap: 4px; }
.guide-bar .demo { margin-left: auto; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.swatch { border-radius: var(--r-xs); border: 1px solid var(--line); overflow: hidden; font-family: var(--mono); font-size: 11.5px; }
.swatch i { display: block; height: 76px; }
.swatch span { display: block; padding: 8px 10px; color: var(--ink-2); }
.type-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); min-width: 0; }
.type-row > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .type-row { grid-template-columns: 1fr; gap: 10px; } }
.type-row .mono { font-size: 11.5px; color: var(--mute); }
.guide-note { font-family: var(--mono); font-size: 12.5px; color: var(--mute); line-height: 1.6; max-width: 70ch; }
.guide-note code { color: var(--ink); }
.guide-index { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 22. responsive ---------- */
@media (max-width: 1100px) {
  .chapter-split, .chapter-split.flip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav { padding: 12px var(--gutter); }
  .nav-menu { display: inline-flex; align-items: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--nav-h)); overflow: auto; }
  .nav.open .nav-links { display: flex; }
  .nav-links > a, .nav-group-btn { min-height: 50px; font-size: 17px; border-top: 1px solid var(--line); padding: 0; border-radius: 0; opacity: 1; width: 100%; justify-content: space-between; }
  .nav-links > a::after, .nav-group-btn::after { display: none; }
  .nav-group { display: grid; }
  .nav-drop { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px; }
  .nav-drop a { padding: 0 0 0 16px; font-size: 16px; min-height: 44px; border-radius: 0; }
  .nav-drop a[aria-current="page"], .nav-drop a:hover { background: transparent; color: var(--signal-text); }
  .nav.open { color: var(--ink); }
  .nav.open::before { opacity: 1; }
  .nav.open .nav-cta { background: var(--ink); color: var(--paper); }
  .nav-cta { display: none; }
  .nav.open .nav-cta, .nav.is-paper .nav-cta { display: inline-flex; }
  .grid { gap: 16px; }
  .grid > [class*="span-"] { grid-column: 1 / -1; }
  .span-m-6 { grid-column: span 6 !important; } .span-m-4 { grid-column: span 4 !important; }
  .stage { min-height: 0; }
  .stage-tall { min-height: 100svh; }
  .stage-copy { padding: calc(var(--nav-h) + var(--s5)) 0 var(--s6); gap: 18px; }
  .stage-foot { display: none; }
  .stage-ribbon { top: 24%; height: 30vh; opacity: .4; }
  .console-float { position: relative; top: auto; margin-top: -24px; padding: 0 16px; }
  .con-body { grid-template-columns: 1fr; height: auto; }
  .con-clip { border-right: 0; border-bottom: 1px solid var(--c-line); height: 250px; }
  .con-head { flex-wrap: wrap; gap: 8px 12px; }
  .con-state { margin-left: 0; }
  .con-timer { margin-left: auto; }
  .chapter-split, .chapter-split.flip { grid-template-columns: 1fr; min-height: 0; }
  .chapter-split .chapter-photo { min-height: 0; height: 64vw; }
  .chapter-split .chapter-photo img { inset: 0; height: 100%; }
  .chapter-split .chapter-photo::after, .chapter-split.flip .chapter-photo::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(21, 19, 15, 0) 45%); }
  .chapter-split.on-paper .chapter-photo::after, .chapter-split.on-paper.flip .chapter-photo::after { background: linear-gradient(0deg, var(--paper-2) 0%, rgba(234, 229, 218, 0) 45%); }
  .chapter-split.flip .chapter-photo { order: 0; }
  .chapter-split .chapter-copy, .chapter-split.flip .chapter-copy { padding: 8px var(--gutter) var(--sec-s); max-width: none; justify-self: stretch; }
  .chapter-bleed { min-height: 80vh; }
  .chapter-portrait, .chapter-portrait.flip { grid-template-columns: 1fr; }
  .chapter-portrait.flip .photo { order: 0; }
  .chapter-portrait .photo { aspect-ratio: 4 / 5; }
  .rail-grid { grid-template-columns: 1fr; gap: 32px; }
  .rail-pin { position: static; }
  .rail-visual { aspect-ratio: 16 / 10; }
  .rail-step { grid-template-columns: 44px 1fr; padding: 26px 0; }
  .statement-grid { grid-template-columns: 1fr; gap: 32px; }
  .statement-h { max-width: none; }
  .timeline { grid-auto-flow: row; padding-top: 0; padding-left: 28px; gap: 28px; }
  .timeline::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li::before { left: -28px; top: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-head { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .verticals { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .verticals::-webkit-scrollbar { display: none; }
  .vertical { flex: 0 0 72vw; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .footer-line { height: 56px; }
  .callerid { justify-self: start; }
  .notfound { min-height: 70vh; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }
  .stage-copy .cta-row .btn { width: auto; }
}

/* ---------- 23. reduced motion: a complete static page ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] > *, [data-reveal="self"], [data-load] > * { opacity: 1; transform: none; }
  .tl, .tl .w, .pi, .panel-posted, .panel-flag, .panel-ticket { opacity: 1; transform: none; }
  .panel-readback { display: none; }
  .con-transcript { overflow: auto; max-height: 100%; }
  .stage-dark { display: none; }
  .console-float { position: relative; top: auto; margin-top: -24px; }
  .rail-photo { clip-path: inset(0); }
  .rail-photo:not(.is-on):not(:first-child) { clip-path: inset(0 0 0 100%); }
  .footer-mark span { transform: translateY(0); }
  .swap-w { opacity: 0; } .swap-w:first-child { opacity: 1; }
  .marquee-track { animation: none !important; }
  .stage-sweep { display: none; }
}

/* ---------- 24. print ---------- */
@media print {
  .nav, .skip, .footer-line, .footer-mark, .stage-ribbon, .stage-sweep, canvas, .con-wave, .marquee, .nav-menu { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section-ink, .section-green, .stage, .chapter-split, .chapter-bleed, .footer { background: #fff !important; color: #000 !important; }
  .stage-photo, .stage-grade { position: static; }
  .stage-photo img { max-height: 40vh; }
  .console { box-shadow: none; border: 1px solid #999; background: #fff; color: #000; }
  .con-body { height: auto; }
  .tl, .tl .w, .pi, .panel-posted, .panel-flag, .panel-ticket, [data-reveal] > *, [data-load] > * { opacity: 1 !important; transform: none !important; }
  .vertical, .rail-visual, .callerid { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
  .faq details { break-inside: avoid; }
  .faq .faq-a { height: auto !important; }
  .compare-wrap { overflow: visible; }
}
