:root {
  --bg: #ffffff;
  --surface: #f6f3ee;
  --surface-2: #eee9e1;
  --ink: #221f1c;
  --soft: #6f6860;
  --line: #e7e1d8;
  --accent: #ff6b3d;
  --accent-ink: #ffffff;
  --accent-soft: #ffeadf;
  --accent-deep: #c4400f;
  --ink-bg: #1d1a17;
  --soft-dark: #b8afa5;
  --shadow: 0 10px 30px rgba(60, 40, 20, 0.08);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --wrap: 1040px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; font-weight: 900; letter-spacing: -0.03em; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent-soft); }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  z-index: 20;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}
.bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.name span { color: var(--accent); }
.brand img { width: 28px; height: 32px; }
.bar nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.bar nav a {
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  color: var(--soft);
  padding: 8px 14px;
  border-radius: 999px;
}
.bar nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
}
.bar nav a:hover { color: var(--ink); background: var(--surface); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--ink); }

main { padding-bottom: 5rem; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.25rem;
  padding: 2.5rem 0 0.5rem;
}

.demo {
  --phone-h: 460px;
  --phone-h: clamp(320px, calc(100svh - 10rem), 460px);
  display: block;
  width: calc(var(--phone-h) * 292 / 598);
  max-width: 100%;
  align-self: flex-start;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}
.phone {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: var(--phone-h);
  padding: calc(var(--phone-h) * 0.02);
  border-radius: calc(var(--phone-h) * 0.08);
  background: #1c1a18;
  box-shadow:
    inset 0 0 0 1px #4a433c,
    inset 0 0 0 3px #0c0b0a,
    0 22px 44px rgba(50, 32, 16, 0.16);
  transition: transform 0.15s ease;
}
.demo:hover .phone { transform: translateY(-4px); }
.key {
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: #3a342e;
}
.key.silent { left: -3px; top: 17%; height: 3%; }
.key.up { left: -3px; top: 24%; height: 7.4%; }
.key.down { left: -3px; top: 33%; height: 7.4%; }
.key.power { right: -3px; top: 27%; height: 11%; }
.phone-screen {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--phone-h) * 0.06);
  background: var(--bg);
  padding: 12px 14px 10px;
  overflow: hidden;
}
.island {
  flex: 0 0 auto;
  width: 88px;
  height: 24px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: #1c1a18;
}
.phone-ui {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
.home-bar {
  flex: 0 0 auto;
  width: 104px;
  height: 5px;
  margin: 10px auto 4px;
  border-radius: 999px;
  background: rgba(34, 31, 28, 0.32);
}
.demo-board {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 8px;
  background: #fbfaf8;
  border-radius: 24px;
  box-shadow: inset 0 0 0 2px #ece6dd, 0 8px 22px rgba(60, 40, 20, 0.06);
  overflow: hidden;
}
.demo-board svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
}
.demo-board .ex { opacity: 0; animation: slot 36s infinite; }
.demo-board .ex:nth-child(2) { animation-delay: 9s; }
.demo-board .ex:nth-child(3) { animation-delay: 18s; }
.demo-board .ex:nth-child(4) { animation-delay: 27s; }
.demo-board .ref,
.demo-board .ink {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.demo-board .ref {
  stroke: var(--accent);
  stroke-width: 3.4;
  animation: ref-life 9s ease infinite;
}
.demo-board .ink {
  stroke: var(--ink);
  stroke-width: 3.1;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ink-life 9s linear infinite;
}
.aword {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.aword em { font-style: normal; color: var(--accent); }
.demo-prompt,
.demo-name {
  position: relative;
  width: 100%;
  margin: 0;
}
.demo-prompt {
  height: 2.6em;
  margin-top: 10px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.demo-name {
  height: 1.3em;
  margin-top: 2px;
  color: var(--soft);
  font-weight: 800;
  font-size: 14px;
}
.demo-prompt span,
.demo-name span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  opacity: 0;
}
.demo-prompt .look { animation: show-look 9s infinite; }
.demo-prompt .draw { animation: show-draw 9s infinite; }
.demo-prompt .done { animation: show-done 9s infinite; }
.demo-name span { animation: slot 36s infinite; }
.demo-name span:nth-child(2) { animation-delay: 9s; }
.demo-name span:nth-child(3) { animation-delay: 18s; }
.demo-name span:nth-child(4) { animation-delay: 27s; }
.timebar {
  height: 10px;
  width: 100%;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.timebar > span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  transform-origin: left center;
  animation: timer 9s linear infinite;
}

@keyframes slot {
  0%, 25% { opacity: 1; }
  25.1%, 100% { opacity: 0; }
}
@keyframes show-look {
  0%, 20% { opacity: 1; }
  27%, 100% { opacity: 0; }
}
@keyframes show-draw {
  0%, 28% { opacity: 0; }
  34%, 64% { opacity: 1; }
  71%, 100% { opacity: 0; }
}
@keyframes show-done {
  0%, 68% { opacity: 0; }
  74%, 94% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes ref-life {
  0%, 20% { opacity: 1; }
  32%, 66% { opacity: 0; }
  76%, 94% { opacity: 0.42; }
  100% { opacity: 0; }
}
@keyframes ink-life {
  0%, 30% { stroke-dashoffset: 100; opacity: 1; }
  64%, 94% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 100; opacity: 0; }
}
@keyframes timer {
  0% { transform: scaleX(1); background: var(--accent); }
  26% { transform: scaleX(0.04); background: var(--accent); }
  32% { transform: scaleX(1); background: var(--ink); }
  66% { transform: scaleX(0.06); background: var(--ink); }
  72%, 100% { transform: scaleX(0); background: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-prompt span,
  .demo-name span,
  .timebar > span,
  .demo-board .ex,
  .demo-board .ref,
  .demo-board .ink { animation: none; }
  .demo-board .ex { opacity: 0; }
  .demo-board .ex:first-child { opacity: 1; }
  .demo-prompt .look,
  .demo-prompt .draw,
  .demo-name span { opacity: 0; }
  .demo-prompt .done,
  .demo-name span:first-child { opacity: 1; }
  .demo-board .ref { opacity: 0.42; }
  .demo-board .ink { stroke-dashoffset: 0; opacity: 1; }
  .timebar > span { transform: scaleX(0); }
}

/* ---------- Base type ---------- */
.kicker {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--soft);
  margin-bottom: 0.55rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(50% 0, 80% 26%, 92% 100%, 8% 100%, 20% 26%);
}
h1 {
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  line-height: 1.08;
  max-width: 16em;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.08;
}
h3 { font-size: 1.25rem; line-height: 1.2; }
.lead {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--soft);
  font-weight: 700;
}
.aside {
  margin-top: 0.85rem;
  max-width: 38rem;
  color: var(--soft);
  font-weight: 700;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.6rem;
}
.btn.lg { min-height: 60px; padding: 14px 28px; font-size: 1.1rem; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn.ghost:active { box-shadow: inset 0 0 0 2px currentColor; transform: none; }

/* ---------- Header extras ---------- */
.site-header { border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar nav a.nav-cta {
  margin-left: 0.4rem;
  background: var(--ink);
  color: #fff;
}
.bar nav a.nav-cta:hover { background: #3a342e; color: #fff; }

/* ---------- Sections ---------- */
.sec { padding: 6rem 0 0; scroll-margin-top: 60px; }
.sec-head { max-width: 42rem; }
.sec-head .lead { margin-top: 1rem; }
.band {
  margin-top: 6rem;
  padding: 5.5rem 0;
  background: var(--ink-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band .eyebrow { color: #ff8e68; }
.band .lead, .band .muted { color: var(--soft-dark); }
main { padding-bottom: 0; }

/* ---------- Program path (home) ---------- */
.path {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: p;
}
.path li { position: relative; padding-top: 68px; }
.path li::before {
  counter-increment: p;
  content: counter(p);
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  z-index: 1;
}
.path li:last-child::before { background: var(--accent); color: var(--ink); }
.path li::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 62px;
  right: -14px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cfc7bb 0 6px, transparent 6px 12px);
}
.path li:last-child::after { display: none; }
.path h3 { margin-bottom: 0.45rem; }
.path p { color: var(--soft); font-weight: 700; }

/* ---------- Icons & piece badges ---------- */
.ic {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.pc {
  flex: none;
  width: 56px;
  height: 62px;
  display: grid;
  place-items: end center;
  padding-bottom: 14px;
  background: var(--surface-2);
  color: var(--ink);
  clip-path: polygon(50% 0, 80% 26%, 92% 100%, 8% 100%, 20% 26%);
}
.pc .ic { width: 24px; height: 24px; }
.pc.live { background: var(--accent); }

/* ---------- Feature (Afterimage) card ---------- */
.feature {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink-bg);
  color: #fff;
  box-shadow: var(--shadow);
}
.feature-copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.feature-copy .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 800;
}
.feature-copy .tag i { width: 8px; height: 8px; border-radius: 50%; background: #5fd38a; }
.feature-copy h3 { margin-top: 1.1rem; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.04em; line-height: 1; }
.feature-copy h3 em { font-style: normal; color: var(--accent); }
.feature-copy .faculty { margin-top: 0.5rem; color: var(--soft-dark); font-weight: 800; }
.feature-copy p.body { margin-top: 1.1rem; max-width: 30rem; color: #e9e2d8; font-weight: 700; }
.feature-copy .meta {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-copy .meta li {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 800;
  color: #e9e2d8;
}
.feature-copy .actions { margin-top: auto; padding-top: 1.8rem; }
.feature-copy .text-link { color: var(--soft-dark); }
.feature-copy .text-link:hover { color: #fff; }
.feature-art {
  position: relative;
  min-height: 320px;
  background: #f3eee6;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.feature-art svg { width: min(86%, 420px); height: auto; }
.feature-art .ref, .feature-art .ink { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.feature-art .ref { stroke: var(--accent); stroke-width: 3.2; opacity: 0.55; }
.feature-art .ink { stroke: var(--ink); stroke-width: 3; }
.feature-art .grid-lines { fill: none; stroke: #e3dccf; stroke-width: 1; }
.feature-art .label {
  font-family: var(--font);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.08em;
  fill: #8a8178;
}

/* ---------- Seats grid ---------- */
.seat-grid {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 230px;
  padding: 20px;
  border-radius: 24px;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .top { display: flex; justify-content: space-between; align-items: flex-start; }
.tile .n {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--soft);
}
.tile h3 { margin-top: auto; padding-top: 1.1rem; }
.tile p { color: var(--soft); font-weight: 700; font-size: 0.95rem; line-height: 1.4; }
.tile .chip { align-self: flex-start; margin-top: 0.6rem; }
.tile.note {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--line);
  border-radius: 24px;
  justify-content: center;
}
.tile.note:hover { transform: none; box-shadow: inset 0 0 0 2px var(--line); }
.tile.note h3 { margin-top: 0; padding-top: 0; }
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--soft);
}
.chip.live { background: var(--accent); color: var(--ink); }

/* ---------- Principles (dark band) ---------- */
.band .watermark {
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 420px;
  opacity: 0.05;
  pointer-events: none;
}
.principles {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.principles li {
  padding: 28px 26px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.principles .num {
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ff8e68;
  margin-bottom: 1.6rem;
}
.principles h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.principles p { color: var(--soft-dark); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta {
  margin-top: 6rem;
  background: var(--accent);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta .wrap {
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.cta h2 { max-width: 14em; }
.cta p { margin-top: 0.8rem; max-width: 34rem; font-size: 1.1rem; font-weight: 800; color: rgba(34, 31, 28, 0.82); }
.cta .btn { box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); }
.cta .btn:active { box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.cta .watermark {
  position: absolute;
  right: 6%;
  top: 50%;
  height: 150%;
  transform: translateY(-50%);
  opacity: 0.1;
  pointer-events: none;
}
.cta .wrap > * { position: relative; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 4rem 0 0; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }

/* ---------- Afterimage page ---------- */
.round-steps {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: r;
}
.round-steps li {
  counter-increment: r;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--surface);
  overflow: hidden;
}
.round-steps .vis {
  background: #f3eee6;
  height: 150px;
  display: grid;
  place-items: center;
  position: relative;
}
.round-steps .vis svg { height: 118px; width: auto; }
.round-steps .vis::before {
  content: counter(r);
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
}
.round-steps .txt { padding: 18px 20px 22px; }
.round-steps h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.round-steps p { color: var(--soft); font-weight: 700; font-size: 0.97rem; line-height: 1.45; }
.vis .ref, .vis .ink { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.vis .ref { stroke: var(--accent); stroke-width: 3.4; }
.vis .ink { stroke: var(--ink); stroke-width: 3.1; }
.vis .faint { opacity: 0.4; }
.vis .bar-bg { fill: #e4ddd1; }
.vis .bar-fg { fill: var(--accent); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split .lead + .lead { margin-top: 0.9rem; }
.daycard {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.daycard .row-label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 0.7rem;
}
.daycard .row-label:not(:first-child) { margin-top: 1.8rem; }
.dots { display: flex; gap: 10px; align-items: center; }
.dots i {
  width: 44px;
  height: 50px;
  background: var(--ink);
  clip-path: polygon(50% 0, 80% 26%, 92% 100%, 8% 100%, 20% 26%);
}
.dots i:last-of-type { background: var(--accent); }
.dots span { margin-left: auto; font-weight: 800; color: var(--soft); font-size: 0.9rem; }
.ladder { position: relative; padding-top: 6px; }
.ladder .track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e4ddd1 0%, var(--accent) 100%);
}
.ladder .ends { display: flex; justify-content: space-between; margin-top: 0.6rem; font-weight: 900; }
.ladder .ends span:last-child { color: var(--accent-deep); }
.streak { display: flex; gap: 6px; }
.streak i { flex: 1; height: 34px; border-radius: 10px; background: var(--ink); }
.streak i.off { background: var(--surface-2); }

.facts-grid {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.facts-grid li {
  padding: 26px;
  border-radius: 24px;
  background: var(--surface);
}
.facts-grid h3 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); font-weight: 900; margin-bottom: 0.6rem; }
.facts-grid p { font-weight: 800; font-size: 1.1rem; line-height: 1.35; letter-spacing: -0.01em; }

.statement {
  max-width: 46rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-top: 1.4rem;
}
.statement em { font-style: normal; color: var(--accent); }
.band .note { margin-top: 1.4rem; max-width: 40rem; color: var(--soft-dark); font-weight: 700; }

/* ---------- Course page ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pull {
  position: sticky;
  top: 100px;
  padding: 32px;
  border-radius: 28px;
  background: var(--ink-bg);
  color: #fff;
}
.pull blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pull blockquote em { font-style: normal; color: var(--accent); }
.pull cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: 0.9rem; font-weight: 700; color: var(--soft-dark); }
.prose { max-width: 40rem; }
.prose p { color: var(--soft); font-weight: 700; }
.prose p + p { margin-top: 1rem; }
.prose p:first-child { color: var(--ink); font-size: 1.15rem; font-weight: 800; }
.prose a { font-weight: 800; }

.roster {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  position: relative;
}
.roster::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: repeating-linear-gradient(180deg, #cfc7bb 0 6px, transparent 6px 12px);
}
.roster li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1.4rem;
  align-items: start;
  padding: 18px 22px 18px 0;
}
.roster .pc { position: relative; z-index: 1; background: var(--surface-2); box-shadow: none; }
.roster li .card {
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--surface);
}
.roster li.live .card { background: var(--ink-bg); color: #fff; }
.roster .n { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; color: var(--soft); text-transform: uppercase; }
.roster li.live .n { color: #ff8e68; }
.roster h3 { font-size: 1.5rem; line-height: 1.15; margin-top: 0.2rem; }
.roster h3 a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.roster h3 a:hover { color: var(--accent); }
.roster .aim { margin-top: 0.4rem; font-weight: 800; }
.roster .lens { margin-top: 0.2rem; color: var(--soft); font-size: 0.93rem; font-weight: 700; }
.roster li.live .lens { color: var(--soft-dark); }
.roster .state { margin-top: 0.5rem; }
.roster .pc.live { background: var(--accent); }

.say { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 3rem; }
.say > div { padding: 30px; border-radius: 26px; background: var(--surface); }
.say h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; font-size: 1.35rem; }
.say .mk {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.95rem; font-weight: 900;
  background: var(--ink); color: #fff;
}
.say .no .mk { background: var(--accent); color: var(--ink); }
.say ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }
.say li { padding-left: 1.2rem; position: relative; color: var(--soft); font-weight: 700; }
.say li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.say .no li::before { background: var(--accent); }
.say li strong { color: var(--ink); font-weight: 800; }
.source {
  margin-top: 1.4rem;
  max-width: 48rem;
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 2px var(--line);
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}
.source b { color: var(--ink); font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; display: block; margin-bottom: 0.3rem; }
.source a { font-weight: 800; overflow-wrap: anywhere; }

/* ---------- Brand page ---------- */
.lockups { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 3rem; }
.lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 210px;
  padding: 24px;
  border-radius: 28px;
  background: var(--surface);
}
.lockup img { width: 64px; height: 72px; }
.lockup .word { font-weight: 900; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.04em; line-height: 0.95; }
.lockup.dark { background: var(--ink-bg); color: #fff; flex-direction: column; }
.lockup.dark .name span { color: var(--accent); }
.lockup.coral { background: var(--accent); color: var(--ink); flex-direction: column; }
.lockup.coral .name span { color: #fff; }
.lockup.dark .word, .lockup.coral .word { font-size: 1.7rem; }
.lockup.dark img, .lockup.coral img { width: 56px; height: 63px; }
.lockup.on-dark-mark img { filter: none; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 2.5rem; }
.swatch { border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 2px var(--line); }
.swatch .chipc { height: 110px; }
.swatch .info { padding: 14px 16px 16px; background: #fff; }
.swatch b { display: block; font-weight: 900; }
.swatch span { font-size: 0.9rem; color: var(--soft); font-weight: 700; font-variant-numeric: tabular-nums; }
.type-card {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 28px 32px;
  border-radius: 28px;
  background: var(--surface);
}
.type-card .aa { font-size: 5.5rem; font-weight: 900; letter-spacing: -0.06em; line-height: 1; }
.type-card p { color: var(--soft); font-weight: 700; max-width: 36rem; }
.type-card b { color: var(--ink); font-weight: 900; font-size: 1.2rem; display: block; margin-bottom: 0.2rem; }

.concepts {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.concepts li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border-radius: 24px;
}
.concept-art {
  width: 104px;
  height: 116px;
  background: var(--bg);
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
}
.concept-art svg { width: 72px; height: auto; }
.concepts .used .concept-art { box-shadow: inset 0 0 0 2px var(--accent); }
.concepts h3 { font-size: 1.25rem; line-height: 1.15; }
.concepts h3 span { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0; color: var(--soft); margin-bottom: 0.1rem; }
.concepts p { margin-top: 0.25rem; color: var(--soft); font-size: 0.95rem; font-weight: 700; }
.concepts .flag {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); margin-top: 0; padding: 4rem 0 2rem; }
.cta + .site-footer, .band + .site-footer { margin-top: 0; }
.foot {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.foot .brand-col .brand { font-size: 1.5rem; }
.foot .brand-col p { margin-top: 0.9rem; max-width: 22rem; color: var(--soft); font-weight: 700; }
.foot h4 { margin: 0 0 0.8rem; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot ul a { text-decoration: none; color: var(--ink); font-weight: 800; }
.foot ul a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-row {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .tile, .tile:hover { transition: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 880px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .hero-copy { flex: 1 1 auto; min-width: 0; }
}

@media (max-width: 879px) {
  .demo {
    --phone-h: 380px;
    --phone-h: clamp(260px, calc(100svh - 26rem), 380px);
  }
}

@media (max-width: 960px) {
  .path { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .path li:nth-child(2)::after { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature-art { min-height: 260px; order: -1; }
  .seat-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; }
  .round-steps { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .split, .why, .say { grid-template-columns: 1fr; }
  .pull { position: static; }
  .lockups { grid-template-columns: 1fr 1fr; }
  .lockups .lockup:first-child { grid-column: 1 / -1; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .concepts { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot .brand-col { grid-column: 1 / -1; }
  .cta .wrap { grid-template-columns: 1fr; padding: 3.5rem 0; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .bar { flex-wrap: wrap; min-height: 0; padding: 12px 0; row-gap: 2px; }
  .bar nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 6px; overflow-x: auto; }
  .bar nav a { white-space: nowrap; padding: 8px 10px; font-size: 0.95rem; }
  .bar nav a.nav-cta { margin-left: auto; }
  .hero { padding-top: 1.75rem; gap: 1.75rem; }
  .sec { padding-top: 4rem; }
  .band, .cta { margin-top: 4rem; }
  .band { padding: 4rem 0; }
  .page-hero { padding-top: 2.5rem; }
  .path { grid-template-columns: 1fr; gap: 0; }
  .path li { padding: 0 0 36px 68px; min-height: 48px; }
  .path li::after { top: 54px; bottom: 6px; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #cfc7bb 0 6px, transparent 6px 12px); }
  .path li:nth-child(2)::after { display: block; }
  .path li:last-child { padding-bottom: 0; }
  .roster::before { left: 27px; }
  .roster li { grid-template-columns: 56px 1fr; gap: 0.9rem; padding-right: 0; }
  .lockup img { width: 52px; height: 58px; }
  .type-card { grid-template-columns: 1fr; gap: 0.5rem; }
  .legal-row { flex-direction: column; }
}

@media (max-width: 560px) {
  .seat-grid, .round-steps, .facts-grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .lockups { grid-template-columns: 1fr; }
  .concepts li { grid-template-columns: 84px 1fr; }
  .concept-art { width: 84px; height: 96px; }
  .concept-art svg { width: 58px; }
  .foot { grid-template-columns: 1fr; }
}

/* ---------- Research page ---------- */
.findings {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.findings li {
  padding: 30px 30px 26px;
  border-radius: 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.findings .stat {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-deep);
}
.findings .stat small { font-size: 0.4em; letter-spacing: -0.01em; color: var(--ink); }
.findings h3 { margin-top: 1rem; font-size: 1.35rem; }
.findings p { margin-top: 0.6rem; color: var(--soft); font-weight: 700; }
.findings p strong { color: var(--ink); font-weight: 800; }
.findings .cite { margin-top: auto; padding-top: 1rem; font-size: 0.85rem; font-weight: 800; color: var(--ink); }

.etable { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 10px; }
.etable li {
  display: grid;
  grid-template-columns: 17rem 1fr 11rem;
  gap: 1.5rem;
  align-items: center;
  padding: 16px 22px 16px 16px;
  border-radius: 22px;
  background: var(--surface);
}
.etable .who { display: flex; align-items: center; gap: 14px; }
.etable .who b { display: block; font-size: 1.1rem; font-weight: 900; letter-spacing: -0.02em; }
.etable .who span { font-size: 0.82rem; font-weight: 800; color: var(--soft); }
.etable .who .pc { width: 44px; height: 49px; padding-bottom: 11px; }
.etable .who .pc .ic { width: 20px; height: 20px; }
.etable p { color: var(--soft); font-weight: 700; font-size: 0.95rem; line-height: 1.4; }
.meter { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.meter i {
  width: 14px; height: 16px;
  background: var(--surface-2);
  clip-path: polygon(50% 0, 80% 26%, 92% 100%, 8% 100%, 20% 26%);
}
.meter[data-n="1"] i:nth-child(-n+1),
.meter[data-n="2"] i:nth-child(-n+2),
.meter[data-n="3"] i:nth-child(-n+3),
.meter[data-n="4"] i:nth-child(-n+4) { background: var(--ink); }
.meter[data-n="4"] i:nth-child(-n+4) { background: var(--accent); }
.meter span { flex-basis: 100%; margin-top: 4px; font-size: 0.82rem; font-weight: 900; }
.meter[data-n="1"] span { color: var(--soft); }

.refs { margin: 2.5rem 0 0; padding-left: 1.4rem; max-width: 52rem; display: grid; gap: 1rem; color: var(--soft); font-weight: 700; font-size: 0.95rem; }
.refs li::marker { font-weight: 900; color: var(--ink); }
.refs a { font-weight: 800; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .findings { grid-template-columns: 1fr; }
  .etable li { grid-template-columns: 1fr; gap: 0.7rem; }
  .meter span { flex-basis: auto; margin: 0 0 0 6px; }
}

/* ---------- Home hero: big and short ---------- */
.hero.home .kicker { font-size: 1.1rem; }
.hero.home h1 { font-size: clamp(3.2rem, 8vw, 6rem); line-height: 1; letter-spacing: -0.045em; }
.hero.home .lead { max-width: none; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.3; color: var(--ink); font-weight: 800; }
.hero.home .btn { min-height: 62px; padding: 14px 28px; font-size: 1.15rem; }
.hero.home .text-link { font-size: 1.1rem; }
@media (min-width: 720px) { .hero.home .lead span { display: block; } }

/* three-step row on the home page */
.path.three { grid-template-columns: repeat(3, 1fr); }
.path.three li:last-child::before { background: var(--ink); color: #fff; }
.path.three li:nth-child(3)::after { display: none; }
@media (max-width: 960px) { .path.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .path.three { grid-template-columns: 1fr; } .path.three li:nth-child(2)::after { display: block; } .path.three li:last-child::after { display: none; } }
