/* ═══════════════════════════════════════════════════════════════════
   Hexcore Scripts — Arcane / Piltover-Zaun aesthetic
   palette: Piltover brass + Zaun chemtech green + arcane purple + Hexcore blue
   typography: Cormorant Garamond display + Cormorant SC small-caps + Lato body
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:           #0D0810;
  --bg-2:         #14101C;
  --bg-3:         #1A1428;
  --panel:        #1F1828;
  --panel-2:      #2A2138;
  --brass:        #B87333;
  --brass-hi:     #E8B547;
  --brass-2:      #6B4423;
  --brass-dark:   #3A2618;
  --chem:         #3DFF7A;
  --chem-2:       #1F8F40;
  --chem-dark:    #0A2818;
  --arcane:       #9B30FF;
  --arcane-2:     #5A1FAA;
  --arcane-dark:  #2A0F50;
  --hexcore:      #00DDFF;
  --hexcore-2:    #008CB0;
  --crimson:      #D02828;
  --text:         #E5D4BC;
  --text-2:       #948271;
  --text-3:       #524535;
  --border:       #3A2A1C;
  --border-2:     #5A4A3A;
  --glow-brass:   0 0 22px rgba(232, 181, 71, .45), 0 0 4px rgba(232, 181, 71, .8);
  --glow-chem:    0 0 22px rgba(61, 255, 122, .35), 0 0 4px rgba(61, 255, 122, .6);
  --glow-arcane:  0 0 26px rgba(155, 48, 255, .45), 0 0 6px rgba(155, 48, 255, .7);
  --glow-hexcore: 0 0 32px rgba(0, 221, 255, .55), 0 0 10px rgba(0, 221, 255, .8);
  --shadow-deep:  0 24px 60px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

::selection { background: var(--brass-hi); color: var(--bg); }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Lato", "Source Sans Pro", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image:
    /* Hexcore aura at top-right */
    radial-gradient(ellipse 50% 50% at 90% 0%, rgba(0, 221, 255, .08) 0%, transparent 50%),
    /* Arcane glow at bottom-left */
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(155, 48, 255, .07) 0%, transparent 55%),
    /* Chemtech haze bottom-right */
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(61, 255, 122, .04) 0%, transparent 60%),
    /* Brass blueprint hatching */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 20 L40 20 M20 0 L20 40' stroke='%23B87333' stroke-opacity='.04' stroke-width='.5'/%3E%3Ccircle cx='20' cy='20' r='.6' fill='%23B87333' fill-opacity='.18'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-attachment: fixed;
}

/* Drifting smoke overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(155, 48, 255, .03) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 70% 70%, rgba(0, 221, 255, .025) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.04); }
}

a { color: var(--hexcore); text-decoration: none; transition: color .2s, text-shadow .2s; }
a:hover { color: var(--brass-hi); text-shadow: var(--glow-brass); }

/* ═══════ TYPOGRAPHY ═══════ */
h1, h2, h3 {
  font-family: "Cormorant Garamond", "Cormorant SC", "Marcellus", serif;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.12;
  color: var(--text);
}
h1 { font-size: 5.2rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 2.6rem; font-weight: 600; margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; }
h4 { font-family: "Cormorant SC", "Cormorant Garamond", serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .28em; color: var(--brass); font-weight: 600; }

.brass-text { color: var(--brass-hi); text-shadow: 0 0 14px rgba(232, 181, 71, .45); }
.chem-text  { color: var(--chem); text-shadow: 0 0 14px rgba(61, 255, 122, .4); }
.arcane-text { color: var(--arcane); text-shadow: 0 0 14px rgba(155, 48, 255, .45); }
.hex-text   { color: var(--hexcore); text-shadow: 0 0 14px rgba(0, 221, 255, .5); }

.gold-grad {
  background: linear-gradient(90deg, var(--brass-hi) 0%, var(--brass) 50%, var(--brass-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.arcane-grad {
  background: linear-gradient(90deg, var(--hexcore) 0%, var(--arcane) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
code {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  background: var(--panel);
  border: 1px solid var(--brass-2);
  color: var(--brass-hi);
  padding: 1px 6px;
  font-size: .85em;
  border-radius: 2px;
}

/* Drop cap for first paragraph in story sections */
.drop-cap::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 4.2rem;
  float: left;
  line-height: .9;
  margin: .1em .15em -.1em 0;
  color: var(--brass-hi);
  text-shadow: var(--glow-brass);
}

/* ═══════ UTILITY ═══════ */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--brass-hi); color: var(--bg); z-index: 9999; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .45rem 1.2rem;
  background: rgba(184, 115, 51, .08);
  border: 1px solid var(--brass-2);
  color: var(--brass-hi);
  font-family: "Cormorant SC", serif;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  position: relative;
}
.eyebrow::before, .eyebrow::after {
  content: '✦';
  color: var(--brass);
  font-size: .8em;
}
.eyebrow.chem { color: var(--chem); border-color: var(--chem-2); background: rgba(61, 255, 122, .06); }
.eyebrow.chem::before, .eyebrow.chem::after { color: var(--chem); }
.eyebrow.arcane { color: var(--arcane); border-color: var(--arcane-2); background: rgba(155, 48, 255, .06); }
.eyebrow.arcane::before, .eyebrow.arcane::after { color: var(--arcane); }
.eyebrow .pulse {
  width: 6px; height: 6px;
  background: var(--chem);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--chem);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Brass scroll divider with central gem */
.scroll-divider {
  display: flex; align-items: center; justify-content: center;
  margin: 2.5rem auto;
  max-width: 600px;
  gap: 1.2rem;
}
.scroll-divider::before, .scroll-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, var(--brass-2) 20%, var(--brass) 50%, var(--brass-2) 80%, transparent 100%);
  position: relative;
}
.scroll-divider .gem {
  width: 14px; height: 14px;
  background: var(--hexcore);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: var(--glow-hexcore);
  animation: gemPulse 3s ease-in-out infinite;
}
@keyframes gemPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
}

/* ═══════ SECTION WRAPPERS ═══════ */
.section { padding: 5rem 1.5rem; position: relative; }
.section-inner { max-width: 1180px; margin: 0 auto; }

.section-head {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  font-family: "Cormorant SC", serif;
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0 1.5rem;
  position: relative;
}
.section-label::before, .section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px; height: 1px;
  background: var(--brass);
}
.section-label::before { left: 0; }
.section-label::after { right: 0; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p {
  color: var(--text-2);
  font-size: 1.04rem;
  font-style: italic;
}

/* Workshop blueprint section variant */
.section-blueprint {
  background:
    linear-gradient(180deg, transparent 0%, rgba(184, 115, 51, .03) 100%),
    var(--bg-2);
  border-top: 1px solid var(--brass-dark);
  border-bottom: 1px solid var(--brass-dark);
}

/* Zaun underground section variant */
.section-undercity {
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(155, 48, 255, .08) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
  border-top: 1px solid var(--arcane-dark);
  border-bottom: 1px solid var(--arcane-dark);
}

/* ═══════ HEADER ═══════ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 8, 16, .94);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--brass-dark);
  box-shadow: 0 1px 0 rgba(184, 115, 51, .15);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: "Cormorant SC", "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brass-hi);
  text-transform: uppercase;
}
.brand-crystal {
  width: 22px; height: 26px;
  background: linear-gradient(135deg, var(--hexcore) 0%, var(--arcane) 100%);
  clip-path: polygon(50% 0%, 100% 35%, 80% 100%, 20% 100%, 0% 35%);
  box-shadow: var(--glow-hexcore);
  animation: gemPulse 4s ease-in-out infinite;
}
.brand em {
  font-style: normal;
  color: var(--chem);
  text-shadow: 0 0 8px rgba(61, 255, 122, .4);
}

.nav { display: flex; gap: 0; margin-left: auto; }
.nav a {
  padding: .65rem 1.1rem;
  font-family: "Cormorant SC", serif;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--brass-hi); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 6px;
  background: var(--brass);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.cta-pill {
  margin-left: .6rem;
  padding: .65rem 1.4rem;
  font-family: "Cormorant SC", serif;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--brass-hi) 0%, var(--brass) 100%);
  border: 1px solid var(--brass-hi);
  font-weight: 700;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: box-shadow .25s, transform .15s;
  position: relative;
}
.cta-pill::before {
  content: '✦';
  font-size: .7em;
}
.cta-pill:hover {
  color: var(--bg);
  box-shadow: var(--glow-brass);
  transform: translateY(-1px);
}

.hamburger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--brass-2);
  width: 38px; height: 38px;
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.hamburger span { display: block; width: 18px; height: 1.6px; background: var(--brass-hi); }
.mobile-nav { display: none; }

/* ═══════ HERO ═══════ */
.hero {
  position: relative;
  padding: 5rem 1.5rem 6rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Hexcore center burst */
    radial-gradient(circle 700px at 50% 40%, rgba(0, 221, 255, .12) 0%, transparent 50%),
    /* Arcane purple ambient */
    radial-gradient(ellipse 80% 50% at 30% 70%, rgba(155, 48, 255, .1) 0%, transparent 60%),
    /* Brass workshop gold */
    radial-gradient(ellipse 70% 40% at 70% 20%, rgba(232, 181, 71, .06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
/* Filigree corners */
.hero::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--brass-2) 0%, transparent 30%, transparent 70%, var(--brass-2) 100%) 1;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
  text-align: center;
}
.hero-inner > .eyebrow { margin-bottom: 2rem; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  margin-bottom: 1.5rem;
}
.hero h1 .ornate {
  font-style: italic;
  color: var(--brass-hi);
  text-shadow: 0 0 22px rgba(232, 181, 71, .3);
}
.hero h1 .arc {
  color: var(--hexcore);
  text-shadow: 0 0 22px rgba(0, 221, 255, .35);
  font-style: italic;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 2.4rem;
  line-height: 1.65;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}
.hero .tagline em {
  color: var(--brass-hi);
  font-style: italic;
  font-weight: 600;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center;
  margin-bottom: 3rem;
}

.btn-brass {
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.1rem 2.2rem;
  font-family: "Cormorant SC", serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--brass-hi) 0%, var(--brass) 50%, var(--brass-2) 100%);
  border: 1px solid var(--brass-hi);
  cursor: pointer;
  transition: box-shadow .25s, transform .15s;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .35), inset 0 -2px 4px rgba(0, 0, 0, .35);
}
.btn-brass::before, .btn-brass::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass-dark);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .4);
}
.btn-brass:hover {
  color: var(--bg);
  box-shadow: var(--glow-brass), inset 0 1px 2px rgba(255, 255, 255, .35);
  transform: translateY(-2px);
}

.btn-chem {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.05rem 1.8rem;
  font-family: "Cormorant SC", serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--chem);
  background: transparent;
  border: 1px solid var(--chem-2);
  transition: background .2s, box-shadow .2s, color .2s;
}
.btn-chem:hover {
  background: rgba(61, 255, 122, .08);
  box-shadow: var(--glow-chem);
  color: var(--chem);
}

/* ═══════ HEXCORE CRYSTAL (centerpiece) ═══════ */
.hexcore-stage {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 3rem;
}
.hexcore-stage svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(0, 221, 255, .55)) drop-shadow(0 0 60px rgba(155, 48, 255, .35));
  animation: hexFloat 6s ease-in-out infinite;
}
@keyframes hexFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
.hexcore-stage::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px dashed var(--brass-2);
  border-radius: 50%;
  animation: orbit 30s linear infinite;
  opacity: .4;
}
.hexcore-stage::after {
  content: '';
  position: absolute;
  inset: -50px;
  border: 1px dotted var(--arcane-2);
  border-radius: 50%;
  animation: orbit 50s linear infinite reverse;
  opacity: .3;
}
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ═══════ HERO METRICS — riveted brass plate ═══════ */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--brass);
  background:
    linear-gradient(180deg, rgba(232, 181, 71, .04) 0%, transparent 100%),
    var(--panel);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(232, 181, 71, .08), var(--shadow-deep);
}
/* corner bolts */
.hero-metrics::before, .hero-metrics::after,
.hero-metric:first-child::before, .hero-metric:last-child::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--brass-hi);
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
}
.hero-metrics::before { top: 6px; left: 6px; }
.hero-metrics::after { top: 6px; right: 6px; }
.hero-metric:first-child::before { bottom: 6px; left: 6px; }
.hero-metric:last-child::after { bottom: 6px; right: 6px; }
.hero-metric {
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--brass-dark);
  position: relative;
}
.hero-metric:last-child { border-right: none; }
.hero-metric .v {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brass-hi);
  line-height: 1;
  text-shadow: 0 0 14px rgba(232, 181, 71, .25);
}
.hero-metric .v.chem { color: var(--chem); text-shadow: 0 0 14px rgba(61, 255, 122, .3); }
.hero-metric .v.arc  { color: var(--hexcore); text-shadow: 0 0 14px rgba(0, 221, 255, .3); }
.hero-metric .l {
  display: block;
  font-family: "Cormorant SC", serif;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: .45rem;
}

/* ═══════ ABOUT — WORKSHOP NOTES (two-col with parchment) ═══════ */
.workshop {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.workshop p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  line-height: 1.75;
}
.workshop p em {
  color: var(--brass-hi);
  font-style: italic;
  font-weight: 500;
}
.parchment {
  background:
    linear-gradient(180deg, rgba(184, 115, 51, .04) 0%, transparent 100%),
    var(--panel);
  border: 1px solid var(--brass-2);
  padding: 1.6rem 1.6rem;
  position: relative;
  box-shadow: inset 0 0 30px rgba(184, 115, 51, .04), var(--shadow-deep);
}
.parchment::before, .parchment::after {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
}
.parchment::before { top: 8px; left: 8px; }
.parchment::after { top: 8px; right: 8px; }
.parchment-title {
  font-family: "Cormorant SC", serif;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px dashed var(--brass-dark);
}
.parchment-row {
  display: flex; justify-content: space-between;
  padding: .55rem 0;
  border-bottom: 1px dotted rgba(184, 115, 51, .15);
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
}
.parchment-row:last-child { border-bottom: none; }
.parchment-row span:first-child {
  color: var(--text-2);
  font-style: italic;
}
.parchment-row .val { color: var(--brass-hi); font-weight: 600; }
.parchment-row .val.chem { color: var(--chem); }
.parchment-row .val.arc { color: var(--hexcore); }

/* ═══════ ABILITY CARDS (cheat types) — Arcane spell tooltip style ═══════ */
.abilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.ability {
  position: relative;
  background:
    linear-gradient(180deg, rgba(232, 181, 71, .03) 0%, transparent 100%),
    var(--panel);
  border: 1px solid var(--brass-2);
  padding: 1.5rem 1.3rem 1.3rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.ability::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brass) 50%, transparent 100%);
}
.ability:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: var(--shadow-deep), var(--glow-brass);
}
.ability-glyph {
  width: 48px; height: 48px;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, var(--brass) 0%, var(--brass-2) 100%);
  border: 1px solid var(--brass-hi);
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--bg);
  position: relative;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.3), inset 0 -2px 4px rgba(0,0,0,.4);
}
.ability.chem .ability-glyph { background: linear-gradient(135deg, var(--chem) 0%, var(--chem-2) 100%); border-color: var(--chem); color: var(--bg); }
.ability.arcane .ability-glyph { background: linear-gradient(135deg, var(--arcane) 0%, var(--arcane-2) 100%); border-color: var(--arcane); color: var(--bg); }
.ability.crimson .ability-glyph { background: linear-gradient(135deg, var(--crimson) 0%, #6b1414 100%); border-color: var(--crimson); color: var(--bg); }
.ability h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--brass-hi);
  margin-bottom: .5rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.ability p {
  color: var(--text-2);
  font-size: .92rem;
  line-height: 1.6;
}
.ability .stats {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--brass-dark);
  display: flex; gap: 1rem;
  font-family: "Cormorant SC", serif;
  font-size: .68rem;
  color: var(--text-3);
  letter-spacing: .12em;
}
.ability .stats strong { color: var(--brass-hi); font-family: "Cormorant Garamond", serif; font-weight: 600; }

/* ═══════ SCREENSHOTS — Arcane mural frames ═══════ */
.murals {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: 500px;
}
.mural {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--brass-2);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.1rem;
  transition: border-color .3s, transform .3s;
}
.mural::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(184, 115, 51, .25);
  pointer-events: none;
}
.mural:hover {
  border-color: var(--brass-hi);
  transform: translateY(-3px);
}
.mural:nth-child(1) { grid-row: 1 / 3; }
.mural .frame-label {
  position: relative; z-index: 2;
  font-family: "Cormorant SC", serif;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass-hi);
  padding: .35rem .8rem;
  background: var(--bg);
  border: 1px solid var(--brass);
  align-self: flex-start;
}
.mural .frame-title {
  position: relative; z-index: 2;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brass-hi);
  padding: .35rem .75rem;
  background: linear-gradient(90deg, rgba(13, 8, 16, .95) 0%, rgba(13, 8, 16, .65) 100%);
  border-left: 3px solid var(--hexcore);
  align-self: flex-end;
  text-shadow: 0 0 12px rgba(232, 181, 71, .35);
}
.mural svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

/* ═══════ CHAMPION ROSTER (Arcane characters style) ═══════ */
.roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.champ {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--brass-2);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column;
  min-height: 230px;
}
.champ:hover {
  border-color: var(--brass-hi);
  transform: translateY(-3px);
  box-shadow: var(--glow-brass);
}
.champ-portrait {
  height: 130px;
  position: relative;
  overflow: hidden;
}
.champ-portrait .bg {
  position: absolute;
  inset: 0;
  opacity: .85;
}
.champ-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(13, 8, 16, .35) 70%, rgba(13, 8, 16, .85) 100%);
  z-index: 1;
}
.champ.c1 .bg { background: linear-gradient(135deg, #D02828 0%, #6b1414 100%); }
.champ.c2 .bg { background: linear-gradient(135deg, #B87333 0%, #6B4423 100%); }
.champ.c3 .bg { background: linear-gradient(135deg, #9B30FF 0%, #4A1976 100%); }
.champ.c4 .bg { background: linear-gradient(135deg, #00DDFF 0%, #008CB0 100%); }
.champ.c5 .bg { background: linear-gradient(135deg, #3DFF7A 0%, #1F8F40 100%); }
.champ.c6 .bg { background: linear-gradient(135deg, #E8B547 0%, #B87333 100%); }
.champ.c7 .bg { background: linear-gradient(135deg, #C39B70 0%, #6B4423 100%); }
.champ.c8 .bg { background: linear-gradient(135deg, #5BC0DE 0%, #1F6E85 100%); }
.champ-portrait .ico {
  position: absolute; z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}
.champ-portrait .ico path,
.champ-portrait .ico circle,
.champ-portrait .ico line,
.champ-portrait .ico polygon {
  stroke: var(--text);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.champ-portrait .ico .fill { fill: var(--text); stroke: none; }
.champ-portrait .ico .gold { stroke: var(--brass-hi); }

/* Champion splash from Riot Data Dragon CDN */
.champ-portrait .splash {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 35% 25%; /* face area, leftmost focal point */
  z-index: 1;
  filter: contrast(1.05) saturate(1.05);
  transition: transform .5s ease, filter .3s;
}
.champ:hover .champ-portrait .splash {
  transform: scale(1.06);
  filter: contrast(1.1) saturate(1.15) brightness(1.05);
}
/* per-champion focal tuning (faces vary in position across splash art) */
.champ.c1 .splash { object-position: 38% 24%; } /* Yasuo */
.champ.c2 .splash { object-position: 30% 28%; } /* Lee Sin */
.champ.c3 .splash { object-position: 40% 22%; } /* Zed */
.champ.c4 .splash { object-position: 42% 26%; } /* Riven */
.champ.c5 .splash { object-position: 36% 28%; } /* Ezreal */
.champ.c6 .splash { object-position: 30% 24%; } /* Thresh */
.champ.c7 .splash { object-position: 50% 28%; } /* Evelynn */
.champ.c8 .splash { object-position: 32% 26%; } /* Caitlyn */
.champ-region {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 3;
  font-family: "Cormorant SC", serif;
  font-size: .58rem;
  letter-spacing: .2em;
  color: var(--brass-hi);
  background: rgba(13, 8, 16, .85);
  border: 1px solid var(--brass);
  padding: 2px 8px;
  text-transform: uppercase;
}
.champ-info {
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.champ-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--brass-hi);
  margin-bottom: .3rem;
  font-weight: 600;
}
.champ-info .ability-line {
  font-style: italic;
  color: var(--text-2);
  font-size: .85rem;
  margin-bottom: .55rem;
  font-family: "Cormorant Garamond", serif;
}
.champ-info .meta {
  display: flex; justify-content: space-between;
  font-family: "Cormorant SC", serif;
  font-size: .68rem;
  color: var(--text-3);
  letter-spacing: .12em;
}
.champ-info .meta .ver { color: var(--chem); }

/* ═══════ REGION COUNCIL TABLE ═══════ */
.council {
  border: 1px solid var(--brass);
  background:
    linear-gradient(180deg, rgba(184, 115, 51, .04) 0%, transparent 100%),
    var(--panel);
  overflow-x: auto;
  position: relative;
  box-shadow: var(--shadow-deep);
}
.council::before, .council::after {
  content: '✦';
  position: absolute;
  top: -.5rem;
  color: var(--brass);
  font-size: 1rem;
  background: var(--bg);
  padding: 0 .5rem;
}
.council::before { left: 1.5rem; }
.council::after { right: 1.5rem; }
.council table {
  width: 100%;
  border-collapse: collapse;
}
.council th {
  font-family: "Cormorant SC", serif;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--brass-hi);
  padding: 1.2rem 1.3rem;
  text-align: left;
  border-bottom: 2px solid var(--brass-dark);
  background: var(--bg-3);
}
.council td {
  padding: .95rem 1.3rem;
  border-bottom: 1px dashed rgba(184, 115, 51, .15);
  color: var(--text-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.02rem;
}
.council tr:last-child td { border-bottom: none; }
.council tr:hover td { background: rgba(184, 115, 51, .05); color: var(--text); }
.council .v-ok    { color: var(--chem); font-weight: 600; }
.council .v-warn  { color: var(--brass-hi); font-weight: 600; }
.council .v-no    { color: var(--crimson); font-weight: 600; }
.council .v-na    { color: var(--text-3); }

/* ═══════ BULLETED LIST (Council edicts) ═══════ */
.edicts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.edicts li {
  display: flex; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background:
    linear-gradient(180deg, rgba(184, 115, 51, .03) 0%, transparent 100%),
    var(--panel);
  border-left: 3px solid var(--brass);
  position: relative;
}
.edicts li.chem { border-left-color: var(--chem); }
.edicts li.arcane { border-left-color: var(--arcane); }
.edicts li.hex { border-left-color: var(--hexcore); }
.edicts li::before {
  content: '✦';
  color: var(--brass-hi);
  font-size: 1.1rem;
  flex-shrink: 0;
  text-shadow: 0 0 8px currentColor;
}
.edicts li.chem::before { color: var(--chem); }
.edicts li.arcane::before { color: var(--arcane); }
.edicts li.hex::before { color: var(--hexcore); }
.edicts li > div { flex: 1; }
.edicts li strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  color: var(--brass-hi);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: .2rem;
  letter-spacing: .01em;
}
.edicts li .d {
  color: var(--text-2);
  font-size: .88rem;
}

/* ═══════ NUMBERED LIST (numbered scroll steps) ═══════ */
.scroll-steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: stp;
}
.scroll-steps li {
  counter-increment: stp;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.2rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(184, 115, 51, .04) 0%, transparent 100%),
    var(--panel);
  border: 1px solid var(--brass-2);
  position: relative;
}
.scroll-steps li::before {
  content: counter(stp, upper-roman);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--brass-hi);
  font-weight: 700;
  text-align: center;
  padding-top: 2px;
  border-right: 1px solid var(--brass-dark);
  padding-right: 1rem;
  text-shadow: 0 0 12px rgba(232, 181, 71, .35);
}
.scroll-steps li h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: var(--brass-hi);
  margin-bottom: .4rem;
  font-weight: 600;
}
.scroll-steps li p { color: var(--text-2); font-size: .95rem; }

/* ═══════ DUAL DISTRIBUTIONS (Piltover vs Zaun choice) ═══════ */
.dual-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.path {
  position: relative;
  padding: 2.4rem 2rem;
  overflow: hidden;
  border: 1px solid var(--brass-2);
}
.path.piltover {
  background:
    linear-gradient(180deg, rgba(232, 181, 71, .07) 0%, transparent 100%),
    var(--panel);
  border-color: var(--brass);
}
.path.zaun {
  background:
    radial-gradient(circle at 70% 30%, rgba(155, 48, 255, .12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(61, 255, 122, .04) 0%, transparent 100%),
    var(--bg-3);
  border-color: var(--arcane-2);
}
.path::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brass) 50%, transparent 100%);
}
.path.zaun::before { background: linear-gradient(90deg, transparent 0%, var(--arcane) 50%, transparent 100%); }
.path-banner {
  display: inline-block;
  font-family: "Cormorant SC", serif;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border: 1px solid currentColor;
  margin-bottom: 1rem;
  color: var(--brass-hi);
}
.path.zaun .path-banner { color: var(--chem); border-color: var(--chem-2); }
.path h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--brass-hi);
  margin-bottom: .7rem;
  font-weight: 600;
}
.path.zaun h3 { color: var(--text); }
.path .pitch {
  color: var(--text-2);
  font-size: .98rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
}
.path-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid; gap: .5rem;
}
.path-list li {
  display: flex; justify-content: space-between;
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(184, 115, 51, .15);
  color: var(--text-2);
  font-family: "Cormorant Garamond", serif;
  font-size: .95rem;
}
.path-list li strong { color: var(--brass-hi); font-weight: 600; }
.path.zaun .path-list li strong { color: var(--chem); }
.path-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: "Cormorant SC", serif;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-hi);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}
.path.zaun .path-link { color: var(--chem); border-bottom-color: var(--chem-2); }
.path-link::after { content: '→'; }

/* ═══════ FAQ — Council interrogation style ═══════ */
.council-faq {
  display: grid;
  gap: .9rem;
}
.council-faq details {
  border: 1px solid var(--brass-dark);
  background:
    linear-gradient(180deg, rgba(184, 115, 51, .03) 0%, transparent 100%),
    var(--panel);
  position: relative;
}
.council-faq details[open] {
  border-color: var(--brass);
  box-shadow: 0 0 20px rgba(184, 115, 51, .15);
}
.council-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 3.5rem 1.2rem 3.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--text);
  position: relative;
  font-weight: 500;
}
.council-faq summary::-webkit-details-marker { display: none; }
.council-faq summary::before {
  content: '✦';
  position: absolute;
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass);
  font-size: 1rem;
}
.council-faq details[open] summary::before {
  color: var(--brass-hi);
  text-shadow: var(--glow-brass);
}
.council-faq summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem; top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--brass);
  font-weight: 300;
}
.council-faq details[open] summary::after { content: '−'; color: var(--brass-hi); }
.council-faq .a {
  padding: 0 1.4rem 1.3rem 3.2rem;
  color: var(--text-2);
  font-size: .98rem;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.7;
  border-top: 1px dashed var(--brass-dark);
  padding-top: 1rem;
  margin: 0 1.4rem 1rem 1.4rem;
}

/* ═══════ CTA BANNER — Royal proclamation ═══════ */
.cta {
  margin: 4rem 1.5rem;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
  padding: 3.5rem 2rem;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 221, 255, .08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 100%, rgba(155, 48, 255, .1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(232, 181, 71, .05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--brass);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep), inset 0 0 50px rgba(232, 181, 71, .05);
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brass) 50%, transparent 100%);
}
.cta::before { top: 12px; }
.cta::after { bottom: 12px; box-shadow: 0 0 14px var(--brass); }
.cta h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.cta p {
  color: var(--text-2);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
}

/* ═══════ FOOTER ═══════ */
.footer {
  margin-top: 4rem;
  background:
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--brass-dark);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--brass-dark);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.65;
  max-width: 380px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}
.footer-col h4 {
  margin-bottom: 1rem;
  font-family: "Cormorant SC", serif;
  font-size: .76rem;
  letter-spacing: .28em;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  font-size: .92rem;
  padding: .3rem 0;
  font-family: "Cormorant Garamond", serif;
}
.footer-col a:hover { color: var(--brass-hi); }
.footer-bot {
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}
.footer-bot strong { color: var(--brass); font-weight: 600; font-style: normal; }

/* ═══════ INTERNAL PAGE HERO ═══════ */
.page-hero {
  padding: 4.5rem 1.5rem 3.5rem;
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(0, 221, 255, .07) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 30% 100%, rgba(155, 48, 255, .06) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--brass-dark);
  text-align: center;
}
.page-hero-inner { max-width: 980px; margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 1.6rem; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 1.2rem;
}
.page-hero h1 .ornate {
  font-style: italic;
  color: var(--brass-hi);
}
.page-hero p {
  color: var(--text-2);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.page-hero .hero-actions { justify-content: center; margin-bottom: 0; }

/* ═══════ MOBILE ═══════ */
@media (max-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 1.9rem; }
  .hero { padding: 3rem 1rem 4rem; }
  .hero h1 { font-size: 2.6rem; }
  .hexcore-stage { width: 200px; height: 200px; margin-bottom: 2rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-metric { border-bottom: 1px solid var(--brass-dark); }
  .hero-metric:nth-child(2n) { border-right: none; }
  .hero-metric:nth-last-child(-n+2) { border-bottom: none; }
  .workshop { grid-template-columns: 1fr; gap: 2rem; }
  .abilities { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .edicts { grid-template-columns: 1fr; }
  .murals { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(180px, 1fr); min-height: auto; }
  .murals .mural:nth-child(1) { grid-row: auto; min-height: 220px; }
  .dual-paths { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .cta-pill { display: none; }
  .hamburger { display: flex; }
  .mobile-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--brass-dark);
    padding: .5rem 1rem 1rem;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block;
    padding: .8rem 1rem;
    font-family: "Cormorant SC", serif;
    font-size: .9rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--brass-dark);
  }
  .mobile-nav a.active { color: var(--brass-hi); }
}

@media (max-width: 600px) {
  .section { padding: 3rem 1rem; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.55rem; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metric { border-right: none; border-bottom: 1px solid var(--brass-dark); }
  .hero-metric:last-child { border-bottom: none; }
  .abilities, .roster { grid-template-columns: 1fr 1fr; }
  .murals { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta { margin: 2rem 1rem; padding: 2.4rem 1.4rem; }
  .scroll-steps li { grid-template-columns: 40px 1fr; gap: .9rem; padding: 1rem; }
  .scroll-steps li::before { font-size: 1.25rem; padding-right: .6rem; }
  .council th, .council td { padding: .8rem .9rem; font-size: .9rem; }
  .council th { font-size: .68rem; }
  .page-hero h1 { font-size: 2rem; }
  .path { padding: 1.8rem 1.4rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2rem; }
  .btn-brass, .btn-chem { padding: .9rem 1.3rem; font-size: .78rem; }
  .abilities, .roster { grid-template-columns: 1fr; }
  .hexcore-stage { width: 160px; height: 160px; }
}
