@font-face {
  font-family: Barlow Condensed;
  src: url(assets/barlow-condensed-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: DM Sans;
  src: url(assets/dm-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0d1110;
  --panel: #151b18;
  --white: #f0f3f1;
  --muted: #b2bdb6;
  --green: #b9edca;
  --line: #303a34;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 5.6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--ink); color: var(--white); font: 1rem/1.65 var(--body); }
img, iframe { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
::selection { background: var(--green); color: var(--ink); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p { text-wrap: pretty; }
h1, h2 { font-family: var(--body); font-weight: 650; }
h2 { font-size: clamp(2.25rem, 5vw, 4.6rem); letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
h2 em { color: var(--green); font-style: normal; }
.wrap {
  --safe-gutter: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  width: min(calc(100% - 2 * var(--safe-gutter)), 80rem);
  margin-inline: auto;
}
.skip { position: absolute; z-index: 10; top: 1rem; left: var(--gutter); transform: translateY(-200%); background: var(--green); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid #25342c; background: #0a110e; }
.masthead-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 700 .98rem/1.18 var(--body); letter-spacing: -.02em; white-space: nowrap; }
.mark { position: relative; display: inline-block; flex: none; width: 1.4rem; aspect-ratio: 1; border: 1px solid var(--green); border-radius: 50%; transform: rotate(-33deg); }
.mark::before, .mark::after { content: ""; position: absolute; inset: 3px 8px; border-left: 1px solid var(--green); border-right: 1px solid var(--green); }
.mark::after { inset: 8px -4px; border: 0; border-top: 1px solid var(--green); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); font-size: .83rem; font-weight: 650; }
nav a, .footer-links a { transition: color .18s ease; }
nav a:hover, .footer-links a:hover { color: var(--green); }

.hero { display: grid; isolation: isolate; position: relative; overflow: hidden; background: #0b1511; }
.hero-art, .hero::before { position: absolute; inset: 0; z-index: -2; }
.hero-art img { height: 100%; object-fit: cover; object-position: 62% 45%; }
.hero::before { content: ""; z-index: -1; background: linear-gradient(90deg, #080f0df2 0%, #080f0dc7 23%, #090e0c34 54%, transparent 77%), linear-gradient(0deg, #0a100ef5, transparent 33%); }
.hero-inner { min-height: clamp(39rem, calc(100svh - 6.5rem), 58rem); display: flex; flex-direction: column; justify-content: center; position: relative; padding-block: 4.5rem 7.8rem; }
.hero-copy { max-width: 48rem; animation: arrive .55s ease-out both; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--green); font: 650 .69rem/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
.eyebrow > span { display: block; width: 1.1rem; height: 1px; background: currentColor; flex: none; }
.hero h1 { font-family: var(--heading); font-weight: 800; text-transform: uppercase; color: #edf4ed; font-size: clamp(5.6rem, 13vw, 13.1rem); line-height: .77; letter-spacing: -.038em; margin: .15em 0 .17em; text-shadow: 0 4px 28px #07140da6; }
.hero h1 span { display: block; font-size: .30em; line-height: 1; letter-spacing: .23em; margin-bottom: .24em; }
.hero-lede { max-width: 35ch; color: #d2dfd5; font-size: clamp(1.025rem, 1.55vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.button { min-height: 3.15rem; padding: .7rem 1.1rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-size: .9rem; font-weight: 700; transition: background .18s ease, border-color .18s ease; }
.primary { background: var(--green); color: #101b14; border: 1px solid var(--green); }
.primary:hover { background: #d7ffe4; border-color: #d7ffe4; }
.secondary { background: #0b1511b8; color: var(--white); border: 1px solid #6a8073; }
.secondary:hover { background: #192d22; border-color: var(--green); }
.play-icon { display: inline-block; width: .66rem; height: .76rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.hero-foot { position: absolute; bottom: 0; inset-inline: 0; min-height: 4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #c6d4ca; border-top: 1px solid #a8c8b34a; font: .66rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.hero-foot time, .hero-foot span, .hero-foot a:hover { color: var(--green); }

.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: start; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(4.25rem, 8.5vw, 8rem); }
.brief h2 { max-width: 14ch; }
.brief-copy, .doom-copy .lede { font-size: clamp(1.05rem, 1.65vw, 1.3rem); }
.brief-copy p + p { margin-top: .75rem; color: var(--muted); font-size: .87em; }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .45rem; color: var(--green); font-size: .88rem; font-weight: 680; text-decoration: underline; text-decoration-color: #7ab895; text-underline-offset: .22em; }
.text-link:hover { color: var(--white); text-decoration-color: currentColor; }
.brief-copy .text-link { margin-top: .65rem; }

.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(1.6rem, 4.2vw, 3.5rem); }
.section-heading > p { color: var(--muted); max-width: 33ch; padding-bottom: .12rem; }
.screen { width: 100%; aspect-ratio: 16 / 9; max-height: 72vh; min-height: 200px; background: #050705; overflow: hidden; }
.screen iframe { height: 100%; border: 0; }
.video-cover { position: relative; isolation: isolate; height: 100%; display: grid; place-items: center; overflow: hidden; }
.video-cover:focus-visible { outline-offset: -4px; }
.video-cover img { position: absolute; inset: 0; z-index: -2; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.video-cover::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, #070c09b8, #06130c26 46%, #070c093b); }
.video-cover:hover img { transform: scale(1.035); }
.video-play { width: clamp(3.4rem, 8vw, 6.6rem); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #e1fae7; border-radius: 50%; box-shadow: 0 0 0 .35rem #d1ffe52e; background: #091912b8; color: var(--green); transition: background .18s ease, color .18s ease; }
.video-play .play-icon { margin-left: .23rem; width: 26%; height: 30%; }
.video-cover:hover .video-play { background: var(--green); color: var(--ink); }
.screen-info { padding: 1.05rem .55rem .35rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.screen-info .text-link { white-space: nowrap; }

.worlds { padding-block: clamp(4rem, 8.5vw, 8rem); }
.world-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); margin-bottom: .7rem; }
.world { --world-color: #e5c396; min-width: 0; }
.world.four { --world-color: #a8dfe1; }
.world.mutants { --world-color: #d3ccef; }
.world-art { aspect-ratio: 1.72; position: relative; overflow: hidden; }
.world-art img { height: 100%; object-fit: cover; object-position: 50% 53%; }
.world-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #111711c9, transparent 45%); }
.world-art span { position: absolute; z-index: 1; left: 1rem; bottom: .85rem; padding: .3rem .47rem; background: #0d1311de; color: var(--world-color); font: 650 .68rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.world-copy { padding: 1.15rem .1rem; }
.world h2 { font-size: clamp(1.4rem, 2.4vw, 2.55rem); line-height: 1.18; letter-spacing: -.045em; margin-bottom: .65rem; }
.world p { font-size: .94rem; color: #c0cec4; }
details { border-top: 1px solid var(--line); }
summary { display: flex; width: 100%; min-height: 2.75rem; align-items: center; justify-content: space-between; gap: .5rem; cursor: pointer; list-style: none; font-size: .86rem; font-weight: 700; color: var(--green); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
details[open] > summary::after { content: "−"; }
summary:hover { color: var(--white); }
.world details { margin-top: .15rem; }
.world-chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .85rem; margin: .55rem 0 .25rem; padding: 0; list-style: none; }
.world-chapters a { display: flex; align-items: center; justify-content: space-between; gap: .35rem; min-height: 2.75rem; border-top: 1px solid var(--line); color: var(--green); font-size: .88rem; font-weight: 680; }
.world-chapters a:hover { text-decoration: underline; text-underline-offset: .2em; }
.world-primary-link { margin-top: .38rem; }
.world details p { padding-bottom: .6rem; }

.multiverse { border-block: 1px solid #263a30; background: var(--panel); }
.multiverse-inner { padding-block: clamp(4rem, 7vw, 7rem); }
.multiverse-split { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: clamp(1.7rem, 5.7vw, 6rem); align-items: stretch; }
.collision { min-height: 20.5rem; position: relative; display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; gap: 1rem; border: 1px solid #385448; background: #0b1511; padding: 1.2rem; }
.collision-grid { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent, #0b1511 75%), repeating-linear-gradient(90deg, #466a5435 0 1px, transparent 1px 23px), repeating-linear-gradient(0deg, #466a5435 0 1px, transparent 1px 23px); }
.collision-img { position: relative; display: flex; width: min(90%, 26rem); margin: 0 auto; align-items: center; justify-content: center; }
.collision-img span { display: block; width: 55%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #7fb195; background: repeating-radial-gradient(ellipse at 40% 50%, transparent 0 7px, #b1f0c21a 8px 9px, transparent 10px 13px), radial-gradient(circle at 80% 50%, #69b68568, #183729 52%, #101f18 72%); }
.collision-img span + span { margin-left: -13%; background: repeating-radial-gradient(ellipse at 60% 50%, transparent 0 7px, #b1f0c21a 8px 9px, transparent 10px 13px), radial-gradient(circle at 20% 50%, #69b68568, #183729 52%, #101f18 72%); mix-blend-mode: screen; }
.collision-img i { position: absolute; left: 50%; top: 14%; bottom: 14%; width: 1px; background: #c7ffdd; box-shadow: 0 0 15px 4px #83eaa1b0; }
.collision figcaption { display: flex; justify-content: space-evenly; flex-wrap: wrap; gap: .5rem; text-align: center; color: #c1d0c6; font: .65rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.collision figcaption b { color: var(--green); }
.rules > div { display: grid; grid-template-columns: minmax(5.35rem, .28fr) minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.rules > div:last-child { border-bottom: 1px solid var(--line); }
.rules dt { color: var(--white); font: 670 1.1rem/1.25 var(--body); }
.rules dd { color: #c4d2c8; font-size: .96rem; }

.doom { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7.4rem); align-items: center; padding-block: clamp(4rem, 8vw, 8rem); }
.doom-image { position: relative; align-self: stretch; min-height: 24rem; border: 1px solid #53685b; overflow: hidden; }
.doom-image img { position: absolute; height: 100%; object-fit: cover; object-position: 50% 41%; }
.doom-image small { position: absolute; bottom: 1rem; left: 1rem; background: #0a110eee; padding: .46rem .62rem; border: 1px solid #435c4b; color: #deeadf; font: .65rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.doom-image small span { color: var(--green); }
.doom-copy > h3 { font-size: clamp(2.25rem, 5vw, 4.6rem); letter-spacing: -.055em; line-height: 1.02; margin-bottom: 1rem; }
.doom-copy .lede { margin-bottom: 1.3rem; }
.doom-note { border-top: 1px solid var(--line); padding-block: .95rem; }
.doom-note h4 { color: var(--green); font-size: 1rem; margin: 0 0 .25rem; }
.doom-note p { color: var(--muted); font-size: .93rem; }

.watchlist { background: var(--panel); border-block: 1px solid #2d4637; }
.watch-split { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(4rem, 7vw, 7rem); }
.watch-split h2 { max-width: 15ch; }
.watch-split > div:first-child > p:not(.eyebrow) { margin: 1.1rem 0 .4rem; max-width: 38ch; color: #c1cfc5; }
.watch-rows { padding: 0; margin: 0; list-style: none; }
.watch-rows li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: baseline; gap: .55rem; border-top: 1px solid #405548; padding: .95rem 0; }
.watch-index { color: var(--muted); font: 650 .95rem/1 var(--mono); }
.watch-rows h3 { font-size: 1.07rem; line-height: 1.35; }
.watch-rows h3 span, .watch-type { color: #bdd1c3; font: .67rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.watch-rows h3 span { display: inline-block; margin-left: .35rem; }
.watch-rows p { margin-top: .2rem; color: var(--muted); font-size: .9rem; }
.more-watching { border-block-color: #405548; }
.more-watching ul { padding-left: 1.2rem; color: var(--muted); font-size: .9rem; }
.more-watching li { margin-top: .35rem; }
.more-watching strong { color: var(--white); font-weight: 650; }

.next { text-align: center; background: var(--panel); border-block: 1px solid var(--line); }
.next-inner { padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.next .eyebrow { justify-content: center; }
.next h2 { margin-bottom: .7rem; }
.next p:not(.eyebrow) { color: #d1ded5; }
.footer { display: grid; grid-template-columns: .9fr 1.4fr auto; gap: 1rem 2rem; align-items: start; padding-block: 2rem; }
.footer p, .footer-links { color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .15rem .9rem; }

@media (max-width: 950px) {
  .world-grid { gap: .65rem; }
  .world p { font-size: .9rem; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --gutter: clamp(1.15rem, 5vw, 2rem); }
  .masthead-inner { display: block; padding-top: .8rem; }
  .masthead .brand { display: flex; width: fit-content; margin-right: auto; }
  nav { margin-top: .65rem; border-top: 1px solid #29382f; gap: clamp(.8rem, 5vw, 1.75rem); }
  nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .8rem; }
  .hero-art, .hero::before { bottom: auto; height: min(111vw, 40rem); }
  .hero-art img { object-position: center 41%; }
  .hero::before { background: linear-gradient(0deg, #0b1511 0%, #0b1511de 13%, #0b15112b 48%, transparent 79%); }
  .hero-inner { min-height: 0; padding: min(73vw, 29rem) 0 0; }
  .hero h1 { font-size: clamp(4.6rem, 22.6vw, 9.6rem); }
  .hero h1 span { margin-bottom: .31em; }
  .hero-copy { position: relative; }
  .hero-lede { font-size: 1.02rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: .2rem; margin-top: 1.2rem; }
  .hero-actions .secondary { background: transparent; border-color: transparent; color: var(--green); }
  .hero-actions .secondary:hover { color: var(--white); }
  .button { padding-inline: .85rem; min-height: 3rem; }
  .hero-foot { position: static; margin-top: 1.5rem; min-height: 3.2rem; }
  .hero-foot a + a { display: none; }
  .brief, .doom, .watch-split, .multiverse-split { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .brief h2, .watch-split h2 { max-width: none; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .9rem; }
  .screen { max-height: none; }
  .screen-info { display: block; padding: .8rem .4rem .1rem; }
  .screen-info .text-link { margin-top: .22rem; }
  .world-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .world-art { aspect-ratio: 1.9; }
  .world h2 { font-size: 2.4rem; }
  .world p { font-size: .97rem; }
  .collision { min-height: 16.75rem; }
  .rules > div { grid-template-columns: minmax(4.6rem, .27fr) minmax(0, 1fr); gap: .55rem; }
  .rules dt { font-size: 1.3rem; }
  .doom-image { min-height: auto; aspect-ratio: 1.12; }
  .doom-image img { object-position: 50% 45%; }
  .watch-rows li { grid-template-columns: 1.6rem minmax(0, 1fr) auto; }
  .next h2 { font-size: clamp(2.7rem, 10.5vw, 5rem); }
  .footer { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-column: auto; }
}

@media (max-width: 700px) and (max-height: 730px) {
  .hero-inner { padding-top: min(66vw, 27rem); }
}

@media (max-width: 360px) {
  .world h2 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.masthead nav a[aria-current] { color: var(--green); }

.encore {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: #0b1511;
}
.encore h3 { font: 650 clamp(1.45rem, 3.2vw, 2.7rem)/1.1 var(--body); letter-spacing: -.045em; }
.encore h3 em { color: var(--green); font-style: normal; }
.encore ul { margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: .94rem; }
.encore li + li { margin-top: .5rem; }
.encore li strong { color: var(--white); }
.encore small { grid-column: 2; display: block; margin-top: .75rem; color: var(--muted); }
.encore small a, .quest-sources a { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.quest-chapter:target .quest-banner { border-color: var(--green); }
.quest-banner {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background: #101d16;
  min-height: clamp(11.5rem, 25vw, 18.25rem);
  padding: clamp(1.35rem, 3.6vw, 3rem);
  border: 1px solid var(--line);
}
.quest-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #080d0bf5, #080d0b55 64%, #080d0b12), linear-gradient(90deg, #080d0be0, #080d0b18 88%); }
.quest-banner img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 44%; z-index: -2; }
.quest-banner > small { position: absolute; right: .6rem; top: .6rem; background: #090e0cd9; color: #dbe9df; font: .62rem/1.2 var(--mono); padding: .35rem .5rem; }
.quest-new-avengers .quest-banner img { object-position: 50% 35%; }
.quest-wakanda .quest-banner img { object-position: 50% 37%; }
.quest-doom-comics .quest-banner img { object-position: 50% 30%; }
.quest-intro { max-width: 59ch; color: #d9e5dc; font-size: clamp(1rem, 1.8vw, 1.18rem); margin-block: 1.15rem 1.4rem; }
.cast-section-title { font-size: 1.5rem; letter-spacing: -.025em; margin: 1.05rem 0 .65rem; }
.cast-grid { max-width: 68rem; }
.cast-entry {
  display: grid;
  grid-template-columns: minmax(0, .43fr) minmax(0, 1fr);
  gap: .65rem clamp(1.25rem, 4vw, 3.75rem);
  padding: clamp(1.25rem, 2.75vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
}
.profile-identity { min-width: 0; align-self: start; }
@media (min-width: 576px) {
  .profile-identity { position: sticky; top: 1.5rem; }
}
.profile-copy { max-width: 67ch; min-width: 0; }
.cast-entry h3 { font-size: clamp(1.19rem, 2.1vw, 1.7rem); line-height: 1.18; letter-spacing: -.025em; }
.cast-entry .cast-credit { color: var(--muted); font-size: .79rem; margin-top: .2rem; }
.cast-entry p:not(.cast-credit) { color: #c5d1c9; font-size: .93rem; margin-top: .6rem; }
.cast-entry .profile-copy > p:first-child { margin-top: 0; }
.cast-entry .cast-watch { display: grid; gap: .24rem; margin-top: .7rem; line-height: 1.45; }
.cast-watch strong { color: var(--muted); font: 650 .75rem/1.3 var(--body); }
.quest-story { margin-top: 1rem; padding: clamp(1rem, 2.8vw, 1.8rem); background: var(--panel); border-left: 2px solid var(--line); }
.quest-story h3 { color: var(--white); font-size: 1.16rem; line-height: 1.25; margin-bottom: .5rem; }
.quest-story p { max-width: 70ch; color: #d1ded4; }
.quest-story p + p { margin-top: .75rem; }
.quest-sources { margin-top: .85rem; }
.quest-sources ul { padding-left: 1.35rem; margin: .2rem 0 .8rem; font-size: .88rem; }
.quest-sources li { margin-block: .25rem; }

@media (min-width: 701px) and (max-width: 900px) {
  .masthead-inner { gap: 1rem; }
  .masthead nav { gap: 1rem; }
  .hero-inner { min-height: clamp(35rem, 70svh, 46rem); }
  .hero h1 { font-size: 14vw; }
  .world-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .world { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: stretch; }
  .world-art { aspect-ratio: auto; min-height: 12.5rem; }
  .world-art img { position: absolute; inset: 0; }
  .world-copy { padding: 1rem 1.3rem; }
  .world h2 { font-size: clamp(2.15rem, 5vw, 3.1rem); }
}

@media (max-width: 700px) {
  .masthead nav { gap: .1rem clamp(.38rem, 2.5vw, 1.15rem); flex-wrap: wrap; }
  .masthead nav a { font-size: clamp(.7rem, 2.25vw, .8rem); }
  .encore { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .encore small { grid-column: 1; margin: 0; }
  .quest-banner { min-height: 10.5rem; }
}

@media (max-width: 575px) {
  .cast-entry { grid-template-columns: minmax(0, 1fr); }
}

:root { --bottom-nav: 4.35rem; --rail: 12.1rem; }
.nav-icon { font: 400 1.17rem/1 system-ui, sans-serif; }
.nav-short { display: none; }

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  body { padding-left: var(--rail); }
  .masthead {
    position: fixed;
    z-index: 4;
    inset: 0 auto 0 0;
    width: var(--rail);
    overflow-y: auto;
    border: 0;
    border-right: 1px solid #2c4135;
  }
  .masthead-inner { width: auto; display: block; padding: 1.55rem .9rem; }
  .masthead .brand { white-space: normal; padding: 0 .38rem; font-size: 1rem; }
  .masthead .main-nav { flex-direction: column; align-items: stretch; gap: .22rem; margin-top: 1.65rem; }
  .masthead .main-nav a {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 3rem;
    padding: .55rem .62rem;
    border-left: 2px solid transparent;
    font-size: .83rem;
  }
  .masthead .main-nav a:hover, .masthead .main-nav a[aria-current] { background: #1b2b21; color: var(--green); }
  .masthead .main-nav a[aria-current] { border-color: var(--green); }
  .masthead .main-nav .nav-icon { color: #a0dcb5; min-width: 1.15rem; text-align: center; }
  .wrap { --gutter: clamp(1.65rem, 4.6vw, 4.8rem); }
  .hero-inner { min-height: clamp(39rem, 95svh, 57rem); }
  .hero h1 { font-size: clamp(5.5rem, 11.75vw, 12.25rem); }
  .skip { margin-left: var(--rail); }
  .hero-art img { object-position: 60% 45%; }
}

@media (max-width: 1100px), (hover: none), (pointer: coarse) {
  html { scroll-padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom, 0px) + 1rem); }
  body { padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom, 0px)); }
  .masthead-inner { min-height: 3.7rem; display: flex; padding-top: 0; }
  .masthead .main-nav {
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    min-height: calc(var(--bottom-nav) + env(safe-area-inset-bottom, 0px));
    padding: .2rem max(.3rem, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(.3rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid #3a5444;
    background: #0d1914;
  }
  .masthead .main-nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 3.45rem;
    gap: .26rem;
    padding: .2rem 0;
    color: #d5e3d8;
    border-top: 2px solid transparent;
    font-size: clamp(.65rem, 1.9vw, .84rem);
    text-align: center;
    line-height: 1.2;
  }
  .masthead .main-nav a:hover, .masthead .main-nav a[aria-current] { color: var(--green); background: #1b2b21; }
  .masthead .main-nav a[aria-current] { border-color: var(--green); }
  .masthead .main-nav .nav-long { display: none; }
  .masthead .main-nav .nav-short { display: block; }
}

@media (max-width: 700px) and (max-height: 730px) {
  .hero-inner { padding-top: min(58vw, 24rem); }
}

.quest-talokan .quest-banner { background: radial-gradient(ellipse at 82% 22%, #1d5460, #0e262b 50%, #0d1616); }
.quest-other-worlds .quest-banner {
  background: url(assets/hero.webp) 78% 38% / cover;
}
.quest-clues .quest-banner img { object-position: 50% 31%; }

.screening-room { padding-block: clamp(2.3rem, 5vw, 5rem); }
.library-heading { margin-bottom: clamp(1.3rem, 3.6vw, 2.8rem); }
.library-heading h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); letter-spacing: -.065em; line-height: 1; }
.library-heading > p { color: var(--muted); margin-top: .65rem; }
.library-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16.5rem, .42fr); align-items: start; gap: clamp(1.35rem, 3vw, 2.5rem); }
.screening-stage .screen { aspect-ratio: 16 / 9; max-height: none; }
.screening-stage .screen-info { padding: 1.05rem 0; align-items: end; }
.screening-stage .screen-info h2 { font-size: clamp(1.45rem, 3vw, 2.35rem); letter-spacing: -.045em; margin-top: .2rem; text-wrap: pretty; }
.video-meta { color: var(--muted); font-size: .78rem; }
.video-context { border-top: 1px solid var(--line); padding-top: .85rem; }
.video-context h3 { font-size: 1.05rem; }
.video-context p { color: var(--muted); max-width: 63ch; font-size: .95rem; margin-top: .2rem; }
.video-context details { margin-top: .5rem; border: 0; }
.video-context details summary { width: min(100%, 13rem); }
.video-context details p { margin-bottom: .35rem; }
.video-context .text-link { margin-bottom: .3rem; }
.clip-library { border-top: 1px solid var(--line); }
.clip-shelf { border-top: 1px solid var(--line); padding-block: .5rem; }
.clip-shelf:first-child { border: 0; }
.clip-shelf h2, .clip-shelf summary { font: 700 .93rem/1.3 var(--body); color: var(--white); letter-spacing: -.01em; }
.clip-shelf h2 { padding: .62rem 0; }
.clip-shelf ul { list-style: none; padding: 0; margin: 0; }
.clip-row { display: grid; grid-template-columns: minmax(4rem, 4.6rem) minmax(0, 1fr); align-items: center; gap: .72rem; padding: .53rem .45rem; min-height: 3.45rem; border-radius: .35rem; }
.clip-row img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: .2rem; }
.clip-row strong, .clip-row small { display: block; line-height: 1.24; }
.clip-row strong { font-size: .84rem; }
.clip-row small { font-size: .72rem; margin-top: .23rem; color: var(--muted); }
.clip-row:hover { background: #1c2520; }
.clip-row[aria-current] { background: #203029; }
.clip-row[aria-current] strong { color: var(--green); }

@media (min-width: 1000px) and (min-height: 760px) {
  .screening-stage { position: sticky; top: 1.3rem; }
}

@media (max-width: 999px) {
  .library-layout { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
}

@media (min-width: 600px) and (max-width: 999px) {
  .clip-shelf ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .65rem; }
  .clip-row { grid-template-columns: 5.2rem minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .screening-stage .screen-info { display: block; }
  .screening-room .screen-info .text-link { margin-top: .15rem; }
  .screening-room .clip-row { min-height: 3.35rem; }
  .rules dt { font-size: .95rem; }
  .rules > div { grid-template-columns: minmax(4.6rem, .29fr) minmax(0, 1fr); }
}

.browse-videos { display: none; }
@media (max-width: 999px) {
  .browse-videos { display: inline-flex; margin-top: .2rem; }
}

.worlds-search { max-width: 42rem; margin-top: 1.05rem; }
.finder-label { display: block; color: var(--white); margin-bottom: .35rem; font-size: .92rem; font-weight: 700; }
.finder-controls { display: flex; align-items: center; gap: .6rem; max-width: 41rem; }
.finder-controls input { font: 1rem/1.45 var(--body); min-width: 0; flex: 1; min-height: 3.25rem; padding: .65rem .95rem; color: var(--white); background: var(--panel); border: 1px solid #526057; border-radius: .4rem; }
.finder-controls input::placeholder { color: var(--muted); }
.finder-controls input::-webkit-search-cancel-button { display: none; }
.finder-clear, .finder-examples button, .finder-more { cursor: pointer; background: transparent; border: 1px solid var(--line); color: var(--green); border-radius: .35rem; min-height: 2.75rem; padding: .45rem .8rem; font-size: .86rem; }
.finder-clear:hover, .finder-examples button:hover, .finder-more:hover { background: #203029; }
.finder-examples { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.finder-status { font-size: .84rem; color: var(--muted); margin-top: .65rem; }
.finder-status:empty { margin: 0; }
.finder-results { list-style: none; margin: .65rem 0 0; padding: 0; }
.finder-results:empty { margin: 0; }
.finder-result { border-top: 1px solid var(--line); padding: .8rem 0 .52rem; }
.finder-result h2 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.025em; text-wrap: unset; }
.finder-profile { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--green); text-underline-offset: .22em; }
.finder-profile:hover { text-decoration: underline; }
.finder-chapter, .finder-description { color: var(--muted); font-size: .88rem; }
.finder-chapter { font-size: .77rem; }
.finder-details { margin-top: .4rem; max-width: 34rem; }
.finder-more { margin-top: .7rem; }
.cast-watch > span { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.cast-watch a, .quest-sources a, .watch-rows h3 a, .more-watching a, .encore a { color: var(--green); text-decoration: underline; text-decoration-color: #7ab895; text-underline-offset: .22em; }
.cast-watch a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.finder-links { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.finder-links:empty { display: none; }
.cast-entry:target h3, .quest-story:target h3 { color: var(--green); }
.profile-background, .profile-references { scroll-margin-top: 1.1rem; }
.profile-copy > details:first-of-type { margin-top: .95rem; }
.chapter-depth { margin-block: 1.1rem clamp(1.65rem, 3vw, 2.6rem); max-width: 50rem; }
.chapter-depth > details:last-child { border-bottom: 1px solid var(--line); }
.chapter-depth .chapter-contents { margin-bottom: 0; }
.profile-background > summary, .profile-references > summary, .chapter-contents > summary,
.quest-sources > summary, .media-lists summary, .finder-details > summary, .world-copy summary {
  padding-inline: 0 .3rem;
  font-size: .92rem;
  color: var(--white);
  font-weight: 550;
  transition: color .18s ease;
}
.profile-background > summary::after, .profile-references > summary::after, .chapter-contents > summary::after,
.quest-sources > summary::after, .media-lists summary::after, .finder-details > summary::after, .world-copy summary::after {
  content: "";
  flex: 0 0 .46rem;
  height: .46rem;
  margin-inline: .5rem .18rem;
  border: solid var(--green);
  border-width: 0 1px 1px 0;
  transform: translateY(-.12rem) rotate(45deg);
  transition: transform .2s ease;
}
:is(.profile-background, .profile-references, .chapter-contents, .quest-sources, .media-lists details, .finder-details, .world-copy details)[open] > summary::after {
  content: "";
  transform: translateY(.12rem) rotate(225deg);
}
:is(.profile-background, .profile-references, .chapter-contents, .quest-sources, .media-lists details, .finder-details, .world-copy details) > summary:hover,
:is(.profile-background, .profile-references, .chapter-contents, .quest-sources, .media-lists details, .finder-details, .world-copy details)[open] > summary {
  color: var(--green);
}
.profile-background > :last-child:not(summary), .profile-references > :last-child:not(summary) { margin-bottom: 1rem; }
.profile-background > p, .chapter-depth li p { max-width: 68ch; color: #c5d1c9; }
.profile-background > p + p { margin-top: .65rem; }
.profile-background a, .quest-intro a, .quest-story a, .cast-entry p > a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: #7ab895;
  text-underline-offset: .2em;
}
.profile-background a:hover, .cast-entry p > a:hover { color: var(--white); }
.chapter-depth .appearance-list { margin-top: .2rem; }
.chapter-depth .appearance-list > li:first-child { border-top: 0; padding-top: .2rem; }
.chapter-depth .timeline-heading { color: var(--white); margin-bottom: .28rem; }
.appearance-list { list-style: none; padding: 0; margin: .85rem 0 0; }
.appearance-list > li { border-top: 1px solid var(--line); padding: .75rem 0 .15rem; }
.appearance-list :is(h4, .timeline-heading) { display: flex; flex-wrap: wrap; align-items: baseline; gap: .16rem .65rem; margin: 0; font-size: 1rem; font-weight: 650; }
.appearance-list :is(h4, .timeline-heading) span { color: var(--muted); font-size: .79rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.finder-controls .finder-clear, .finder-examples button, .finder-more {
  border: 0;
  border-radius: 0;
  padding-inline: 0;
  color: var(--green);
  text-underline-offset: .2em;
}
.finder-examples { column-gap: 1.15rem; margin-top: .2rem; }
.finder-controls .finder-clear:hover, .finder-examples button:hover, .finder-more:hover { background: transparent; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  :is(.profile-background, .profile-references, .chapter-contents, .quest-sources, .media-lists details, .finder-details, .world-copy details) > summary,
  :is(.profile-background, .profile-references, .chapter-contents, .quest-sources, .media-lists details, .finder-details, .world-copy details) > summary::after {
    transition: none;
  }
}

.landing-choices { padding-block: clamp(2.25rem, 5vw, 4.25rem); }
.landing-choices h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
.landing-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: clamp(1rem, 3vw, 2.3rem); margin-top: 1.15rem; }
.landing-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1rem, 2.7vw, 2.2rem); }
.landing-grid a { position: relative; padding: .85rem 1.75rem .9rem 0; border-top: 1px solid var(--line); }
.landing-grid h3 { font-size: clamp(1.02rem, 2.15vw, 1.3rem); font-weight: 700; letter-spacing: -.026em; line-height: 1.18; }
.landing-grid p { margin-top: .32rem; color: var(--muted); font-size: .9rem; line-height: 1.48; }
.landing-grid .choice-arrow { position: absolute; top: .85rem; right: .1rem; color: var(--green); }
.landing-sections a:first-child { grid-column: 1 / -1; }
.landing-grid a:hover h3 { color: var(--green); }
.landing-grid .landing-start { border: 0; border-radius: .35rem; background: var(--panel); padding: 1rem 2rem 1.15rem 1.1rem; }
.landing-start .choice-arrow { top: 1rem; right: .85rem; }
.landing-finder { margin-top: .6rem; }

.page-intro { padding-top: clamp(2.55rem, 6vw, 5.25rem); padding-bottom: clamp(1.3rem, 3.4vw, 2.5rem); }
.page-intro h1, .worlds-page h1, .watchlist-page h1 { font-size: clamp(2.65rem, 7vw, 5.65rem); line-height: 1.03; letter-spacing: -.062em; text-wrap: balance; }
.page-intro > p:not(.eyebrow) { margin-top: .65rem; color: var(--muted); max-width: 54ch; }
.reading-page .brief { padding-block: 1.3rem clamp(2.7rem, 6vw, 4.8rem); }
.reading-page .multiverse-inner { padding-block: clamp(3rem, 6vw, 5rem); }
.worlds-page .worlds { padding-block: clamp(2.55rem, 6vw, 4.75rem) clamp(1.45rem, 3vw, 3rem); }
.worlds-intro > p { max-width: 59ch; margin-top: .75rem; color: var(--muted); }
.worlds-jump { flex-wrap: wrap; gap: 0 1.35rem; margin: .8rem 0 clamp(1.35rem, 3vw, 2.3rem); border-block: 1px solid var(--line); }
.across-worlds { padding-bottom: clamp(2.55rem, 6vw, 5.25rem); }
.across-worlds .section-heading { margin-bottom: 1.45rem; }
.across-worlds .doom { padding-block: 0 clamp(1.5rem, 3.3vw, 3rem); }
.media-library { border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4.4rem); }
.media-library .section-heading { margin-bottom: 1.3rem; }
.media-library .section-heading p { margin-top: .55rem; color: var(--muted); }
.continuities { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem 2rem; margin-bottom: 1.5rem; }
.continuities dt { color: var(--white); font-weight: 700; }
.continuities dd { color: var(--muted); font-size: .91rem; margin-top: .25rem; }
.media-lists details:last-child { border-bottom: 1px solid var(--line); }
.media-lists ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 1.2rem; margin: .1rem 0 .8rem; padding: 0; list-style: none; }
.media-lists a { max-width: 100%; }
@media (min-width: 901px) {
  .across-worlds .chapter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(.85rem, 2.3vw, 1.8rem); }
}
.watchlist-page .watchlist { border-top: 0; background: var(--ink); }

.onward { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.8rem); }
.onward h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); text-wrap: unset; }
.onward p { color: var(--muted); margin-top: .35rem; }

.chapter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1rem, 3.7vw, 3rem); align-items: stretch; }
.chapter-card { display: grid; align-items: center; gap: .85rem; grid-template-columns: minmax(4.2rem, 26%) minmax(0, 1fr) auto; border-top: 1px solid var(--line); padding-block: .9rem; }
.chapter-card img { aspect-ratio: 5 / 4; height: auto; object-fit: cover; border-radius: .22rem; }
.chapter-card-plain::before { content: ""; aspect-ratio: 5 / 4; background: #18241e url(assets/hero-mobile.webp) 48% 35% / cover; opacity: .65; border-radius: .22rem; }
.chapter-card h3 { font-size: clamp(1rem, 2vw, 1.28rem); letter-spacing: -.028em; line-height: 1.2; }
.chapter-card p { color: var(--muted); margin-top: .27rem; font-size: .88rem; line-height: 1.45; }
.chapter-card > span { color: var(--green); }
.chapter-card:hover h3 { color: var(--green); }

.chapter-page { padding-block: clamp(1.7rem, 4vw, 3.3rem) clamp(2.5rem, 6vw, 5rem); }
.chapter-page .chapter-back { margin-bottom: .75rem; }
.quest-banner h1 { font-size: clamp(2.3rem, 6.2vw, 5.65rem); line-height: 1.02; letter-spacing: -.056em; text-wrap: balance; }
.chapter-page .quest-intro { margin-block: 1.3rem 1.1rem; }
.chapter-contents { margin-bottom: .8rem; }
.chapter-contents nav { display: block; margin: 0; border: 0; }
.chapter-contents ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0 1.25rem; padding: 0 0 .55rem; list-style: none; }
.chapter-contents li { min-width: 0; }
.cast-entry[id], .quest-story[id] { scroll-margin-top: 1.5rem; }
.chapter-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1.15rem; gap: .75rem 1.7rem; }
.chapter-directory a { padding-block: .4rem; font-size: .83rem; color: var(--muted); }
.chapter-directory strong { display: block; font-size: 1.05rem; color: var(--green); margin-top: .15rem; }
.chapter-directory a:hover strong { text-decoration: underline; text-underline-offset: .25em; }

@media (min-width: 701px) {
  .landing .hero-inner { min-height: clamp(29rem, 65svh, 36rem); padding-block: 2.7rem 5.4rem; }
}

@media (max-width: 700px) {
  .landing-grid, .landing-sections, .chapter-grid { grid-template-columns: minmax(0, 1fr); }
  .landing-grid { gap: .85rem; margin-top: 1rem; }
  .worlds-page .worlds { padding-top: 1.65rem; }
  .worlds-jump { column-gap: .85rem; }
  .onward { flex-wrap: wrap; }
  .chapter-card { grid-template-columns: minmax(3.7rem, 21%) minmax(0, 1fr) auto; gap: .7rem; }
  .quest-banner h1 { font-size: clamp(2.15rem, 8.3vw, 3.7rem); }
}

@media (max-width: 700px) and (max-height: 730px) {
  .landing .hero-actions { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: .45rem; }
  .landing .hero-actions .button { padding-inline: .5rem; font-size: .84rem; line-height: 1.25; text-align: center; }
  .landing .hero-actions .secondary { border-color: #546c5e; background: #0b1511b8; }
}

@media (max-width: 360px) and (max-height: 730px) {
  .landing .hero-inner { padding-top: 48vw; }
}
