/* ========== Section-specific styles ========== */

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
@keyframes heroRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-copy > * { opacity: 0; animation: heroRise 0.45s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-copy > .label    { animation-delay: 0s; }
.hero-copy > .hero-h1  { animation-delay: 0.05s; }
.hero-copy > .hero-lede{ animation-delay: 0.10s; }
.hero-copy > .hero-ctas{ animation-delay: 0.15s; }
.hero-copy > .hero-meta{ animation-delay: 0.20s; }
.hero-visual { opacity: 0; animation: heroFade 0.5s ease 0.10s forwards; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px;
  align-items: center;
  min-height: 72vh;
}
.hero-h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 7.5vw, 104px);
  line-height: 0.98; letter-spacing: -0.025em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero-h1 em { font-style: italic; color: var(--crimson); font-weight: 400; }
.hero-lede {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55; max-width: 520px; margin: 0 0 40px;
  color: var(--ink-soft); font-family: var(--sans);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-meta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--rule-strong);
}
.hero-meta > div:not(.sep) { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .mono { font-size: 22px; font-family: var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; }
.hero-meta span:last-child { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.hero-meta .sep { width: 1px; height: 32px; background: var(--rule-strong); }

.pulse {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--crimson); margin-right: 8px;
  box-shadow: 0 0 0 0 var(--crimson);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--crimson) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Visual: assembled application */
.hero-visual { position: relative; min-height: 520px; }
.stack {
  position: relative; width: 100%; height: 560px;
  perspective: 1800px;
}
.hero-card {
  position: absolute; left: 50%; top: 50%;
  width: 340px; min-height: 84px;
  padding: 18px 22px;
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(14,26,43,0.04), 0 20px 40px -20px rgba(14,26,43,0.25);
  transform-origin: center;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(40px) rotate(-6deg);
  transition: all 0.9s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0s);
}
.hero-card.in { opacity: 1; }
.hero-card:nth-child(1).in { transform: translate(calc(-50% - 140px), calc(-50% - 170px)) rotate(-8deg); }
.hero-card:nth-child(2).in { transform: translate(calc(-50% + 120px), calc(-50% - 140px)) rotate(4deg); }
.hero-card:nth-child(3).in { transform: translate(calc(-50% - 160px), calc(-50% - 30px)) rotate(-3deg); }
.hero-card:nth-child(4).in { transform: translate(calc(-50% + 140px), calc(-50% + 10px)) rotate(6deg); }
.hero-card.featured {
  width: 420px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  box-shadow: 0 1px 0 rgba(14,26,43,0.08), 0 40px 60px -30px rgba(14,26,43,0.35);
  z-index: 10;
  padding: 28px 30px 34px;
}
.hero-card:nth-child(5).in { transform: translate(-50%, calc(-50% + 140px)) rotate(-1.5deg); }
.hc-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hc-value { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; }
.hero-card.featured .hc-value { font-size: 30px; }
.hc-sub { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }
.hc-stamp { position: absolute; right: -14px; top: -14px; }
.stamp-circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1.5px solid var(--crimson); color: var(--crimson);
  display: grid; place-items: center; text-align: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em;
  line-height: 1.3;
  background: var(--paper-2);
  transform: rotate(-8deg);
}
.hc-underline { height: 2px; background: var(--gold); margin-top: 14px; width: 30%; }

.hero-annot {
  position: absolute; bottom: 8px; left: 0;
  display: flex; gap: 12px; align-items: center;
  color: var(--muted); font-family: var(--sans); font-size: 12px;
}

/* ---------- Compare: clean side-by-side ---------- */
.cmp2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.cmp2-card {
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  padding: 36px 36px 30px;
  display: flex; flex-direction: column;
}
.cmp2-generic {
  border-radius: 4px 0 0 4px;
  border-right: none;
}
.cmp2-standout {
  border-radius: 0 4px 4px 0;
  border-left: none;
  background: linear-gradient(180deg, var(--paper-2) 0%, color-mix(in oklab, var(--gold) 5%, var(--paper-2)) 100%);
  position: relative;
}
.cmp2-standout::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0;
  width: 3px; background: var(--crimson);
}

/* VS divider — typographic */
.cmp2-divider {
  position: relative;
  width: 48px;
  display: flex; align-items: center; justify-content: center;
}
.cmp2-divider::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--rule-strong);
}
.cmp2-vs {
  position: relative; z-index: 1;
  background: var(--paper);
  padding: 14px 2px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted);
}
.cmp2-vs .mono {
  font-size: 11px; letter-spacing: 0.18em;
  font-style: italic; font-family: var(--serif); font-weight: 400;
  text-transform: none;
}
.cmp2-vs-rule { width: 1px; height: 18px; background: var(--rule-strong); }

/* Header */
.cmp2-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 24px;
}
.cmp2-kicker {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.cmp2-standout .cmp2-kicker { color: var(--crimson); }
.cmp2-title-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin-bottom: 8px;
}
.cmp2-title {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  line-height: 1.05;
}
.cmp2-standout .cmp2-title { color: var(--crimson); }
.cmp2-badge {
  display: inline-flex; align-items: center;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 2px;
  background: color-mix(in oklab, var(--crimson) 10%, transparent);
  color: var(--crimson);
  border: 1px solid color-mix(in oklab, var(--crimson) 25%, transparent);
  white-space: nowrap;
}
.cmp2-badge-muted {
  background: transparent; color: var(--muted-2);
  border-color: var(--rule-strong);
}
.cmp2-sub {
  font-size: 13px; color: var(--muted); font-family: var(--serif); font-style: italic;
}

/* Sections inside each card */
.cmp2-section { margin-bottom: 24px; }
.cmp2-section-unique { flex: 1; margin-bottom: 0; }
.cmp2-section-head {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 14px;
}
.cmp2-standout .cmp2-section-unique .cmp2-section-head {
  color: var(--crimson);
}

/* Standard credentials — compact checklist */
.cmp2-standards {
  display: flex; flex-direction: column; gap: 8px;
}
.cmp2-std {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  align-items: baseline;
  padding: 3px 0;
  min-height: 24px;
}
.cmp2-std-k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2);
  white-space: nowrap;
}
.cmp2-std-v {
  font-family: var(--serif);
  overflow-wrap: anywhere;
}
.cmp2-standards-checked .cmp2-std {
  grid-template-columns: 14px 130px 1fr;
  color: var(--ink);
}
.cmp2-check { color: color-mix(in oklab, var(--crimson) 60%, var(--muted)); flex-shrink: 0; }

/* Empty "unique" on generic side */
.cmp2-unique-empty {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 20px;
  border: 1px dashed var(--rule-strong);
  border-radius: 3px;
  color: var(--muted-2);
  font-family: var(--serif); font-style: italic; font-size: 14px;
}
.cmp2-dash-lg {
  font-family: var(--mono); font-size: 20px; color: var(--muted-2);
  font-style: normal;
}

/* Unique rows on standout side — elevated */
.cmp2-uniques {
  display: flex; flex-direction: column;
  border-top: 1px solid color-mix(in oklab, var(--crimson) 20%, transparent);
}
.cmp2-uniq {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 16px 4px 16px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--crimson) 15%, transparent);
  align-items: start;
  transition: background 0.5s;
  position: relative;
}
.cmp2-uniq:last-child { border-bottom: none; }
.cmp2-uniq-idx {
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--crimson); opacity: 0.5;
  padding-top: 3px;
}
.cmp2-uniq-k {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 4px;
}
.cmp2-uniq-v {
  font-family: var(--serif); font-size: 17px; line-height: 1.3;
  color: var(--ink); font-weight: 500;
  overflow-wrap: anywhere;
}
.cmp2-uniq.is-pulse {
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--crimson) 12%, transparent) 0%,
    color-mix(in oklab, var(--gold) 10%, transparent) 100%);
  margin: 0 -12px;
  padding-left: 12px; padding-right: 12px;
}

/* Foot pull-quote */
.cmp2-foot {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-strong);
}
.cmp2-pullquote {
  position: relative;
  padding-left: 22px;
}
.cmp2-pq-mark {
  position: absolute; left: -4px; top: -14px;
  font-family: var(--serif); font-size: 44px; line-height: 1;
  color: var(--muted-2); font-style: normal;
}
.cmp2-pullquote p {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  line-height: 1.5; color: var(--muted);
  margin: 0 0 10px;
}
.cmp2-pq-attr {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2);
}
.cmp2-pullquote-good p { color: var(--ink); }
.cmp2-pullquote-good .cmp2-pq-mark { color: var(--crimson); opacity: 0.5; }

.cmp2-legend {
  display: flex; justify-content: center; gap: 12px; align-items: center;
  margin-top: 24px;
  font-family: var(--sans); font-size: 13px; color: var(--muted);
}
.cmp2-legend .mono {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--rule-strong); border-radius: 2px;
  color: var(--crimson);
}


/* ---------- Process ---------- */
.process-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.process-sticky { position: sticky; top: 120px; height: fit-content; }
.process-frame {
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 24px 20px 20px 28px;
  aspect-ratio: 5/6;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.pf-head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; color: var(--muted); }
.pf-progress { display: flex; gap: 4px; margin-top: auto; padding-top: 20px; }
.tick { flex: 1; height: 2px; background: var(--rule-strong); transition: background 0.4s; }
.tick.on { background: var(--ink); }

.manuscript { flex: 1; position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 16px; overflow: hidden; }
.ms-margin { display: flex; flex-direction: column; gap: 8px; padding-top: 60px; color: var(--muted-2); }
.ms-body { display: flex; flex-direction: column; gap: 8px; position: relative; min-width: 0; }
.ms-title { font-family: var(--serif); font-size: 19px; line-height: 1.2; transition: opacity 0.5s; margin-bottom: 4px; font-weight: 500; }
.ms-subtitle { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); margin-bottom: 16px; transition: opacity 0.5s; }
.ms-line-row { display: flex; align-items: center; gap: 6px; transition: opacity 0.5s; min-width: 0; }
.ms-line { height: 6px; background: var(--ink); border-radius: 1px; transition: opacity 0.6s, width 0.6s; flex-shrink: 0; max-width: calc(100% - 80px); }
.ms-annot-inline { display: flex; align-items: center; gap: 6px; flex-shrink: 0; white-space: nowrap;
  transition: opacity 0.5s, transform 0.5s; }
.ms-annot-inline.is-on { opacity: 1; transform: translateX(0); }
.ms-annot-inline.is-off { opacity: 0; transform: translateX(-10px); pointer-events: none; }
@keyframes fadeRight { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.ma-line { width: 16px; height: 1px; background: var(--crimson); flex-shrink: 0; }
.ma-tag { color: var(--crimson); font-size: 9px; letter-spacing: 0.1em; }
.ms-annots { display: none; }
.ms-seal { position: absolute; bottom: 18px; right: 18px;
  transition: opacity 0.6s, transform 0.6s; }
.ms-seal.is-on { opacity: 1; transform: translateX(0) scale(1) rotate(0); }
.ms-seal.is-off { opacity: 0; transform: translateX(-10px) scale(0.75) rotate(-20deg); pointer-events: none; }
.seal {
  width: 128px; height: 128px; border-radius: 50%;
  color: var(--gold); position: relative;
  background:
    radial-gradient(circle at 32% 28%, color-mix(in oklab, var(--gold) 14%, var(--paper-2)) 0%, var(--paper-2) 55%),
    var(--paper-2);
  transform: rotate(-8deg);
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--gold) 35%, transparent) inset,
    0 0 0 1px color-mix(in oklab, var(--gold) 18%, transparent),
    0 12px 28px -12px color-mix(in oklab, var(--ink) 28%, transparent),
    0 2px 6px -2px color-mix(in oklab, var(--gold) 18%, transparent);
  display: grid; place-items: center;
}
.seal::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      color-mix(in oklab, var(--gold) 10%, transparent) 0deg 2deg,
      transparent 2deg 9deg);
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.seal-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: currentColor;
  z-index: 1;
}
.seal-ring-outer { stroke: currentColor; stroke-width: 1.5; fill: none; }
.seal-ring-mid   { stroke: currentColor; stroke-width: 0.6; fill: none; opacity: 0.45; }
.seal-ring-inner { stroke: currentColor; stroke-width: 0.8; fill: none; opacity: 0.55; stroke-dasharray: 1 2.5; }
.seal-tick { stroke: currentColor; stroke-width: 1; opacity: 0.5; }
.seal-arc-text {
  fill: currentColor; stroke: none;
  font-family: var(--mono); font-size: 7.2px; letter-spacing: 1.8px; font-weight: 600;
}
.seal-arc-text-sm { font-size: 6.2px; letter-spacing: 1.4px; opacity: 0.75; }
.seal-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  line-height: 1;
}
.seal-inner-label {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  letter-spacing: 0.18em; color: var(--gold);
  text-shadow: 0 1px 0 color-mix(in oklab, var(--paper-2) 60%, transparent);
}
.seal-inner-year {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.22em;
  color: color-mix(in oklab, var(--gold) 75%, var(--ink));
}
.seal-inner-line {
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 50%, transparent);
  opacity: 0.55;
}

.process-list { display: flex; flex-direction: column; gap: 56px; padding: 32px 0 32px; }
.process-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  opacity: 0.55; transition: opacity 0.4s, color 0.4s;
  position: relative; padding-left: 14px;
}
.process-item::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: var(--crimson);
  opacity: 0; transform: scaleY(0.6); transform-origin: top;
  transition: opacity 0.4s, transform 0.4s;
}
.process-item.active { opacity: 1; }
.process-item.active::before { opacity: 1; transform: scaleY(1); }
.pi-week { padding-top: 8px; color: var(--muted); }
.process-item.active .pi-week { color: var(--crimson); }
.process-item.active .pi-body h3 { color: var(--crimson); }
.pi-body h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 14px; }
.pi-body p { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 440px; }

/* ---------- Simulator ---------- */
.sim-frame {
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  overflow: hidden;
}
.sim-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--rule-strong);
  background: var(--paper-3);
}
.sim-tracks { display: flex; gap: 4px; }
.sim-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-family: var(--sans); font-size: 13px;
  background: transparent; border: 1px solid transparent;
  color: var(--muted); cursor: pointer; border-radius: 3px;
  transition: all 0.2s;
}
.sim-tab:hover { color: var(--ink); }
.sim-tab.on { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.sim-tab-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; opacity: 0.7; }
.sim-play {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-family: var(--sans); font-size: 13px;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  border-radius: 999px; cursor: pointer;
  transition: all 0.2s;
}
.sim-play:hover { background: var(--ink); color: var(--paper-2); }

.sim-body { padding: 36px; }
.sim-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.stat { border-left: 1px solid var(--rule-strong); padding-left: 16px; }
.stat-label { color: var(--muted); margin-bottom: 8px; }
.stat-value { font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -0.015em; }
.stat-sub { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 8px; }
.stat-sub .mono { margin-right: 6px; }
.stat-bar { height: 2px; background: var(--rule-strong); margin-top: 12px; position: relative; overflow: visible; }
.stat-bar-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transition: background 0.4s; }
.stat.is-over .stat-bar-fill { background: var(--gold); }
.stat.is-revising .stat-bar-fill { background: var(--crimson); }
.stat-bar-over {
  position: absolute; top: -3px; right: 0; width: 1px; height: 8px;
  background: var(--crimson);
}
.stat-phase {
  margin-left: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-style: italic;
  text-transform: none;
}
.stat.is-revising .stat-phase { color: var(--crimson); }

/* ---------- Timeline (cleaned up) ---------- */
.sim-timeline { margin-bottom: 40px; padding: 0 8px; }

.stl-track {
  position: relative;
  height: 2px;
  box-sizing: content-box;
  padding: 16px 0;
  margin: -4px 0 80px;
  background: var(--rule-strong);
  background-clip: content-box;
  outline: none;
  cursor: pointer;
  user-select: none;
  touch-action: pan-y;
}
.stl-track:focus-visible { outline: 2px solid var(--crimson); outline-offset: 8px; border-radius: 2px; }
.stl-fill {
  height: 100%;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--crimson) 70%, var(--gold)) 0%,
    var(--crimson) 85%,
    color-mix(in oklab, var(--crimson) 50%, var(--gold)) 100%);
  transition: none !important;
  will-change: width;
  box-shadow:
    0 0 6px color-mix(in oklab, var(--crimson) 55%, transparent),
    0 0 16px color-mix(in oklab, var(--crimson) 25%, transparent);
}
.stl-playhead {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--crimson);
  border: 2px solid var(--paper-2);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  animation: playhead-pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;
}
.stl-playhead::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--crimson) 35%, transparent);
  animation: playhead-ring 1.5s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes playhead-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px var(--crimson),
      0 2px 10px color-mix(in oklab, var(--crimson) 50%, transparent),
      0 0 0 0 color-mix(in oklab, var(--crimson) 40%, transparent);
  }
  70% {
    box-shadow:
      0 0 0 1px var(--crimson),
      0 2px 10px color-mix(in oklab, var(--crimson) 50%, transparent),
      0 0 0 12px color-mix(in oklab, var(--crimson) 0%, transparent);
  }
}
@keyframes playhead-ring {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* All 9 week circles */
.stl-mile {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  padding: 6px;
}
.stl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px solid color-mix(in oklab, var(--muted-2) 70%, transparent);
  transition: all 0.3s;
  box-shadow: 0 0 0 3px var(--paper-2);
}
/* Milestones are bigger but still muted when unreached */
.stl-mile.is-milestone .stl-dot {
  width: 12px; height: 12px;
  border-width: 1.5px;
  border-color: var(--muted-2);
}
/* Completed (reached) — only now do they light up */
.stl-mile.on .stl-dot {
  background: var(--crimson);
  border-color: var(--crimson);
  border-width: 2px;
  animation: dot-unlock 0.55s cubic-bezier(.2,.9,.25,1.15);
}
.stl-mile.is-milestone.on .stl-dot {
  animation: milestone-unlock 0.75s cubic-bezier(.2,.9,.25,1.2);
}
@keyframes dot-unlock {
  0% {
    transform: scale(0.5);
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 0 color-mix(in oklab, var(--crimson) 60%, transparent);
  }
  55% {
    transform: scale(1.6);
    box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 14px color-mix(in oklab, var(--crimson) 0%, transparent);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px var(--paper-2);
  }
}
@keyframes milestone-unlock {
  0%   { transform: scale(0.4); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 3px var(--paper-2); }
  35%  { transform: scale(1.9); background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 16px color-mix(in oklab, var(--gold) 0%, transparent); }
  65%  { transform: scale(1.1); background: var(--crimson); border-color: var(--crimson); }
  100% { transform: scale(1); background: var(--crimson); border-color: var(--crimson); box-shadow: 0 0 0 3px var(--paper-2); }
}
/* Current */
.stl-mile.is-now .stl-dot {
  background: var(--crimson);
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 6px color-mix(in oklab, var(--crimson) 28%, transparent);
}

/* Week number directly under each dot */
.stl-wnum {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  transition: color 0.2s;
  pointer-events: none;
}
.stl-mile.on .stl-wnum { color: var(--crimson); }
.stl-mile.is-now .stl-wnum { color: var(--crimson); font-weight: 700; }

/* Milestone labels (positioned absolutely off the track) */
.stl-milelabel {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 6px);
  text-align: center;
  width: 100px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0.45;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2,.9,.25,1.1);
  pointer-events: none;
}
.stl-milelabel.on {
  opacity: 1;
  transform: translate(-50%, 0);
  animation: milelabel-in 0.55s cubic-bezier(.2,.9,.25,1.1);
}
@keyframes milelabel-in {
  0%   { opacity: 0; transform: translate(-50%, 10px); }
  60%  { opacity: 1; transform: translate(-50%, -2px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
.stl-milelabel .mono {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.stl-milelabel.on .mono { color: var(--crimson); }
.stl-milelabel span:last-child {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink);
  line-height: 1.3;
}

/* Edge-clamp */
.stl-milelabel:first-child { left: 0; transform: none; text-align: left; width: 90px; }

/* Mobile-only current milestone callout */
.sim-mile-now { display: none; }

.sim-draft { border: 1px solid var(--rule-strong); border-radius: 3px; background: var(--paper-2); }
.sim-draft-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 12px 18px; background: var(--paper-3); border-bottom: 1px solid var(--rule); color: var(--muted); }
.sim-draft-body { padding: 28px 36px; min-height: 240px; }
.sd-title { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.sd-sub { font-family: var(--sans); font-style: italic; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.sd-line { height: 5px; background: var(--ink); margin: 10px 0; border-radius: 1px; }
.sd-submit {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding: 14px 18px;
  background: var(--ink); color: var(--paper-2);
  border-radius: 2px;
  font-family: var(--serif); font-size: 15px;
  transition: opacity 0.4s, transform 0.4s, margin-top 0.4s, padding-top 0.4s, padding-bottom 0.4s, max-height 0.4s;
  overflow: hidden;
}
.sd-submit.is-on { opacity: 1; transform: translateY(0); max-height: 100px; }
.sd-submit.is-off {
  opacity: 0; transform: translateY(-8px);
  max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0;
  pointer-events: none;
}
.sd-submit .mono { color: var(--gold-soft); }

/* ---------- Programs ---------- */
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prog-card {
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 36px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.prog-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px -34px var(--ink);
}
.prog-card.featured:hover {
  border-color: var(--gold-soft);
  box-shadow: 0 28px 60px -32px var(--ink);
}
.prog-card.featured {
  background: var(--ink);
  color: var(--paper-2);
  border-color: var(--ink);
}
.prog-card.featured .label,
.prog-card.featured .mono { color: color-mix(in oklab, var(--paper-2) 65%, transparent); }
.prog-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.prog-price { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.prog-title { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 8px; }
.prog-sub { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.prog-card.featured .prog-sub { color: color-mix(in oklab, var(--paper-2) 70%, transparent); }
.prog-rule { height: 1px; background: var(--rule-strong); margin: 20px 0; }
.prog-card.featured .prog-rule { background: color-mix(in oklab, var(--paper-2) 18%, transparent); }
.prog-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.prog-list li { font-family: var(--sans); font-size: 14px; padding-left: 22px; position: relative; line-height: 1.5; }
.prog-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 1px; background: var(--gold);
}
.prog-outcomes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.prog-pill {
  font-family: var(--sans); font-size: 11px;
  padding: 6px 10px; border: 1px solid var(--rule-strong); border-radius: 999px;
}
.prog-card.featured .prog-pill { border-color: color-mix(in oklab, var(--paper-2) 30%, transparent); }
.prog-cta {
  margin-top: auto; align-self: flex-start;
  font-family: var(--sans); font-size: 14px;
  padding: 10px 0;
  text-decoration: none; border-bottom: 1px solid currentColor;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.25s, color 0.2s;
}
.prog-cta:hover { gap: 12px; color: var(--gold); }
.prog-card.featured .prog-cta:hover { color: var(--gold-soft); }
.prog-cta:hover .cta-arrow-r { transform: translateX(4px); }

/* ---------- Differentiators ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.diff-item {
  padding-top: 20px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.diff-item:hover { transform: translateY(-2px); }
.diff-n {
  color: var(--muted); margin-bottom: 16px;
  transition: color .3s, letter-spacing .3s;
}
.diff-item:hover .diff-n { color: var(--gold); letter-spacing: 0.18em; }
.diff-item h4 {
  font-family: var(--serif); font-weight: 500; font-size: 22px;
  margin: 0 0 10px; letter-spacing: -0.01em;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.diff-item:hover h4 { transform: translateX(4px); }
.diff-item p { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; }
.book-left { background: var(--paper-2); border: 1px solid var(--rule-strong); padding: 36px; border-radius: 4px; }
.book-right { }
.book-progress { display: flex; gap: 0; border-bottom: 1px solid var(--rule-strong); margin-bottom: 32px; }
.book-pstep {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: transparent; border: 0; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-family: var(--sans); font-size: 13px; color: var(--muted);
  transition: all 0.2s;
}
.book-pstep.on { color: var(--ink); border-color: var(--crimson); }
.book-pstep.done { color: var(--ink); }
.bps-n {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  font-size: 10px;
}
.book-pstep.on .bps-n, .book-pstep.done .bps-n { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }

.book-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.book-day {
  background: transparent; border: 1px solid var(--rule-strong);
  padding: 12px 8px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--sans); color: var(--ink);
  border-radius: 2px; align-items: center;
  transition: all 0.15s;
}
.book-day:hover:not(:disabled) {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -16px var(--ink);
}
.book-day.on { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.book-day.full {
  opacity: 0.45;
  cursor: not-allowed;
  background: repeating-linear-gradient(-45deg,
    transparent 0 5px,
    color-mix(in oklab, var(--muted-2) 18%, transparent) 5px 6px);
}
.book-day.full .bd-n { text-decoration: line-through; text-decoration-thickness: 1px; }
.book-day.full .mono:last-child { color: var(--crimson); }
.book-day .mono { font-size: 9px; letter-spacing: 0.14em; opacity: 0.7; }
.book-day.on .mono { color: var(--gold-soft); opacity: 1; }
.bd-n { font-family: var(--serif); font-size: 22px; font-weight: 500; }

.book-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.book-time {
  background: transparent; border: 1px solid var(--rule-strong);
  padding: 12px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  border-radius: 2px; transition: all 0.15s;
}
.book-time:hover:not(:disabled) {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -14px var(--ink);
}
.book-time.on { background: var(--crimson); color: var(--paper-2); border-color: var(--crimson); }
.book-time {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.book-time.booked {
  opacity: 0.55;
  cursor: not-allowed;
  background: color-mix(in oklab, var(--muted-2) 6%, transparent);
  border-style: dashed;
  color: var(--muted);
}
.book-time.booked > span:first-child { text-decoration: line-through; text-decoration-thickness: 1px; }
.bt-tag {
  font-size: 9px; letter-spacing: 0.12em;
  color: var(--crimson);
  padding: 2px 6px; border-radius: 2px;
  background: color-mix(in oklab, var(--crimson) 10%, transparent);
}

.book-error {
  margin-top: 20px; padding: 12px 16px;
  border: 1px solid color-mix(in oklab, var(--crimson) 35%, transparent);
  background: color-mix(in oklab, var(--crimson) 6%, transparent);
  border-radius: 3px;
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  color: var(--crimson);
}
.book-actions { display: flex; gap: 12px; margin-top: 32px; justify-content: flex-end; }
.cta:disabled, .cta-ghost:disabled { opacity: 0.3; cursor: not-allowed; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input {
  font-family: var(--serif); font-size: 16px;
  padding: 10px 0;
  background: transparent; border: 0;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink); outline: none;
  transition: border-color 0.2s;
}
.field input:focus { border-color: var(--ink); }
.form-note { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 28px 0 10px; }
.form-note .mono { margin-right: 8px; }
.form-ta {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule-strong);
  background: transparent; font-family: var(--serif); font-size: 15px; color: var(--ink);
  outline: none; resize: vertical;
}

.book-done { text-align: center; padding: 40px 20px; }
.done-mark { color: var(--gold); margin-bottom: 24px; }
.book-done h3 { font-family: var(--serif); font-weight: 400; font-size: 40px; margin: 0 0 8px; }
.book-done p { color: var(--ink-soft); font-family: var(--sans); margin-bottom: 32px; }
.done-ticket {
  display: inline-flex; gap: 24px; align-items: center;
  padding: 20px 28px;
  background: var(--paper-3); border: 1px dashed var(--rule-strong); border-radius: 3px;
  text-align: left;
}
.dt-date { font-family: var(--serif); font-size: 20px; margin-top: 4px; }
.dt-time { margin-top: 2px; color: var(--crimson); letter-spacing: 0.1em; }
.dt-rule { width: 1px; align-self: stretch; background: var(--rule-strong); }
.dt-att { font-family: var(--sans); font-size: 14px; padding: 2px 0; }
.dt-att .dim { color: var(--muted); }

.book-summary { background: var(--ink); color: var(--paper-2); padding: 32px; border-radius: 4px; position: sticky; top: 120px; }
.book-summary .label { color: color-mix(in oklab, var(--paper-2) 60%, transparent); }
.book-summary h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 8px 0 20px; letter-spacing: -0.01em; }
.book-summary ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.book-summary li { font-family: var(--sans); font-size: 14px; line-height: 1.5; padding-left: 22px; position: relative; color: color-mix(in oklab, var(--paper-2) 90%, transparent); }
.book-summary li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1px; background: var(--gold-soft); }
.book-summary-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--paper-2) 18%, transparent); }
.book-summary-foot .mono { color: var(--gold-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule-strong); }
.faq-q {
  width: 100%; display: grid; grid-template-columns: 80px 1fr 40px; gap: 24px;
  align-items: center; text-align: left;
  background: transparent; border: 0; cursor: pointer;
  padding: 28px 0;
  font-family: var(--serif); font-size: 22px; color: var(--ink); letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--crimson); }
.faq-q:hover .faq-icon { color: var(--crimson); transform: rotate(90deg); }
.faq-q .mono { color: var(--muted); }
.faq-icon {
  font-family: var(--serif); font-size: 28px; color: var(--muted);
  text-align: right; font-weight: 300;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), color 0.2s;
  transform-origin: center;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--crimson); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(.2,.8,.2,1); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-item { transition: background 0.25s; }
.faq-item:hover { background: color-mix(in oklab, var(--paper-3) 60%, transparent); }
.faq-a p { font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 28px; padding-left: 104px; max-width: 720px; }

/* ---------- Closing ---------- */
.closing { background: var(--paper-3); text-align: center; border-top: 1px solid var(--rule-strong); }
.closing-wrap { max-width: 860px; }
.closing-h { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 40px; }
.closing-h em { font-style: italic; color: var(--crimson); }
.closing-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  width: 320px;
  background: var(--paper-2); color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 6px; padding: 18px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
  font-family: var(--sans);
}
.tweaks-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.tweaks-head .dim { opacity: 0.5; }
.tweak-group { margin-bottom: 16px; }
.tweak-group .label { margin-bottom: 10px; display: block; }
.tweak-pals { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pal { display: flex; flex-direction: column; gap: 6px; padding: 8px; background: transparent; border: 1px solid var(--rule-strong); border-radius: 3px; cursor: pointer; text-align: left; transition: all 0.15s; }
.pal:hover { border-color: var(--ink); }
.pal.on { border-color: var(--ink); background: var(--paper-3); }
.pal-swatches { display: flex; gap: 3px; }
.pal-swatches span { flex: 1; height: 16px; border-radius: 2px; border: 1px solid var(--rule); }
.pal-label { font-size: 10px; color: var(--ink-soft); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.tweak-seg { display: flex; gap: 2px; border: 1px solid var(--rule-strong); border-radius: 3px; padding: 2px; }
.seg { flex: 1; padding: 7px; background: transparent; border: 0; cursor: pointer; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-radius: 2px; }
.seg.on { background: var(--ink); color: var(--paper-2); }
.tweak-input {
  width: 100%; padding: 8px 10px;
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 3px;
  font-family: var(--serif); font-size: 14px; color: var(--ink); outline: none;
}
.tweak-input:focus { border-color: var(--ink); }
.small { font-size: 9px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sim-stats { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }

  /* Hero collapses to single column before mobile breakpoint so the
     large headline can't collide with the assembly cards on the right. */
  .hero-inner { grid-template-columns: 1fr; gap: 56px; min-height: auto; }
  .hero-h1 { font-size: clamp(48px, 8.4vw, 88px); }
  .hero-visual { min-height: 440px; order: 0; }
  .hero-meta { flex-wrap: wrap; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(30px, 7vw, 44px); }
  .booking-note { grid-column: 1; }

  /* Topbar + hamburger */
  .topbar-inner { grid-template-columns: auto auto; padding: 12px 16px; }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 28px; height: 28px; font-size: 14px; }
  .nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100dvh;
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    background: var(--paper); padding: 76px 28px 28px; gap: 0; z-index: 60;
    overflow-y: auto;
    box-shadow: 0 16px 40px -20px rgba(14, 26, 43, 0.22);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 18px 0; font-size: 20px; font-family: var(--serif); opacity: 1;
    border-bottom: 1px solid var(--rule);
  }
  .nav a.active::after { display: none; }
  .nav a.active {
    color: var(--crimson);
    font-size: 20px;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    padding: 18px 12px;
    border-radius: 4px;
    background: color-mix(in oklab, var(--crimson) 6%, transparent);
    box-shadow: inset 3px 0 0 var(--crimson);
    letter-spacing: 0;
  }
  .topbar .nav .nav-cta {
    display: inline-flex; justify-content: center;
    margin-top: 24px;
    padding: 16px 22px;
    font-family: var(--sans); font-size: 15px;
    border-bottom: 0;
    border-radius: 999px;
    background: var(--ink); color: var(--paper-2);
  }
  .topbar .nav .nav-cta:hover { background: var(--crimson); }
  .topbar .nav .nav-cta .dot { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--paper); border: 1px solid var(--rule-strong);
    border-radius: 999px; cursor: pointer;
    justify-self: end;
    position: relative; z-index: 70;
  }
  .nav-toggle span {
    display: block; width: 16px; height: 1.5px; background: var(--ink);
    position: relative;
  }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
    transition: transform 0.2s;
  }
  .nav-toggle span::before { top: -5px; }
  .nav-toggle span::after { top: 5px; }
  .nav-toggle.open span { background: transparent; }
  .nav-toggle.open span::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle.open span::after  { transform: translateY(-5px) rotate(-45deg); }
  .topbar .cta { display: none; }

  /* Hero */
  .hero { padding: 32px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .hero-h1 { font-size: clamp(40px, 10vw, 56px); margin-bottom: 20px; }
  .hero-lede { font-size: 16px; margin-bottom: 28px; }
  .hero-ctas { gap: 10px; margin-bottom: 36px; }
  .hero-ctas .cta, .hero-ctas .cta-ghost { width: 100%; justify-content: center; }
  .hero-visual { min-height: 360px; order: 0; }
  .stack { height: 380px; }
  .hero-card { width: min(220px, 62vw); padding: 12px 14px; }
  .hero-card.featured { width: min(260px, 78vw); padding: 18px 20px 22px; }
  .hero-meta { gap: 14px 28px; }
  .hero-meta .sep { display: none; }
  .hero-card .hc-value { font-size: 17px; }
  .hero-card.featured .hc-value { font-size: 22px; }
  .hero-card:nth-child(1).in { transform: translate(calc(-50% - 45px), calc(-50% - 125px)) rotate(-7deg); }
  .hero-card:nth-child(2).in { transform: translate(calc(-50% + 45px), calc(-50% - 95px)) rotate(4deg); }
  .hero-card:nth-child(3).in { transform: translate(calc(-50% - 55px), calc(-50% - 20px)) rotate(-3deg); }
  .hero-card:nth-child(4).in { transform: translate(calc(-50% + 55px), calc(-50% + 15px)) rotate(5deg); }
  .hero-card:nth-child(5).in { transform: translate(-50%, calc(-50% + 115px)) rotate(-1.5deg); }
  .stamp-circle { width: 58px; height: 58px; font-size: 8px; }
  .hero-meta { gap: 16px; padding-top: 20px; }
  .hero-meta .sep { display: none; }
  .hero-meta .mono { font-size: 18px; }

  /* Compare */
  .cmp2 { grid-template-columns: 1fr; gap: 0; }
  .cmp2-card { padding: 26px 22px 22px; }
  .cmp2-generic { border-radius: 4px 4px 0 0; border-right: 1px solid var(--rule-strong); border-bottom: none; }
  .cmp2-standout { border-radius: 0 0 4px 4px; border-left: 1px solid var(--rule-strong); border-top: none; }
  .cmp2-standout::before { width: 100%; height: 3px; bottom: auto; top: 0; }
  .cmp2-divider { width: 100%; height: 48px; }
  .cmp2-divider::before { top: 50%; bottom: auto; left: 0; right: 0; width: 100%; height: 1px; }
  .cmp2-vs { flex-direction: row; padding: 2px 14px; }
  .cmp2-vs-rule { width: 18px; height: 1px; }
  .cmp2-title { font-size: 22px; }
  .cmp2-std { grid-template-columns: 115px 1fr; gap: 10px; font-size: 12px; }
  .cmp2-standards-checked .cmp2-std { grid-template-columns: 12px 115px 1fr; }
  .cmp2-std-k { font-size: 9px; }
  .cmp2-uniq { grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; }
  .cmp2-uniq-v { font-size: 15px; }
  .cmp2-uniq.is-pulse { margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
  .cmp2-legend { flex-direction: column; gap: 8px; text-align: center; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-sticky { position: sticky; top: 56px; z-index: 5; background: var(--paper); padding-bottom: 8px; }
  .process-frame { padding: 18px; aspect-ratio: auto; min-height: 320px; max-height: 52vh; }
  .ms-title { font-size: 16px; }
  .ms-subtitle { font-size: 11px; }
  .ms-line { height: 5px; }
  .ma-tag { font-size: 8px; }
  .process-list { gap: 56px; padding: 24px 0 80px; }
  .process-item { grid-template-columns: 48px 1fr; gap: 16px; padding-left: 12px; }
  .pi-body h3 { font-size: 26px; }
  .pi-body p { font-size: 14px; }

  /* Simulator */
  .sim-head { flex-direction: column; gap: 10px; align-items: stretch; padding: 12px 16px; }
  .sim-tracks { width: 100%; }
  .sim-tab { flex: 1; justify-content: center; padding: 10px 8px; font-size: 12px; }
  .sim-tab-meta { display: none; }
  .sim-play { justify-content: center; }
  .sim-body { padding: 20px 18px; }
  .sim-stats { grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
  .stat-value { font-size: 26px; }
  .sim-timeline { margin-bottom: 16px; padding: 0 4px; }
  .stl-track { margin: 12px 0 28px; }
  /* Hide floating labels on mobile — too cramped. Show current milestone below. */
  .stl-milelabel { display: none; }
  .stl-wnum { font-size: 9px; top: 16px; }
  .stl-mile.is-milestone .stl-dot { width: 10px; height: 10px; }
  .stl-mile:not(.is-milestone) .stl-dot { width: 6px; height: 6px; }
  .stl-mile:not(.is-milestone) .stl-wnum { display: none; }
  /* Only show milestone week numbers; compact */
  .sim-mile-now {
    display: flex; flex-direction: column; gap: 4px;
    text-align: center; margin-top: 4px; margin-bottom: 16px;
    min-height: 28px;
  }
  .sim-draft-head { padding: 10px 14px; font-size: 11px; }
  .sim-draft-body { padding: 20px 18px; min-height: 180px; }
  .sd-title { font-size: 18px; }

  /* Programs */
  .prog-grid { grid-template-columns: 1fr; gap: 16px; }
  .prog-card { padding: 28px 22px; }
  .prog-title { font-size: 32px; }

  /* Differentiators */
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Booking */
  .book-grid { grid-template-columns: 1fr; gap: 20px; }
  .book-left { padding: 24px 18px; }
  .book-progress { overflow-x: visible; }
  .book-pstep {
    flex: 1; min-width: 0;
    padding: 10px 8px; font-size: 12px;
    gap: 8px;
  }
  .bps-label { display: inline; line-height: 1.2; }
  .bps-n { width: 26px; height: 26px; font-size: 12px; flex-shrink: 0; }
  .book-days { grid-template-columns: repeat(4, 1fr); }
  .book-times { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .book-actions { flex-direction: column-reverse; }
  .book-actions .cta, .book-actions .cta-ghost { width: 100%; justify-content: center; }
  .book-summary { position: static; padding: 24px; }
  .done-ticket { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; }
  .dt-rule { width: 100%; height: 1px; }

  /* FAQ */
  .faq-q { grid-template-columns: 50px 1fr 28px; gap: 14px; font-size: 17px; padding: 20px 0; }
  .faq-q .mono { font-size: 9px; }
  .faq-a p { padding-left: 64px; font-size: 14px; }

  /* Closing */
  .closing-h { font-size: clamp(32px, 8vw, 48px); }
  .closing-ctas { flex-direction: column; align-items: stretch; }
  .closing-ctas .cta, .closing-ctas .cta-ghost { justify-content: center; }

  /* Footer */
  .footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-bot { flex-direction: column; gap: 6px; text-align: center; }

  /* Tweaks panel */
  .tweaks-panel { bottom: 12px; right: 12px; left: 12px; width: auto; }
  .tweak-pals { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .hero-card { width: min(200px, 70vw); }
  .hero-card.featured { width: min(230px, 85vw); }
  .stack { height: 340px; }
  .hero-card:nth-child(1).in { transform: translate(calc(-50% - 36px), calc(-50% - 110px)) rotate(-7deg); }
  .hero-card:nth-child(2).in { transform: translate(calc(-50% + 36px), calc(-50% - 84px)) rotate(4deg); }
  .hero-card:nth-child(3).in { transform: translate(calc(-50% - 44px), calc(-50% - 18px)) rotate(-3deg); }
  .hero-card:nth-child(4).in { transform: translate(calc(-50% + 44px), calc(-50% + 12px)) rotate(5deg); }
  .hero-card:nth-child(5).in { transform: translate(-50%, calc(-50% + 100px)) rotate(-1.5deg); }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(34px, 11vw, 44px); }
  .app-row { grid-template-columns: 90px 1fr; font-size: 12px; }
  .app-k { font-size: 9px; }
  .prog-price { font-size: 22px; }
  .sim-stats { grid-template-columns: 1fr; }
}

/* ---------- Contact section ---------- */
.section.contact {
  background: var(--ink);
  color: var(--paper-2);
  border-top: 1px solid #ffffff14;
  border-bottom: 1px solid #ffffff14;
}
.section.contact .label { color: #ffffff77; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-eyebrow { margin-bottom: 24px; }
.contact-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06; letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--paper-2);
  text-wrap: balance;
}
.contact-h em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.contact-lede {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: #ffffffcc;
  max-width: 440px;
  margin: 0 0 36px;
}
.contact-lede a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color .2s, border-color .2s;
}
.contact-lede a:hover { color: var(--paper-2); border-color: var(--paper-2); }
.contact-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid #ffffff18;
}
.contact-meta > div { display: flex; flex-direction: column; gap: 6px; }
.contact-meta .mono.small { font-size: 10px; color: #ffffff66; }
.contact-meta a, .contact-meta span {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--paper-2);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.contact-meta a:hover { color: var(--gold-soft); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field .label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #ffffff88;
}
.contact-field input,
.contact-field textarea {
  background: #ffffff08;
  border: 1px solid #ffffff20;
  border-radius: 6px;
  color: var(--paper-2);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.contact-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #ffffff44;
}
.contact-field input:hover,
.contact-field textarea:hover {
  border-color: #ffffff38;
  background: #ffffff10;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--gold-soft);
  background: #ffffff10;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold-soft) 22%, transparent);
}
.contact-actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.contact-send {
  background: var(--paper-2);
  color: var(--ink);
  padding: 13px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.contact-send:hover {
  background: var(--gold-soft);
  color: var(--ink);
}
.contact-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.contact-error {
  font-family: var(--sans);
  font-size: 13px;
  color: #ffb4b4;
  padding: 10px 14px;
  border: 1px solid #ffb4b440;
  border-radius: 6px;
  background: #ffb4b410;
}
.contact-sent {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 17px;
  color: var(--gold-soft);
  padding: 14px 16px;
  border: 1px solid #ffffff20;
  border-radius: 6px;
  background: #ffffff08;
  animation: fadeUp 0.5s cubic-bezier(.2,.8,.2,1) both;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-row { grid-template-columns: 1fr; }
}
