/* COLLABVANCE website.
   Layout: a deliberate two-tone brand. Deep green "stage" bands (hero, story, oversight, self-check, contact)
   alternate with warm cream content bands. The signature visual is the operating map (motion.js):
   a business's work drawn as a live diagram that leaks, gets traced, simplified, and connected.
   Palette: Grove, green, cream, and copper (chosen by Nicole, 2026-10-12). A single fixed look, so every color is set explicitly. */
:root {
  color-scheme: light;
  --night: #06191C; --night-2: #0B2529; --night-3: #123338; --night-line: rgba(220, 240, 234, .15);
  --night-rgb: 6, 25, 28; --leak: #F2606E; --leak-rgb: 242, 96, 110; --scrim-rgb: 3, 14, 16;
  --on-night: #ECF4F1; --on-night-dim: rgba(236, 244, 241, .76);
  --paper: #F6F3EC; --paper-2: #EDE8DC; --card: #FFFFFF; --ink: #0D1F22; --ink-rgb: 13, 31, 34; --ink-dim: #4A5A5C; --line: #DCD5C6; --field-line: #A9AEA6;
  --amber: #D98A4E; --amber-rgb: 217, 138, 78; --coral: #B5652F; --coral-rgb: 181, 101, 47; --coral-ink: #7A3E14;
  --mint: #5FD4B4; --mint-rgb: 95, 212, 180; --on-mint: #06191C; --amber-ink: #231503;
  --veil-rgb: 255, 255, 255; --status-bg: #FBEBDC; --mark: #F7D9BC;
  --info-bg: #E2F3EE; --info-line: #A6D6C8;
  --ok-bg: #E3F4EA; --ok-ink: #14532D; --err-bg: #FDE8E6; --err-ink: #8A1C12;
  --grad-a: #F0BC8A; --grad-b: #B5652F;
  --grad: linear-gradient(100deg, #F0BC8A 0%, #D98A4E 40%, #B5652F 100%);
  --dg-muted: #A3BDB8;
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px; --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--on-night); font: 500 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.04; text-wrap: balance; letter-spacing: -.02em; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 22px; }
section { padding-block: 110px; position: relative; }
.night { background: var(--night); color: var(--on-night); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.night .kicker { color: var(--on-night-dim); }
.lede { font-size: 1.18rem; color: var(--ink-dim); max-width: 60ch; line-height: 1.6; }
.night .lede { color: var(--on-night-dim); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head { display: grid; gap: 18px; max-width: 780px; margin-bottom: 56px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem/1.2 var(--body); padding: 17px 26px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; text-align: center; }
.btn-hot { background: var(--grad); color: var(--amber-ink); box-shadow: 0 10px 30px -8px rgba(var(--coral-rgb), .55); }
.btn-hot:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(var(--coral-rgb), .7); }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-line:hover { background: rgba(var(--veil-rgb), .08); }
.btn svg { flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
@supports (animation-timeline: view()) {
  .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes rise { from { transform: translateY(40px); } to { transform: none; } }
}

/* ---------- Nav ---------- */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, box-shadow .3s; }
.nav.solid, .nav.open { background: rgba(var(--night-rgb), .94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--night-line); }
.nav .bar { display: flex; align-items: center; gap: 22px; height: 76px; color: var(--on-night); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 800 1.18rem/1 var(--display); letter-spacing: .08em; flex: none; }
.nav-links { display: flex; gap: 24px; font-size: .95rem; font-weight: 600; margin-left: 12px; }
.nav-links a { white-space: nowrap; text-decoration: none; color: var(--on-night-dim); transition: color .2s; }
.nav-links a:hover { color: var(--on-night); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: flex; align-items: center; gap: 10px; font: 600 .9rem/1 var(--body); color: var(--on-night-dim); background: rgba(var(--veil-rgb), .06); border: 1px solid var(--night-line); border-radius: 999px; padding: 11px 14px; cursor: pointer; }
.icon-btn:hover { color: var(--on-night); background: rgba(var(--veil-rgb), .1); }
.icon-btn kbd { font: 500 .7rem/1 var(--mono); border: 1px solid var(--night-line); border-radius: 5px; padding: 3px 6px; }
.menu-btn { display: none; }
.nav .btn { padding: 12px 18px; font-size: .92rem; white-space: nowrap; flex: none; }
.menu { border-top: 1px solid var(--night-line); padding-block: 14px 22px; }
.menu nav { display: grid; gap: 4px; }
.menu a { display: block; padding: 12px 4px; text-decoration: none; color: var(--on-night); font: 600 1.15rem/1.2 var(--display); border-bottom: 1px solid var(--night-line); }
.menu .btn { margin-top: 16px; width: 100%; }
@media (max-width: 1180px) { .nav-links { display: none; } .menu-btn { display: flex; } }
@media (min-width: 1181px) { .menu { display: none !important; } }
/* Header call to action keeps its full label on one line: the search label collapses to an icon first,
   and below 700px the button moves into the menu, which repeats it in full. */
@media (max-width: 860px) { .search-btn span, .search-btn kbd { display: none; } }
@media (max-width: 700px) { .nav-right > .btn-hot { display: none; } }
@media (max-width: 560px) { .brand span { font-size: 1rem; } }

/* ---------- Hero ---------- */
.hero { background: transparent; color: var(--on-night); padding-block: 150px 120px; overflow: hidden; isolation: isolate; min-height: 100svh; display: grid; align-content: center; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--night)); z-index: -1; pointer-events: none; }
.glow { position: absolute; width: 720px; height: 720px; right: -200px; top: -180px; background: radial-gradient(circle, rgba(var(--coral-rgb), .24), transparent 62%); z-index: -1; pointer-events: none; }
.hero-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 760px); }
#flow-gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; pointer-events: none; }
.horizon { position: fixed; opacity: var(--flow-glow, 1); left: var(--vpx, 67%); top: var(--vpy, 45%); width: 46vmax; height: 46vmax; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 214, .5) 0%, rgba(var(--amber-rgb), .22) 9%, rgba(var(--mint-rgb), .07) 32%, transparent 62%); animation: breathe 18s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(var(--night-rgb), .9) 0%, rgba(var(--night-rgb), .82) 38%, rgba(var(--night-rgb), .4) 56%, transparent 72%); }
.hero-wrap, .hero-hud, .scroll-cue { z-index: 1; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(var(--veil-rgb), .07); border: 1px solid var(--night-line); font-size: .86rem; font-weight: 600; color: var(--on-night-dim); }
.pill b { white-space: nowrap; background: var(--mint); color: var(--on-mint); font: 700 .7rem/1 var(--mono); letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 7.2rem); font-weight: 800; letter-spacing: -.05em; line-height: .92; text-shadow: 0 10px 60px rgba(var(--night-rgb), .6); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: inline-block; animation: lineup 1.1s cubic-bezier(.2, .8, .2, 1) both .1s; }
.hero h1 .ln + .ln > span { animation-delay: .24s; }
@keyframes lineup { from { transform: translateY(105%); } }
.hero .lede { font-size: 1.2rem; }
.hero .pill, .hero .lede, .hero .cta-row, .hero .reassure, .hero-hud { animation: fadeup 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero .lede { animation-delay: .45s; max-width: 54ch; } .hero .cta-row { animation-delay: .55s; } .hero .reassure { animation-delay: .65s; } .hero-hud { animation-delay: 1.2s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
/* On phones the hero buttons take the full width, so "Request a discovery conversation" stays on one line. */
@media (max-width: 480px) { .cta-row .btn { width: 100%; padding-inline: 16px; gap: 8px; } }
@media (max-width: 380px) { .cta-row .btn, .mcta .btn, .menu .btn { font-size: .94rem; padding-inline: 12px; } }
@media (max-width: 340px) { .cta-row .btn, .mcta .btn, .menu .btn { font-size: .86rem; } }
.reassure { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: var(--on-night-dim); list-style: none; margin: 0; padding: 0; }
.reassure li { display: inline-flex; align-items: center; gap: 7px; }
.reassure svg { color: var(--mint); }
/* The operating map, framed like an instrument readout */
.story-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hud-fig { font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-dim); }
.hud-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(var(--night-rgb), .75); font: 600 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night); white-space: nowrap; }
.hud-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--leak); animation: ping 1.6s infinite; --pc: var(--leak-rgb); }
.hud-status[data-s="1"] i { background: var(--amber); --pc: var(--amber-rgb); }
.hud-status[data-s="2"] i { background: var(--mint); --pc: var(--mint-rgb); }
.hero-hud { position: absolute; right: max(22px, calc((100vw - var(--wrap)) / 2 + 22px)); bottom: 34px; display: grid; justify-items: end; gap: 10px; pointer-events: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--pc), .7); } 100% { box-shadow: 0 0 0 9px rgba(var(--pc), 0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-night-dim); text-decoration: none; }
.scroll-cue:hover { color: var(--on-night); }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--amber), transparent); transform-origin: top; animation: cue 2.2s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 980px) { .hero { align-content: end; padding-block: 36vh 64px; } .hero::before { background: linear-gradient(180deg, transparent 22%, rgba(var(--night-rgb), .78) 50%, rgba(var(--night-rgb), .94) 100%); } .scroll-cue, .hero-hud { display: none; } }
@media (max-width: 480px) { .hero { padding-block: 26vh 44px; } .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); } }
/* Bars: used by the self-check result */
.tag-sample { font: 600 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber); padding: 5px 8px; border-radius: 6px; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 110px 1fr 38px; gap: 12px; align-items: center; font-size: .86rem; color: var(--on-night-dim); }
.bar i { display: block; height: 8px; border-radius: 8px; background: rgba(var(--veil-rgb), .1); overflow: hidden; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--grad); border-radius: 8px; animation: grow 1.6s cubic-bezier(.2, .8, .2, 1) both .4s; }
@keyframes grow { from { width: 0; } }
.bar b { font: 500 .8rem/1 var(--mono); color: var(--on-night); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .bar { grid-template-columns: 86px 1fr 34px; } }

/* ---------- Outcomes strip ---------- */
.outcomes { background: var(--night); color: var(--on-night); padding-block: 0 70px; }
.goals { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); list-style: none; margin: 0; padding: 0; }
.goals li { padding: 28px 24px; display: grid; gap: 8px; align-content: start; border-left: 1px solid var(--night-line); min-width: 0; }
.goals li:first-child { border-left: 0; padding-left: 0; }
.goals b { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.01em; }
.goals span { font-size: .93rem; color: var(--on-night-dim); line-height: 1.5; }
@media (max-width: 860px) { .goals { grid-template-columns: 1fr 1fr; } .goals li:nth-child(3) { border-left: 0; padding-left: 0; } .goals li { border-top: 1px solid var(--night-line); } .goals li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 480px) { .goals { grid-template-columns: 1fr; } .goals li { border-left: 0; padding-left: 0; border-top: 1px solid var(--night-line); } .goals li:first-child { border-top: 0; } }
.marquee { margin-top: 44px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-label { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-dim); margin-bottom: 18px; }
.track { display: flex; gap: 14px; width: max-content; animation: slide 40s linear infinite; list-style: none; margin: 0; padding: 0; }
.marquee:hover .track { animation-play-state: paused; }
.track li { font: 600 1.05rem/1 var(--display); padding: 14px 22px; border-radius: 999px; border: 1px solid var(--night-line); color: var(--on-night); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Pain points ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { position: relative; min-height: 240px; border-radius: var(--r); perspective: 1200px; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; text-align: left; color: inherit; }
.pain-in { position: absolute; inset: 0; display: block; transition: transform .7s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.pain:hover .pain-in, .pain:focus-visible .pain-in, .pain.flipped .pain-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front { background: var(--card); border: 1px solid var(--line); }
.front .q { font: 700 1.45rem/1.15 var(--display); letter-spacing: -.015em; }
.front small { margin-top: auto; font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.front .emo { font: 800 2.2rem/1 var(--display); color: var(--coral-ink); }
.back { background: var(--night); color: var(--on-night); transform: rotateY(180deg); }
.back b { font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.back .t { font-size: 1.02rem; color: var(--on-night); }
.back small { margin-top: auto; font-size: .85rem; color: var(--on-night-dim); }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .pains { grid-template-columns: 1fr; } .pain { min-height: 220px; } }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.svc { grid-column: span 2; border-radius: 22px; padding: 30px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; min-width: 0; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(var(--ink-rgb), .45); }
.svc.wide { grid-column: span 3; }
.svc.dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.svc.dark p, .svc.dark li { color: var(--on-night-dim); }
.svc.hot { background: var(--grad); border: 0; color: var(--amber-ink); }
.svc.hot p, .svc.hot li { color: var(--amber-ink); }
.svc .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.svc.dark .ic { background: rgba(var(--veil-rgb), .08); color: var(--amber); }
.svc.hot .ic { background: rgba(var(--veil-rgb), .35); color: var(--amber-ink); }
.svc h3 { font-size: 1.4rem; font-weight: 700; padding-right: 30px; }
.svc p { color: var(--ink-dim); }
.svc .ex { font-size: .95rem; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.svc .ex b { display: block; font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 6px; }
.svc.dark .ex { background: rgba(var(--veil-rgb), .06); }
.svc.dark .ex b { color: var(--amber); }
.svc.hot .ex { background: rgba(var(--veil-rgb), .3); }
.svc.hot .ex b { color: var(--amber-ink); }
.svc ul { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid rgba(127, 127, 127, .25); display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: .82rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(127, 127, 127, .1); color: var(--ink-dim); }
.svc .num { position: absolute; right: 24px; top: 22px; font: 500 .74rem/1 var(--mono); letter-spacing: .1em; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .svc, .svc.wide { grid-column: span 1; } .svc.lone { grid-column: 1/-1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .svc.lone { grid-column: auto; } }
.flash { animation: flash 1.8s ease; }
@keyframes flash { 0%, 45% { box-shadow: 0 0 0 4px var(--amber); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Fix ladder ---------- */

/* ---------- Process ---------- */
.process { background: var(--paper-2); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
/* Each step is a card; the number, label, heading, and text stack, and an approval checkpoint sits at the bottom. */
.timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 28px 28px 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s; }
.timeline li:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(var(--ink-rgb), .45); }
.timeline li:has(.gate) { border-color: rgba(var(--mint-rgb), .7); background: linear-gradient(180deg, rgba(var(--mint-rgb), .08), var(--card) 45%); }
.timeline .dot { flex: none; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--amber); font: 700 .95rem/1 var(--mono); }
.timeline li:last-child .dot { background: var(--grad); color: var(--amber-ink); }
.timeline em { font-style: normal; font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); }
.timeline h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.timeline p { color: var(--ink-dim); font-size: .98rem; line-height: 1.6; }
.timeline .gate { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 700 .8rem/1 var(--body); color: var(--night); background: rgba(var(--mint-rgb), .22); border: 1px solid rgba(var(--mint-rgb), .8); padding: 8px 13px 8px 9px; border-radius: 999px; }
.timeline .gate::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--night); font-size: .72rem; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .timeline li { padding: 24px; } }

/* ---------- Oversight ---------- */
.oversight { overflow: hidden; }
.over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.over-copy { display: grid; gap: 22px; min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.checks .ck { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--mint-rgb), .14); color: var(--mint); }
.checks b { display: block; font: 700 1.05rem/1.3 var(--display); color: var(--on-night); }
.checks span { color: var(--on-night-dim); font-size: .96rem; }
.diagram { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 26px; padding: 26px; display: grid; gap: 14px; min-width: 0; }
.diagram figcaption { font-size: .86rem; color: var(--on-night-dim); }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram text { font-family: var(--body); }
@media (max-width: 940px) { .over-grid { grid-template-columns: 1fr; } }

/* ---------- Self-check ---------- */
.assess { background: var(--night); color: var(--on-night); overflow: hidden; }
.assess .glow { left: -260px; top: auto; bottom: -300px; right: auto; background: radial-gradient(circle, rgba(var(--mint-rgb), .18), transparent 62%); }
.assess-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.assess-side { display: grid; gap: 22px; position: sticky; top: 110px; min-width: 0; }
.assess-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.assess-side li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-night-dim); }
.assess-side li svg { flex: none; color: var(--mint); margin-top: 4px; }
.quiz { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 26px; padding: 34px; min-height: 520px; display: grid; align-content: start; gap: 24px; min-width: 0; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.q-top { display: flex; justify-content: space-between; align-items: center; font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-dim); gap: 12px; }
.progress { height: 6px; border-radius: 6px; background: rgba(var(--veil-rgb), .08); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.q-title { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--display); letter-spacing: -.02em; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--night-line); background: rgba(var(--veil-rgb), .03); color: var(--on-night); font: 600 1rem/1.4 var(--body); cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.opt:hover { background: rgba(var(--veil-rgb), .07); border-color: rgba(var(--amber-rgb), .5); transform: translateX(3px); }
.opt .k { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 500 .8rem/1 var(--mono); background: rgba(var(--veil-rgb), .07); color: var(--on-night-dim); }
.opt.picked { border-color: var(--amber); background: rgba(var(--amber-rgb), .12); }
.opt.picked .k { background: var(--amber); color: var(--amber-ink); }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ghost { background: none; border: 0; color: var(--on-night-dim); font: 600 .92rem/1 var(--body); cursor: pointer; padding: 8px 0; }
.ghost:hover { color: var(--on-night); }
.ghost[disabled] { opacity: .45; cursor: default; }
.fade { animation: fadein .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } }
.res-head { display: grid; gap: 10px; }
.res-score strong { font: 800 clamp(2rem, 4vw, 3rem)/1.05 var(--display); letter-spacing: -.03em; }
.res-steps { display: grid; gap: 10px; counter-reset: st; list-style: none; padding: 0; margin: 0; }
.res-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--on-night); }
.res-steps li::before { counter-increment: st; content: counter(st); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem/1 var(--mono); background: rgba(var(--veil-rgb), .07); color: var(--amber); }
.res-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.disclaim { font-size: .84rem; color: var(--on-night-dim); }
@media (max-width: 940px) { .assess-grid { grid-template-columns: 1fr; } .assess-side { position: static; } }
@media (max-width: 480px) { .quiz { padding: 22px; border-radius: 20px; min-height: 0; } }

/* ---------- Discovery value ---------- */
.value-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.measure { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
.measure li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.measure b { font: 700 1.1rem/1.25 var(--display); }
.measure span { font-size: .94rem; color: var(--ink-dim); }
.worked { background: var(--night); color: var(--on-night); border-radius: 24px; padding: 32px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.worked .tag-sample { justify-self: start; }
.worked h3 { font-size: 1.5rem; }
.calc { display: grid; gap: 8px; margin: 0; font: 500 .95rem/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.calc div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--night-line); }
.calc dt { color: var(--on-night-dim); }
.calc dd { margin: 0; color: var(--on-night); }
.calc .total dd { color: var(--amber); font-weight: 700; }
.worked p { font-size: .92rem; color: var(--on-night-dim); }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .measure { grid-template-columns: 1fr; } }

/* ---------- Scenarios ---------- */

/* ---------- Insights / FAQ ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { font: 700 .9rem/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--night); color: var(--on-night); border-color: var(--night); }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
details.item { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: box-shadow .25s; min-width: 0; }
details.item[open] { box-shadow: 0 24px 50px -32px rgba(var(--ink-rgb), .5); }
details.item summary { list-style: none; cursor: pointer; padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; }
details.item summary::-webkit-details-marker { display: none; }
details.item .meta { font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
details.item .st { grid-column: 1; font: 600 1.3rem/1.2 var(--display); letter-spacing: -.01em; }
details.item .tog { grid-column: 2; grid-row: 1/span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); transition: transform .3s, background .3s; }
details.item[open] .tog { transform: rotate(45deg); background: var(--grad); }
details.item .content { padding: 0 24px 26px; display: grid; gap: 12px; color: var(--ink-dim); max-width: 70ch; }
details.item .content ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
details.item .content strong { color: var(--ink); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
@media (max-width: 900px) { .posts, .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.final { overflow: hidden; isolation: isolate; }
.final .glow { left: 50%; top: -360px; right: auto; transform: translateX(-50%); width: 900px; height: 900px; }
.final-head { text-align: center; display: grid; gap: 22px; justify-items: center; margin: 0 auto 60px; max-width: 880px; }
.final-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.035em; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-side { display: grid; gap: 18px; min-width: 0; }
.c-card { padding: 22px; border-radius: 18px; border: 1px solid var(--night-line); background: rgba(var(--veil-rgb), .04); display: grid; gap: 8px; }
.c-card small { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-dim); }
.email-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 500 1.05rem/1.3 var(--mono); overflow-wrap: anywhere; }
.copy { font: 700 .8rem/1 var(--body); padding: 9px 13px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(var(--veil-rgb), .08); color: var(--on-night); cursor: pointer; }
.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--on-night-dim); font-size: .95rem; }
.expect li { display: flex; gap: 10px; align-items: flex-start; }
.expect li svg { flex: none; color: var(--mint); margin-top: 4px; }
form.cform { background: var(--card); color: var(--ink); border-radius: 26px; padding: 34px; display: grid; gap: 16px; min-width: 0; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.form-head { display: grid; gap: 4px; }
.form-head b { font: 700 1.35rem/1.2 var(--display); }
.form-head span { font-size: .92rem; color: var(--ink-dim); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 700; font-size: .92rem; }
.field label i { font-style: normal; font-weight: 500; color: var(--ink-dim); }
.field input, .field textarea { font: 500 1rem/1.4 var(--body); padding: 14px 15px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { border-color: var(--coral-ink); background: var(--card); outline: 2px solid var(--amber); outline-offset: 1px; }
.field textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: .86rem; color: var(--ink-dim); }
.status { display: grid; gap: 12px; font-size: .94rem; padding: 16px; border-radius: 14px; background: var(--status-bg); color: var(--amber-ink); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } form.cform { padding: 22px; } }

footer { background: var(--night); color: var(--on-night-dim); padding-block: 0 40px; font-size: .9rem; }
footer .wrap { border-top: 1px solid var(--night-line); padding-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--on-night); }
footer .pv { flex-basis: 100%; font-size: .84rem; }

/* ---------- Search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 100; background: rgba(var(--scrim-rgb), .6); backdrop-filter: blur(6px); display: grid; justify-items: center; align-items: start; padding: 12vh 16px 16px; }
.pal { width: min(640px, 100%); background: var(--card); color: var(--ink); border-radius: 20px; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); overflow: hidden; animation: fadein .25s ease; }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pal-in svg { flex: none; color: var(--ink-dim); }
.pal-in input { flex: 1; min-width: 0; border: 0; outline: none; font: 600 1.1rem/1.3 var(--body); background: transparent; color: var(--ink); }
.pal-close { font: 500 .72rem/1 var(--mono); color: var(--ink-dim); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; cursor: pointer; background: none; }
.pal-res { max-height: 56vh; overflow: auto; padding: 8px; }
.pal-res button { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; width: 100%; text-align: left; border: 0; background: none; padding: 12px 14px; border-radius: 12px; cursor: pointer; color: var(--ink); font: inherit; }
.pal-res button[aria-selected="true"] { background: var(--paper-2); }
.pal-res .rk { grid-row: span 2; align-self: start; font: 600 .64rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; background: var(--night); color: var(--amber); margin-top: 2px; min-width: 70px; text-align: center; }
.pal-res .rt { font-weight: 700; }
.pal-res .rs { font-size: .86rem; color: var(--ink-dim); line-height: 1.45; }
.pal-res .empty, .pal-hint { padding: 16px 14px; color: var(--ink-dim); font-size: .92rem; }
.pal-hint { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pal-hint button { font: 600 .82rem/1 var(--body); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 1px; }

/* Mobile sticky CTA */
.mcta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; }
.mcta .btn { width: 100%; }
@media (max-width: 560px) { .mcta.show { display: block; } }

/* ---------- Brand mark and diagram colors (follow the palette) ---------- */
.lg-a { stop-color: var(--grad-a); }
.lg-b { stop-color: var(--grad-b); }
.mark-bg { fill: var(--night-3); }
.mark-ring { stroke: var(--mint); }
.dg-box { fill: var(--night-3); stroke: var(--night-line); }
.dg-box.revise { stroke-dasharray: 5 4; }
.dg-review { fill: rgba(var(--mint-rgb), .16); stroke: var(--mint); stroke-width: 2; }
.dg-sent { fill: var(--amber); }
.dg-title { fill: var(--on-night); font-size: 15px; font-weight: 700; }
.dg-sub { fill: var(--dg-muted); font-size: 12px; }
.dg-sub.ok { fill: var(--mint); }
.dg-on-sent { fill: var(--amber-ink); }
.dg-arrow { stroke: var(--amber); stroke-width: 2; fill: none; }
.dg-back { stroke: var(--dg-muted); stroke-width: 2; stroke-dasharray: 4 4; fill: none; }
.dg-head { fill: var(--amber); }
.dg-label { fill: var(--on-night); font-size: 12px; }

/* ---------- Free-offer badge ---------- */
.offer { display: inline-flex; align-items: center; gap: 8px; font: 700 .86rem/1.3 var(--body); color: var(--on-night); background: rgba(var(--mint-rgb), .16); border: 1px solid rgba(var(--mint-rgb), .4); padding: 8px 14px; border-radius: 999px; }
.offer svg { flex: none; color: var(--mint); }

/* ---------- Inquiry form states ---------- */
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err-ink); }
.field-error { font-size: .86rem; font-weight: 600; color: var(--err-ink); }
form.cform[aria-busy="true"] button[type="submit"] { opacity: .7; cursor: progress; }
.status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.status.err { background: var(--err-bg); color: var(--err-ink); }
.status .retry { justify-self: start; font: 700 .9rem/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 0; background: var(--night); color: var(--on-night); cursor: pointer; }
.req { font-style: normal; color: var(--err-ink); }
.field-hint { font-size: .86rem; color: var(--ink-dim); }
.field select { font: 500 1rem/1.4 var(--body); padding: 14px 15px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; }
.field select:focus { border-color: var(--coral-ink); background: var(--card); outline: 2px solid var(--amber); outline-offset: 1px; }
.field select[aria-invalid="true"] { border-color: var(--err-ink); }
fieldset.choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
fieldset.choice legend { font-weight: 700; font-size: .92rem; padding: 0; margin-bottom: 8px; width: 100%; }
fieldset.choice legend i { font-style: normal; font-weight: 500; color: var(--ink-dim); }
fieldset.choice label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
fieldset.choice input { width: 18px; height: 18px; accent-color: var(--night); }
#f-situation { min-height: 120px; }

/* ---------- Multi-step discovery intake ---------- */
.intake { min-width: 0; display: grid; }
.intake .step { padding-block: 0; }
.intake:not(.js) .js-only, .intake:not(.js) .steps { display: none !important; }
.intake.js .step:not(.on) { display: none; }
.intake.js .step { display: grid; gap: 16px; }
.intake:not(.js) .step { display: grid; gap: 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.step-h { font-size: 1.15rem; outline: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: st; }
.steps li { counter-increment: st; font: 600 .78rem/1.3 var(--body); color: var(--ink-dim); padding-top: 8px; border-top: 4px solid var(--line); }
.steps li::before { content: counter(st) ". "; }
.steps li.done { border-top-color: var(--coral); color: var(--ink); }
.steps li.now { border-top-color: var(--night); color: var(--ink); }
.form-req { font-size: .86rem; color: var(--ink-dim); }
.checks-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks-group legend { font-weight: 700; font-size: .92rem; padding: 0; margin-bottom: 10px; }
.checks-group legend i { font-style: normal; font-weight: 500; color: var(--ink-dim); }
.checks-group[aria-invalid="true"] .opt-grid { outline: 2px solid var(--err-ink); outline-offset: 4px; border-radius: 12px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt-check { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.opt-check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--night); }
.opt-check:has(input:checked) { border-color: var(--night); background: var(--card); }
.approve .opt-check { background: var(--status-bg); border-color: var(--field-line); }
.copy-opt .form-note { margin: 6px 0 0; }
.copy-check:not(:empty) { margin-top: 8px; }
.guide { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--paper-2); border-left: 4px solid var(--amber); }
.guide b { font-family: var(--display); font-size: 1.05rem; }
.guide ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.guide p { font-size: .84rem; color: var(--ink-dim); }
details.more { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
details.more summary { cursor: pointer; padding: 13px 15px; font-weight: 700; font-size: .95rem; }
details.more summary i { font-style: normal; font-weight: 500; color: var(--ink-dim); }
.more-in { display: grid; gap: 14px; padding: 4px 15px 16px; }
.step-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.intake.js .step-nav #f-submit:not(.show) { display: none; }
.review { display: grid; gap: 10px; }
.rv { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; background: var(--card); }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv-head b { font: 700 1rem/1.2 var(--display); }
.rv-edit { font: 700 .82rem/1 var(--body); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--field-line); background: var(--paper); color: var(--ink); cursor: pointer; }
.rv dl { margin: 0; display: grid; gap: 8px; }
.rv dt { font: 500 .7rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.rv dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv ul { margin: 0; padding-left: 20px; }
.receipt { background: var(--card); color: var(--ink); border-radius: 26px; padding: 34px; display: grid; gap: 16px; min-width: 0; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.receipt h3 { font-size: 1.4rem; outline: none; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.receipt .btn-line { color: var(--ink); }
@media (max-width: 560px) { .opt-grid { grid-template-columns: 1fr; } .steps li { font-size: .7rem; } .receipt { padding: 22px; } }
@media print {
  body * { visibility: hidden !important; }
  #receipt, #receipt * { visibility: visible !important; }
  #receipt { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; padding: 0; }
  .receipt-actions, #r-note { display: none !important; }
}
.preview-note { font-size: .92rem; padding: 12px 14px; border-radius: 12px; background: var(--info-bg); color: var(--ink); border: 1px solid var(--info-line); }
.status.info { background: var(--info-bg); color: var(--ink); }

/* ======================================================================
   Redesign layer: story, services explorer, live calculator, motion
   ====================================================================== */

/* Nav scroll progress */
.nav-prog { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--sp, 0)); z-index: 2; pointer-events: none; }

/* Primary button: a light sweep on hover */
.btn-hot { position: relative; overflow: hidden; isolation: isolate; }
.btn-hot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.btn-hot:hover::after { transform: translateX(120%); }

/* Reveals (the class is added by motion.js, so content is visible without JavaScript) */
.reveal { opacity: 0; transition: opacity .9s cubic-bezier(.2, .8, .2, 1), translate .9s cubic-bezier(.2, .8, .2, 1); translate: 0 26px; }
.reveal.in { opacity: 1; translate: 0 0; }
.goals li.reveal:nth-child(2), .timeline li.reveal:nth-child(3n+2) { transition-delay: .08s; }
.goals li.reveal:nth-child(3), .timeline li.reveal:nth-child(3n) { transition-delay: .16s; }
.goals li.reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: none; } }

/* ---------- Story: from tangle to flow ---------- */
.story { padding-block: 110px 80px; overflow: clip; background: linear-gradient(var(--night), #082224 50%, var(--night)); }
.story .head { max-width: 860px; }
.story-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; }
.story-map { order: 2; position: sticky; top: 92px; height: calc(100vh - 124px); max-height: 740px; min-height: 460px; border: 1px solid var(--night-line); border-radius: 28px; overflow: hidden;
  background: radial-gradient(90% 70% at 60% 40%, rgba(var(--mint-rgb), .07), transparent 70%), linear-gradient(rgba(var(--veil-rgb), .04) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(var(--veil-rgb), .04) 1px, transparent 1px) 0 0 / 48px 48px, var(--night-2); }
.story-map .hud-fig { position: absolute; left: 18px; top: 18px; }
.story-rail { position: absolute; right: 14px; top: 12px; display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.story-rail button { font: 600 .66rem/1 var(--mono); letter-spacing: .08em; padding: 7px 9px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(var(--night-rgb), .75); color: var(--on-night-dim); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.story-rail button.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.stages { display: grid; }
.stage { min-height: 86vh; display: grid; align-content: center; gap: 18px; padding-block: 40px; opacity: .3; transition: opacity .5s; }
.stage:first-child { min-height: 64vh; align-content: start; padding-top: 12vh; }
.stage.on { opacity: 1; }
.stage-n { font: 600 .76rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.stage h3 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.stage p { color: var(--on-night-dim); font-size: 1.1rem; max-width: 46ch; }
.stage-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-tags li { font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(var(--amber-rgb), .45); color: var(--amber); }
.stage-tags.leak li { border-color: rgba(var(--leak-rgb), .5); color: var(--leak); }
.stage-tags.ai li { border-color: rgba(var(--mint-rgb), .5); color: var(--mint); }
.stage .cta-row { margin-top: 10px; }
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-map { order: 0; top: 70px; height: 50vh; min-height: 300px; max-height: 460px; z-index: 2; border-radius: 22px; box-shadow: 0 26px 30px -8px var(--night); }
  .story-map .hud-fig { display: none; }
  .stage, .stage:first-child { min-height: 64vh; align-content: start; padding-top: 34px; opacity: .45; }
  .stage.on { opacity: 1; }
}

/* ---------- Services explorer ---------- */
.svc-tabs { display: none; }
.explorer.js { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 28px; align-items: start; }
.explorer.js .svc-tabs { display: grid; gap: 4px; position: sticky; top: 100px; }
.svc-tab { position: relative; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 8px; text-align: left; padding: 15px 18px; border-radius: 14px; border: 1px solid transparent; background: none; font: 600 1.04rem/1.25 var(--display); color: var(--ink-dim); cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.svc-tab span { font: 500 .74rem/1 var(--mono); letter-spacing: .1em; color: var(--ink-dim); }
.svc-tab:hover { color: var(--ink); background: rgba(var(--veil-rgb), .7); }
.svc-tab[aria-selected="true"] { color: var(--ink); background: var(--card); border-color: var(--line); box-shadow: 0 18px 34px -26px rgba(var(--ink-rgb), .55); }
.svc-tab[aria-selected="true"] span { color: var(--coral-ink); }
.svc-tab[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--grad); }
.explorer.js .bento { display: block; }
.explorer.js .svc { display: none; min-height: 540px; padding: 46px; gap: 18px; }
.explorer.js .svc.on { display: flex; animation: panelin .7s cubic-bezier(.2, .8, .2, 1); }
.explorer.js .svc:hover { transform: none; }
@keyframes panelin { from { opacity: 0; transform: translateY(14px); clip-path: inset(0 0 35% 0 round 22px); } to { clip-path: inset(0 0 0 0 round 22px); } }
.explorer.js .svc h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); letter-spacing: -.03em; line-height: 1.05; max-width: 18ch; }
.explorer.js .svc > p:not(.ex) { font-size: 1.12rem; max-width: 52ch; }
.explorer.js .svc .num { font: 800 10rem/1 var(--display); letter-spacing: -.06em; right: 22px; top: auto; bottom: -30px; opacity: .09; pointer-events: none; }
.explorer.js .svc .ic { width: 60px; height: 60px; }
@media (max-width: 900px) {
  .explorer.js { display: block; }
  .explorer.js .svc-tabs { display: none; }
  .explorer.js .bento { display: grid; }
  .explorer.js .svc { display: flex; min-height: 0; padding: 30px; animation: none; }
  .explorer.js .svc h3 { font-size: 1.4rem; }
  .explorer.js .svc > p:not(.ex) { font-size: 1rem; }
  .explorer.js .svc .num { font: 500 .74rem/1 var(--mono); letter-spacing: .1em; right: 24px; top: 22px; bottom: auto; opacity: 1; }
}

/* ---------- Pointer spotlight on cards ---------- */
.spot, details.item, .measure li, .worked { position: relative; }
.spot::after, .pain .face::after, details.item::after, .measure li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(var(--amber-rgb), .16), transparent 45%); }
.spot:hover::after, .pain:hover .face::after, details.item:hover::after, .measure li:hover::after { opacity: 1; }

/* ---------- Live time-cost calculator ---------- */
.calc-live { display: grid; gap: 18px; }
.sl { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; font-size: .92rem; color: var(--on-night-dim); cursor: pointer; }
.sl output { font: 600 .95rem/1 var(--mono); color: var(--on-night); font-variant-numeric: tabular-nums; }
.sl input { grid-column: 1 / -1; width: 100%; margin: 0; height: 6px; border-radius: 6px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--amber) var(--fill, 50%), rgba(var(--veil-rgb), .14) var(--fill, 50%)); }
.sl input:focus-visible { outline: 3px solid var(--mint); outline-offset: 8px; }
.sl input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--on-night); border: 5px solid var(--amber); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); transition: transform .2s; }
.sl input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--on-night); border: 5px solid var(--amber); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
.sl input:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-total { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: rgba(var(--amber-rgb), .1); border: 1px solid rgba(var(--amber-rgb), .35); }
.calc-total span { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-dim); }
.calc-total strong { font: 800 clamp(2.2rem, 4vw, 3.1rem)/1.05 var(--display); color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.calc-total small { font: 500 .82rem/1.4 var(--mono); color: var(--on-night-dim); }
.worked .btn-line { justify-self: start; color: var(--on-night); padding: 13px 20px; font-size: .94rem; }

/* ---------- Process: progress line and lit steps ---------- */
.timeline { position: relative; padding-top: 34px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--tp, 0)); }
.timeline .dot { transition: box-shadow .6s, transform .6s; }
.timeline li.in .dot { box-shadow: 0 0 0 7px rgba(var(--amber-rgb), .2); }

/* ---------- Review loop packet ---------- */
.dg-track { fill: none; stroke: none; }
.dg-packet { fill: var(--amber); filter: drop-shadow(0 0 6px rgba(var(--amber-rgb), .9)); }
.diagram rect { transition: stroke .3s, stroke-width .3s; }
.diagram rect.hit { stroke: var(--amber); stroke-width: 2.5; }

/* ======================================================================
   "Into the flow": one continuous dark space. The palette becomes light:
   copper, cream, and mint glowing on deep green. Only the inquiry form and
   the search dialog stay cream, so the moment of action reads clearly.
   ====================================================================== */

/* A slow aurora behind every section */
body::before { content: ""; position: fixed; inset: -20vmax; z-index: -2; pointer-events: none; will-change: transform;
  background: radial-gradient(40vmax 30vmax at 20% 30%, rgba(var(--amber-rgb), .07), transparent 70%),
    radial-gradient(45vmax 35vmax at 80% 70%, rgba(var(--mint-rgb), .06), transparent 70%),
    radial-gradient(30vmax 30vmax at 60% 10%, rgba(242, 96, 110, .035), transparent 70%);
  animation: aurora 140s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(4vmax, -3vmax, 0) rotate(8deg); } }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(236, 244, 241, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 244, 241, .028) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 85%); }
.night:not(.hero), .story, .assess, .oversight, .final, .outcomes { background: transparent; }

/* Formerly light sections take dark tokens; components keep working through the variables. */
main > section:not(.night) {
  color: var(--ink);
  --ink: #ECF4F1; --ink-rgb: 0, 0, 0; --ink-dim: rgba(236, 244, 241, .68); --line: rgba(220, 240, 234, .12); --field-line: rgba(220, 240, 234, .3);
  --card: rgba(16, 46, 50, .55); --paper: rgba(255, 255, 255, .04); --paper-2: rgba(255, 255, 255, .055);
  --coral-ink: #F0BC8A; --night: #0E2C31;
}
.process { background: transparent; }
main > section:not(.night) :is(.svc, .front, details.item, .measure li, .case, .timeline li, .rung, .ladder-panel, .worked) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
main > section:not(.night) :is(.svc.dark, .worked, .case-top) { border: 1px solid var(--line); }
main > section:not(.night) .rung[aria-pressed="true"], main > section:not(.night) .chip[aria-pressed="true"] { border-color: rgba(var(--amber-rgb), .7); }
main > section:not(.night) .ladder-panel::before { color: rgba(236, 244, 241, .05); }
main > section:not(.night) .svc-tab:hover { background: rgba(255, 255, 255, .05); }
main > section:not(.night) .svc-tab[aria-selected="true"] { background: rgba(var(--amber-rgb), .1); border-color: rgba(var(--amber-rgb), .35); }
main > section:not(.night) .timeline .gate { color: var(--ink); }
main > section:not(.night) .timeline li:has(.gate) { background: linear-gradient(180deg, rgba(var(--mint-rgb), .1), var(--card) 55%); border-color: rgba(var(--mint-rgb), .45); }
main > section:not(.night) .svc:hover, main > section:not(.night) .case:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(var(--amber-rgb), .25); }
main > section:not(.night) .back { background: #0B2328; border: 1px solid rgba(var(--mint-rgb), .35); }
main > section:not(.night) .svc .ic { color: var(--amber); }

/* Horizons: a thin line of light where one section gives way to the next */
main > section:not(.hero):not([style*="padding-top:0"])::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1100px, 88%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--amber-rgb), .4) 30%, rgba(var(--mint-rgb), .35) 70%, transparent); }

/* The hero's flow keeps its own world; its HUD sits bottom right */
.hero::after { display: none; }

/* ---------- Statement ---------- */
.manifesto { padding-block: 150px 140px; }
.manifesto .wrap { display: grid; gap: 30px; max-width: 1080px; }
.mf { font: 700 clamp(2rem, 4.4vw, 3.9rem)/1.12 var(--display); letter-spacing: -.035em; color: rgba(236, 244, 241, .14); text-wrap: pretty; }
.mf span { transition: color .5s, text-shadow .5s; }
.mf span.lit { color: var(--on-night); }
.mf span.lit:nth-last-child(-n+3) { color: var(--grad-a); text-shadow: 0 0 40px rgba(var(--amber-rgb), .35); }

/* ---------- Pointer light and magnetic buttons ---------- */
.cursor-light { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(var(--amber-rgb), .07), transparent 60%); mix-blend-mode: screen; }
.btn-hot { translate: var(--bx, 0px) var(--by, 0px); transition: transform .2s, box-shadow .2s, background .2s, translate .35s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 10px 40px -8px rgba(var(--amber-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .35); }

/* Headings get a touch more presence on dark */
main > section .head h2 { text-shadow: 0 10px 50px rgba(0, 0, 0, .35); }
footer { background: transparent; }

/* ---------- The flow behind the whole page ----------
   The WebGL flow is fixed behind every section; on top of it sit a fine film grain, a pool of light per
   section, and the flow chain in the left margin (motion.js). */
body { background: radial-gradient(120% 90% at 70% 40%, #0C3133 0%, var(--night) 65%) fixed, var(--night); }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main > section:not(.hero):nth-of-type(odd) { background-image: radial-gradient(55% 60% at 8% 30%, rgba(var(--mint-rgb), .07), transparent 70%); }
main > section:not(.hero):nth-of-type(even) { background-image: radial-gradient(55% 60% at 92% 60%, rgba(var(--amber-rgb), .08), transparent 70%); }
.chain { position: fixed; top: 0; width: 80px; height: 100vh; z-index: 2; pointer-events: none; }

/* ---------- Sample discovery report: a cream "document" in the dark world ---------- */
.report-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.report-copy { display: grid; gap: 28px; min-width: 0; }
.report-copy .head { margin-bottom: 0; }
.report-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.report-points li { display: grid; gap: 2px; padding-left: 22px; position: relative; }
.report-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px rgba(var(--mint-rgb), .7); }
.report-points b { font: 700 1.05rem/1.3 var(--display); }
.report-points span { color: var(--ink-dim); font-size: .96rem; }
.sheet { --ink: #0D1F22; --ink-dim: #4A5A5C; --line: #DCD5C6; color: var(--ink); background: #FBF9F4; border-radius: 20px; padding: 0 34px 30px; display: grid; gap: 14px; min-width: 0;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .5), 0 0 80px -20px rgba(var(--amber-rgb), .35); transform: rotate(-1.2deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.sheet:hover { transform: rotate(0deg) translateY(-4px); }
.sheet-band { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 0 -34px; padding: 12px 34px; border-radius: 20px 20px 0 0; background: #06191C; color: #ECF4F1; font: 600 .68rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sheet-band b { color: #F0BC8A; font-weight: 600; }
.sheet-head { padding-top: 8px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.sheet-head h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.sheet-head p { color: var(--ink-dim); font-size: .9rem; margin-top: 4px; }
.sheet h4 { font: 600 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #7A3E14; margin: 6px 0 0; }
.leaks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: lk; }
.leaks li { counter-increment: lk; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #F2EEE5; }
.leaks li::before { content: counter(lk); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #06191C; color: #F0BC8A; font: 600 .78rem/1 var(--mono); }
.leaks b { display: block; font-size: .95rem; line-height: 1.3; }
.leaks small { display: block; color: var(--ink-dim); font: 500 .74rem/1.4 var(--mono); margin-top: 2px; }
.leaks strong { font: 800 1.2rem/1 var(--display); color: #B5652F; font-variant-numeric: tabular-nums; white-space: nowrap; }
.leaks strong.tbd { font: 600 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); border: 1px dashed var(--ink-dim); padding: 6px 8px; border-radius: 6px; }
.sheet-note { font-size: .8rem; color: var(--ink-dim); font-style: italic; }
.fix { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fix div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line); }
.fix div:first-child { border-top: 0; background: #F2EEE5; }
.fix dt { font: 600 .68rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.fix dd { margin: 0; font-size: .92rem; line-height: 1.45; }
.fix div:first-child dd { font-weight: 700; }
.sheet-approve { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; padding: 10px 14px; border-radius: 12px; background: rgba(var(--mint-rgb), .18); border: 1px solid rgba(var(--mint-rgb), .7); }
.sheet-approve span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #06191C; font-size: .8rem; flex: none; }
@media (max-width: 980px) { .report-grid { grid-template-columns: 1fr; } .sheet { transform: none; } }
@media (max-width: 520px) { .sheet { padding: 0 18px 22px; } .sheet-band { margin: 0 -18px; padding: 12px 18px; } .leaks li { grid-template-columns: 26px 1fr; } .leaks strong { grid-column: 2; justify-self: start; } .fix div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- How we work: five commitments ---------- */

/* ---------- Privacy notice page: a cream document on the dark page ---------- */
.legal-page .nav { position: sticky; }
.legal { padding-block: 70px 110px; }
.doc { --ink: #0D1F22; --ink-dim: #4A5A5C; --line: #DCD5C6; max-width: 820px; margin: 0 auto; background: #FBF9F4; color: var(--ink); border-radius: 24px; padding: 48px 52px 52px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85), 0 0 80px -30px rgba(var(--amber-rgb), .35); display: grid; gap: 14px; line-height: 1.7; }
.doc .kicker { color: #7A3E14; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.035em; line-height: 1.05; }
.doc h2 { font-size: 1.3rem; letter-spacing: -.01em; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.doc-date { font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.doc a { color: #7A3E14; font-weight: 700; }
.doc code { font: 500 .88em var(--mono); background: #F2EEE5; padding: 2px 6px; border-radius: 5px; }
.doc-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.doc thead th { border-top: 0; background: #F2EEE5; font: 600 .7rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.form-note a { color: inherit; font-weight: 700; }
@media (max-width: 560px) { .doc { padding: 30px 22px 34px; border-radius: 18px; } .legal { padding-block: 30px 70px; } }

/* Booking prompt on the receipt (shown only when a booking link is configured) */
.book { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--mint-rgb), .16), rgba(var(--amber-rgb), .12)); border: 1px solid rgba(var(--mint-rgb), .6); }
.book b { font: 700 1.1rem/1.2 var(--display); }
.book span { color: var(--ink-dim); font-size: .94rem; }
.book .btn { justify-self: start; margin-top: 6px; }
@media print { .book { display: none !important; } }

/* ---------- Phone proportions (round 10, from Nicole's phone screenshots) ---------- */
.diagram .dg-mobile { display: none; }   /* as specific as '.diagram svg', so it wins on wide screens */
/* The review-loop diagram floats in the flow too: see-through, and compact on phones. */
.diagram { background: rgba(11, 37, 41, .32); border-color: rgba(220, 240, 234, .1); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); }
@media (max-width: 560px) {
  .diagram > svg:not(.dg-mobile) { display: none; }
  .diagram { width: 100%; max-width: 380px; justify-self: center; padding: 16px 10px 14px; border-radius: 20px; gap: 8px; }
  .diagram .dg-mobile { display: block; width: 100%; margin: 0 auto; }
  .diagram figcaption { font-size: .82rem; line-height: 1.45; text-align: center; }
}
/* The story map floats in the flow: a see-through panel, and on phones a smaller one. */
.story-map { background: radial-gradient(90% 70% at 60% 40%, rgba(var(--mint-rgb), .06), transparent 70%), rgba(11, 37, 41, .38); border-color: rgba(220, 240, 234, .1); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); }
@media (max-width: 980px) {
  .story-map { height: 40vh; min-height: 290px; max-height: 360px; box-shadow: 0 18px 24px -12px rgba(0, 0, 0, .6);
    background: radial-gradient(90% 70% at 60% 40%, rgba(var(--mint-rgb), .07), transparent 70%), rgba(8, 26, 29, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}

/* ---------- Sample report switcher ---------- */
.samples { display: grid; gap: 14px; min-width: 0; }
.sample-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sample-label { flex-basis: 100%; font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 2px; }
.sample-tabs [role="tab"] { font: 600 .86rem/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--ink); cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.sample-tabs [role="tab"]:hover { border-color: rgba(var(--amber-rgb), .5); }
.sample-tabs [role="tab"][aria-selected="true"] { background: var(--grad); border-color: transparent; color: var(--amber-ink); }
.samples .sheet:not([hidden]) { animation: panelin .6s cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 520px) { .sample-tabs [role="tab"] { font-size: .8rem; padding: 9px 12px; } }
.doc-glance { padding: 16px 20px; border-radius: 14px; background: #EEF6F2; border: 1px solid #A6D6C8; }
.doc-glance b { display: block; font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #14532D; margin-bottom: 8px; }

/* ---------- How we start: three steps under the contact heading ---------- */
.start-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: ss; text-align: left; width: 100%; max-width: 860px; }
.start-steps li { counter-increment: ss; position: relative; display: grid; gap: 4px; padding: 18px 18px 16px 56px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid var(--night-line); }
.start-steps li::before { content: counter(ss); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--amber-ink); font: 700 .85rem/1 var(--mono); }
.start-steps li:last-child { border-color: rgba(var(--mint-rgb), .55); }
.start-steps b { font: 700 1.02rem/1.25 var(--display); color: var(--on-night); }
.start-steps span { font-size: .9rem; color: var(--on-night-dim); }
@media (max-width: 760px) { .start-steps { grid-template-columns: 1fr; } }

/* ---------- Fix Ladder strip (folded into the story section) ---------- */
.ladder-strip { display: grid; gap: 10px; margin-top: 8px; }
.ladder-strip p { color: var(--on-night-dim); font-size: 1rem; }
.ladder-strip p b { color: var(--on-night); }
.ladder-strip ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ladder-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .04); font: 600 .86rem/1 var(--body); color: var(--on-night); }
.ladder-strip li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: var(--amber-ink); font: 700 .7rem/1 var(--mono); }
