/* Cinzel and Alegreya (SIL Open Font License), served from this site */
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/alegreya-400-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/alegreya-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/alegreya-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/alegreya-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/alegreya-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/alegreya-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/cinzel-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/cinzel-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/cinzel-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/cinzel-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Zenith Online — the website. The game's storybook look: ink, parchment and gold; Cinzel for titles, Alegreya for reading. */
:root {
  --ink: #1b130d; --ink-2: #241a12; --ink-3: #2f2218; --line: #4a3622;
  --parch: #efe2c4; --parch-2: #e4d2ac; --parch-ink: #2e1f12; --parch-soft: #5a4128;
  --gold: #e0ad57; --gold-2: #f4cf86; --gold-deep: #9c6a24; --ember: #d26b2c;
  --text: #f1e6d0; --muted: #c7b38f; --dim: #9a8566;
  --radius: 14px; --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --title: 'Cinzel', Georgia, serif; --body: 'Alegreya', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--ink); color: var(--text); font: 400 1.125rem/1.6 var(--body);
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(224, 173, 87, .10), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(210, 107, 44, .07), transparent 60%);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff3d6; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--title); font-weight: 800; line-height: 1.12; letter-spacing: .01em; margin: 0 0 .5em; color: #fbefd5; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---- the header ---- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(27, 19, 13, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(224, 173, 87, .18); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; font-family: var(--title); }
.brand-z { font-weight: 800; font-size: 1.45rem; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(180deg, #ffe4a8, #d79b42 70%, #a96f22); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-o { font-weight: 600; font-size: .9rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--text); text-decoration: none; font-family: var(--title); font-weight: 600; font-size: .92rem; letter-spacing: .04em; padding: .55rem .8rem; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); background: rgba(224, 173, 87, .09); }
.menu-btn { display: none; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; font-family: var(--title); font-weight: 800; letter-spacing: .06em;
  border-radius: 12px; padding: .85rem 1.5rem; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.btn-gold, .nav a.btn-play { color: #2a1a0b; background: linear-gradient(180deg, #ffdd94, #e7a94c 55%, #c47f2b); border-color: #ffe7b0; box-shadow: 0 6px 18px rgba(224, 160, 70, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover, .nav a.btn-play:hover { color: #2a1a0b; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(224, 160, 70, .5), inset 0 1px 0 rgba(255, 255, 255, .6); background: linear-gradient(180deg, #ffe6ab, #efb55b 55%, #cd8a35); }
.nav a.btn-play { padding: .55rem 1.1rem; margin-left: .4rem; }
.btn-ghost { color: var(--text); border-color: rgba(241, 230, 208, .35); background: rgba(27, 19, 13, .35); }
.btn-ghost:hover { color: #fff; border-color: var(--gold-2); background: rgba(224, 173, 87, .12); }
.btn-lg { font-size: 1.12rem; padding: 1rem 1.9rem; }

/* ---- the hero ---- */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 13, 8, .92) 0%, rgba(20, 13, 8, .7) 38%, rgba(20, 13, 8, .1) 70%), linear-gradient(0deg, var(--ink) 0%, rgba(27, 19, 13, 0) 30%); }
.hero-in { padding: 9rem 0 5.5rem; max-width: 640px; }
.eyebrow { display: inline-block; font-family: var(--title); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .82rem; color: var(--gold-2); margin-bottom: 1rem; }
.badge { display: inline-block; font-family: var(--title); font-weight: 800; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: var(--gold); border-radius: 999px; padding: .25rem .7rem; vertical-align: middle; margin-left: .6rem; }
.hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .55); }
.lead { font-size: clamp(1.15rem, 1.9vw, 1.38rem); color: #f3e7cf; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 1rem; }
.ticks li::before { content: '✦'; color: var(--gold); margin-right: .45rem; }

/* ---- sections ---- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.2rem; }
.rule { width: 120px; height: 2px; margin: 0 0 1.4rem; background: linear-gradient(90deg, var(--gold), transparent); border: 0; }
.alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-block: 1px solid rgba(224, 173, 87, .1); }

/* a painted scene, framed like a page of the journal */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow), 0 0 0 1px rgba(224, 173, 87, .28), 0 0 0 6px rgba(27, 19, 13, .9), 0 0 0 7px rgba(224, 173, 87, .22); }
.frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
a.frame:hover img, .card:hover .frame img { transform: scale(1.035); }
.grid { display: grid; gap: 1.6rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover h3 { color: var(--gold-2); }
.card h3 { margin: 1rem 0 .35rem; transition: color .2s ease; }
.card p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.lv { font-family: var(--title); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* the beasts, standing on parchment */
.beasts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.beast { margin: 0; text-align: center; background: radial-gradient(120% 90% at 50% 100%, rgba(224, 173, 87, .16), transparent 60%), linear-gradient(180deg, #2a1e15, #20170f);
  border: 1px solid rgba(224, 173, 87, .2); border-radius: var(--radius); padding: 1rem .6rem .8rem; }
.beast img { height: 130px; width: auto; margin: 0 auto .6rem; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); transition: transform .3s ease; }
.beast:hover img { transform: translateY(-4px) scale(1.04); }
.beast figcaption { font-family: var(--title); font-weight: 600; font-size: .86rem; color: var(--parch); }

/* a feature: a picture beside its words */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.points li { padding-left: 2rem; position: relative; color: #e9dcc2; }
.points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; transform: rotate(45deg); background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); border-radius: 2px; }
.points b { color: #fff1d2; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.frame.book img { aspect-ratio: 752 / 891; object-fit: cover; }

/* the account (account.html): the register on parchment, fields of ink, one card at a time */
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(1.2rem, 3vw, 2rem); align-items: start; max-width: 980px; }
.acct-card { margin: 0; }
.acct-card h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: .6rem; }
.acct-eyebrow { display: block; font-family: var(--title); font-weight: 600; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #8a5a1c; margin-bottom: .5rem; }
.acct-hero { font-size: clamp(2.1rem, 5vw, 3.2rem) !important; margin: 0 0 .2rem; overflow-wrap: anywhere; }
.acct-sub { font-family: var(--title); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .86rem; }
.acct-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 0; }
.acct-small { font-size: 1rem; }
.acct-msg { min-height: 1.5em; margin: .9rem 0 0; font-style: italic; color: #4a3218 !important; }
.acct-msg.bad { color: #9a2a14 !important; }
.acct-key { font: 800 clamp(1.4rem, 4.2vw, 2.1rem)/1.25 var(--title); letter-spacing: .08em; text-align: center; color: #2a180b !important; user-select: all;
  background: rgba(255, 250, 238, .65); border: 2px dashed rgba(156, 106, 36, .6); border-radius: 12px; padding: .9rem 1rem; margin: 1.2rem 0 0; overflow-wrap: anywhere; }
.field { display: grid; gap: .35rem; margin: 0 0 1.05rem; }
.field span { font-family: var(--title); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--parch-soft); }
.field input { width: 100%; font: 400 1.12rem/1.3 var(--body); color: var(--parch-ink); background: rgba(255, 250, 238, .6); border: 1px solid rgba(90, 65, 40, .38);
  border-bottom-width: 2px; border-radius: 10px; padding: .7rem .85rem; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.field input:focus { outline: none; border-color: var(--gold-deep); background: #fffaf0; box-shadow: 0 0 0 3px rgba(224, 173, 87, .38); }
.field input:disabled, .acct-card .btn:disabled { opacity: .6; cursor: progress; }
.btn-ink { color: #3b2412; border-color: rgba(90, 65, 40, .5); background: rgba(255, 250, 238, .25); }
.btn-ink:hover { background: rgba(90, 65, 40, .12); border-color: #6b4520; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: #8a4b12; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: #5a2f08; }
.nav a.nav-acct { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the teaser (TEASER=1 node build.mjs): a "Coming soon" mark in the header, a conversation on parchment, the closing word */
.soon-pill { font-family: var(--title); font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #2a1a0b;
  background: linear-gradient(180deg, #ffdd94, #e7a94c 55%, #c47f2b); border: 1px solid #ffe7b0; border-radius: 999px; padding: .5rem 1rem;
  box-shadow: 0 6px 18px rgba(224, 160, 70, .3), inset 0 1px 0 rgba(255, 255, 255, .6); white-space: nowrap; }
.teaser-h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
@media (max-width: 760px) { .soon-pill { font-size: .64rem; letter-spacing: .12em; padding: .42rem .75rem; } }
.chat { display: grid; gap: .9rem; }
.chat-where { margin: 0 0 .2rem; font-family: var(--title); font-weight: 600; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: #8a5a1c !important; }
.chat-line { margin: 0; padding: .8rem 1rem; border-radius: 12px; line-height: 1.5; max-width: 92%; }
.chat-line b { display: block; font-family: var(--title); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .2rem; }
.chat-line.you { justify-self: end; background: rgba(90, 65, 40, .12); border: 1px solid rgba(90, 65, 40, .2); }
.chat-line.you b { color: #6b4520; }
.chat-line.npc { justify-self: start; background: rgba(255, 250, 238, .7); border: 1px solid rgba(156, 106, 36, .4); box-shadow: 0 2px 8px rgba(90, 60, 20, .12); }
.chat-line.npc b { color: #9b2a1c; }
.chat-note { margin: .4rem 0 0; font-size: .92rem; font-style: italic; color: #6b5034 !important; }
.soon { text-align: center; }
.soon .lead { margin-inline: auto; }
.soon-contact { color: var(--muted); margin-top: 1.4rem; }

/* parchment: the ladder, the pages of text */
.parch { background: linear-gradient(180deg, var(--parch), var(--parch-2)); color: var(--parch-ink); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(156, 106, 36, .45), inset 0 0 60px rgba(120, 80, 30, .18); }
.parch h2, .parch h3 { color: #3b2412; }
.parch p, .parch li { color: #3d2a17; }
.parch a { color: #8a4b12; }
.ladder { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.ladder th { font-family: var(--title); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-align: left; color: var(--parch-soft); padding: .5rem .6rem; border-bottom: 2px solid rgba(90, 65, 40, .35); }
.ladder td { padding: .62rem .6rem; border-bottom: 1px solid rgba(90, 65, 40, .18); }
.ladder td.num, .ladder th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ladder .rank { font-family: var(--title); font-weight: 800; width: 3rem; color: #6b4520; }
.ladder tr:nth-child(1) .rank { color: #b8860b; } .ladder tr:nth-child(2) .rank { color: #7d8a96; } .ladder tr:nth-child(3) .rank { color: #9a5b2a; }
.ladder .who { font-weight: 700; color: #2a180b; }
.ladder-note { color: var(--parch-soft); font-style: italic; margin: 1rem 0 0; }
.ladder-wrap { overflow-x: auto; }

/* the call at the end */
.band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; box-shadow: var(--shadow); }
.band > picture, .band > img, .band .band-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(20, 13, 8, .55), rgba(20, 13, 8, .88)); }
.band .cta { justify-content: center; }
.band p { color: #f0e2c4; font-size: 1.2rem; max-width: 36em; margin-inline: auto; }

/* pages of text (news, faq, legal) */
.page-head { padding: 7rem 0 2.5rem; border-bottom: 1px solid rgba(224, 173, 87, .14); background: radial-gradient(800px 300px at 20% 0%, rgba(224, 173, 87, .12), transparent 70%); }
.page-head p { color: var(--muted); font-size: 1.2rem; max-width: 40em; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose .date { font-family: var(--title); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--gold); }
details.q { border-bottom: 1px solid rgba(224, 173, 87, .16); padding: 1.1rem 0; }
details.q summary { cursor: pointer; font-family: var(--title); font-weight: 600; font-size: 1.15rem; color: #fbefd5; list-style: none; position: relative; padding-right: 2rem; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: '+'; position: absolute; right: .2rem; top: -.1rem; color: var(--gold); font-size: 1.4rem; transition: transform .2s ease; }
details.q[open] summary::after { transform: rotate(45deg); }
details.q p { color: var(--muted); margin: .8rem 0 0; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 6rem 0; }

/* ---- the footer ---- */
.foot { border-top: 1px solid rgba(224, 173, 87, .16); background: #150f0a; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.foot-brand p { color: var(--dim); margin-top: .6rem; }
.foot-nav { display: grid; gap: .5rem; align-content: start; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--gold-2); }
.copy { color: var(--dim); font-size: .95rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(224, 173, 87, .08); }

/* ---- smaller screens ---- */
@media (max-width: 980px) {
  .beasts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-grid; gap: 5px; place-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(224, 173, 87, .35); background: transparent; cursor: pointer; }
  .menu-btn i { display: block; width: 20px; height: 2px; background: var(--parch); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu-btn[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
  .menu-btn[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem 16px 1.2rem; background: rgba(21, 15, 10, .98);
    border-bottom: 1px solid rgba(224, 173, 87, .2); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; font-size: 1rem; }
  .nav a.btn-play { margin: .4rem 0 0; }
  .hero { min-height: min(82vh, 760px); }
  .hero::after { background: linear-gradient(0deg, rgba(20, 13, 8, .97) 0%, rgba(20, 13, 8, .72) 55%, rgba(20, 13, 8, .25) 100%); }
  .hero-in { padding: 8rem 0 3.5rem; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .beasts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .beast img { height: 96px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .ladder .hide-s { display: none; }
}
