/* 08 Runway: Merrow & Hale. Tokens come from ../shared/brand.css only. */
html { scroll-behavior: auto; }
body { overflow-x: clip; }
.h2 { font-size: var(--fs-h2); margin: .35em 0 0; line-height: .95; }
.h2 em, .serif em { color: var(--green); }
.dark .h2 em, .dark .serif em, .hero-pin .serif em { color: var(--brass-l); }
.hero-pin .serif em { color: var(--green); }
.sec-head { margin-bottom: clamp(36px, 6vw, 80px); max-width: 16ch; }
.sec-head .h2 { max-width: 14ch; }
section { position: relative; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- HERO ---------- */
.hero-pin { position: relative; min-height: 100vh; min-height: 100svh; padding: 110px 0 40px; background: var(--paper); overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: .8em; margin: 0 0 clamp(18px, 3vw, 36px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.hero-title { font-size: var(--fs-hero); margin: 0; line-height: .92; }
.hero-title .ln { display: block; }
.hero-title .w { display: inline-block; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 520px); gap: 28px; margin-top: clamp(22px, 3vw, 44px); }
.hero-lead { font-size: var(--fs-lead); line-height: 1.45; margin: 0; color: var(--ink-2); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-link { font-size: .95rem; text-underline-offset: 5px; }

/* default (no JS / reduced motion): card is a normal block showing the finished chart */
.hero-card { position: relative; margin: 48px var(--gutter) 0; background: var(--ink); color: var(--paper); border-radius: var(--radius); min-height: min(70vh, 560px); overflow: hidden; }
.hero-card .mini { display: none; }
.big { padding: 84px clamp(18px, 3vw, 44px) clamp(18px, 3vw, 44px); height: 100%; display: flex; flex-direction: column; gap: 14px; }
.chart-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.chart-head .label { color: var(--mute-d); margin: 0; }
.chart-title { font-size: clamp(1.6rem, 3vw, 2.8rem); margin: .2em 0 0; line-height: 1; }
.legend { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; font-size: .75rem; color: var(--mute-d); flex-wrap: wrap; }
.legend li { display: flex; align-items: center; gap: .6em; }
.lg { width: 22px; height: 0; border-top: 2px dashed var(--mute-d); }
.lg.b { border-top: 3px solid var(--green-2); }
.chart-svg { width: 100%; flex: 1; min-height: 0; overflow: visible; }
.chart-note { font-size: .7rem; color: var(--mute-d); margin: 0; }
.chart-svg text { font-family: var(--mono); fill: var(--mute-d); }
.scroll-cue { position: absolute; right: var(--gutter); top: 120px; display: none; }

/* JS grow mode: card is full-size and revealed with clip-path only */
.hero-grow .hero-pin { height: 100vh; height: 100svh; padding-bottom: 0; }
.hero-grow .hero-card { position: absolute; inset: 0; margin: 0; border-radius: 0; min-height: 0; clip-path: inset(70% 4% 4% 70% round 14px); z-index: 2; will-change: clip-path; }
.hero-grow .hero-card .big { opacity: 0; }
.hero-grow .hero-card .mini { display: flex; position: absolute; right: var(--gutter); bottom: var(--gutter); width: min(360px, 100% - 2 * var(--gutter)); height: 214px; padding: 20px; flex-direction: column; justify-content: space-between; }
.mini .label { color: var(--mute-d); }
.mini b { font-weight: 400; font-size: 3rem; line-height: 1; color: var(--brass-l); }
.mini b i { font-size: 1rem; font-style: normal; color: var(--mute-d); }
.mini svg { width: 100%; height: 56px; }
.hero-grow .scroll-cue { display: flex; gap: 12px; align-items: center; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); z-index: 3; }
.scroll-cue i { width: 40px; height: 1px; background: currentColor; }
@media (max-width: 720px) {
  .hero-grow .hero-card .mini { height: 150px; padding: 16px; }
  .mini b { font-size: 2.2rem; }
}

/* ---------- JOURNEY ---------- */
.journey { background: var(--ink); }
.j-stage { position: relative; padding: 120px 0 80px; }
.j-stage canvas, .j-vignette, .j-hud, .j-map, .j-cue { display: none; }
.j-intro { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.j-intro h2 { font-size: var(--fs-h2); margin: .3em 0; max-width: 12ch; }
.j-intro-sub { max-width: 46ch; color: var(--mute-d); font-size: var(--fs-lead); }
.j-panels { list-style: none; margin: 48px auto 0; padding: 0; width: min(100% - 2 * var(--gutter), var(--max)); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.jpanel { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 26px; }
.jpanel h3 { font-size: var(--fs-h3); margin: .3em 0 .4em; line-height: 1; }
.jpanel p { color: var(--mute-d); margin: 0 0 14px; font-size: .98rem; }
.jpanel .fig { color: var(--paper); font-size: .85rem; border-top: 1px solid rgba(179,142,85,.5); padding-top: 12px; margin: 0; }
.fig b { font-weight: 500; color: var(--brass-l); font-size: 1.15em; }

.pinned-journey .j-stage { height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.pinned-journey .j-stage canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.j-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(15,20,23,.65)), linear-gradient(to top, rgba(15,20,23,.55), transparent 38%); }
.pinned-journey .j-vignette { display: block; }
.pinned-journey .j-intro { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; margin: 0; width: auto; transform: translateY(-62%); max-width: 720px; pointer-events: none; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.pinned-journey .j-intro.gone { opacity: 0; transform: translateY(-72%); }
.pinned-journey .j-intro-sub { font-size: 1.05rem; }
.pinned-journey .j-cue { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-l); }
.j-cue i { width: 40px; height: 1px; background: currentColor; }
.pinned-journey .j-hud { display: flex; flex-direction: column; position: absolute; left: var(--gutter); top: 84px; gap: 2px; pointer-events: none; }
.j-hud .label { color: var(--brass-l); }
.j-hud b { font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.j-hud b i { font-style: normal; font-size: .9rem; color: var(--mute-d); letter-spacing: 0; margin-left: .4em; }
.j-hud em { font-style: normal; font-size: .78rem; color: var(--mute-d); transition: opacity .3s; }
.pinned-journey .j-map { display: block; position: absolute; right: var(--gutter); top: 84px; width: clamp(150px, 20vw, 260px); pointer-events: none; }
.j-map .label { display: block; margin-bottom: 4px; text-align: right; }
.j-map svg { width: 100%; height: auto; overflow: visible; }
.pinned-journey .j-panels { position: absolute; inset: 0; margin: 0; display: block; width: auto; pointer-events: none; }
.pinned-journey .jpanel { position: absolute; bottom: 11vh; width: min(410px, 100% - 2 * var(--gutter)); background: rgba(15,20,23,.78); border-color: var(--line-d); opacity: 0; transform: translate3d(0, 28px, 0); pointer-events: none; transition: opacity .7s var(--ease-out), transform 1s var(--ease-out); }
.pinned-journey .jpanel:nth-child(odd) { left: var(--gutter); }
.pinned-journey .jpanel:nth-child(even) { right: var(--gutter); }
.pinned-journey .jpanel.on { opacity: 1; transform: none; pointer-events: auto; }
.nogl .j-stage { background: radial-gradient(80% 60% at 50% 100%, rgba(46,125,105,.35), transparent 70%), var(--ink); }
.nogl .j-stage::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 70%; height: 55%; transform: translateX(-50%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); background: repeating-linear-gradient(to top, rgba(179,142,85,.35) 0 2px, transparent 2px 46px), var(--ink-2); }
@media (max-width: 720px) {
  .pinned-journey .jpanel { bottom: 62px; left: var(--gutter) !important; right: var(--gutter) !important; width: auto; padding: 18px; }
  .pinned-journey .jpanel p:not(.fig) { font-size: .88rem; }
  .pinned-journey .j-map { width: 110px; top: 76px; }
  .pinned-journey .j-hud { top: 76px; }
}

/* ---------- READINESS ---------- */
.meter { background: var(--ivory); }
.meter-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 60px; }
.meter-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.meter-lead { color: var(--ink-2); max-width: 36ch; }
.gauge-wrap { position: relative; }
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge text { font-family: var(--mono); font-size: 11px; fill: var(--mute); }
.gauge-read { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gauge-read b { font-weight: 400; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.03em; }
.rd-list { list-style: none; margin: 0; padding: 0; }
.rd-item { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .96rem; color: var(--mute); transition: color .5s var(--ease-out); }
.rd-item em { font-style: normal; font-size: .78rem; opacity: 0; transition: opacity .5s; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .5s var(--ease-out), border-color .5s; }
.tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .5s var(--ease-out); }
.rd-item.done { color: var(--ink); }
.rd-item.done em { opacity: 1; color: var(--green); }
.rd-item.done .tick { background: var(--green); border-color: var(--green); }
.rd-item.done .tick::after { transform: rotate(45deg) scale(1); }
@media (max-width: 900px) {
  .meter-grid { grid-template-columns: 1fr; gap: 6px; }
  .meter-pin { padding: 74px 0 24px; }
  .meter-lead { display: none; }
  .meter-copy .h2 { font-size: 2.2rem; margin-top: .1em; }
  .gauge-wrap { width: min(300px, 80%); margin: 0 auto; }
  .rd-item { padding: 7px 0; font-size: .84rem; }
}

/* ---------- NUMBERS ---------- */
.numbers { background: var(--ink-2); padding: clamp(80px, 11vw, 160px) 0; }
.num-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 70px); }
.num-head .h2 { max-width: 12ch; }
.stage-tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line-d); border-radius: 999px; }
.stage-tabs button { font: 500 .85rem var(--sans); color: var(--mute-d); background: none; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background .4s var(--ease-out), color .3s; }
.stage-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.slot { padding: 28px 24px 8px 0; border-right: 1px solid var(--line-d); padding-left: 24px; }
.slot:first-child { padding-left: 0; }
.slot:last-child { border-right: 0; }
.slot-val { font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1; margin: 22px 0 14px; display: flex; color: var(--paper); }
.slot p { margin: 0; font-size: .74rem; color: var(--mute-d); }
.dg { display: inline-block; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.dg-col { display: block; will-change: transform; }
.dg-col span { display: block; height: 1em; line-height: 1; }
.sep { display: inline-block; line-height: 1; height: 1em; }
.slot-val .cur { color: var(--brass-l); }
@media (max-width: 900px) {
  .slots { grid-template-columns: 1fr 1fr; }
  .slot { padding-left: 0; padding-right: 12px; border-right: 0; border-bottom: 1px solid var(--line-d); padding-bottom: 20px; }
  .slot-val { font-size: 2.3rem; }
}

/* ---------- SERVICES ---------- */
.services { padding: clamp(80px, 11vw, 160px) 0; background: var(--paper); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 70px minmax(200px, 1fr) minmax(0, 1.4fr) minmax(150px, .6fr); gap: 24px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; }
.svc::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.svc:hover::after { transform: scaleX(1); }
.svc h3 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); margin: 0; line-height: 1; font-weight: 400; font-family: var(--serif); transition: transform .8s var(--ease-out); }
.svc:hover h3 { transform: translateX(10px); }
.svc p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.svc ul { list-style: none; margin: 0; padding: 0; font-size: .74rem; color: var(--green); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.svc-n { color: var(--brass); font-size: .8rem; }
@media (max-width: 900px) { .svc { grid-template-columns: 40px 1fr; gap: 10px 14px; } .svc p, .svc ul { grid-column: 2; } }

/* ---------- LIQUID STEPPER ---------- */
.approach { background: var(--ink); padding: clamp(80px, 11vw, 160px) 0; }
.lq-track { position: relative; margin-bottom: 40px; }
.lq-svg { display: block; width: 100%; height: 64px; }
.lq-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.lq-steps button { background: none; border: 0; color: var(--mute-d); cursor: pointer; display: flex; flex-direction: column; gap: 4px; align-items: center; width: 100%; padding: 6px 4px 0; font-family: var(--sans); transition: color .4s; }
.lq-steps button b { font-weight: 500; font-size: .95rem; }
.lq-steps button span { font-size: .72rem; }
.lq-steps button[aria-current="step"] { color: var(--paper); }
.lq-steps button:hover { color: var(--brass-l); }
.lq-body { position: relative; min-height: 250px; }
.lq-pane { position: absolute; inset: 0 auto auto 0; width: min(100%, 780px); opacity: 0; visibility: hidden; transform: translate3d(0, 20px, 0); }
.lq-pane.on { opacity: 1; visibility: visible; transform: none; position: relative; }
.lq-fig { color: var(--brass-l); font-size: .85rem; margin: 0 0 10px; }
.lq-pane h3 { font-size: clamp(2rem, 4vw, 3.6rem); margin: 0 0 14px; line-height: 1; font-weight: 400; }
.lq-pane p:last-child { color: var(--mute-d); font-size: var(--fs-lead); max-width: 56ch; margin: 0; }
.lq-nav { display: flex; gap: 10px; margin-top: 26px; }
.lq-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-d); background: none; color: var(--paper); font-size: 1.1rem; cursor: pointer; transition: background .3s, color .3s, transform .5s var(--ease-out); }
.lq-btn:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.no-motion .lq-pane { transition: none; }
@media (max-width: 720px) { .lq-steps button b { font-size: .72rem; text-align: center; } .lq-body { min-height: 340px; } }

/* ---------- PROOF + MARQUEE ---------- */
.proof { background: var(--ivory); padding: clamp(80px, 11vw, 160px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: clamp(60px, 8vw, 110px); }
.stat b { display: block; font-weight: 400; font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: 1; color: var(--green); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
.marquees { display: grid; gap: 18px; }
.mq { overflow-x: auto; scrollbar-width: none; }
.mq::-webkit-scrollbar { display: none; }
.mq-track { display: flex; gap: 18px; width: max-content; padding: 0 9px; }
.js .mq { overflow: hidden; }
.js:not(.rm) .mq-track { animation: mq 70s linear infinite; will-change: transform; }
.js:not(.rm) .mq[data-dir="-1"] .mq-track { animation-direction: reverse; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }
.qcard { margin: 0; width: clamp(280px, 30vw, 430px); flex: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.qcard blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; }
.qcard figcaption { font-size: .72rem; color: var(--green); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 11vw, 160px) 0; background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq .sec-head { margin: 0; position: sticky; top: 100px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 18px; height: 18px; position: relative; transition: transform .6s var(--ease-out); }
summary i::before, summary i::after { content: ""; position: absolute; background: var(--green); left: 0; top: 8px; width: 18px; height: 2px; }
summary i::after { transform: rotate(90deg); }
details[open] summary i { transform: rotate(45deg); }
.ans { overflow: hidden; }
.ans p { margin: 0 0 26px; max-width: 56ch; color: var(--ink-2); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }

/* ---------- CONTACT + FOOTER ---------- */
.contact { background: var(--ink); padding: clamp(90px, 12vw, 180px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end; }
.contact-title { font-size: clamp(3.6rem, 10vw, 10rem); margin: .12em 0 .2em; line-height: .88; }
.contact-lead { max-width: 44ch; color: var(--mute-d); font-size: var(--fs-lead); }
.contact-meta { color: var(--brass-l); font-size: .85rem; margin-top: 30px; }
.cform { display: grid; gap: 22px; }
.cform label { display: grid; gap: 8px; }
.cform input, .cform select { font: 400 1rem var(--sans); color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line-d); padding: 10px 0 12px; border-radius: 0; transition: border-color .4s; }
.cform select option { color: var(--ink); }
.cform input:focus, .cform select:focus { border-color: var(--brass); outline: none; }
.cform .mh-btn { justify-self: start; border: 0; cursor: pointer; font-family: var(--sans); }
.form-msg { min-height: 1.4em; margin: 0; color: var(--brass-l); font-size: .8rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.foot { background: var(--ink); border-top: 1px solid var(--line-d); padding: 56px 0 90px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.foot p { color: var(--mute-d); font-size: .9rem; margin: 14px 0 0; }
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: .9rem; }
.foot-nav a { text-decoration: none; color: var(--mute-d); transition: color .3s; }
.foot-nav a:hover { color: var(--brass-l); }
.foot-note { grid-column: 1 / -1; font-size: .72rem !important; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }

@media (max-width: 720px) { .hero-grow .scroll-cue { display: none; } .big { padding-top: 70px; } }

.mini svg { flex: 1; height: auto; min-height: 56px; }
@media (min-width: 900px) { .mini b { font-size: 4.6rem; } .hero-grow .hero-card .mini { padding: 28px; } }
@media (max-width: 899px) { .hero-grow .hero-card .mini { top: auto !important; } }
