:root {
  color-scheme: dark;
  --ink: #11130f;
  --gold: #d6b878;
  --pale: #f5eddc;
  --muted: #c4bcac;
  --line: #615339;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: var(--ink);
  color: var(--pale);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #ffe1a6; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: absolute; top: 0; left: 1rem; z-index: 2; padding: .65rem; background: var(--ink); transform: translateY(-130%); }
.skip:focus { transform: none; }
.wrap { width: min(1180px, calc(100% - 2 * clamp(1.15rem, 5vw, 5rem))); margin-inline: auto; }
.header { background: #131610; border-bottom: 1px solid #4e4330; }
.nav, .footer, nav, .actions { display: flex; align-items: center; }
.nav, .footer { justify-content: space-between; gap: 1rem; padding-block: 1rem; }
nav { gap: clamp(.85rem, 3vw, 2rem); flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
nav a:hover, .brand:hover { color: #ffe1a6; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); font: 700 1.12rem var(--serif); text-transform: uppercase; letter-spacing: .11em; text-decoration: none; }
.brand span { font-size: 1.5rem; }
.hero {
  min-height: clamp(36rem, 75svh, 55rem);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #11130ff5, #11130fb8 29%, #11130f1c 72%), linear-gradient(0deg, #11130ff2, transparent 36%), url('/assets/spires.webp') 63% 46% / cover, #23271e;
}
.hero-inner { padding-block: 4rem; }
.eyebrow { color: var(--gold); font-size: .875rem; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; margin: 0 0 .9rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h1 { font-size: clamp(4.35rem, 11vw, 9.5rem); text-transform: uppercase; line-height: .8; letter-spacing: -.055em; text-shadow: 0 4px 38px #0009; }
h1 em { font-style: normal; color: var(--gold); }
h2 { font-size: clamp(2.35rem, 5.4vw, 4.3rem); line-height: 1.04; letter-spacing: -.04em; }
h3 { font-size: 1.65rem; line-height: 1.15; }
.intro, .lede { color: var(--muted); font-size: clamp(1.07rem, 1.65vw, 1.27rem); max-width: 33rem; }
.intro { margin: 1.7rem 0; }
.actions { gap: .85rem; flex-wrap: wrap; }
.button, .outline { display: inline-block; min-height: 2.75rem; padding: .7rem 1.05rem; border: 1px solid var(--gold); text-decoration: none; font-size: .95rem; font-weight: 650; line-height: 1.4; }
.button { background: var(--gold); color: #17150e; }
.button:hover { background: #f0d298; }
.outline { color: var(--pale); background: #141610ae; border-color: #92805c; }
.outline:hover { background: #29271b; border-color: var(--gold); }
.platform { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }
.platform span { margin-inline: .3rem; }
.section { padding-block: clamp(3.7rem, 8vw, 7rem); scroll-margin-top: 1rem; }
.game { background: radial-gradient(ellipse at 70% 48%, #28231a, transparent 48%), #131610; }
.game-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.features { margin: 1.75rem 0 0; }
.features div { border-top: 1px solid #534932; padding-block: .75rem; }
dt { color: var(--gold); font-weight: 650; }
dd { margin: .18rem 0 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: .6rem; padding-block: 1.25rem; }
.cards img { width: 100%; height: auto; display: block; border-radius: .45rem; filter: drop-shadow(0 .7rem .65rem #000b); }
.cards img:first-child { transform: rotate(-6deg) translateY(.85rem); }
.cards img:last-child { transform: rotate(6deg) translateY(.85rem); }
.cards img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-.8rem); }
.paths { background: #181a15; border-block: 1px solid #413923; }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-block-start: 2rem; }
.path-grid article { background: linear-gradient(0deg, #100f0df5, #100f0d80 57%, #100f0d24), var(--art) center / cover, #25251b; border: 1px solid var(--line); min-height: 9rem; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end; }
.path-grid h3 { color: var(--tone); }
.path-grid p { color: var(--pale); margin: .35rem 0 0; }
.store { background: #11130f; }
.store-card { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; border: 1px solid var(--line); padding: clamp(1.5rem, 5vw, 3.7rem); background: linear-gradient(115deg, #252219, #171913); }
.store-card .lede { margin-bottom: 0; }
.offer { display: grid; justify-items: start; gap: .28rem; min-width: 12rem; color: var(--muted); }
.offer strong { color: var(--pale); font: 2.4rem var(--serif); }
.offer small { font: .9rem system-ui, sans-serif; }
.availability, .offer .button { margin-top: .75rem; }
.availability { color: var(--gold); border-top: 1px solid var(--line); width: 100%; padding-top: .65rem; }
footer { border-top: 1px solid #413923; }
@media (max-width: 800px) {
  .game-grid { grid-template-columns: 1fr; }
  .cards { width: min(100%, 32rem); margin-inline: auto; }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nav, .footer { align-items: flex-start; flex-direction: column; }
  .nav .outline { padding: .32rem .55rem; min-height: 0; font-size: .9rem; }
  .hero { min-height: 34rem; background-position: 66% 44%; }
  .hero-inner { padding-block: 3rem; }
  .store-card { grid-template-columns: 1fr; }
  .path-grid article { padding: .75rem; }
}

.mechanics-hero {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(90deg, #11130ffa 10%, #11130fbd 57%, #11130f45), url('/assets/spires.webp') 67% 34% / cover;
  border-bottom: 1px solid var(--line);
}
.mechanics-hero h1 { font-size: clamp(2.75rem, 7vw, 6rem); line-height: .98; }
.mechanics-hero .lede { margin-bottom: 0; color: var(--pale); }
.mechanics-layout { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: clamp(1.3rem, 5vw, 4rem); align-items: start; padding-block: 2.5rem 5rem; }
.tier-nav { position: sticky; top: 1.25rem; }
.tier-nav ul { display: grid; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.tier-nav a { display: block; padding: .45rem .65rem; border-left: 1px solid var(--line); }
.tier-nav a:hover { border-color: var(--gold); background: #242117; }
nav a[aria-current="page"] { color: var(--gold); }
.mechanics-note { margin: 0 0 1.5rem; padding: 1rem 1.25rem; color: var(--muted); border-left: 2px solid var(--gold); background: #1e2019; }
.mechanics-tier { padding: clamp(1.15rem, 4vw, 2rem); margin-bottom: 1rem; scroll-margin-top: 1rem; border: 1px solid var(--line); background: #191b15; }
.mechanics-tier h2 { font-size: clamp(1.75rem, 4vw, 2.65rem); }
.mechanics-tier > p:not(.eyebrow) { color: var(--muted); max-width: 72ch; }
.mechanics-tier details { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; }
.mechanics-tier summary { color: var(--gold); cursor: pointer; padding-block: .3rem; font-weight: 650; }
.mechanics-tier summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.mechanics-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.mechanics-paths > div { border: 1px solid #4e4330; padding: .85rem; background: #141610; }
.mechanics-paths strong { color: var(--pale); }
@media (max-width: 760px) {
  .mechanics-layout { grid-template-columns: 1fr; }
  .tier-nav { position: static; }
  .tier-nav ul { display: flex; flex-wrap: wrap; }
  .tier-nav a { border: 1px solid var(--line); }
}
@media (max-width: 500px) {
  .mechanics-paths { grid-template-columns: 1fr; }
}

.standings { padding-block: 2.5rem 5rem; }
.standings-filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.standings-filters label { display: grid; gap: .35rem; color: var(--gold); }
.standings-filters select, .standings-filters input {
  background: var(--ink); color: var(--pale); border: 1px solid var(--line); min-height: 2.75rem; padding: .5rem; font: inherit;
}
.standings button { cursor: pointer; }
.standings table { width: min(100%, 54rem); border-collapse: collapse; }
.standings th, .standings td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--line); }
.standings th { color: var(--gold); }
.standings td:nth-child(2) { overflow-wrap: anywhere; }

.request-layout { display: grid; gap: 2rem; padding-block: 2.5rem 5rem; }
.request-card { padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid var(--line); background: #191b15; }
.request-card + .request-card { margin-top: 1rem; }
.request-card form { display: grid; gap: .75rem; margin-top: 1rem; }
.request-card label { display: grid; gap: .25rem; }
.request-card :is(input, textarea, select) { width: 100%; padding: .55rem; color: var(--pale); background: var(--ink); border: 1px solid var(--line); font: inherit; }
.request-card :is(summary, a) { color: var(--gold); }
.request-card summary, .request-card button { cursor: pointer; }
.request-card button { justify-self: start; }
.request-text { white-space: pre-wrap; overflow-wrap: anywhere; }
#more-requests { margin-top: 1rem; }
