/* ELEV8 Greater Mind — site styles
   Brand palette (verified): ink #132433 · text #23303D · teal #137372 · muted #5F6F7C · tint #F0F7F7 · line #C6DBDC */

:root {
  --ink: #132433;
  --ink-deep: #0d1a26;
  --text: #23303D;
  --teal: #137372;
  --teal-dark: #0f5e5d;
  --teal-on-ink: #6cc2bf;   /* teal tuned for contrast on navy */
  --muted: #5F6F7C;
  --tint: #F0F7F7;
  --line: #C6DBDC;
  --line-ink: rgba(198, 219, 220, 0.18);
  --paper: #ffffff;
  --warn: #8a5a12;
  --warn-bg: #fbf3e4;

  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 520ms;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(19, 36, 51, 0.06), 0 8px 24px rgba(19, 36, 51, 0.06);
  --shadow-lift: 0 2px 4px rgba(19, 36, 51, 0.08), 0 16px 40px rgba(19, 36, 51, 0.10);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.18; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
.section-ink :focus-visible, .hero :focus-visible, .nav :focus-visible, .offer-alt :focus-visible { outline-color: var(--teal-on-ink); }

.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: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); transition: top var(--t-fast) var(--ease-out); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-ink { background: var(--ink); color: #d9e4ea; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-lede { font-size: 1.075rem; color: var(--muted); max-width: 64ch; }
.section-ink .section-lede { color: #b4c4cf; }

.eyebrow { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow-light { color: var(--teal-on-ink); }
.fine { font-size: 0.85rem; color: var(--muted); }
.section-ink .fine { color: #9fb1bd; }
.label-note { margin-top: 18px; }
.text-link { color: var(--teal); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link-light { color: var(--teal-on-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-align: center;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--teal-dark); }
  .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
  .btn-light:hover { background: var(--tint); }
  .btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
  .text-link:hover { text-decoration-thickness: 2px; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--teal-on-ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(19, 36, 51, 0.94);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-ink);
  color: #fff;
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.06em; color: #fff; text-decoration: none; white-space: nowrap; margin: 0; }
.wordmark span { font-family: var(--sans); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-on-ink); margin-left: 6px; }
.nav-menu { display: flex; align-items: center; gap: 18px; }
.nav-links { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 8px 9px;
  color: #c3d2db; text-decoration: none; font-size: 0.85rem; font-weight: 500;
  transition: color var(--t-fast) var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px;
  background: var(--teal-on-ink); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--t-med) var(--ease-out);
}
.nav-links a[aria-current="true"] { color: #fff; }
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav-links a:hover { color: #fff; } }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative;
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast);
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 8px 24px 24px; background: var(--ink); border-bottom: 1px solid var(--line-ink);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .nav-menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line-ink); }
  .nav-links a::after { left: 0; right: auto; width: 24px; bottom: 6px; }
  .nav-menu .btn { min-height: 46px; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #d9e4ea; padding: clamp(56px, 8vw, 104px) 0 40px; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(rgba(108,194,191,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,194,191,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-title {
  font-size: clamp(2.2rem, 1.2rem + 4vw, 4.3rem); line-height: 1.05; letter-spacing: 0.005em;
  text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 24px;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--teal-on-ink); }
.hero-lede { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem); color: #c3d2db; max-width: 58ch; }
.hero-tagline { margin: 28px 0 0; font-family: var(--serif); font-style: italic; color: #9fb1bd; }

/* Hero entrance (runs once; neutralized for reduced motion) */
.hero-title .line, .hero-lede, .hero .cta-row, .hero-tagline, .hero-console { animation: rise 720ms var(--ease-out) both; }
.hero-title .accent { animation-delay: 90ms; }
.hero-lede { animation-delay: 180ms; }
.hero .cta-row { animation-delay: 260ms; }
.hero-tagline { animation-delay: 340ms; }
.hero-console { animation-delay: 220ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Hero console */
.hero-console {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line-ink); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.console-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.console-head p { margin: 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9fb1bd; font-weight: 600; flex: 1; }
.console-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-on-ink); box-shadow: 0 0 0 4px rgba(108,194,191,0.15); }
.console-pause { border: 1px solid var(--line-ink); background: transparent; color: #c3d2db; font-size: 0.75rem; padding: 5px 12px; border-radius: 999px; cursor: pointer; min-height: 30px; }
.console-stages { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.console-stages button {
  width: 100%; border: 0; background: transparent; cursor: pointer; padding: 10px 0 6px; text-align: left;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; color: #7f93a1; text-transform: uppercase;
  position: relative; transition: color var(--t-med) var(--ease-out); overflow: hidden; text-overflow: ellipsis;
}
.console-stages button::before, .console-stages button::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; border-radius: 2px; }
.console-stages button::before { background: rgba(255,255,255,0.1); }
.console-stages button::after { background: var(--teal-on-ink); transform: scaleX(0); transform-origin: 0 50%; }
.console-stages button.is-done::after { transform: scaleX(1); }
.console-stages button.is-active { color: #fff; }
.console-stages button.is-active::after { transform: scaleX(1); transition: transform var(--console-ms, 3600ms) linear; }
.console-stages button.is-reset::after { transition: none; transform: scaleX(0); }
.hero-console.is-paused .console-stages button.is-active::after { transition: none; transform: scaleX(1); }
.console-readout { min-height: 128px; padding: 16px; border-radius: var(--radius); background: rgba(0,0,0,0.18); border: 1px solid var(--line-ink); }
.console-stage-name { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin: 0 0 6px; }
.console-stage-line { margin: 0; color: #c3d2db; font-size: 0.95rem; }
.console-readout.swap .console-stage-name, .console-readout.swap .console-stage-line { animation: fadeUp 380ms var(--ease-out) both; }
.console-readout.swap .console-stage-line { animation-delay: 50ms; }
.console-foot { margin: 14px 0 0; font-size: 0.82rem; color: #9fb1bd; }
.console-foot a { color: var(--teal-on-ink); }

.statements { list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-ink); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.statements li { font-family: var(--serif); font-size: 1.05rem; color: #e6eef2; padding-left: 16px; border-left: 2px solid var(--teal-on-ink); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .statements { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.reveal.pre { opacity: 0; transform: translateY(16px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); }
.reveal.pre.is-in { opacity: 1; transform: none; }

/* ---------- Risk grid ---------- */
.risk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.risk { background: #fff; padding: 24px 20px 28px; transition: background-color var(--t-med) var(--ease-out), opacity 640ms var(--ease-out), transform 640ms var(--ease-out); }
.risk-k { display: block; font-size: 0.75rem; font-weight: 600; color: var(--teal); letter-spacing: 0.1em; margin-bottom: 18px; }
.risk h3 { font-size: 1.08rem; }
.risk p { font-size: 0.92rem; color: var(--muted); margin: 0; }
@media (hover: hover) { .risk:hover { background: var(--tint); } }
@media (max-width: 1000px) { .risk-grid { grid-template-columns: repeat(2, 1fr); } .risk:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .risk-grid { grid-template-columns: 1fr; } }

/* ---------- Toggle (before / after) ---------- */
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 28px; }
.toggle-btn { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--muted); cursor: pointer; transition: color var(--t-med) var(--ease-out); white-space: nowrap; }
.toggle-btn[aria-pressed="true"] { color: #fff; }
.toggle-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--muted); transition: transform var(--t-slow) var(--ease-out), background-color var(--t-slow) var(--ease-out); }
.toggle.is-after .toggle-thumb { transform: translateX(100%); background: var(--teal); }
@media (max-width: 560px) { .toggle { display: grid; width: 100%; } .toggle-btn { white-space: normal; padding: 10px 12px; font-size: 0.82rem; } }

.tf-board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: tf; }
.tf-card {
  position: relative; background: #fff; border: 1px dashed #b7c3cb; border-radius: var(--radius-lg); padding: 20px 18px; min-height: 0;
  transform: translate(var(--dx), var(--dy)) rotate(var(--r));
  transition: transform var(--t-slow) var(--ease-out), border-color var(--t-slow), box-shadow var(--t-slow);
  counter-increment: tf;
}
.tf-card:nth-child(2) { transition-delay: 40ms; } .tf-card:nth-child(3) { transition-delay: 80ms; }
.tf-card:nth-child(4) { transition-delay: 120ms; } .tf-card:nth-child(5) { transition-delay: 160ms; }
.tf-k { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; transition: color var(--t-med); }
.tf-card p { margin: 0; font-size: 0.95rem; }
.tf-before, .tf-after { transition: opacity var(--t-med) var(--ease-out); }
.tf-card .tf-before { color: var(--muted); }
.tf-card { display: grid; grid-template-rows: auto 1fr; align-content: start; }
.tf-card .tf-k { justify-self: start; }
.tf-card .tf-before, .tf-card .tf-after { grid-area: 2 / 1; }
.tf-status .tf-before, .tf-status .tf-after { grid-area: 1 / 1; }
.tf-after { opacity: 0; }
.tf-card::after { content: "?"; position: absolute; top: 14px; right: 16px; font-family: var(--serif); color: #b7c3cb; font-size: 1.1rem; }

.transform[data-state="after"] .tf-card { transform: none; border: 1px solid var(--line); box-shadow: var(--shadow); }
.transform[data-state="after"] .tf-card::after { content: counter(tf, decimal-leading-zero); font-family: var(--sans); font-size: 0.75rem; font-weight: 600; color: var(--teal); }
.transform[data-state="after"] .tf-k { color: var(--teal); }
.transform[data-state="after"] .tf-before { opacity: 0; }
.transform[data-state="after"] .tf-after { opacity: 1; }
.transform[data-state="after"] .tf-card:not(:last-child)::before { content: ""; position: absolute; top: 50%; right: -17px; width: 17px; height: 1px; background: var(--teal); }

.tf-status { position: relative; display: grid; margin-top: 40px; padding: 16px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-height: 58px; transition: border-color var(--t-slow); }
.tf-status p { margin: 0; }
.transform[data-state="after"] .tf-status { border-color: var(--teal); }
.tf-pill { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-right: 10px; vertical-align: 1px; }
.tf-pill-warn { background: var(--warn-bg); color: var(--warn); }
.tf-pill-ok { background: var(--tint); color: var(--teal-dark); }

@media (max-width: 1100px) {
  .tf-board { grid-template-columns: 1fr 1fr; }
  .tf-card { --dx: 0px !important; min-height: 0; }
  .tf-card:last-child { grid-column: 1 / -1; }
  .transform[data-state="after"] .tf-card::before { display: none; }
}
@media (max-width: 560px) {
  .tf-board { grid-template-columns: 1fr; gap: 12px; }
  .tf-card { --dy: 0px !important; min-height: 0; }
  .tf-status { margin-top: 24px; }
}

/* ---------- Journey ---------- */
.journey { border: 1px solid var(--line-ink); border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); overflow: hidden; }
.journey-rail { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line-ink); }
.journey-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.journey-line span { display: block; height: 100%; background: var(--teal-on-ink); transform-origin: 0 50%; transform: scaleX(0.1667); transition: transform var(--t-slow) var(--ease-out); }
.journey-tab {
  border: 0; background: transparent; cursor: pointer; text-align: left; padding: 20px 18px 18px;
  color: #8fa3b1; border-right: 1px solid var(--line-ink);
  transition: color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out);
}
.journey-tab:last-of-type { border-right: 0; }
.journey-tab .jt-n { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 6px; }
.journey-tab .jt-name { display: block; font-weight: 600; letter-spacing: 0.12em; font-size: 0.85rem; }
.journey-tab[aria-selected="true"] { color: #fff; background: rgba(108,194,191,0.08); }
.journey-tab[aria-selected="true"] .jt-n { color: var(--teal-on-ink); }
@media (hover: hover) { .journey-tab:hover { color: #fff; } }
.journey-panel { padding: clamp(24px, 4vw, 44px); }
.journey-panel:focus-visible { outline-offset: -4px; }
.jp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.jp-head h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0; }
.jp-head p { margin: 0; font-family: var(--serif); font-style: italic; color: var(--teal-on-ink); font-size: 1.1rem; }
.jp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.jp-col h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8fa3b1; margin-bottom: 12px; }
.jp-col ul { margin: 0; padding: 0; list-style: none; }
.jp-col li { position: relative; padding-left: 18px; margin-bottom: 10px; color: #d9e4ea; font-size: 0.96rem; }
.jp-col li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--teal-on-ink); }
.jp-col-benefit { background: rgba(108,194,191,0.08); border-radius: var(--radius); padding: 18px; }
.jp-col-benefit p { color: #fff; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 10px; }
.jp-col-benefit .jp-note { font-family: var(--sans); font-size: 0.85rem; color: #b4c4cf; margin: 0; }
.jp-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-ink); }
.jp-foot button { border: 0; background: transparent; color: var(--teal-on-ink); font-weight: 600; cursor: pointer; padding: 8px 0; min-height: 40px; }
.jp-foot button:disabled { opacity: 0.35; cursor: default; }
.journey-panel.swap .jp-head, .journey-panel.swap .jp-col { animation: fadeUp 420ms var(--ease-out) both; }
.journey-panel.swap .jp-col:nth-child(2) { animation-delay: 60ms; }
.journey-panel.swap .jp-col:nth-child(3) { animation-delay: 120ms; }
@media (max-width: 900px) {
  .journey-rail { grid-template-columns: repeat(3, 1fr); }
  .journey-tab:nth-of-type(3) { border-right: 0; }
  .journey-tab:nth-of-type(-n+3) { border-bottom: 1px solid var(--line-ink); }
  .journey-line { display: none; }
  .jp-cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 520px) {
  .journey-tab { padding: 14px 12px; }
  .journey-tab .jt-name { font-size: 0.72rem; letter-spacing: 0.08em; }
}

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-verified { background: #e2f1f0; color: var(--teal-dark); }
.badge-illustrative { background: var(--warn-bg); color: var(--warn); }
.badge-closed { background: #eceff2; color: #4c5b67; }

/* ---------- Dashboard ---------- */
.dash { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lift); overflow: hidden; }
.dash-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 14px 20px; background: var(--ink); color: #fff; }
.dash-title { margin: 0; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; }
.dash-legend { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.8rem; color: #b4c4cf; }
.dash-legend .badge-illustrative { margin-left: 8px; }
.dash-disclaimer { margin: 0; padding: 10px 20px; background: var(--tint); border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.dash-body { display: grid; grid-template-columns: 250px 1fr; min-height: 560px; }
.dash-nav { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 10px; gap: 2px; background: #fbfdfd; }
.dash-nav button {
  display: flex; gap: 12px; align-items: baseline; text-align: left; border: 0; background: transparent; cursor: pointer;
  padding: 12px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; color: var(--text); line-height: 1.35;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.dash-nav button span { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.dash-nav button[aria-selected="true"] { background: var(--ink); color: #fff; }
.dash-nav button[aria-selected="true"] span { color: var(--teal-on-ink); }
@media (hover: hover) { .dash-nav button:not([aria-selected="true"]):hover { background: var(--tint); } }
.dash-panels { min-width: 0; }
.dash-panel { padding: clamp(20px, 3vw, 32px); }
.dash-panel:not([hidden]) { animation: fadeUp 360ms var(--ease-out) both; }
.dash-panel:focus-visible { outline-offset: -4px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.panel-head h3 { margin-bottom: 6px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }
@media (max-width: 860px) {
  .dash-body { grid-template-columns: 1fr; min-height: 0; }
  .dash-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x proximity; scrollbar-width: none; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav button { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  .panel-head { flex-direction: column; }
}

/* Timeline */
.timeline { --tl-label: 210px; position: relative; }
.tl-axis { position: relative; height: 26px; margin-left: var(--tl-label); border-bottom: 1px solid var(--line); font-size: 0.72rem; color: var(--muted); }
.tl-axis span { position: absolute; bottom: 6px; transform: translateX(-50%); white-space: nowrap; }
.tl-body { position: relative; }
.tl-today { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--teal); z-index: 1; pointer-events: none; }
.tl-today span { position: absolute; top: 4px; left: 6px; font-size: 0.66rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; background: rgba(255,255,255,0.9); padding: 0 3px; }
.tl-rows { list-style: none; margin: 0; padding: 0; }
.tl-row { border-bottom: 1px solid #e6eeef; }
.tl-btn { all: unset; box-sizing: border-box; display: grid; grid-template-columns: var(--tl-label) 1fr; align-items: center; width: 100%; min-height: 60px; cursor: pointer; }
.tl-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 4px; }
.tl-name { padding: 8px 16px 8px 4px; font-size: 0.88rem; font-weight: 500; line-height: 1.3; }
.tl-name small { display: block; color: var(--muted); font-weight: 400; font-size: 0.76rem; }
.tl-track { position: relative; height: 60px; }
.tl-bar {
  position: absolute; top: 22px; height: 16px; border-radius: 4px; background: #d6e3e5;
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 900ms var(--ease-out), background-color var(--t-fast);
}
.timeline.is-drawn .tl-bar { transform: scaleX(1); }
.tl-due { position: absolute; top: -4px; width: 2px; height: 24px; background: var(--ink); }
.tl-row.is-active .tl-name { color: var(--teal-dark); font-weight: 600; }
.tl-row.is-active .tl-bar { background: var(--teal); }
.tl-row.is-active .tl-due { background: var(--ink); }
@media (hover: hover) { .tl-row:not(.is-active) .tl-btn:hover .tl-bar { background: #b9d3d4; } }
.tl-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.76rem; color: var(--muted); margin: 12px 0 0 var(--tl-label); }
.tl-legend i { display: inline-block; vertical-align: -1px; margin-right: 6px; }
.tl-legend .l-bar { width: 18px; height: 10px; border-radius: 2px; background: #d6e3e5; }
.tl-legend .l-due { width: 2px; height: 12px; background: var(--ink); }
.timeline-detail { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdfd; }
.timeline-detail.swap { animation: fadeUp 340ms var(--ease-out) both; }
.timeline-detail h4 { margin-bottom: 4px; font-size: 1.05rem; }
.timeline-detail .ref { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.td-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.mini-h { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.td-cols ul { margin: 0 0 14px; padding-left: 18px; font-size: 0.92rem; }
.reading { border-left: 2px solid var(--teal); padding: 4px 0 4px 14px; font-size: 0.92rem; margin: 0 0 12px; }
.reading-label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
@media (max-width: 700px) {
  .timeline { --tl-label: 0px; }
  .tl-btn { grid-template-columns: 1fr; padding-top: 8px; }
  .tl-track { height: 40px; }
  .tl-bar { top: 12px; }
  .tl-today span { top: -2px; }
  .td-cols { grid-template-columns: 1fr; }
}

/* Weights & ranking */
.weights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdfd; margin-bottom: 20px; }
.weight label { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 500; margin-bottom: 4px; gap: 8px; }
.weight output { color: var(--teal-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--teal); height: 28px; margin: 0; }
.rank { list-style: none; margin: 0 0 16px; padding: 0; position: relative; }
.rank li {
  display: grid; grid-template-columns: 34px 1.1fr 2fr 64px; align-items: center; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; background: #fff;
  transition: border-color var(--t-med);
}
.rank li.is-top { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }
.rank-pos { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank li.is-top .rank-pos { color: var(--teal); }
.rank-name { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.rank-name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.76rem; }
.rank-bar { height: 8px; background: #e6eeef; border-radius: 4px; overflow: hidden; }
.rank-bar span { display: block; height: 100%; background: var(--teal); border-radius: 4px; transform-origin: 0 50%; transition: transform var(--t-slow) var(--ease-out); }
.rank-score { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
@media (max-width: 760px) {
  .weights { grid-template-columns: 1fr 1fr; }
  .rank li { grid-template-columns: 28px 1fr 52px; }
  .rank-bar { grid-column: 2 / -1; grid-row: 2; }
}

/* Gap register */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips button { border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 500; cursor: pointer; min-height: 38px; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gaps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gap { padding: 14px 16px; border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius); background: #fff; animation: fadeUp 300ms var(--ease-out) both; }
.gap[data-state="known"] { border-left-color: var(--teal); }
.gap[data-state="open"] { border-left-color: #c99a4b; }
.gap-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.gap-head strong { font-size: 0.92rem; color: var(--ink); }
.gap-state { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.gap[data-state="known"] .gap-state { color: var(--teal-dark); }
.gap[data-state="open"] .gap-state { color: var(--warn); }
.gap p { margin: 0 0 4px; font-size: 0.88rem; }
.gap .gap-who { color: var(--muted); font-size: 0.8rem; margin: 0; }
@media (max-width: 700px) { .gaps { grid-template-columns: 1fr; } }

/* Market cards */
.market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.mcard .mk { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.mcard h4 { font-size: 1rem; margin-bottom: 4px; }
.mcard .morg { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.mcard ul { padding-left: 18px; margin: 0 0 12px; font-size: 0.88rem; }
.mcard .mfoot { margin: auto 0 0; font-size: 0.8rem; }
.mfig { display: flex; gap: 10px; margin: 0 0 12px; }
.mfig div { flex: 1; background: var(--tint); border-radius: var(--radius); padding: 10px 12px; }
.mfig dt { font-size: 0.72rem; color: var(--muted); }
.mfig dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) { .market { grid-template-columns: 1fr; } }

/* Confidence */
.conf-legend { display: flex; gap: 18px; font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; }
.conf-legend i { display: inline-block; width: 12px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.conf-row { display: grid; grid-template-columns: 1.3fr 2fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e6eeef; }
.conf-name { font-size: 0.9rem; font-weight: 500; line-height: 1.3; }
.conf-name small { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 400; }
.conf-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #eef2f3; gap: 2px; }
.cb-facts { background: var(--teal); }
.cb-open { background: #e3c48f; }
.conf-bar span { transform-origin: 0 50%; transform: scaleX(0); transition: transform 800ms var(--ease-out); }
.conf.is-drawn .conf-bar span { transform: scaleX(1); }
.conf-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.conf-open { margin-top: 24px; }
.conf-open ul { columns: 2; column-gap: 32px; padding-left: 18px; font-size: 0.9rem; margin: 0; }
.conf-open li { break-inside: avoid; margin-bottom: 6px; }
.conf-open li small { color: var(--muted); }
@media (max-width: 760px) { .conf-row { grid-template-columns: 1fr; gap: 8px; } .conf-tags { justify-content: flex-start; } .conf-open ul { columns: 1; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.rm-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fbfdfd; }
.rm-col h4 { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); display: flex; justify-content: space-between; }
.rm-col h4 output { color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.rm-col ul { list-style: none; margin: 0; padding: 0; }
.rm-col li { margin-bottom: 12px; }
.rm-col label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.88rem; cursor: pointer; align-items: start; }
.rm-col input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; }
.rm-col input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(95,111,124,0.6); }
.rm-col small { display: block; color: var(--muted); font-size: 0.76rem; }
.rm-progress { height: 4px; background: #e6eeef; border-radius: 2px; margin: 0 0 14px; overflow: hidden; }
.rm-progress span { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); transition: transform var(--t-slow) var(--ease-out); }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- Signal Board ---------- */
.board-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; flex-wrap: wrap; }
.segmented button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; cursor: pointer; color: var(--muted); min-height: 38px; transition: background-color var(--t-fast), color var(--t-fast); }
.segmented button[aria-checked="true"] { background: var(--ink); color: #fff; }
.select-label { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
select { font: inherit; font-size: 0.92rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); min-height: 44px; }
.signal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.signal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow var(--t-med) var(--ease-out), border-color var(--t-med); }
.signal[open] { box-shadow: var(--shadow); border-color: #a9c6c8; }
.signal summary { list-style: none; cursor: pointer; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; border-radius: var(--radius-lg); }
.signal summary::-webkit-details-marker { display: none; }
.signal-meta { display: flex; gap: 6px; flex-wrap: wrap; grid-column: 1 / -1; }
.signal-title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.08rem; line-height: 1.3; }
.signal-toggle { font-size: 0.82rem; color: var(--teal); font-weight: 600; white-space: nowrap; align-self: start; }
.signal-toggle-close { display: none; }
.signal[open] .signal-toggle-open { display: none; }
.signal[open] .signal-toggle-close { display: inline; }
.signal-status { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); }
.signal-body { padding: 16px 20px 20px; border-top: 1px solid #e6eeef; }
.signal[open] .signal-body { animation: fadeUp 300ms var(--ease-out) both; }
.signal-body .ref { font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }
.signal-body .dates { font-size: 0.82rem; color: var(--muted); }
.signal-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.signal-cols h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 10px 0 8px; }
.signal-cols ul { margin: 0 0 12px; padding-left: 18px; font-size: 0.92rem; }
.ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.ratings div { background: var(--tint); border-radius: var(--radius); padding: 10px 12px; }
.ratings dt { font-size: 0.72rem; color: var(--muted); }
.ratings dd { margin: 0; font-weight: 600; color: var(--ink); }
.signal-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.tag { display: inline-block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--tint); color: var(--teal-dark); }
.tag-pressing { background: #7a2e1d; color: #fff; }
.tag-archive, .tag-closed { background: #eceff2; color: #4c5b67; }
.tag-kind { background: transparent; color: var(--muted); padding-left: 0; }
.board-empty { padding: 16px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.board-foot { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 700px) { .signal-cols { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.offer { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); background: #fff; box-shadow: var(--shadow); transition: box-shadow var(--t-med) var(--ease-out), opacity 640ms var(--ease-out), transform 640ms var(--ease-out); }
@media (hover: hover) { .offer:hover { box-shadow: var(--shadow-lift); } }
.offer-alt { background: var(--ink); color: #d9e4ea; border-color: var(--ink); }
.offer-alt h3 { color: #fff; }
.offer-level { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.offer-alt .offer-level { color: var(--teal-on-ink); }
.offer h3 { font-size: 1.4rem; min-height: 2.4em; }
.price { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--ink); margin: 4px 0 8px; line-height: 1.1; }
.price span { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.offer-alt .price { color: #fff; }
.offer-alt .price span { color: #9fb1bd; }
.offer-lede { color: var(--muted); }
.offer-alt .offer-lede { color: #b4c4cf; }
.terms { margin: 18px 0; border-top: 1px solid var(--line); }
.offer-alt .terms { border-color: var(--line-ink); }
.terms div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.offer-alt .terms div { border-color: var(--line-ink); }
.terms dt { font-weight: 600; color: var(--ink); font-size: 0.82rem; }
.offer-alt .terms dt { color: #fff; }
.terms dd { margin: 0; }
.deliverables { margin: 20px 0 24px; }
.deliverables-h { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.offer-alt .deliverables-h { color: #9fb1bd; }
.deliverables details { border-bottom: 1px solid var(--line); }
.offer-alt .deliverables details { border-color: var(--line-ink); }
.deliverables summary { list-style: none; cursor: pointer; padding: 12px 28px 12px 0; position: relative; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.offer-alt .deliverables summary { color: #fff; }
.deliverables summary::-webkit-details-marker { display: none; }
.deliverables summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform var(--t-med) var(--ease-out); opacity: 0.6; }
.deliverables details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.deliverables details p { margin: 0; padding: 0 0 14px; font-size: 0.9rem; color: var(--muted); }
.deliverables details[open] p { animation: fadeUp 280ms var(--ease-out) both; }
.offer-alt .deliverables details p { color: #b4c4cf; }
.compare { margin-top: 28px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--tint); font-size: 0.82rem; color: var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 18%; }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr; } .offer h3 { min-height: 0; } }
@media (max-width: 480px) { .terms div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Standards ---------- */
.standards { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.standard-list { list-style: none; margin: 0; padding: 0; }
.standard-list li { padding: 16px 0 16px 36px; border-bottom: 1px solid var(--line); position: relative; }
.standard-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.standard-list strong { color: var(--ink); }
.roles { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.roles-h { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.roles dl { margin: 0; }
.roles div { padding: 12px 0; border-top: 1px solid var(--line); }
.roles dt { font-weight: 600; color: var(--ink); font-family: var(--serif); }
.roles dd { margin: 2px 0 0; font-size: 0.92rem; color: var(--muted); }
.disclaimer { margin-top: 28px; max-width: 90ch; }
@media (max-width: 860px) { .standards { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-mark { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center; position: relative; }
.founder-mark::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 1px solid rgba(108,194,191,0.35); }
.founder-mark::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(108,194,191,0.25), rgba(108,194,191,0.04) 70%); }
.founder-mark span { position: relative; z-index: 1; font-family: var(--serif); font-size: 4rem; font-weight: 600; color: #fff; letter-spacing: 0.04em; }
.founder-copy h2 { margin-bottom: 4px; }
.founder-title { color: var(--teal-on-ink); font-weight: 600; letter-spacing: 0.04em; font-size: 0.95rem; }
.founder-quote { margin: 24px 0; padding: 0 0 0 20px; border-left: 2px solid var(--teal-on-ink); font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); color: #fff; line-height: 1.35; }
.founder-bio { color: #c3d2db; max-width: 66ch; }
.principles { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principles li { border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 14px; font-size: 0.88rem; color: #b4c4cf; }
.principles span { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: 2px; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder-mark { width: 160px; }
  .founder-mark span { font-size: 2.4rem; }
  .founder-mark::after { inset: 26px; }
  .principles { grid-template-columns: 1fr; }
}

/* ---------- Briefing form ---------- */
.brief-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.caution { border: 1px solid #e8d5ad; background: var(--warn-bg); border-radius: var(--radius); padding: 14px 16px; font-size: 0.88rem; color: #5b4520; }
.caution p { margin: 0; }
.bform { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); background: #fff; box-shadow: var(--shadow-lift); position: relative; transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps li { font-size: 0.8rem; font-weight: 500; color: var(--muted); padding-top: 10px; border-top: 3px solid #e6eeef; transition: border-color var(--t-med), color var(--t-med); }
.steps li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e6eeef; font-size: 0.72rem; margin-right: 6px; transition: background-color var(--t-med), color var(--t-med); }
.steps li.is-current, .steps li.is-done { color: var(--ink); border-top-color: var(--teal); }
.steps li.is-current span, .steps li.is-done span { background: var(--teal); color: #fff; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step:not([hidden]) { animation: fadeUp 360ms var(--ease-out) both; }
.field { display: block; margin-bottom: 16px; position: relative; }
.field > span, .field-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { resize: vertical; min-height: 140px; padding-bottom: 28px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(19,115,114,0.15); }
.field [aria-invalid="true"], .choice-grid[aria-invalid="true"] .choice span { border-color: #b4472c; }
.counter { position: absolute; right: 12px; bottom: 10px; font-style: normal; font-size: 0.72rem; color: var(--muted); pointer-events: none; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: block; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast); }
.choice strong { display: block; font-size: 0.92rem; color: var(--ink); }
.choice em { display: block; font-style: normal; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.choice input:checked + span { border-color: var(--teal); background: var(--tint); box-shadow: inset 0 0 0 1px var(--teal); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (hover: hover) { .choice:hover span { border-color: #9fbfc1; } }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.88rem; margin-bottom: 12px; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); }
.consent.is-invalid { color: #9a3a22; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.form-error { color: #9a3a22; font-size: 0.88rem; font-weight: 500; margin: 8px 0 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.thanks:not([hidden]) { animation: fadeUp 420ms var(--ease-out) both; }
.thanks h3 { font-size: 1.5rem; }
@media (max-width: 900px) { .brief-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } .steps li { font-size: 0.72rem; } }

/* ---------- Closing ---------- */
.closing-title { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.4rem); max-width: 24ch; line-height: 1.12; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #9fb1bd; padding: 48px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; align-items: start; }
.footer .fine { color: #8fa3b1; }
.footer .text-link { color: var(--teal-on-ink); }
.wordmark-sm { font-size: 1.05rem; margin-bottom: 10px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Reduced motion: keep state changes, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .reveal.pre { opacity: 1; transform: none; }
  .tf-card { transform: none; }
}

/* Hero console: numbers instead of names on narrow screens */
.cs-num { display: none; }
@media (max-width: 520px) { .cs-full { display: none; } .cs-num { display: inline; } .console-stages button { font-size: 0.72rem; } }
.tl-axis span:first-child { transform: none; }
.tl-axis span:last-child { transform: translateX(-100%); }
.step-actions .btn[data-submit], .step-actions .btn[data-next] { flex: 1 1 auto; max-width: 320px; }
