:root {
  color-scheme: dark;
  --bg: #111512; --surface: #191e19; --line: #373e33; --cream: #f6efdf; --text: #e0ded1;
  --muted: #b1b7a9; --gold: #edc484; --shadow: #0d110f;
  --serif: Georgia, "Times New Roman", serif; --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button:not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
:focus-visible { outline: 2px solid #f7ce85; outline-offset: 4px; }
.wrap { width: min(1192px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 9; left: 1rem; top: .5rem; padding: .7rem 1rem; background: var(--gold); color: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.top { background: #131713; border-bottom: 1px solid #323930; }
.top-inner { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--cream); text-decoration: none; font: bold 23px/1 var(--serif); }
.brand small { display: block; margin-top: 6px; color: var(--muted); font: 650 9px/1 var(--sans); letter-spacing: .24em; }
.brand-icon { display: grid; place-items: center; width: 34px; height: 38px; color: var(--gold); font-size: 25px; }
.main-nav, .footer nav { display: flex; align-items: center; gap: 30px; }
.main-nav a, .footer nav a { text-decoration: none; color: var(--muted); }
.main-nav a { position: relative; padding: 22px 0; font-size: 13px; font-weight: 620; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"], .footer nav a:hover { color: var(--cream); }
.main-nav a[aria-current="page"]::after { position: absolute; content: ""; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.header-steam { justify-self: end; color: var(--cream); display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.header-steam svg, .text-link svg { color: var(--gold); }
.header-steam:hover { background: var(--surface); border-color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); color: var(--cream); margin: 0; line-height: 1.12; }
h1 { font-size: clamp(50px, 7vw, 96px); letter-spacing: -.055em; font-weight: 600; }
h2 { font-size: clamp(31px, 4vw, 49px); letter-spacing: -.038em; font-weight: 500; }
h3 { font-size: 26px; font-weight: 550; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.eyebrow, .mini, .ordinal { font-size: 11px; color: var(--gold); letter-spacing: .19em; line-height: 1.4; font-weight: 700; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; }
.eyebrow > span { width: 19px; height: 1px; background: currentColor; }
.eyebrow > span::after { content: ""; display: block; width: 4px; height: 4px; background: currentColor; transform: translateY(-1.5px) rotate(45deg); }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border: 1px solid transparent; text-decoration: none; line-height: 1.4; font-weight: 700; font-size: 14px; }
.button-gold { background: var(--gold); border-color: var(--gold); color: #19160f; }
.button-gold:hover { background: #ffda9a; }
.button-outline { background: #171b16; border-color: #626955; color: var(--cream); }
.button-outline:hover:not(:disabled) { background: #252d24; border-color: var(--gold); }
.button-outline:disabled { color: #939889; opacity: .78; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--cream); font-weight: 650; text-decoration-color: #ad986e; text-underline-offset: 5px; }
.text-link:hover { color: var(--gold); }
.hero { position: relative; min-height: 556px; display: grid; align-items: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid #4a4431; background: #1c211a; }
.hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% 50%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #101512 2%, #10151200 38%), linear-gradient(90deg,#111512 1%,#111512ed 20%,#111512bd 37%,#11151217 70%); }
.hero-copy { padding-block: 70px 88px; }
.hero h1 { font-size: clamp(66px, 9vw, 131px); }
.hero-lead { color: var(--cream); margin: 14px 0 20px; font: 500 clamp(22px, 3vw, 34px)/1.2 var(--serif); }
.hero-desc { max-width: 430px; color: #e2e3d9; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.hero-meta { display: flex; align-items: center; gap: 9px; color: #e0e3d8; font-size: 12px; margin: 20px 0 0; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: #e6bc74; border-radius: 50%; margin-right: 4px; flex: 0 0 auto; }
.hero-caption { position: absolute; margin: 0; bottom: 15px; right: max(24px, calc((100vw - 1192px)/2)); font-size: 11px; letter-spacing: .025em; color: #d0d3c4; }
.facts-strip { border-bottom: 1px solid var(--line); background: #171c17; }
.facts-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.fact { display: flex; align-items: center; gap: 15px; padding: 19px 22px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact > svg { color: var(--gold); font-size: 20px; }
.fact strong { color: var(--cream); font-weight: 700; display: block; }
.fact small { color: var(--muted); display: block; }
.page-section { padding-block: 54px; scroll-margin-top: 16px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
.section-heading h2 + p { margin: 10px 0 0; }
.lead { color: var(--muted); max-width: 720px; margin: 12px 0 22px; }
.intro-grid, .reaction-grid, .roster, .two-col { display: grid; gap: 16px; }
.intro-grid, .reaction-grid { grid-template-columns: repeat(3, 1fr); }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.panel, .champion { background: var(--surface); border: 1px solid var(--line); padding: 22px; }
.panel h3 { margin: 8px 0 12px; }
.panel p { color: var(--muted); }
.panel p strong { color: var(--cream); }
.entry { display: flex; flex-direction: column; min-height: 208px; color: inherit; text-decoration: none; transition: background .16s, border-color .16s; }
.entry:hover { background: #232a21; border-color: #a48b63; }
.entry .mini { margin: 0 0 4px; }
.entry .entry-link { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: var(--gold); font-size: 13px; font-weight: 700; }
.entry .entry-link::after { content: ""; }
.divided { border-top: 1px solid var(--line); }
.subhero { padding-top: 66px; padding-bottom: 20px; }
.subhero > p:not(.eyebrow) { max-width: 660px; color: var(--muted); margin: 15px 0 0; font-size: 17px; }
.subhero > p.small-note { font-size: 12px; }
.subhero h1 { margin-bottom: 17px; }
.small-note, .muted, figcaption { color: var(--muted); }
.small-note { font-size: 13px; }
.roster { grid-template-columns: repeat(4, minmax(0,1fr)); }
.champion { position: relative; display: flex; flex-direction: column; align-items: start; min-height: 250px; transition: border-color .15s, background .15s; }
.champion h3 { margin-bottom: 9px; }
.champion p:not(.mini) { margin-bottom: 20px; color: var(--muted); }
.champion .mini { color: var(--accent); margin: 13px 0 4px; letter-spacing: .13em; }
.champion.rust { --accent: #e8a891; }
.champion.ice { --accent: #a7cbe5; }
.champion.sage { --accent: #b4cc9c; }
.champion.gold { --accent: #edc484; }
.role-icon { color: var(--accent, var(--gold)); background: #101611; border: 1px solid var(--line); width: 44px; height: 44px; display: grid; place-items: center; font-size: 19px; }
.champion.is-selected { border-color: var(--accent); background: #222b23; }
.select-champion { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #4c5547; background: #141915; display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 650; }
.select-champion:hover { border-color: var(--accent); }
.select-champion[aria-pressed="true"] { background: #313d31; border-color: var(--accent); }
.select-champion span:last-child { color: var(--accent); font-size: 17px; }
.counter { color: var(--gold); font-size: 12px; font-weight: 700; padding: 6px 11px; border: 1px solid #514934; white-space: nowrap; }
.readout { margin-top: 16px; padding: 20px; border: 1px solid #53624b; background: #202820; }
.readout-line { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.readout-line .mini { margin-bottom: 4px; }
.readout-line button { margin-left: auto; }
#party-advice { margin-bottom: 3px; }
#party-feedback { color: var(--gold); font-size: 13px; min-height: 1.6em; }
.reaction-grid .ordinal { display: inline-block; }
.reaction-grid ol { margin: 0 0 12px; padding-left: 20px; }
.reaction-grid + .text-link { margin-top: 18px; }
figure { margin: 0; }
.photo { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { font-size: 12px; padding: 9px 13px; }
.stat-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #181d18; }
.stat-table th, .stat-table td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.stat-table th { color: var(--cream); }
.stat-table caption { text-align: left; color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.jump a { padding: 6px 12px; text-decoration: none; border: 1px solid var(--line); color: var(--muted); }
.jump a:hover { border-color: var(--gold); color: var(--cream); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; }
.steps li { position: relative; padding: 11px 0 12px 44px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 12px; color: var(--gold); font-weight: 700; font-size: 12px; }
.steps strong { color: var(--cream); }
.rounds { display: grid; grid-template-columns: repeat(5,1fr); list-style: none; margin: 20px 0; padding: 0; border: 1px solid var(--line); }
.rounds li { border-right: 1px solid var(--line); background: var(--surface); padding: 15px 8px; text-align: center; }
.rounds li:last-child { border-right: 0; background: #29271c; }
.rounds span { color: var(--muted); font-size: 10px; letter-spacing: .14em; display: block; }
.rounds strong { color: var(--gold); font: 550 clamp(28px,5vw,55px)/1.2 var(--serif); }
.prose p { max-width: 75ch; }
.prose h3 { margin-top: 24px; margin-bottom: 10px; }
.footer { border-top: 1px solid var(--line); background: #151915; color: var(--muted); padding: 30px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer p { margin: 5px 0 0; }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 64px); }
  .top-inner { gap: 18px; }
  .main-nav { gap: 19px; }
  .roster { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero::after { background: linear-gradient(0deg,#101512 0%,#10151200 45%),linear-gradient(90deg,#111512 0%,#111512e2 22%,#111512a0 49%,#11151214 92%); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .top-inner { grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 9px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: 0; justify-content: space-between; }
  .main-nav a { min-height: 46px; padding: 12px 6px 10px; font-size: 12px; }
  .header-steam { grid-column: 2; grid-row: 1; padding-block: 6px; min-height: 38px; }
  .brand { font-size: 21px; }
  .hero { min-height: 0; display: block; }
  .hero-art { height: 280px; object-position: 70% 45%; }
  .hero::after { background: linear-gradient(0deg,#111512 0%,#111512 44%,#111512a0 61%,#11151200 96%); }
  .hero-copy { padding-block: 201px 48px; }
  .hero h1 { font-size: clamp(53px, 15vw, 85px); }
  .hero-lead { margin-top: 10px; }
  .hero-caption { right: 18px; bottom: 9px; font-size: 10px; }
  .actions { margin-top: 20px; gap: 8px; }
  .actions .button { padding-inline: 12px; font-size: 13px; }
  .facts-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .fact { padding: 11px 7px; flex-direction: column; align-items: start; gap: 5px; font-size: 12px; }
  .fact small { font-size: 10px; line-height: 1.25; }
  .fact > svg { font-size: 16px; }
  .page-section { padding-block: 37px; }
  .subhero { padding-top: 39px; padding-bottom: 8px; }
  .subhero > p:not(.eyebrow) { font-size: 15px; }
  .section-heading { align-items: start; margin-bottom: 15px; }
  .section-heading .counter { align-self: end; font-size: 10px; padding: 4px 6px; }
  .intro-grid, .reaction-grid, .two-col { grid-template-columns: 1fr; gap: 11px; }
  .roster { gap: 9px; }
  .panel, .champion { padding: 14px; }
  .champion { min-height: 240px; }
  .champion .mini { font-size: 9px; }
  .champion h3 { font-size: 24px; }
  .champion p:not(.mini) { font-size: 13px; }
  .readout { padding: 13px; }
  .readout-line { gap: 8px; }
  .readout-line h3 { font-size: 20px; }
  .readout-line button { padding-inline: 9px; }
  .entry { min-height: 165px; }
  .stat-table { font-size: 13px; }
  .stat-table th, .stat-table td { padding: 7px 8px; }
  .footer-inner { display: grid; }
  .footer nav { flex-wrap: wrap; gap: 10px 18px; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 28px); }
  .hero h1 { font-size: 49px; }
  .champion { padding: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
