/* ==========================================================================
   NEW WORLD ORDER — the intelligence layer for business.
   Palette: BLACK · BONE · SIGNAL (scarce) · neutral steel.
   Typography: BRAND (large sans) · EDITORIAL (calm) · SYSTEM (small mono).
   The world/network is the environment. Signal = state, not decoration.
   ========================================================================== */
:root {
  --black: #0A0B0A;
  --black-2: #10110E;
  --black-3: #171815;
  --bone: #F2F1EB;
  --bone-dim: #DCDAD2;
  --signal: #D9FF3F;
  --steel: #A5A9A3;
  --steel-dim: #9AA097;
  --line: #232520;
  --line-2: #2E312B;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--black);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* accessible focus (keyboard navigation) */
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
img, svg, canvas { display: block; max-width: 100%; }

/* the persistent world */
.world { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; z-index: 0; pointer-events: none; }
main, footer { position: relative; z-index: 1; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wide { max-width: 1400px; }
.mono { font-family: var(--mono); }

/* -------- SYSTEM voice (small mono) -------- */
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--steel-dim);
  display: flex; align-items: center; gap: 8px;
}
.label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }

/* -------- nav -------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(10,11,10,0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(35,37,32,0.6);
}
.brand { font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; color: var(--bone); display: flex; align-items: center; gap: 10px; }
.brand .mark { color: var(--signal); font-size: 13px; }
header.nav nav { display: flex; gap: 28px; align-items: center; }
header.nav nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); transition: color .15s; }
header.nav nav a:hover { color: var(--bone); }
header.nav nav a.cta { color: var(--black); background: var(--bone); padding: 9px 16px; border-radius: 2px; font-weight: 600; }
header.nav nav a.cta:hover { background: #fff; color: var(--black); }

/* -------- buttons (bone = neutral; signal only for state) -------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; padding: 17px 30px; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn.primary { background: var(--bone); color: var(--black); }
.btn.primary:hover { background: #ffffff; transform: translateY(-1px); }
.btn.ghost { border-color: var(--line-2); color: var(--bone); background: transparent; }
.btn.ghost:hover { border-color: var(--steel); }

/* -------- hero -------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 150px 0 90px;
}
.hero .inner { position: relative; z-index: 2; max-width: 980px; }
.hero .status {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 2px;
  margin-bottom: 44px; background: rgba(10,11,10,0.4);
}
.hero .status .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(217,255,63,0.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,255,63,0.5); } 70% { box-shadow: 0 0 0 8px rgba(217,255,63,0); } 100% { box-shadow: 0 0 0 0 rgba(217,255,63,0); } }
.hero h1 {
  font-size: clamp(46px, 9.5vw, 140px); line-height: 1.0;
  font-weight: 600; letter-spacing: -0.02em;
  text-shadow: 0 2px 32px rgba(0,0,0,0.7);
}
.hero h1 .row { display: block; }
.hero h1 .outline { color: var(--steel); }
.funnel-stage .lede { font-size: clamp(17px, 2vw, 21px); color: var(--steel); margin-top: 22px; max-width: 560px; }
.hero .cta-row { display: flex; gap: 18px; margin-top: 46px; flex-wrap: wrap; align-items: center; }

/* -------- sections (varied rhythm) -------- */
section { padding: 150px 0; position: relative; }
section.bone { background: var(--bone); color: var(--black); }
section.bone .label, section.bone .kicker { color: #7a7d74; }
section.bone .sec-sub { color: #44473f; }
section.tight { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 72px; }
.section-head .label { margin-bottom: 26px; }
h2 { font-size: clamp(30px, 5.5vw, 74px); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; }
.sec-sub { color: var(--steel); margin-top: 22px; font-size: 18px; max-width: 640px; }
[id] { scroll-margin-top: 96px; }

/* -------- thesis -------- */
.thesis { font-size: clamp(30px, 6vw, 76px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; max-width: 980px; }
.thesis .hi { color: var(--bone); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 9px; }
.thesis .dim { color: var(--steel-dim); }
.trilogy { display: flex; flex-direction: column; max-width: 760px; }
.trilogy .t { display: flex; align-items: baseline; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line-2); font-size: clamp(20px, 3vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
.trilogy .t:last-child { border-bottom: 1px solid var(--line-2); }
.trilogy .n { font-family: var(--mono); font-size: 13px; color: var(--steel-dim); letter-spacing: .1em; }

/* -------- capability / exec -------- */
.exec { display: flex; flex-direction: column; max-width: 760px; }
.exec .step { display: flex; align-items: baseline; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(0,0,0,0.14); font-size: 22px; font-weight: 500; }
.exec .step .i { font-family: var(--mono); font-size: 12px; color: #7a7d74; min-width: 36px; }

/* -------- remembers / learns / works -------- */
.caps { display: grid; grid-template-columns: 1fr; }
.cap { display: grid; grid-template-columns: 130px 1fr 1.2fr; gap: 30px; align-items: baseline; padding: 44px 0; border-top: 1px solid var(--line-2); }
.cap:last-child { border-bottom: 1px solid var(--line-2); }
.cap .num { font-family: var(--mono); font-size: 13px; color: var(--steel-dim); letter-spacing: .1em; }
.cap h3 { font-size: clamp(22px, 3vw, 36px); font-weight: 600; letter-spacing: -0.01em; }
.cap p { color: var(--steel); font-size: 16px; max-width: 430px; }
@media (max-width: 760px) { .cap { grid-template-columns: 1fr; gap: 10px; } }

/* -------- proof / deployment -------- */
.deploy { border: 1px solid var(--line-2); border-radius: 3px; padding: 48px; max-width: 860px; background: rgba(16,17,14,0.6); }
.deploy .tag { font-family: var(--mono); font-size: 12px; color: var(--steel); letter-spacing: .14em; text-transform: uppercase; }
.deploy h3 { font-size: clamp(26px, 4vw, 48px); font-weight: 600; letter-spacing: -0.01em; margin: 16px 0 22px; }
.deploy .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 22px; margin-top: 28px; }
.deploy .fact .k { font-family: var(--mono); font-size: 11px; color: var(--steel-dim); letter-spacing: .1em; text-transform: uppercase; }
.deploy .fact .v { font-family: var(--mono); font-size: 22px; color: var(--bone); margin-top: 4px; }

/* -------- final cta -------- */
.final h2 { font-size: clamp(36px, 7.5vw, 108px); font-weight: 600; letter-spacing: -0.02em; }

/* -------- transition scene (old order -> new order) -------- */
.scene-section { position: relative; height: 220vh; }
.scene-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.scene-sticky .wrap { width: 100%; }
.scene-title { font-size: clamp(34px, 6.5vw, 88px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; max-width: 980px; }
.scene-title .dim { color: var(--steel-dim); }
.scene-conn { margin-top: 56px; max-width: 560px; }
.scene-conn svg { width: 100%; height: auto; }
.scene-conn .cnode { fill: var(--steel); }
.scene-conn .cnode.on { fill: var(--bone); }
.scene-conn .cnode.sig { fill: var(--signal); }
.scene-conn .cedge { stroke: var(--line-2); stroke-width: 1.2; }

/* -------- footer -------- */
footer { padding: 56px 0; border-top: 1px solid var(--line); }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--steel-dim); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
footer a { color: var(--steel); }
footer a:hover { color: var(--bone); }

/* -------- discovery -------- */
.disc-wrap { max-width: 560px; margin: 0 auto; }
.funnel { max-width: 640px; margin-top: 44px; }
.fstep { display: none; }
.fstep.active { display: block; }
.factions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 16px; }
.disc-step { display: none; }
.disc-step.active { display: block; }
.disc-head { margin-bottom: 40px; }
.disc-head .label { margin-bottom: 18px; }
.disc-head h2 { font-size: clamp(26px, 5vw, 46px); }
.big-input {
  width: 100%; background: var(--black-2); border: 1px solid var(--line-2); color: var(--bone);
  padding: 18px 20px; font-size: 20px; font-family: var(--sans); border-radius: 2px; margin-bottom: 16px;
}
.big-input:focus { outline: none; border-color: var(--signal); }
.big-input::placeholder { color: var(--steel-dim); }
.field-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); margin: 20px 0 8px; display: block; }
.disc-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; gap: 16px; }
.disc-status { font-family: var(--mono); font-size: 12px; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.slot { font-family: var(--mono); font-size: 13px; padding: 14px 10px; text-align: center; border: 1px solid var(--line-2); border-radius: 2px; cursor: pointer; color: var(--steel); background: transparent; }
.slot:hover { border-color: var(--steel); }
.slot.on { border-color: var(--signal); color: var(--signal); background: rgba(217,255,63,0.06); position: relative; font-weight: 600; }
.slot.on::after { content: '✓'; position: absolute; top: 3px; right: 6px; font-size: 10px; line-height: 1; color: var(--signal); }
.chip.on::before { content: '✓ '; color: var(--signal); }
.confirmed { text-align: center; padding: 10px 0 4px; }
.confirmed .mark { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--signal); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--signal); font-size: 22px; }
.confirmed h2 { font-size: clamp(28px, 5vw, 48px); }
.confirmed .meta { font-family: var(--mono); font-size: 14px; color: var(--steel); margin-top: 20px; line-height: 2; }

/* -------- command centre (retained) -------- */
.cc-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 20px 0; }
.cc-bar input, .cc-bar select { width: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th, table.list td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.list th { color: var(--steel-dim); font-weight: 500; font-size: 12px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
table.list tr:hover td { background: var(--black-2); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-family: var(--mono); }
.pill.stage { background: var(--black-2); color: var(--bone); border: 1px solid var(--line-2); }
.pill.overdue { background: rgba(248,113,113,0.12); color: #f87171; }
.pill.active { background: rgba(217,255,63,0.1); color: var(--signal); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 26px; }
@media (max-width: 780px) { .detail-grid { grid-template-columns: 1fr; } }
.panel { background: var(--black-2); border: 1px solid var(--line); border-radius: 3px; padding: 24px; margin-bottom: 22px; }
.panel h3 { font-size: 13px; margin-bottom: 14px; color: var(--steel-dim); text-transform: uppercase; letter-spacing: .1em; font-family: var(--mono); font-weight: 500; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: 15px; margin-bottom: 8px; }
.kv .k { color: var(--steel-dim); }
.activity { font-size: 14px; }
.activity .a { padding: 10px 0; border-bottom: 1px solid var(--line); }
.activity .a .when { color: var(--steel-dim); font-size: 12px; font-family: var(--mono); }
input, select, textarea {
  width: 100%; padding: 13px 15px; border-radius: 2px; font-size: 16px;
  background: var(--black-2); border: 1px solid var(--line-2); color: var(--bone); font-family: var(--sans);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); }
label { display: block; font-size: 13px; color: var(--steel); margin: 16px 0 6px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
textarea { min-height: 96px; resize: vertical; }
.muted { color: var(--steel); }
.mt { margin-top: 16px; }
.small { font-size: 13px; color: var(--steel); }
.msg { padding: 12px 16px; border-radius: 2px; margin: 16px 0; font-family: var(--mono); font-size: 13px; }
.msg.ok { background: rgba(217,255,63,0.08); color: var(--signal); }
.msg.err { background: rgba(248,113,113,0.1); color: #f87171; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 20px; cursor: pointer; font-size: 14px; color: var(--steel); background: var(--black-2); user-select: none; }
.chip.on { border-color: var(--signal); color: var(--signal); }

/* -------- scroll reveal + motion -------- */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* -------- responsive -------- */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  header.nav { padding: 15px 20px; }
  header.nav nav a:not(.cta) { display: none; }
  section { padding: 96px 0; }
  .hero { min-height: auto; padding: 68px 0 40px; }
  .hero .status { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 44px); line-height: 1.05; }
  .funnel-stage .lede { margin-top: 12px; font-size: 16px; }
  .hero .funnel { margin-top: 22px; }
  .field-label { margin: 14px 0 6px; }
  .big-input { padding: 14px 16px; font-size: 17px; }
  .factions { margin-top: 20px; }
  .btn { padding: 15px 24px; font-size: 12px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { justify-content: center; }
  .deploy { padding: 30px 22px; }
  .scene-section { height: 200vh; }
}

/* -------- funnel shell (single-viewport app, no page scroll) -------- */
.funnel-shell {
  position: fixed;
  inset: 0;
  height: 100vh;    /* fallback */
  height: 100dvh;   /* dynamic viewport — browser-computed, tracks the visual viewport incl. keyboard */
  display: flex; flex-direction: column;
  z-index: 2; overflow: hidden;
  padding-top: 52px; /* clear the fixed nav */
}
.funnel-world {
  flex: none;
  height: var(--world-h, 38vh);
  transition: height .28s ease;
}
.funnel-step {
  flex: none; padding: 10px 22px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel-dim);
}
.funnel-stage {
  flex: 1 1 auto; min-height: 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 8px 22px;
  overflow-y: auto; overflow-x: hidden; /* safety: stage scrolls internally on short screens, page never does */
}
.funnel-stage .inner {
  width: 100%; max-width: 520px;
  margin: auto 0; /* centered when it fits; top-aligned (not clipped) when it overflows */
}
.funnel-actions {
  flex: none; padding: 12px 22px calc(16px + env(safe-area-inset-bottom));
}
.funnel-actions .btn { width: 100%; justify-content: center; padding: 18px 24px; font-size: 14px; }
.funnel-actions .btn:disabled { opacity: .6; }

/* compact the funnel forms so they fit the control zone without clipping */
.funnel-stage .field-label { margin: 8px 0 3px; }
.funnel-stage .big-input { padding: 11px 14px; margin-bottom: 4px; }
.funnel-stage .factions { margin-top: 14px; }
.funnel-stage .building-toward { margin-bottom: 2px; }

/* FOCUS MODE — keyboard open: compress world zone, keep input + CTA reachable */
.funnel-shell.focus .funnel-step { display: none; }
.funnel-shell.focus .funnel-stage { align-items: flex-start; padding-top: 4px; }
.funnel-shell.focus .funnel-stage .inner { margin-top: 0; margin-bottom: 0; }  /* top-align: don't let auto-margin centre the CTA below the fold */
.funnel-shell.focus .hero-q { font-size: clamp(16px, 4.5vw, 22px); line-height: 1.15; }
.funnel-shell.focus .lede { display: none; }
.funnel-shell.focus .field-label { margin: 8px 0 4px; }
.funnel-shell.focus #s1_status { display: none; }
.funnel-shell.focus #f_desire { max-height: 64px; }
.funnel-shell.focus .funnel-actions { display: none; }   /* don't bottom-pin CTA behind the keyboard */
.inline-cta { display: none; width: 100%; justify-content: center; margin-top: 12px; }
.funnel-shell.focus .inline-cta { display: flex; }

body.funnel-lock { overflow: hidden; position: fixed; inset: 0; width: 100%; }
body.funnel-lock footer { display: none; }

/* -------- intent summary (collapsed intent after interpretation) -------- */
.intent-summary {
  border: 1px solid var(--line-2); border-radius: 3px;
  padding: 14px 16px; background: rgba(16, 17, 14, 0.55);
  margin-top: 14px;
}
.intent-summary .is-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-dim); }
.intent-summary .is-text { font-size: 17px; color: var(--bone); margin-top: 6px; line-height: 1.4; }
.edit-link { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); cursor: pointer; margin-top: 10px; display: inline-block; }

/* -------- interpretation reveal: what you said / what NWO understood / what this involves -------- */
.interp-understood { margin-top: 16px; }
.interp-understood .is-text { font-size: 16px; color: var(--bone); line-height: 1.45; margin-top: 5px; }
.interp-involves { margin-top: 14px; }
.interp-involves .chips { margin-top: 8px; }
.interp-involves .chip { cursor: default; }

/* -------- "building toward" (identity continuity) -------- */
.building-toward { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-dim); margin-bottom: 6px; }
.building-toward .bt-value { color: var(--signal); }

/* -------- saved feedback (post-booking auto-save) -------- */
.saved-note { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--signal); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.saved-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.chip.on { border-color: var(--signal); color: var(--signal); background: rgba(217,255,63,0.08); }

/* -------- confirmed terminal state -------- */
.confirmed .meta { font-family: var(--mono); font-size: 14px; color: var(--steel); margin-top: 12px; line-height: 1.7; }
.confirmed .meta .row { display: flex; justify-content: space-between; gap: 16px; }
.confirmed .meta .k { color: var(--steel-dim); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }
.confirmed .meta .v { color: var(--bone); }

/* -------- optional free text after booking -------- */
.optional-text { margin-top: 18px; }
.optional-text .big-input { font-size: 16px; }

/* -------- interpretation reveal -------- */
.interp-head { margin-bottom: 16px; }
.interp-overline { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-dim); }
.interp-focus { font-size: clamp(26px, 7vw, 38px); color: var(--signal); margin-top: 6px; line-height: 1.08; font-weight: 600; }

/* -------- identity micro-input (ONE fixed interaction slot) -------- */
.id-question { font-size: 22px; color: var(--bone); line-height: 1.2; min-height: 52px; margin-bottom: 14px; }
.id-input-wrap { position: relative; height: 50px; }
.id-input-wrap .id-in { position: absolute; top: 0; left: 0; width: 100%; display: none; margin-bottom: 0; }
.id-input-wrap .id-in.on { display: block; }

/* -------- context stage (one dynamic follow-up question) -------- */
.context-question { font-size: 20px; color: var(--bone); line-height: 1.25; min-height: 44px; margin-bottom: 10px; font-weight: 600; }
.context-quick { display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.context-quick::-webkit-scrollbar { display: none; }
.context-quick .chip { flex: none; white-space: nowrap; background: transparent; border: 1px solid var(--line-2); color: var(--steel); border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; line-height: 1.2; transition: border-color .15s, color .15s; }
.context-quick .chip:active { border-color: var(--signal); color: var(--bone); }
.funnel-stage #f_context { min-height: 46px; resize: none; }

/* identity + context: centered when keyboard is closed (balanced), top-aligned in
   focus mode via .funnel-shell.focus (keyboard-safe fixed slot). */

/* -------- time compact two-column -------- */
.slots.two-col { grid-template-columns: repeat(2, 1fr); }
/* dates: horizontal carousel (single row) so the BOOK stage fits short screens */
.slots.dates-row { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 30px), transparent 100%); }
.slots.dates-row::-webkit-scrollbar { display: none; }
.slots.dates-row .slot { flex: none; white-space: nowrap; min-width: 96px; }

/* -------- terminal state (post-booking) -------- */
.terminal { text-align: center; padding-top: 4px; }
.terminal .mark { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--signal); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--signal); font-size: 22px; }
.terminal h2 { font-size: clamp(28px, 6vw, 40px); }
.terminal .sub { color: var(--steel); font-size: 17px; margin-top: 10px; }
.terminal .sub .mono { color: var(--bone); }
.t-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.t-actions .btn { padding: 13px 20px; }

/* -------- scroll lock on body (iOS scroll-lock is handled separately if needed) -------- */
.hero { min-height: 100vh; min-height: 100dvh; }
.funnel-stage h1.hero-q {
  font-size: clamp(28px, 6.4vw, 78px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.heard {
  margin-top: 22px; padding: 16px 18px;
  border: 1px solid var(--line-2); border-radius: 3px;
  background: rgba(16, 17, 14, 0.68);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.heard-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em;
  color: var(--steel); line-height: 1.5;
}
.heard-line .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; margin-top: 5px; }
.heard-line .heard-txt { color: var(--bone); }
.heard .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--signal); border: 1px solid rgba(217, 255, 63, 0.35);
  padding: 6px 10px; border-radius: 2px; background: rgba(217, 255, 63, 0.06);
  white-space: nowrap;
}
#s1_status { transition: color .3s; }

@media (max-width: 720px) {
  .funnel-stage h1.hero-q { font-size: clamp(27px, 7.4vw, 40px); }
  .heard { padding: 14px 15px; margin-top: 18px; }
}
