/* Checkered Crown — studio site.
   Palette sampled from the Gunpowder Plot key-art swatches.
   Look: DuckTales-2017 production language — flat color, bold outline, hard shadow —
   framed like a studio's production board (slates, episode codes, stamps). */

:root {
  --night: #0e1422;
  --navy: #171f31;
  --navy-2: #1f2a44;
  --slate: #5b6678;
  --oxblood: #6c261b;
  --rust: #8f3a26;
  --gold: #b77935;
  --gold-bright: #e2a94c;
  --cream: #f0ddc2;
  --paper: #f7efdf;
  --paper-2: #efe3cc;
  --umber: #352d27;
  --ink: var(--navy);
  --muted: #56606f;
  --line: 3px solid var(--navy);
  --shadow: 6px 6px 0 var(--navy);
  --shadow-sm: 4px 4px 0 var(--navy);
  --radius: 14px;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
em { font-style: normal; color: var(--gold-bright); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold-bright); color: var(--navy); padding: 10px 16px; font-weight: 700; border: var(--line); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- studio chrome ---------- */
.slate-bar { background: var(--night); color: var(--cream); font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.slate-bar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }
.slate-bar .rec::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #d8452f; vertical-align: 0; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--paper); border-bottom: 4px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.2rem/0.95 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.wordmark svg { width: 44px; height: 36px; flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); font: 600 .95rem/1 var(--body); letter-spacing: .04em; }
.site-nav a { text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--gold-bright); }
.site-nav .nav-cta { padding: 10px 16px; border: 2px solid var(--gold-bright); border-radius: 999px; color: var(--gold-bright); }
.site-nav .nav-cta:hover { background: var(--gold-bright); color: var(--navy); }
.menu-toggle { display: none; font: 700 .9rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: none; color: var(--paper); border: 2px solid var(--cream); border-radius: 8px; padding: 10px 14px; cursor: pointer; }

@media (max-width: 860px) {
  .js .menu-toggle { display: block; }
  .js .site-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 4px solid var(--gold); padding: 8px var(--gutter) 20px; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(240, 221, 194, .15); }
  .js .site-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 2px solid var(--gold-bright); }
  .site-nav { flex-wrap: wrap; }
  .slate-bar .hide-sm { display: none; }
}

/* ---------- shared components ---------- */
.kicker { font: 600 .78rem/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--rust); margin-bottom: 14px; }
.night .kicker, .hero .kicker, .banner .kicker, .navy-bg .kicker { color: var(--gold-bright); }
.lede { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; }
.muted { color: var(--muted); }
.night { background: var(--night); color: var(--paper); }
.night .muted { color: #b9b3a6; }
.navy-bg { background: var(--navy); color: var(--paper); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.section-head p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

.button { display: inline-flex; align-items: center; gap: 10px; font: 800 1rem/1 var(--body); letter-spacing: .04em; text-decoration: none; padding: 15px 22px; background: var(--gold-bright); color: var(--navy); border: var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.night .button, .navy-bg .button { border-color: var(--night); box-shadow: 4px 4px 0 var(--oxblood); }
.button.ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.button.ghost:hover { background: rgba(240, 221, 194, .08); transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { border-color: var(--rust); }

.stamp { display: inline-block; font: 700 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px 6px; border: 2px solid currentColor; border-radius: 4px; color: var(--rust); transform: rotate(-2deg); white-space: nowrap; }
.stamp.live { color: #2e6b4a; }
.stamp.gold { color: var(--gold-bright); }
.stamp.later { color: var(--slate); }

/* production slate — the clapperboard metadata block */
.slate { font: 500 .78rem/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--night); color: var(--cream); border: 3px solid var(--night); border-radius: 10px; overflow: hidden; }
.slate::before { content: ""; display: block; height: 18px; background: repeating-linear-gradient(-45deg, var(--paper) 0 16px, var(--night) 16px 32px); }
.slate dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.slate dl > div { padding: 10px 14px; border-top: 1px solid rgba(240, 221, 194, .18); }
.slate dl > div:nth-child(odd) { border-right: 1px solid rgba(240, 221, 194, .18); }
.slate dl > .wide { grid-column: 1 / -1; border-right: 0; }
.slate dt { color: var(--gold-bright); font-size: .66rem; letter-spacing: .16em; }
.slate dd { margin: 3px 0 0; font-size: .86rem; color: var(--paper); }

/* film frame around stills */
.frame { position: relative; margin: 0; background: var(--night); border: 4px solid var(--night); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--oxblood); overflow: hidden; }
.frame img { width: 100%; }
.frame figcaption { font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cream); padding: 10px 12px; display: flex; justify-content: space-between; gap: 12px; }
.frame .corner { position: absolute; width: 22px; height: 22px; border: 3px solid var(--gold-bright); z-index: 1; }
.frame .tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame .tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }

/* bold-outline card */
.card { background: var(--paper); color: var(--ink); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
a.card { text-decoration: none; display: block; transition: transform .12s, box-shadow .12s; }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--navy); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(circle at 78% 30%, rgba(226, 169, 76, .22), transparent 42%),
  linear-gradient(180deg, var(--night), var(--navy-2)); color: var(--paper); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 64px; background: var(--paper);
  clip-path: polygon(0 100%, 0 70%, 4% 70%, 4% 40%, 6% 40%, 6% 60%, 11% 60%, 11% 30%, 12% 20%, 13% 30%, 13% 55%, 20% 55%, 20% 65%, 27% 65%, 27% 35%, 29% 35%, 29% 60%, 36% 60%, 36% 75%, 44% 75%, 44% 45%, 45.5% 25%, 47% 45%, 47% 70%, 55% 70%, 55% 50%, 60% 50%, 60% 72%, 68% 72%, 68% 38%, 70% 38%, 70% 62%, 77% 62%, 77% 50%, 82% 50%, 82% 68%, 90% 68%, 90% 30%, 91% 18%, 92% 30%, 92% 64%, 100% 64%, 100% 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(96px, 10vw, 140px); }
.hero h1 { margin-bottom: .3em; }
.hero h1 span { display: block; color: var(--gold-bright); }
.hero .lede { max-width: 34ch; color: var(--cream); }
.hero-still { max-width: 380px; justify-self: end; width: 100%; rotate: 1.5deg; }
.hero-still .slate { margin-top: -6px; rotate: -3deg; width: 86%; margin-left: -8%; position: relative; z-index: 2; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero-still { justify-self: center; max-width: 360px; } .hero-still .slate { margin-left: 0; width: 100%; } }

/* ---------- surfaces grid ---------- */
.surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.surface { display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.surface h3 { margin: 6px 0 0; }
.surface p { margin: 0; color: var(--muted); }
.surface .stamp { align-self: flex-start; margin-top: auto; }
.surface:nth-child(3n+2) { background: var(--cream); }
.surface:nth-child(3n) { background: var(--paper-2); }
@media (max-width: 900px) { .surfaces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .surfaces { grid-template-columns: 1fr; } }

/* ---------- crown / check split ---------- */
.duality { display: grid; grid-template-columns: 1fr 1fr; border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.duality > div { padding: clamp(28px, 4vw, 48px); }
.duality .crown-side { background: var(--cream); }
.duality .check-side { background: var(--oxblood); color: var(--paper); }
.duality .check-side .kicker { color: var(--gold-bright); }
.duality h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.duality ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 700px) { .duality { grid-template-columns: 1fr; } }

/* ---------- episode board ---------- */
.episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.episode { position: relative; display: flex; flex-direction: column; gap: 8px; }
.episode .code { font: 600 .74rem/1 var(--mono); letter-spacing: .16em; color: var(--rust); }
.episode h3 { margin: 4px 0 2px; }
.episode .where { font: 600 .8rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 0; }
.episode p { margin: 0; }
.episode .stamp { position: absolute; top: 18px; right: 18px; }
.episode.pilot { background: var(--navy); color: var(--paper); }
.episode.pilot .code, .episode.pilot .where { color: var(--gold-bright); }
.wt { font: 600 .62rem/1 var(--mono); letter-spacing: .12em; vertical-align: super; color: var(--slate); margin-left: 6px; }

.episode-list { display: grid; gap: 22px; }
.episode-row { display: grid; grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.episode-row .num { font: 800 3.4rem/1 var(--display); color: var(--gold); }
.episode-row .code { font: 600 .74rem/1 var(--mono); letter-spacing: .16em; color: var(--rust); display: block; margin-bottom: 8px; }
.episode-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.episode-row .where { font: 600 .8rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.episode-row .sides { font-size: 1rem; display: grid; gap: 8px; margin: 0; }
.episode-row .sides dt { font: 700 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.episode-row .sides dd { margin: 0 0 6px; }
.episode-row.pilot { background: var(--navy); color: var(--paper); }
.episode-row.pilot .where, .episode-row.pilot .code, .episode-row.pilot .sides dt { color: var(--gold-bright); }
@media (max-width: 820px) { .episode-row { grid-template-columns: 1fr; gap: 10px; } .episode-row .num { font-size: 2.4rem; } }

/* ---------- cast ---------- */
.cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(2, minmax(0, .7fr)); gap: 20px; align-items: end; }
.actor { text-align: center; }
.actor .portrait { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px 8px 0; overflow: hidden; }
.actor .portrait img { margin-inline: auto; max-height: 300px; width: auto; }
.actor h3 { margin: 16px 0 4px; font-size: 1.2rem; }
.actor p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.35; }
.actor.chair .portrait { background: var(--paper-2); }
.actor.chair .portrait img { max-height: 190px; }
.actor .tag { display: block; font: 600 .66rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin-top: 6px; }
@media (max-width: 900px) { .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* role / casting cards (episode page) */
.casting { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.role { background: var(--night); color: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; }
.role img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.role div { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.role .as { font: 600 .68rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.role h3 { font-size: 1.2rem; margin: 0; }
.role p { margin: 0; font-size: .98rem; color: var(--cream); }
@media (max-width: 1000px) { .casting { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .casting { grid-template-columns: 1fr; } }

.sheet-strip { background: var(--paper); border: var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-sm); margin: 0 0 20px; overflow-x: auto; }
.sheet-strip img { min-width: 760px; }
.sheet-strip figcaption { font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); padding: 10px 4px 2px; }

/* episode page banner */
.banner { background: var(--night); color: var(--paper); padding-block: clamp(36px, 6vw, 64px) clamp(56px, 7vw, 88px); }
.banner .key-art { border: 4px solid var(--night); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--oxblood); overflow: hidden; margin: 32px 0 0; }
.banner-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.banner .slate { border-color: var(--gold); }
@media (max-width: 820px) { .banner-grid { grid-template-columns: 1fr; } }
.breadcrumb { font: 500 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold-bright); }

.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); border-bottom: var(--line); }
.page-hero.night { border-bottom: 4px solid var(--gold); }
.page-hero .lede { max-width: 58ch; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: conic-gradient(var(--navy) 25%, var(--cream) 0 50%, var(--navy) 0 75%, var(--cream) 0) 0 0 / 100% 100%; border: 2px solid var(--navy); border-radius: 3px; }
.night .checklist li::before, .navy-bg .checklist li::before { border-color: var(--gold-bright); background: conic-gradient(var(--gold-bright) 25%, var(--night) 0 50%, var(--gold-bright) 0 75%, var(--night) 0); }
.not-list li::before { background: none; border: 0; content: "✕"; color: var(--rust); font-weight: 800; top: 0; }

/* ---------- the road ---------- */
.layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: layer; }
.layer { counter-increment: layer; }
.layer::before { content: counter(layer, decimal-leading-zero); display: block; font: 800 2.4rem/1 var(--display); color: var(--gold); margin-bottom: 10px; }
.layer h3 { font-size: 1.25rem; }
.layer p { margin: 0; font-size: 1rem; color: var(--muted); }
@media (max-width: 900px) { .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .layers { grid-template-columns: 1fr; } }

.road { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.road::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; border-left: 4px dashed var(--gold); }
.stop { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; }
.stop .pin { width: 58px; height: 58px; display: grid; place-items: center; font: 800 1.1rem/1 var(--display); background: var(--paper); border: var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); z-index: 1; }
.stop.court .pin { background: var(--gold-bright); }
.stop.congress .pin { background: var(--oxblood); color: var(--paper); }
.stop .body { padding-top: 6px; }
.stop h4 { font-size: 1.2rem; margin: 0 0 4px; }
.stop p { margin: 0; font-size: 1rem; color: var(--muted); }
.stop .school { font: 600 .74rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--rust); display: block; margin-top: 4px; }
.leg-title { font: 700 .8rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--slate); margin: 34px 0 18px 76px; }

.board-note { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.mini-board { width: 140px; aspect-ratio: 1; border: var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); background: conic-gradient(var(--navy) 25%, var(--cream) 0 50%, var(--navy) 0 75%, var(--cream) 0) 0 0 / 25% 25%; }
@media (max-width: 520px) { .board-note { grid-template-columns: 1fr; } }

/* ---------- world / merch ---------- */
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.shelf .card h3 { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.shelf .card p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .shelf { grid-template-columns: 1fr; } }
.drops { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: drop; }
.drops li { counter-increment: drop; display: grid; grid-template-columns: 36px 1fr; gap: 10px; font-size: 1rem; }
.drops li::before { content: counter(drop); display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--navy); border-radius: 50%; font: 700 .8rem/1 var(--mono); background: var(--gold-bright); }
.pins { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.pin-badge { width: 84px; text-align: center; font: 600 .66rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pin-badge svg { width: 84px; height: 84px; margin-bottom: 6px; }

.rollout { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rollout > div { padding: 22px; border-right: var(--line); background: var(--paper); }
.rollout > div:last-child { border-right: 0; }
.rollout > div:first-child { background: var(--gold-bright); }
.rollout h3 { font-size: 1.1rem; font-family: var(--mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rollout p { margin: 0; font-size: 1rem; }
@media (max-width: 820px) { .rollout { grid-template-columns: 1fr 1fr; } .rollout > div:nth-child(2) { border-right: 0; } .rollout > div:nth-child(-n+2) { border-bottom: var(--line); } }
@media (max-width: 480px) { .rollout { grid-template-columns: 1fr; } .rollout > div { border-right: 0; border-bottom: var(--line); } .rollout > div:last-child { border-bottom: 0; } }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.swatch { border: var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.swatch span { display: block; height: 70px; border-bottom: var(--line); }
.sw-navy { background: var(--navy); } .sw-oxblood { background: var(--oxblood); } .sw-gold { background: var(--gold); }
.sw-cream { background: var(--cream); } .sw-umber { background: var(--umber); } .sw-slate { background: var(--slate); }
.swatch b { display: block; padding: 8px 10px 0; }
.swatch i { display: block; font-style: normal; padding: 0 10px 8px; color: var(--muted); }

.quote-band { text-align: center; }
.quote-band p { font: 800 clamp(1.6rem, 3.6vw, 2.8rem)/1.15 var(--display); max-width: 24ch; margin: 0 auto .4em; }
.quote-band cite { font: 500 .8rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--gold-bright); }

/* ---------- waitlist ---------- */
.waitlist { background: var(--oxblood); color: var(--paper); border-block: 4px solid var(--night); }
.waitlist-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.waitlist h2 { margin-bottom: .3em; }
.waitlist .kicker { color: var(--gold-bright); }
.waitlist p { color: var(--cream); }
.waitlist-form label.field-label { display: block; font: 600 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.field-row { display: flex; gap: 10px; background: var(--paper); border: 3px solid var(--night); border-radius: 999px; padding: 6px; box-shadow: 5px 5px 0 var(--night); }
.field-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.05rem/1 var(--body); color: var(--navy); padding: 10px 14px; }
.field-row input:focus { outline: none; }
.field-row:focus-within { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
.field-row .button { box-shadow: none; padding: 12px 20px; border-width: 2px; }
.field-row .button:hover { transform: none; background: var(--gold); }
.form-note { font-size: .88rem; margin: 12px 0 0; opacity: .85; }
.form-status { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; }
.form-status.is-error { color: #ffd2c4; }
.form-status.is-ok { color: var(--gold-bright); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 820px) { .waitlist-inner { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .field-row { flex-direction: column; border-radius: 18px; } .field-row .button { justify-content: center; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--cream); padding-block: 56px 36px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font: 700 .75rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand .wordmark { color: var(--paper); margin-bottom: 14px; }
.footer-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(240, 221, 194, .18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 .72rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #a7a091; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.navy-bg .actor p { color: var(--cream); }
.navy-bg .actor .tag { color: var(--gold-bright); }
.night .card:not(.pilot) .kicker, .navy-bg .card:not(.pilot) .kicker { color: var(--rust); }
.night .card:not(.pilot) .checklist li::before, .navy-bg .card .checklist li::before { border-color: var(--navy); background: conic-gradient(var(--navy) 25%, var(--cream) 0 50%, var(--navy) 0 75%, var(--cream) 0); }

/* Existing artwork makes the story and learning route easier to explore. */
.episode-art,.episode-thumb,.collection-art{margin:0;border:var(--line);border-radius:var(--radius);overflow:hidden;background:var(--paper)}
.episode-art img,.episode-thumb img,.collection-art img{display:block;width:100%;height:auto;object-fit:contain}
.episode-thumb figcaption{padding:10px;font:700 .75rem/1.4 var(--mono);color:var(--navy);text-align:center}
.episode-row{grid-template-columns:210px minmax(0,1.2fr) minmax(0,1fr)}
.collection-art{margin-bottom:20px}.role img{height:auto;object-fit:contain;align-self:start}
.illustrated-road{gap:26px}.stop-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;background:var(--paper);color:var(--navy);border:var(--line);border-radius:var(--radius);overflow:hidden}
.stop-card figure{margin:0;align-self:center}.stop-card img{width:100%;height:auto;display:block;object-fit:contain}
.stop-card .body{padding:18px 22px 18px 0}.stop-card h3{font-size:1.35rem;margin:6px 0}.stop-card .school{font-size:.75rem;letter-spacing:.04em}
.learning-guide{padding:22px;background:var(--paper-2);border:var(--line);border-radius:var(--radius)}
.learning-guide summary{font-size:1.15rem;font-weight:700;cursor:pointer;min-height:44px;display:list-item}
.matrix-scroll{overflow-x:auto;max-width:100%;margin:20px 0}.learning-matrix{border-collapse:collapse;width:100%;min-width:720px;font-size:1rem;line-height:1.45}
.learning-matrix caption{text-align:left;margin-bottom:14px;font-weight:700}.learning-matrix th,.learning-matrix td{padding:14px;text-align:left;vertical-align:top;border:1px solid var(--slate)}
.learning-matrix thead{background:var(--navy);color:var(--paper)}.learning-matrix tbody tr:nth-child(even){background:var(--cream)}
.waitlist-form.is-submitted>.field-label,.waitlist-form.is-submitted>.field-row,.waitlist-form.is-submitted>.form-note{display:none}
.waitlist-form.is-submitted .form-status{padding:24px;border:2px solid var(--gold-bright);border-radius:var(--radius);background:var(--night)}
.form-status.is-ok strong,.form-status.is-ok span{display:block}.form-status.is-ok strong{font-size:1.4rem;margin-bottom:12px}.form-status.is-ok span{font-weight:400;color:var(--paper);line-height:1.5}
.waitlist-again{display:block;background:none;color:var(--gold-bright);font:inherit;border:0;text-decoration:underline;min-height:44px;margin-top:12px;cursor:pointer}
@media(max-width:860px){.js .site-nav{max-height:calc(100dvh - 100px);overflow-y:auto}.episode-row{grid-template-columns:1fr}.episode-thumb{max-width:480px}.stop-card{grid-template-columns:140px minmax(0,1fr);gap:16px}.stop-card .body{padding:14px 14px 14px 0}}
@media(max-width:520px){.illustrated-road .stop{grid-template-columns:40px minmax(0,1fr);gap:14px}.illustrated-road .pin{width:40px;height:40px}.illustrated-road::before{left:18px}.stop-card{display:block}.stop-card .body{padding:16px}.learning-guide{padding:16px}.episode-thumb{max-width:none}}
.surface { padding: 0; overflow: hidden; }
.surface > :not(.tile-art) { margin-inline: 24px; }
.surface > :last-child { margin-bottom: 24px; }
.tile-art { aspect-ratio: 4 / 3; margin-bottom: 8px; border-bottom: var(--line); background: var(--night); overflow: hidden; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .3s; }
a.surface:hover .tile-art img { transform: scale(1.04); }

/* Official company mark; crown.svg is reserved for the browser icon. */
.wordmark .company-logo{width:64px;height:64px;object-fit:contain;flex:none;border-radius:6px}.footer-brand .company-logo{width:88px;height:88px}
