/* Banners of Asgard website (S705). Colours are the game's Kit (docs/design/STILGUIDE.md §2):
   INK, TEXT, TEXT_MUTED, FIRE, FIRE_DEEP, EMBER, GILT, IRON, TEXT_ON_PARCHMENT, SIDE_OWN.
   Type is the game's Runic set: Skranji Bold for display, Alegreya for reading (SIL OFL 1.1,
   self-hosted, no third-party requests). Paintings are Astra's (tools/site_images.py). */

@font-face {
  font-family: "Skranji";
  src: url("/assets/fonts/skranji-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/assets/fonts/alegreya-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #100d0a;
  --ink-2: #17120e;
  --leather: #2b1d14;
  --leather-dark: #1d140e;
  --text: #f2e7d2;
  --muted: #ab9c86;
  --fire: #e8a33d;
  --fire-deep: #8a5418;
  --ember: #c4551f;
  --gilt: #c9953f;
  --gilt-light: #e8c27a;
  --iron: #5c6067;
  --iron-dark: #2a2d33;
  --parchment-ink: #2d2419;
  --own: #4fa3e6;
  --enemy: #db5c47;
  --legendary: #e2b23c;
  --epic: #a46ad6;
  --rare: #4f8fe0;
  --common: #a9a39a;
  --display: "Skranji", "Palatino Linotype", Palatino, Georgia, serif;
  --serif: "Alegreya", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --radius: 10px;
  --nav-h: 3.75rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 3.5rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 1.125rem/1.6 var(--serif);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fire); text-underline-offset: .15em; }
a:hover { color: var(--gilt-light); }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 2px; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-inline: max(1rem, env(safe-area-inset-left, 0px)); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--fire); color: var(--ink); padding: .5rem 1rem; z-index: 30; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The bar: iron and brass, sticky ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--fire-deep), var(--fire)); z-index: 25; }
.site-nav {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, #24252a, #18191d);
  border-bottom: 2px solid var(--gilt);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
}
.site-nav .bar { display: flex; align-items: center; gap: 1rem; min-height: var(--nav-h); }
.wordmark-small {
  font: 700 1.3rem/1 var(--display); color: var(--gilt-light); text-decoration: none; letter-spacing: .02em;
  text-shadow: 0 2px 0 #000; white-space: nowrap;
}
.wordmark-small:hover { color: var(--fire); }
.nav-links { display: flex; gap: .25rem 1.1rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 1.02rem; white-space: nowrap; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--fire); border-bottom-color: var(--fire); }
.music {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  font: 1rem var(--serif); color: var(--text);
  background: linear-gradient(180deg, #3a2a1d, #22180f); border: 1px solid var(--gilt); border-radius: 999px;
  padding: .3rem .8rem; min-height: 2.25rem;
}
.music[hidden] { display: none; }
.music:hover { border-color: var(--fire); }
.music .glyph { width: 1rem; text-align: center; color: var(--fire); }
.music[aria-pressed="true"] { border-color: var(--fire); box-shadow: 0 0 10px rgba(232, 163, 61, .35); }
@media (max-width: 54rem) {
  .site-nav .bar { flex-wrap: wrap; gap: .25rem 1rem; padding-block: .45rem; }
  .nav-links {
    order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none;
    padding-bottom: .2rem; gap: 1.1rem; -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .music { margin-left: auto; }
  html { scroll-padding-top: 7rem; }
}

/* ---------- Painted panels ---------- */
.painted { position: relative; isolation: isolate; background-color: var(--ink); background-size: cover; background-position: center; }
.painted::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(16, 13, 10, .55) 18%, rgba(16, 13, 10, .62) 70%, var(--ink) 100%);
}
.art-key { background-image: url("/assets/art/keyart-1920.webp"); }
.art-hall { background-image: url("/assets/art/hall-1920.webp"); }
.art-ember { background-image: url("/assets/art/arena-ember-1920.webp"); }
.art-ragnarok { background-image: url("/assets/art/arena-ragnarok-1920.webp"); }
.art-bifrost { background-image: url("/assets/art/arena-bifrost-1920.webp"); }
.art-rime { background-image: url("/assets/art/arena-rime-1920.webp"); }
.art-steading { background-image: url("/assets/art/arena-steading-1920.webp"); }
@media (max-width: 60rem) {
  .art-key { background-image: url("/assets/art/keyart-960.webp"); }
  .art-hall { background-image: url("/assets/art/hall-960.webp"); }
  .art-ember { background-image: url("/assets/art/arena-ember-960.webp"); }
  .art-ragnarok { background-image: url("/assets/art/arena-ragnarok-960.webp"); }
  .art-bifrost { background-image: url("/assets/art/arena-bifrost-960.webp"); }
  .art-rime { background-image: url("/assets/art/arena-rime-960.webp"); }
  .art-steading { background-image: url("/assets/art/arena-steading-960.webp"); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  background-position: 30% 40%;
  padding-bottom: 4.5rem;
}
.hero::before {
  background:
    radial-gradient(ellipse at 70% 25%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(16, 13, 10, .35) 100%),
    linear-gradient(180deg, rgba(16, 13, 10, .25) 0%, rgba(16, 13, 10, 0) 30%, rgba(16, 13, 10, .55) 62%, var(--ink) 100%);
}
.wordmark {
  font: 700 clamp(2.9rem, 10.5vw, 6.6rem)/.95 var(--display);
  margin: 0 0 .9rem; letter-spacing: .01em;
  color: var(--gilt-light);
  background: linear-gradient(180deg, #fbe7b5 0%, var(--gilt-light) 38%, var(--gilt) 70%, #8f6424 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 18px rgba(0, 0, 0, .8));
}
.wordmark .of { font-size: .55em; vertical-align: .18em; }
.pitch { font: 700 clamp(1.25rem, 3.6vw, 2rem)/1.25 var(--display); color: var(--text); margin: 0 0 .6rem; max-width: 40rem; text-shadow: 0 2px 8px #000; }
.coming { font-size: 1.15rem; color: var(--fire); margin: 0 0 1.6rem; text-shadow: 0 1px 6px #000; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.actions.after { margin: 1.6rem 0 0; }
.plate.narrow { max-width: 44rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  color: var(--muted); text-decoration: none; font-size: .95rem; text-align: center; letter-spacing: .08em;
}
.scroll-cue::after { content: ""; display: block; width: .8rem; height: .8rem; margin: .3rem auto 0; border-right: 2px solid var(--gilt); border-bottom: 2px solid var(--gilt); transform: rotate(45deg); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }
@media (max-width: 40rem) { .hero { background-position: 12% 40%; } }

/* ---------- Buttons: the fire plate (the one action) and leather (the rest) ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.5rem;
  font: 700 1.1rem/1.1 var(--display); letter-spacing: .02em;
  color: #fff6e3; text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, #d2862e 0%, #a75f1d 55%, #7d4513 100%);
  border: 2px solid var(--gilt-light); border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 230, 180, .45), 0 4px 14px rgba(0, 0, 0, .55), 0 0 22px rgba(232, 163, 61, .25);
  text-shadow: 0 1px 0 #4a2706;
}
.button:hover { color: #fff; background: linear-gradient(180deg, #e39535 0%, #b96b22 55%, #8a4d16 100%); }
.button.leather {
  background: url("/assets/art/leather.webp"), linear-gradient(180deg, #3b291c, #23180f);
  background-blend-mode: overlay; border-color: var(--gilt); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); color: var(--text);
}
.button.leather:hover { border-color: var(--fire); color: var(--fire); }

/* ---------- Plates: leather with a brass edge and four rivets ---------- */
.plate {
  position: relative;
  background: url("/assets/art/leather.webp"), linear-gradient(180deg, rgba(48, 33, 23, .94), rgba(27, 19, 13, .96));
  background-blend-mode: overlay;
  border: 2px solid var(--gilt); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 0 4px rgba(201, 149, 63, .18), 0 10px 30px rgba(0, 0, 0, .55);
  padding: 1.4rem 1.4rem 1.25rem;
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3d590, #8f6424 70%);
  box-shadow: 0 1px 1px #000;
}
.plate::before { left: 8px; }
.plate::after { right: 8px; }
.plate h3 { font: 700 1.45rem/1.2 var(--display); margin: 0 0 .5rem; color: var(--gilt-light); }
.plate p { margin: 0 0 .6rem; }
.plate p:last-child { margin-bottom: 0; }

/* ---------- Section heads ---------- */
.section { padding-block: 5.5rem 5rem; }
.eyebrow { font: 700 .95rem/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; color: var(--fire); margin: 0 0 .6rem; }
.display { font: 700 clamp(2rem, 5.5vw, 3.4rem)/1.08 var(--display); margin: 0 0 1rem; color: var(--text); text-shadow: 0 3px 0 #000, 0 0 20px rgba(0, 0, 0, .7); }
.lede { font-size: 1.22rem; max-width: 44rem; margin: 0 0 2rem; text-shadow: 0 1px 6px #000; }
h2.band {
  display: inline-block; font: 700 clamp(1.5rem, 4vw, 2rem)/1.2 var(--display); margin: 0 0 1.4rem;
  padding: .35rem 1.4rem .4rem; color: var(--parchment-ink);
  background: linear-gradient(180deg, #e9d6aa, #cdb27c); border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 97% 50%, 100% 100%, 0 100%, 3% 50%);
  text-shadow: none;
}

/* ---------- Features ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 2532 / 1170; object-fit: cover; border-bottom: 2px solid var(--gilt); }
.feature .body { padding: 1.1rem 1.25rem 1.2rem; }
.feature.soon h3::after { content: "Coming"; margin-left: .6rem; font: 700 .72rem/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; vertical-align: .35em; color: var(--fire); border: 1px solid var(--ember); border-radius: 5px; padding: .2rem .4rem; }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: 1.05fr 1fr; } .split.flip > :first-child { order: 2; } }
.framed { border: 3px solid var(--gilt); border-radius: var(--radius); box-shadow: 0 0 0 3px #000, 0 16px 40px rgba(0, 0, 0, .7); overflow: hidden; background: var(--ink); }
.framed figcaption { padding: .5rem .9rem; font-size: .95rem; color: var(--muted); background: var(--ink-2); border-top: 1px solid var(--iron-dark); }
.wip { display: inline-block; margin-right: .45rem; padding: 0 .4rem; border: 1px solid var(--ember); border-radius: 5px; color: var(--fire); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
ul.ticks li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: .55rem; height: .55rem; background: var(--fire); transform: rotate(45deg); box-shadow: 0 0 6px rgba(232, 163, 61, .6); }

/* ---------- Legends: portrait cards with a reveal ---------- */
.legends { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 40rem) { .legends { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .legends { grid-template-columns: repeat(6, 1fr); } }
.legend {
  position: relative; margin: 0; border-radius: 12px; overflow: hidden; cursor: default;
  border: 3px solid var(--legendary); box-shadow: 0 0 0 2px #000, 0 12px 26px rgba(0, 0, 0, .7);
  background: var(--ink);
}
.legend img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.legend figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem .7rem .7rem;
  background: linear-gradient(180deg, rgba(16, 13, 10, 0), rgba(16, 13, 10, .92) 45%);
}
.legend .name { display: block; font: 700 1.25rem/1.1 var(--display); color: var(--gilt-light); text-shadow: 0 2px 0 #000; }
.legend .line { display: block; font-size: .95rem; line-height: 1.35; color: var(--text); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .35s ease, margin .35s ease; }
.legend:hover .line, .legend:focus .line, .legend:focus-within .line { max-height: 9rem; opacity: 1; margin-top: .35rem; }
.legend:hover img, .legend:focus img { transform: scale(1.05); filter: brightness(.8); }
@media (hover: none) { .legend .line { max-height: 9rem; opacity: 1; margin-top: .35rem; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; }
@media (min-width: 46rem) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .wide { grid-column: 1 / -1; } }
.gallery figure { margin: 0; }

/* ---------- Stores: coming soon (no links, no Apple artwork) ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.store {
  display: flex; flex-direction: column; justify-content: center; min-width: 12.5rem; min-height: 4rem;
  padding: .55rem 1.1rem; border-radius: 10px; border: 1px solid var(--iron);
  background: linear-gradient(180deg, #23252a, #141518); color: var(--text);
}
.store small { color: var(--fire); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.store strong { font: 700 1.2rem/1.2 var(--display); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 50rem; }
.faq details { border: 1px solid var(--gilt); border-radius: var(--radius); background: rgba(27, 19, 13, .92); }
.faq summary {
  cursor: pointer; list-style: none; padding: .9rem 3rem .9rem 1.1rem; position: relative;
  font: 700 1.15rem/1.3 var(--display); color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--fire); font-size: 1.5rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--fire); }
.faq .answer { padding: 0 1.1rem 1rem; }
.faq .answer p { margin: 0 0 .6rem; }

/* ---------- Roadmap ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 52rem) { .road { grid-template-columns: repeat(4, 1fr); } }
.road li { padding-top: 1.2rem; border-top: 3px solid var(--iron); position: relative; }
.road li::before { content: ""; position: absolute; top: -.6rem; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--iron); border: 2px solid var(--ink); }
.road li.now { border-top-color: var(--fire); }
.road li.now::before { background: var(--fire); box-shadow: 0 0 12px var(--fire); }
.road strong { display: block; font: 700 1.2rem/1.2 var(--display); color: var(--gilt-light); margin-bottom: .3rem; }

/* ---------- Rules page ---------- */
.rule { display: grid; gap: 1.5rem; align-items: center; padding-block: 2rem; border-top: 1px solid rgba(201, 149, 63, .25); }
.rule:first-of-type { border-top: 0; }
@media (min-width: 56rem) { .rule { grid-template-columns: 1fr 1.1fr; } .rule:nth-of-type(even) > figure { order: 2; } }
.rule figure { margin: 0; }
.board { border-radius: 6px; box-shadow: 0 0 0 2px #6b5131, 0 14px 30px rgba(0, 0, 0, .7); }
.rule h2 { font: 700 clamp(1.6rem, 4vw, 2.2rem)/1.15 var(--display); margin: 0 0 .7rem; color: var(--gilt-light); }
.rule ol { margin: 0; padding-left: 1.3rem; }
.rule li { margin-bottom: .5rem; }

/* ---------- Cards page ---------- */
.banner-hero { padding-block: 6rem 4rem; }
.rarity-block { padding-block: 2.5rem 1rem; }
h2.band.rarity-legendary { background: linear-gradient(180deg, #f4d784, #c99a2e); }
h2.band.rarity-epic { background: linear-gradient(180deg, #d6b7f0, #9a6bc7); }
h2.band.rarity-rare { background: linear-gradient(180deg, #b9d3f5, #6b97d6); }
h2.band.rarity-common { background: linear-gradient(180deg, #e3dcd0, #b2a996); }
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 34rem) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 52rem) { .card-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 70rem) { .card-grid { grid-template-columns: repeat(6, 1fr); } }
.card-tile { display: flex; flex-direction: column; background: var(--leather-dark); border-radius: 10px; overflow: hidden; border: 2px solid var(--common); box-shadow: 0 8px 18px rgba(0, 0, 0, .55); }
.card-tile.rarity-legendary { border-color: var(--legendary); }
.card-tile.rarity-epic { border-color: var(--epic); }
.card-tile.rarity-rare { border-color: var(--rare); }
.card-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card-name { font: 700 1.1rem/1.15 var(--display); padding: .5rem .6rem 0; color: var(--text); }
.card-kind { font-size: .82rem; color: var(--muted); padding: 0 .6rem .2rem; letter-spacing: .04em; }
.card-line { font-size: .88rem; line-height: 1.35; padding: 0 .6rem .6rem; color: var(--text); opacity: .9; }

/* ---------- Text pages (legal, support, press) ---------- */
.page { padding-block: 3rem 4rem; max-width: 50rem; }
.page h1 { font: 700 clamp(2rem, 6vw, 3rem)/1.1 var(--display); margin: 0 0 .8rem; color: var(--gilt-light); }
.page h2 { font: 700 1.45rem/1.25 var(--display); margin: 2.2rem 0 .6rem; color: var(--text); border-bottom: 1px solid var(--iron-dark); padding-bottom: .3rem; }
.page h3 { font: 700 1.15rem/1.3 var(--display); margin: 1.4rem 0 .35rem; color: var(--fire); }
.page p, .page li { max-width: 46rem; }
.draft-banner {
  border: 2px solid var(--ember); border-radius: var(--radius); background: rgba(196, 85, 31, .12);
  padding: .9rem 1.1rem; margin: 0 0 2rem;
}
.draft-banner strong { color: var(--fire); font: 700 1.1rem var(--display); letter-spacing: .03em; }
.tbd { color: var(--fire); background: rgba(232, 163, 61, .1); border: 1px dashed var(--fire-deep); border-radius: 4px; padding: 0 .3rem; font-size: .95em; }
.facts { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; gap: .4rem 1.25rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.downloads { display: grid; gap: 1rem; padding: 0; list-style: none; }
@media (min-width: 40rem) { .downloads { grid-template-columns: 1fr 1fr; } }
.downloads a { text-decoration: none; color: var(--muted); }
.wordmark-box { padding: 1.6rem; border: 2px dashed var(--iron); border-radius: var(--radius); text-align: center; }
.wordmark-box .wordmark { font-size: clamp(2rem, 7vw, 3.6rem); margin: 0 0 .5rem; }
.mail { font: 700 1.35rem var(--display); }
.fine { font-size: .95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--gilt);
  background: linear-gradient(180deg, #18191d, #0c0b09);
  padding-block: 2.2rem calc(2.2rem + env(safe-area-inset-bottom, 0px));
  color: var(--muted); font-size: 1rem;
}
.site-footer .wordmark-small { font-size: 1.5rem; display: inline-block; margin-bottom: .8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 1rem; }
.site-footer nav a { color: var(--text); }
.site-footer p { margin: .3rem 0; max-width: 52rem; }

/* ---------- Arenas strip (S714) ---------- */
.arenas { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: arena; }
@media (min-width: 40rem) { .arenas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .arenas { grid-template-columns: repeat(3, 1fr); } }
.arenas li { counter-increment: arena; }
.arenas figure { margin: 0; position: relative; border: 2px solid var(--gilt); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); box-shadow: 0 0 0 2px #000, 0 10px 24px rgba(0, 0, 0, .6); }
.arenas img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.arenas figcaption { display: flex; align-items: baseline; gap: .6rem; padding: .55rem .8rem; font: 700 1.1rem/1.2 var(--display); color: var(--gilt-light); background: var(--ink-2); border-top: 1px solid var(--iron-dark); }
.arenas figcaption::before { content: counter(arena); font: 700 .85rem/1 var(--serif); color: var(--parchment-ink); background: linear-gradient(180deg, #e9d6aa, #cdb27c); border-radius: 50%; width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.arenas figcaption small { font: .85rem/1.2 var(--serif); color: var(--muted); margin-left: auto; }
.arenas .unpainted img { aspect-ratio: 16 / 9; object-fit: contain; padding: 1.2rem; background: radial-gradient(ellipse at center, #2b2218, var(--ink-2) 70%); }

/* ---------- Saga and progression pages (S714) ---------- */
.art-saga { background-image: url("/assets/art/saga-1-1200.webp"); }
@media (max-width: 60rem) { .art-saga { background-image: url("/assets/art/saga-1-640.webp"); } }
.split > div > h2, .wrap.section > h2 { font: 700 clamp(1.6rem, 4vw, 2.2rem)/1.15 var(--display); margin: 0 0 .7rem; color: var(--gilt-light); }
.plate h2 { font: 700 1.45rem/1.2 var(--display); margin: 0 0 .5rem; color: var(--gilt-light); }
.split > div > p { margin: 0 0 .8rem; }
.chapter { display: grid; gap: 1.5rem; align-items: start; padding-block: 2rem; border-top: 1px solid rgba(201, 149, 63, .25); }
@media (min-width: 56rem) { .chapter { grid-template-columns: 1fr 1.15fr; } .chapter:nth-of-type(even) > figure { order: 2; } }
.chapter figure { margin: 0; }
.chapter h3 { font: 700 clamp(1.4rem, 3.5vw, 1.9rem)/1.15 var(--display); margin: 0 0 .5rem; color: var(--gilt-light); }
.chapter .intro { font-style: italic; color: var(--text); margin: 0 0 1rem; }
.missions { margin: 0; padding-left: 1.3rem; }
.missions li { margin-bottom: .55rem; }
.missions strong { color: var(--gilt-light); }
.legend .line em { display: block; margin-top: .35rem; color: var(--muted); font-style: italic; }
.plate .actions.after { margin-top: 1rem; }
