@font-face {
  font-family: Cinzel;
  src: url("assets/cinzel.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0907;
  --panel: #120f0c;
  --gold: #c9a24a;
  --gold-light: #ead9a0;
  --gold-dark: #6e5120;
  --text: #ece2cb;
  --soft: #d3c7af;
  --muted: #a89a7e;
  --arcane: #58a9ff;
  --line: #c9a24a30;
  --display: Cinzel, "Palatino Linotype", Georgia, serif;
  --motion: 240ms cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Georgia, serif; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--arcane); outline-offset: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--gold-light); }
h1, h2 { background: linear-gradient(180deg, #fff6d6 8%, var(--gold-light) 36%, var(--gold) 68%, #8f6a2a 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 1px #241609) drop-shadow(0 6px 20px #000); }

/* The town behind everything, drifting slowly, with embers rising off its fires. */
.world { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg); }
.world::before { content: ""; position: absolute; inset: -4%; background: url("assets/town.webp") center / cover no-repeat; animation: drift 50s ease-in-out infinite alternate; }
.world::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 35%, rgba(10,9,7,.42), rgba(10,9,7,.64) 60%, rgba(10,9,7,.93)), linear-gradient(0deg, var(--bg), transparent 42%); }
.embers { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.embers i { position: absolute; bottom: -12px; left: var(--x); width: var(--size, 3px); height: var(--size, 3px); border-radius: 50%; background: #ffc98a; box-shadow: 0 0 6px 1px #ff8a2b, 0 0 14px 3px #ff6a0055; opacity: 0; animation: ember var(--time, 12s) linear var(--delay, 0s) infinite; }
.embers i:nth-child(odd) { --sway: -46px; }
.embers i:nth-child(3n) { --size: 2px; --time: 15s; }
.embers i:nth-child(4n) { --size: 4px; --time: 10s; }
.embers i:nth-child(1) { --x: 6%; --delay: -1s; }
.embers i:nth-child(2) { --x: 13%; --delay: -7s; }
.embers i:nth-child(3) { --x: 19%; --delay: -4s; }
.embers i:nth-child(4) { --x: 26%; --delay: -10s; }
.embers i:nth-child(5) { --x: 31%; --delay: -2.5s; }
.embers i:nth-child(6) { --x: 38%; --delay: -12s; }
.embers i:nth-child(7) { --x: 44%; --delay: -6s; }
.embers i:nth-child(8) { --x: 50%; --delay: -8.5s; }
.embers i:nth-child(9) { --x: 55%; --delay: -3s; }
.embers i:nth-child(10) { --x: 61%; --delay: -11s; }
.embers i:nth-child(11) { --x: 67%; --delay: -5s; }
.embers i:nth-child(12) { --x: 72%; --delay: -9s; }
.embers i:nth-child(13) { --x: 78%; --delay: -.5s; }
.embers i:nth-child(14) { --x: 84%; --delay: -13s; }
.embers i:nth-child(15) { --x: 90%; --delay: -6.5s; }
.embers i:nth-child(16) { --x: 95%; --delay: -3.5s; }

.landing { position: relative; z-index: 1; min-height: 100svh; max-width: 1440px; margin: auto; padding: clamp(14px, 2.4vh, 28px) 24px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-nav { display: flex; gap: clamp(14px, 4vw, 44px); font: 11px var(--display); letter-spacing: .24em; text-transform: uppercase; }
.site-nav a { position: relative; padding: 14px 6px; color: var(--soft); text-decoration: none; text-shadow: 0 1px 6px #000; transition: color var(--motion); }
.site-nav a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform var(--motion); }
.site-nav a:hover { color: var(--gold-light); }
.site-nav a:hover::after { transform: scaleX(1); }
.intro { margin-top: auto; width: 100%; }
.crest { display: block; width: clamp(150px, 23vh, 230px); height: auto; margin: 0 auto 26px; mix-blend-mode: screen; filter: drop-shadow(0 0 30px #2f6dff70); }
.eyebrow { color: var(--gold-light); font-family: var(--display); font-size: 11px; letter-spacing: .2em; line-height: 1.7; margin: 0 0 18px; text-transform: uppercase; text-shadow: 0 2px 8px #000; }
h1 { font-size: clamp(34px, 5.2vw, 74px); line-height: 1.14; letter-spacing: .035em; }
.wordmark { background: none; filter: drop-shadow(0 12px 28px #000d); }
.wordmark img { display: block; width: min(100%, clamp(320px, 62vw, 900px)); height: auto; margin: 0 auto; }
.wordmark + .eyebrow { margin: 6px 0 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold); max-width: 440px; margin: 24px auto 30px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 170px; background: linear-gradient(90deg, transparent, var(--gold-dark)); }
.ornament::after { transform: rotate(180deg); }
.ornament span { font-size: 16px; }
.play-options { width: 100%; max-width: 560px; }
.play-button { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 440px; min-height: 76px; margin: auto; padding: 2px 4px 0; border: solid transparent; border-width: 0 46px; border-image: url("assets/plate.svg") 0 46 fill; color: #f6e7b4; text-decoration: none; text-shadow: 0 1px 0 #000, 0 0 18px #c9a24a80; font-family: var(--display); font-size: 25px; letter-spacing: .16em; white-space: nowrap; filter: drop-shadow(0 10px 20px #000c) drop-shadow(0 0 16px #c9a24a33); transition: filter var(--motion), color var(--motion); }
.play-button::before, .play-button::after { content: ""; position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; background: linear-gradient(135deg, #fff1c1, var(--gold) 55%, #7a5a22); box-shadow: 0 0 0 2px #17110b; transform: rotate(45deg); }
.play-button::before { top: -4px; }
.play-button::after { bottom: -4px; }
.play-button:hover { color: #fffbe6; filter: drop-shadow(0 10px 20px #000c) drop-shadow(0 0 26px #e2b95a8c) brightness(1.2); }
.play-button:active { filter: drop-shadow(0 6px 12px #000c) brightness(.95); }
.play-button svg { width: 22px; height: 22px; fill: var(--gold); transition: transform var(--motion); }
.play-button:hover svg { transform: translateX(3px); }
.play-button span { margin-right: -.16em; }
.play-button small { margin-left: .3em; color: var(--gold); font-size: .58em; letter-spacing: .18em; vertical-align: .12em; }
.play-caption { font-size: 13px; color: var(--soft); margin: 18px 0 28px; text-shadow: 0 1px 6px #000; }
.separator { margin: 0 6px; color: var(--gold-dark); }
.platforms { display: inline-flex; justify-content: center; padding: 8px 6px; border: 1px solid var(--line); background: #0a0907a8; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.platform-link { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; text-decoration: none; text-align: left; transition: color var(--motion); }
.platform-link + .platform-link { border-left: 1px solid var(--line); }
.platform-link svg { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; color: var(--gold); }
.platform-link span { font-family: var(--display); font-size: 15px; }
.platform-link small { display: block; color: var(--muted); margin-top: 6px; font: 11px/1.4 Georgia, serif; white-space: nowrap; }
.platform-link:hover { color: var(--gold-light); }
.platform-link[aria-disabled="true"] { cursor: default; color: var(--muted); }
.platform-link[aria-disabled="true"] svg { color: var(--muted); }
.signins { margin-top: 26px; }
.signins .eyebrow { margin: 0 0 12px; color: var(--soft); font-size: 10px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 1px 18px 0 14px; border: 1px solid #c9a24a59; border-radius: 999px; background: #0f0c0a; box-shadow: inset 0 1px #ead9a01f, 0 6px 18px #0009; color: var(--text); font: 13px var(--display); letter-spacing: .12em; }
.chips img { display: block; margin-top: -1px; }
.scroll-cue { display: grid; place-items: center; width: 48px; height: 48px; margin-top: auto; color: var(--gold); animation: bob 2.6s ease-in-out infinite; }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

.chapter { position: relative; z-index: 1; overflow: clip; padding: clamp(72px, 11vh, 124px) 24px; background: var(--bg); text-align: center; }
.chapter > * { max-width: 1180px; margin-inline: auto; }
.chapter + .chapter::before { content: ""; position: absolute; top: 0; left: 50%; width: min(70%, 720px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold-dark), transparent); }
.chapter-head { margin-bottom: clamp(30px, 5vh, 56px); }
.chapter-head .ornament { margin: 22px auto 0; }
h2 { font-size: clamp(27px, 3.6vw, 46px); line-height: 1.2; letter-spacing: .04em; }

/* Heroes rendered from the game's own models, standing on its cobblestones. */
.heroes { --figure: clamp(300px, 46vh, 460px); background: radial-gradient(ellipse 62% 40% at 50% 62%, #3a1d0b, transparent 72%), var(--bg); }
.hero-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 3vw, 40px); padding: 0; list-style: none; }
.hero-card { --aura: #b3392c; }
.hero-card.sorceress { --aura: #3d7df0; }
.hero-card.rogue { --aura: #5f914d; }
.hero-figure { position: relative; isolation: isolate; height: var(--figure); margin-bottom: 30px; }
.hero-figure::before { content: ""; position: absolute; z-index: -2; left: -30%; right: -30%; bottom: -34px; height: 380px; background: radial-gradient(ellipse 26% 30% at 50% 74%, #000d, transparent), url("assets/cobblestone.webp") center / 132px; transform: perspective(620px) rotateX(66deg); transform-origin: 50% 100%; -webkit-mask-image: radial-gradient(ellipse 50% 50%, #000 12%, transparent 70%); mask-image: radial-gradient(ellipse 50% 50%, #000 12%, transparent 70%); filter: brightness(.62) sepia(.4) saturate(1.3); }
.hero-figure::after { content: ""; position: absolute; z-index: -1; inset: 4% 0 6%; background: radial-gradient(ellipse 50% 50%, var(--aura), transparent 70%); opacity: .34; filter: blur(10px); transition: opacity 500ms ease; }
.hero-figure img, .hero-figure canvas { filter: drop-shadow(0 10px 10px #000b); transition: transform 500ms cubic-bezier(.2, .8, .2, 1), opacity 700ms ease; }
.hero-figure img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.hero-figure canvas { position: absolute; inset: 0 -14%; width: 128%; height: 100%; opacity: 0; }
.hero-figure.live canvas { opacity: 1; }
.hero-figure.live img { opacity: 0; }
.hero-card:hover .hero-figure::after { opacity: .62; }
.hero-card:hover img, .hero-card:hover canvas { transform: translateY(-8px) scale(1.025); }
.plate { --cut: 16px; --plate: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%); position: relative; isolation: isolate; display: inline-grid; place-items: center; min-width: min(100%, 210px); min-height: 46px; padding: 2px 30px 0; font-size: 18px; letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); clip-path: var(--plate); }
.plate::before { content: ""; position: absolute; inset: 1.5px; z-index: -1; clip-path: var(--plate); background: linear-gradient(180deg, #30241a, #15100b); }
.hero-line { margin: 14px 0 0; color: var(--soft); font-style: italic; font-size: 15px; line-height: 1.5; }
.stats { display: grid; gap: 8px; width: min(100%, 236px); margin: 18px auto 0; }
.stats div { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; }
.stats dt { color: var(--muted); font: 9px var(--display); letter-spacing: .18em; text-align: left; text-transform: uppercase; }
.stats dd { display: grid; grid-template-columns: 1fr 26px; align-items: center; gap: 8px; margin: 0; color: var(--soft); font: 11px ui-monospace, "SF Mono", Menlo, monospace; text-align: right; }
.bar { position: relative; display: block; height: 7px; border: 1px solid #ffffff1c; background: #0006; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--fill); background: linear-gradient(180deg, #df6252, #8d2219); }
.bar.mana::after { background: linear-gradient(180deg, #6db3fa, #1f4fa8); }
.warrior .health { --fill: 100%; }
.warrior .mana { --fill: 20%; }
.sorceress .health { --fill: 55%; }
.sorceress .mana { --fill: 100%; }
.rogue .health { --fill: 75%; }
.rogue .mana { --fill: 40%; }
.hero-kit { margin: 16px 0 0; color: var(--muted); font: 10px/1.8 var(--display); letter-spacing: .16em; text-transform: uppercase; }

.realm { background: linear-gradient(180deg, var(--bg), #0e0b09 50%, var(--bg)); }
.realm-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-auto-rows: clamp(210px, 23vw, 290px); gap: 16px; }
.tile { position: relative; overflow: hidden; margin: 0; border: 1px solid #c9a24a59; background: var(--panel); box-shadow: 0 18px 50px #000a; }
.tile.tall { grid-row: span 2; }
.tile::after { content: ""; position: absolute; inset: 6px; border: 1px solid #c9a24a24; pointer-events: none; }
.tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { transform: scale(1.045); }
.tile figcaption { position: absolute; inset: auto 0 0; padding: 72px 26px 22px; text-align: left; background: linear-gradient(0deg, #0a0907f5 22%, #0a090700); }
.tile h3 { font-size: 21px; letter-spacing: .08em; }
.tile p { max-width: 46ch; margin: 8px 0 0; color: var(--soft); font-size: 14.5px; line-height: 1.55; }
.tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 10px 4px; border: 1px solid var(--line); background: #0a0907c9; color: var(--gold-light); font: 9px var(--display); letter-spacing: .2em; text-transform: uppercase; }
.deeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(44px, 7vh, 72px); padding: 0; list-style: none; }
.deeds svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.deeds h3 { margin: 14px 0 8px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.deeds p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.ways { background: radial-gradient(ellipse 54% 58% at 26% 46%, #11284a, transparent 72%), var(--bg); }
.ways .eyebrow, .ways .lede { max-width: 60ch; margin: 20px auto 0; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.modes li { padding: 30px 26px 28px; border: 1px solid var(--line); background: #0a0907b8; }
.modes svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.modes h3 { margin: 14px 0 8px; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }
.modes p, .powers p { margin: 0; color: var(--soft); font-size: 14.5px; line-height: 1.6; }
.powers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; padding: 0; list-style: none; text-align: left; counter-reset: step; }
.powers li { padding: 26px 22px 24px; border-top: 1px solid #58a9ff66; background: linear-gradient(180deg, #58a9ff14, #58a9ff00 72%); counter-increment: step; }
.powers h3 { margin: 16px 0 8px; font-size: 15px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.powers code { color: var(--gold-light); font: 13px ui-monospace, "SF Mono", Menlo, monospace; }

.agents { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 650px); justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); text-align: left; background: radial-gradient(ellipse 52% 62% at 72% 50%, #11284a, transparent 72%), var(--bg); }
.agents > * { margin-inline: 0; }
.lede { margin: 20px 0 0; color: var(--soft); font-size: 16px; line-height: 1.7; }
.steps { display: grid; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 14px; font-size: 15px; line-height: 1.5; counter-increment: step; }
.steps li::before, .powers li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; padding-top: 1px; color: #17110b; background: linear-gradient(180deg, var(--gold-light), var(--gold)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); font: 700 12px var(--display); }
.skill-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.skill-button { min-height: 50px; padding: 12px 28px 10px; border: 1px solid var(--gold); background: linear-gradient(180deg, #33261a, #17110b); box-shadow: 0 0 0 4px #0a0907bf, 0 0 0 5px var(--gold-dark), 0 8px 30px #0008; color: var(--gold-light); font-family: var(--display); font-size: 15px; letter-spacing: .1em; cursor: pointer; transition: background var(--motion), color var(--motion); }
.skill-button:hover { color: #fff6d6; background: linear-gradient(180deg, #463320, #251b10); }
.skill-button:disabled { opacity: .6; cursor: wait; }
.skill-link { color: var(--gold); font-size: 13px; text-underline-offset: 4px; }
.skill-link:hover { color: var(--gold-light); }
.skill-status { display: block; min-height: 18px; margin-top: 14px; color: var(--gold-light); font-size: 12px; }
.skill-fallback { margin-top: 12px; }
.skill-fallback label { font-size: 13px; color: var(--muted); }
.skill-fallback textarea { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--gold-dark); border-radius: 4px; color: var(--text); background: var(--panel); font: 12px/1.5 ui-monospace, monospace; resize: vertical; }
.screen { aspect-ratio: 1400 / 788; border-color: #58a9ff66; box-shadow: 0 30px 80px #000c, 0 0 70px #2f6dff33; transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform 800ms cubic-bezier(.2, .8, .2, 1); }
.screen::after { border-color: #58a9ff26; }
.screen:hover { transform: perspective(1600px); }
.screen:hover img { transform: none; }

.server { position: relative; z-index: 1; padding: clamp(28px, 5vh, 56px) 24px 30px; text-align: center; background: linear-gradient(180deg, var(--bg), #0a0907d1 46%, #0a0907a6); }
.server .crest { width: 112px; margin-bottom: 22px; }
.server-label { display: block; color: var(--muted); font: 10px var(--display); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.server-address { display: flex; align-items: center; justify-content: center; gap: 6px; }
.server-address a { font: 12px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--soft); text-decoration: none; overflow-wrap: anywhere; }
.server-address a:hover { text-decoration: underline; color: var(--gold-light); }
.copy-button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.copy-button:hover { color: var(--gold-light); }
.copy-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.copy-status { display: block; min-height: 16px; color: var(--gold-light); font-size: 11px; }
.server-hint { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.colophon { margin: clamp(36px, 6vh, 56px) 0 0; color: var(--gold-dark); font: 10px var(--display); letter-spacing: .24em; text-transform: uppercase; }

.release-page { justify-content: center; gap: 20px; max-width: 760px; padding-bottom: 48px; }
.release-page .crest { width: 180px; margin-bottom: 4px; }
.release-page .eyebrow { margin: 0; }
.release-page h1 { font-size: clamp(30px, 6vw, 52px); }
.release-page p { color: var(--muted); line-height: 1.7; max-width: 420px; margin: 0; }
.release-page .play-button { width: 100%; margin-top: 16px; font-size: 17px; letter-spacing: .05em; white-space: normal; }
.back-link { color: var(--muted); font-size: 14px; padding: 12px; }

@keyframes drift { to { transform: scale(1.07) translate3d(-1.2%, -1%, 0); } }
@keyframes ember { 8% { opacity: .9; } 55% { opacity: .55; } 100% { transform: translate3d(var(--sway, 54px), -106vh, 0); opacity: 0; } }
@keyframes glow { 50% { filter: drop-shadow(0 10px 20px #000c) drop-shadow(0 0 24px #e2b95a66); } }
@keyframes bob { 50% { transform: translateY(7px); } }
@keyframes arrive { from { opacity: 0; translate: 0 18px; } }
@keyframes rise { from { opacity: 0; translate: 0 34px; } }

@media (prefers-reduced-motion: no-preference) {
  .intro, .play-options, .signins { animation: arrive 900ms cubic-bezier(.2, .8, .2, 1) both; }
  .play-options { animation-delay: 160ms; }
  .signins { animation-delay: 300ms; }
  .landing > .play-options .play-button { animation: glow 3.4s ease-in-out infinite; }
  .landing > .play-options .play-button:hover { animation: none; }
  @supports (animation-timeline: view()) {
    .chapter-head, .hero-card, .tile, .deeds li, .modes li, .powers li, .agent-invite { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 46%; }
  }
}
@media (max-width: 900px) {
  .realm-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile.tall { grid-row: auto; }
  .realm-grid .tile { aspect-ratio: 16 / 10; }
  .deeds { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .powers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents { grid-template-columns: minmax(0, 620px); }
  .screen, .screen:hover { transform: none; }
}
@media (max-width: 720px) {
  .heroes { --figure: 340px; }
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .modes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .landing { padding: 12px 20px 10px; }
  .crest { width: 180px; margin-bottom: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: .14em; }
  .ornament { margin: 22px auto 30px; max-width: 250px; }
  .play-button { max-width: 330px; min-height: 68px; border-width: 0 38px; border-image-slice: 0 46 fill; gap: 10px; font-size: 19px; }
  .play-button svg { width: 18px; height: 18px; }
  .platform-link { padding: 0 14px; gap: 8px; flex-direction: column; text-align: center; }
  .platform-link span { font-size: 13px; }
  .platform-link svg { width: 20px; height: 20px; }
  .platform-link small { font-size: 10px; white-space: normal; max-width: 110px; }
  .chapter { padding-block: 64px; }
  .powers { grid-template-columns: 1fr; }
  .realm-grid .tile { aspect-ratio: 4 / 5; }
  .realm-grid .tile:not(.tall) { aspect-ratio: 5 / 4; }
  .tile figcaption { padding: 60px 20px 18px; }
  .server-address a { font-size: 10px; }
  .world::before { background-position: 48% center; }
}
@media (max-height: 700px) and (min-width: 601px) {
  .crest { width: 130px; margin-bottom: 16px; }
  .wordmark img { width: min(100%, 620px); }
  .ornament { margin: 16px auto 24px; }
  .play-caption { margin-bottom: 22px; }
  .signins { margin-top: 18px; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
