/* ==========================================================================
   Spires of Azeroth | spiresofazeroth.net
   Hand-built Classic WoW fan-site stylesheet. No frameworks, no external
   requests. Fonts and UI textures come first-party from /assets/.
   ========================================================================== */

/* ---------- Fonts (self-hosted, swap) ---------- */
@font-face {
  font-family: "Friz Quadrata";
  src: url("/assets/fonts/frizqt.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Morpheus";
  src: url("/site/fonts/morpheus-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Arial Narrow";
  src: url("/site/fonts/arialn-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --font-display: "Friz Quadrata", "Palatino Linotype", Georgia, serif;
  --font-body: "Friz Quadrata", "Palatino Linotype", Georgia, serif;
  --font-label: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  --font-cinematic: "Morpheus", "Friz Quadrata", Georgia, serif;

  --ink: #050407;
  --ink-2: #090a0e;
  --slate: #0f1116;
  --panel: #14161c;
  --panel-warm: #17140f;

  --gold: #ffd100;
  --gold-light: #ffe375;
  --gold-deep: #c8952f;
  --bronze: #8a6a2f;
  --bronze-dim: #5b4726;

  --parchment: #f4ecd8;
  --parchment-dim: #d3c8b0;
  --parchment-mute: #a89c82;

  --arcane: #5aa9ff;
  --arcane-deep: #1d4f9e;
  --blood: #8c1515;

  --line: rgba(255, 209, 0, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);

  --shadow-panel: inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 70px rgba(0, 0, 0, 0.55), 0 24px 60px rgba(0, 0, 0, 0.38);

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 68px;
  --radius: 2px;

  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 15px, 17.5px);
  line-height: 1.7;
  color: var(--parchment);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fixed atmosphere: stone grain + soft arcane/bronze vignettes */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  z-index: -2;
  background: #050407
    radial-gradient(90rem 50rem at 72% -8%, rgba(58, 92, 150, 0.14), transparent 62%),
    radial-gradient(60rem 42rem at 6% 32%, rgba(122, 82, 28, 0.09), transparent 66%),
    radial-gradient(70rem 60rem at 50% 118%, rgba(30, 48, 84, 0.12), transparent 62%);
}
body::after {
  z-index: -1;
  background-image: url("/site/img/stone-tile.webp");
  background-size: 340px 340px;
  opacity: 0.065;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-light);
  text-decoration-color: rgba(255, 209, 0, 0.4);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--gold);
}

::selection {
  background: var(--gold);
  color: #100c02;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

kbd {
  font-family: var(--font-label);
}

/* ---------- Layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow {
  max-width: 900px;
}

.skip-link {
  position: absolute;
  top: -70px;
  left: 14px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--gold);
  color: #100c02;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0.35em 2.1em 0.2em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* The red WoW bevel button, built from the game's own 3-slice art */
.btn--red {
  --btn-h: 50px;
  color: #ffeeb9;
  text-shadow: 0 1px 0 #2a0000, 0 2px 6px rgba(0, 0, 0, 0.65);
  background-color: #430707;
  background-image: url("/assets/ui/128-redbutton-left-cap.png"),
    url("/assets/ui/128-redbutton-right-cap.png"),
    url("/assets/ui/_128-redbutton-center.png");
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position: left center, right center, left center;
  background-size: auto 100%, auto 100%, auto 100%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.65), 0 10px 26px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 190, 90, 0.06);
}
.btn--red:hover {
  color: #fff6d6;
  filter: brightness(1.12) saturate(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55),
    0 0 26px rgba(255, 150, 40, 0.16), inset 0 0 0 1px rgba(255, 220, 140, 0.16);
}
.btn--red:active {
  transform: translateY(1px);
  filter: brightness(0.92);
  background-image: url("/assets/ui/128-redbutton-left-cap-pressed.png"),
    url("/assets/ui/128-redbutton-right-cap-pressed.png"),
    url("/assets/ui/_128-redbutton-center-pressed.png");
}

.btn--ghost {
  --btn-h: 50px;
  color: var(--parchment);
  border-color: rgba(255, 209, 0, 0.32);
  background: linear-gradient(180deg, rgba(24, 23, 27, 0.9), rgba(9, 9, 12, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
}
.btn--ghost:hover {
  color: var(--gold);
  border-color: rgba(255, 209, 0, 0.62);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.4),
    0 0 26px rgba(255, 209, 0, 0.08);
}
.btn--ghost:active {
  transform: translateY(1px);
}

.btn--primary {
  --btn-h: 58px;
  font-size: 1.02rem;
  padding-inline: 2.4em;
}
.btn--nav {
  --btn-h: 38px;
  flex: 0 0 auto;
  padding: 0.3em 1.35em 0.18em;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 9, 0.88);
  border-bottom: 1px solid rgba(255, 209, 0, 0.13);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 209, 0, 0.45) 22%,
    rgba(255, 209, 0, 0.1) 50%,
    rgba(255, 209, 0, 0.45) 78%,
    transparent 100%
  );
  opacity: 0.6;
  pointer-events: none;
}
.site-header.is-stuck {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
}
.brand__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.brand__title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.07em;
  color: var(--gold);
  text-shadow: 0 1px 0 #2c1f06, 0 4px 14px rgba(0, 0, 0, 0.6);
}
.brand__sub {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--parchment-mute);
}
.brand:hover .brand__title {
  color: var(--gold-light);
}

.primary-nav {
  display: flex;
}
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  color: var(--parchment-dim);
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.16s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.primary-nav a:hover {
  color: var(--gold);
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 209, 0, 0.26);
  border-radius: var(--radius);
  background: rgba(12, 12, 16, 0.8);
  color: var(--parchment);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle:hover {
  border-color: rgba(255, 209, 0, 0.55);
  color: var(--gold);
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(620px, calc(100dvh - var(--nav-h)), 940px);
  padding: clamp(58px, 10vh, 120px) 0 clamp(52px, 8vh, 96px);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -4;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(
      90deg,
      rgba(4, 4, 7, 0.96) 0%,
      rgba(4, 4, 7, 0.9) 26%,
      rgba(4, 4, 7, 0.58) 50%,
      rgba(4, 4, 7, 0.16) 72%,
      rgba(4, 4, 7, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(4, 4, 7, 0.94) 0%, rgba(4, 4, 7, 0.2) 34%, transparent 58%),
    linear-gradient(180deg, rgba(4, 4, 7, 0.78) 0%, rgba(4, 4, 7, 0.1) 26%, transparent 46%),
    radial-gradient(70% 58% at 74% 40%, rgba(56, 130, 235, 0.14), transparent 70%);
}
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.hero__embers::before,
.hero__embers::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6vh;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #ffbe55;
  box-shadow: 8vw 0 0 #ffd100, 17vw -6vh 0 rgba(255, 170, 70, 0.8),
    26vw 0 0 #ffcf6a, 35vw -10vh 0 rgba(255, 190, 90, 0.7),
    44vw 0 0 #ffb347, 53vw -4vh 0 #ffd100, 62vw -12vh 0 rgba(255, 200, 110, 0.75),
    71vw 0 0 #ffb347, 80vw -7vh 0 #ffd100, 89vw -2vh 0 rgba(255, 170, 70, 0.8),
    96vw -9vh 0 #ffcf6a;
  opacity: 0.55;
  animation: ember-rise 17s linear infinite;
}
.hero__embers::after {
  left: 4vw;
  animation-duration: 24s;
  animation-delay: -9s;
  opacity: 0.32;
  transform: scale(0.7);
}
@keyframes ember-rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  8% {
    opacity: 0.55;
  }
  90% {
    opacity: 0.35;
  }
  100% {
    transform: translateY(-88vh);
    opacity: 0;
  }
}

.hero__frame {
  position: absolute;
  inset: clamp(10px, 1.4vw, 22px);
  z-index: -1;
  border: 1px solid rgba(255, 209, 0, 0.16);
  box-shadow: inset 0 0 110px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.hero__frame::before,
.hero__frame::after {
  content: "";
  position: absolute;
  width: clamp(38px, 4.5vw, 74px);
  height: clamp(38px, 4.5vw, 74px);
  border-color: rgba(255, 209, 0, 0.45);
  border-style: solid;
  pointer-events: none;
}
.hero__frame::before {
  top: -1px;
  left: -1px;
  border-width: 1.5px 0 0 1.5px;
}
.hero__frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1.5px 1.5px 0;
}

.hero__inner {
  position: relative;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(14px, 2vh, 22px);
  font-family: var(--font-label);
  font-size: clamp(0.7rem, 0.85vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d8b44a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.hero__eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 209, 0, 0.1), var(--gold-deep));
}
.hero__title {
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8.2vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0.012em;
  color: var(--gold);
  background: linear-gradient(180deg, #fff8d8 0%, #ffd100 34%, #edb21d 68%, #9a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(58, 42, 8, 0.9))
    drop-shadow(0 5px 0 rgba(29, 19, 4, 0.85))
    drop-shadow(0 18px 38px rgba(0, 0, 0, 0.85));
}
.hero__sub {
  max-width: 46ch;
  margin-top: clamp(16px, 2.4vh, 26px);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.62;
  color: #f0e7d3;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.7);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 3.6vh, 36px);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: clamp(18px, 2.6vh, 26px);
  font-family: var(--font-label);
  font-size: clamp(0.72rem, 0.8vw, 0.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cbbd9c;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}
.hero__trust span[aria-hidden] {
  color: var(--gold-deep);
}

/* ---------- Section scaffolding ---------- */
.section {
  position: relative;
  padding: clamp(58px, 8vw, 112px) 0;
}
.section > .shell {
  position: relative;
  z-index: 1;
}
.section--intro {
  padding-top: clamp(52px, 7vw, 96px);
}
.section--how {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 209, 0, 0.018) 18%,
    rgba(255, 209, 0, 0.018) 82%,
    transparent 100%
  );
}
.section--classes {
  background: linear-gradient(180deg, rgba(4, 5, 8, 0.4), rgba(9, 10, 14, 0.75) 26%, rgba(9, 10, 14, 0.75) 74%, rgba(4, 5, 8, 0.4));
  border-top: 1px solid rgba(255, 209, 0, 0.06);
  border-bottom: 1px solid rgba(255, 209, 0, 0.06);
}
.section--zones {
  background: linear-gradient(180deg, #050407 0%, #0a0709 16%, #0a0709 84%, #050407 100%);
  overflow: hidden;
}
.section--zones::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/site/img/zones/molten-core.webp") center 42% / cover no-repeat;
  opacity: 0.09;
  filter: saturate(0.9);
  pointer-events: none;
}
.section--zones::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 84% 18%, rgba(255, 110, 30, 0.09), transparent 70%),
    radial-gradient(50% 60% at 8% 82%, rgba(90, 169, 255, 0.05), transparent 70%);
  pointer-events: none;
}
.section--progression {
  background: linear-gradient(180deg, transparent, rgba(16, 14, 11, 0.4) 30%, rgba(16, 14, 11, 0.4) 70%, transparent);
}
.section--tips {
  background: linear-gradient(180deg, transparent, rgba(8, 9, 13, 0.6) 20%, rgba(8, 9, 13, 0.6) 80%, transparent);
}
.section--faq {
  padding-bottom: clamp(64px, 9vw, 130px);
}

.section--how::before,
.section--progression::before,
.section--tips::before,
.section--faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(560px, 68%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 209, 0, 0.24), transparent);
  pointer-events: none;
}
.section-head {
  max-width: 880px;
  margin-bottom: clamp(32px, 4.6vw, 58px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-label);
  font-size: clamp(0.68rem, 0.8vw, 0.76rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c8a14c;
}
.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 209, 0, 0.35);
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: 0.015em;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(44, 31, 6, 0.9), 0 8px 28px rgba(0, 0, 0, 0.65);
}
.divider {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin-top: 16px;
  opacity: 0.85;
}
.divider--left {
  margin-inline: 0;
}
.section-head--center .divider {
  margin-inline: auto;
}
.section-lead {
  max-width: 64ch;
  margin-top: 18px;
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--parchment-dim);
}
.section-head--center .section-lead {
  margin-inline: auto;
}

/* ---------- Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 4.2vw, 64px);
  align-items: start;
}
.intro-copy p {
  margin-bottom: 1.05em;
  color: var(--parchment-dim);
  line-height: 1.78;
}
.intro-copy p:last-child {
  margin-bottom: 0;
}
.intro-copy .intro-lead,
.progression-copy .intro-lead,
.trust-panel .intro-lead {
  font-size: clamp(1.08rem, 1.25vw, 1.22rem);
  line-height: 1.68;
  color: var(--parchment);
}
.intro-copy a {
  color: var(--gold-light);
}

.chronicle {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  background: linear-gradient(160deg, rgba(27, 24, 18, 0.9), rgba(10, 10, 13, 0.96)),
    url("/site/img/stone-tile.webp");
  background-size: auto, 230px;
  background-blend-mode: normal, overlay;
  border: 1px solid rgba(255, 209, 0, 0.22);
  box-shadow: var(--shadow-panel);
}
.chronicle::before,
.chronicle::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(255, 209, 0, 0.6);
  border-style: solid;
  pointer-events: none;
}
.chronicle::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}
.chronicle::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}
.chronicle__title {
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 209, 0, 0.16);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c8a14c;
}
.chronicle__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.chronicle__stats > div {
  padding: 14px 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.chronicle__stats > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.chronicle__stats dt {
  font-family: var(--font-label);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment-mute);
}
.chronicle__stats dd {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.8vw, 1.8rem);
  line-height: 1.1;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.chronicle__link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 209, 0, 0.32);
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.chronicle__link:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ---------- How to play ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  position: relative;
  padding-bottom: 16px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 209, 0, 0.34) 22%,
    rgba(255, 209, 0, 0.34) 78%,
    transparent
  );
  pointer-events: none;
}
.step {
  position: relative;
  padding: 0 4px;
  text-align: center;
}
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: url("/assets/ui/achv/piece-iconframe.png") center / contain no-repeat;
  font-family: var(--font-label);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 8px #000;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.step__title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.15vw, 1.16rem);
  color: #f2e9d5;
  letter-spacing: 0.02em;
}
.step p {
  margin-inline: auto;
  max-width: 30ch;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--parchment-dim);
}

.keybar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-top: clamp(38px, 5vw, 58px);
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 209, 0, 0.12);
  border-bottom: 1px solid rgba(255, 209, 0, 0.12);
  background: rgba(10, 10, 14, 0.45);
}
.keybar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aa9e85;
}
.keybar kbd {
  min-width: 28px;
  padding: 3px 8px 4px;
  border: 1px solid #5b4726;
  border-bottom-width: 2px;
  border-radius: 3px;
  background: linear-gradient(180deg, #242019, #0c0b09);
  color: var(--gold);
  font-size: 0.84rem;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Classes ---------- */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}
.class-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: clamp(15px, 1.7vw, 21px);
  overflow: hidden;
  background: linear-gradient(158deg, rgba(25, 26, 31, 0.93), rgba(9, 10, 13, 0.97)),
    url("/site/img/stone-tile.webp");
  background-size: auto, 230px 230px;
  background-blend-mode: normal, overlay;
  border: 1px solid #29241a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.class-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--class-color), transparent 82%);
  opacity: 0.6;
}
.class-card:hover,
.class-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 209, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 38px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 209, 0, 0.07);
}
.class-card__icon {
  position: relative;
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.6));
}
.class-card__img {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px #000;
}
.class-card__frame {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  opacity: 0.92;
  pointer-events: none;
}
.class-card__body {
  min-width: 0;
}
.class-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin-bottom: 6px;
}
.class-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 1.2vw, 1.2rem);
  color: var(--class-color);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.class-tag {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a89c82;
  white-space: nowrap;
}
.class-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #c6bca6;
}

/* ---------- Zones ---------- */
.boss-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}
.boss-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  overflow: hidden;
  background: #0a090c;
  border: 1px solid #2c2418;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.boss-card:hover {
  border-color: rgba(255, 209, 0, 0.38);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 209, 0, 0.08);
}
.boss-card__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.boss-card:hover .boss-card__art {
  transform: scale(1.045);
  opacity: 1;
}
.boss-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 4, 7, 0.02) 0%,
    rgba(5, 4, 7, 0.18) 32%,
    rgba(5, 4, 7, 0.82) 62%,
    rgba(5, 4, 7, 0.98) 100%
  );
  pointer-events: none;
}
.boss-card__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: clamp(18px, 2.2vw, 28px);
}
.boss-card__where {
  margin-bottom: 6px;
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c8a14c;
}
.boss-card__name {
  margin-bottom: 10px;
  font-family: var(--font-cinematic);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(44, 31, 6, 0.9), 0 8px 24px rgba(0, 0, 0, 0.9);
}
.boss-card__desc {
  font-size: 0.93rem;
  line-height: 1.62;
  color: #d4cab4;
}
.boss-card__meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 209, 0, 0.16);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #948970;
}

.zone-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(16px, 2.2vw, 24px);
  background: linear-gradient(180deg, rgba(21, 18, 14, 0.72), rgba(9, 9, 12, 0.82));
  border: 1px solid rgba(255, 209, 0, 0.13);
}
.zone-strip__title {
  flex: 0 0 auto;
  font-family: var(--font-label);
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a14c;
}
.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.zone-chips li {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #c3b9a3;
}

/* ---------- Progression ---------- */
.progression-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(28px, 4.2vw, 64px);
  align-items: start;
}
.progression-copy p {
  margin-bottom: 1.05em;
  color: var(--parchment-dim);
  line-height: 1.78;
}
.progression-copy p:last-child {
  margin-bottom: 0;
}
.talent-panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  background: linear-gradient(170deg, rgba(22, 21, 26, 0.96), rgba(8, 9, 12, 0.98));
  border: 1px solid rgba(255, 209, 0, 0.2);
  box-shadow: var(--shadow-panel);
}
.talent-panel::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 209, 0, 0.12);
  pointer-events: none;
}
.talent-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 209, 0, 0.15);
}
.talent-panel__class {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.talent-panel__meta {
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9d917a;
}
.talent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 4px 0 22px;
  position: relative;
}
.talent__tree {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
}
.talent__tree::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 209, 0, 0.34), rgba(255, 209, 0, 0.04));
}
.talent__name {
  font-family: var(--font-label);
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c8a14c;
}
.node {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  transform: rotate(45deg);
  border: 1px solid #6d5324;
  background: radial-gradient(circle at 40% 35%, #1c1710, #08080a 72%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.6);
}
.node--on {
  border-color: var(--gold);
  background: radial-gradient(circle at 42% 34%, #fff3c2 0%, #ffd100 38%, #b47c15 72%, #6d4910 100%);
  box-shadow: 0 0 12px rgba(255, 209, 0, 0.45), inset 0 0 4px rgba(255, 255, 255, 0.5);
}
.gear-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.gear {
  padding: 4px 9px;
  border: 1px solid;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.gear--legendary {
  color: #ff9d3c;
  border-color: rgba(255, 140, 40, 0.44);
  background: rgba(255, 120, 20, 0.06);
}
.gear--epic {
  color: #c79bf0;
  border-color: rgba(167, 116, 220, 0.4);
  background: rgba(140, 90, 200, 0.07);
}
.gear--rare {
  color: #6fb6ff;
  border-color: rgba(90, 160, 255, 0.4);
  background: rgba(60, 120, 220, 0.07);
}

/* ---------- Free fan project ---------- */
.trust-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 3.4vw, 50px);
  padding: clamp(20px, 3.2vw, 44px);
  border: 24px solid transparent;
  border-image: url("/site/img/frames/frame-wood-bright.webp") 64 fill / 24px stretch;
  background: linear-gradient(140deg, rgba(27, 23, 16, 0.92), rgba(12, 11, 13, 0.97)),
    url("/site/img/stone-tile.webp");
  background-size: auto, 300px;
  background-blend-mode: normal, overlay;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 0 100px rgba(0, 0, 0, 0.5),
    0 26px 60px rgba(0, 0, 0, 0.42);
}
@media (max-width: 620px) {
  .trust-panel {
    border-width: 16px;
    border-image-width: 16px;
  }
}
.trust-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 209, 0, 0.14);
  pointer-events: none;
}
.trust-panel::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 34px;
  height: 34px;
  border-top: 2px solid rgba(255, 209, 0, 0.55);
  border-left: 2px solid rgba(255, 209, 0, 0.55);
  pointer-events: none;
}
.trust-panel__copy {
  position: relative;
  z-index: 1;
}
.trust-panel__copy > p:not(.eyebrow) {
  margin-top: 0.9em;
  color: var(--parchment-dim);
  line-height: 1.72;
}
.trust-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.trust-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  align-content: center;
}
.trust-list li {
  padding-left: 14px;
  border-left: 2px solid rgba(255, 209, 0, 0.4);
}
.trust-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.trust-list span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #b3a88f;
}

/* ---------- Beginner tips ---------- */
.tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  counter-reset: tip;
}
.tip {
  position: relative;
  padding: 19px 22px 19px 68px;
  background: linear-gradient(180deg, rgba(20, 21, 25, 0.78), rgba(9, 10, 13, 0.82));
  border: 1px solid #26211a;
}
.tip::before {
  counter-increment: tip;
  content: counter(tip, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 16px;
  font-family: var(--font-label);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 8px #000;
}
.tip::after {
  content: "";
  position: absolute;
  left: 51px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 209, 0, 0.34), transparent);
}
.tip h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #f0e7d3;
  letter-spacing: 0.02em;
}
.tip p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #bdb39d;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  border: 1px solid #2a2418;
  background: linear-gradient(180deg, rgba(18, 19, 23, 0.85), rgba(9, 10, 13, 0.9));
  transition: border-color 0.18s ease, background 0.18s ease;
}
.faq__item[open] {
  border-color: rgba(255, 209, 0, 0.34);
  background: linear-gradient(180deg, rgba(25, 23, 19, 0.92), rgba(10, 10, 13, 0.94));
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 17px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: #eae1cc;
  transition: color 0.16s ease;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  transform: rotate(45deg);
  opacity: 0.85;
}
.faq__item summary > span {
  flex: 1 1 auto;
}
.faq__item summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-label);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item summary:hover {
  color: var(--gold);
}
.faq__item summary:focus-visible {
  outline-offset: -3px;
}
.faq__answer {
  padding: 0 22px 20px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: #c9bfa9;
}
.faq__answer p {
  margin: 0;
}
.faq__answer a {
  color: var(--gold-light);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(30px, 5vw, 60px);
  border-top: 1px solid rgba(255, 209, 0, 0.16);
  background: linear-gradient(180deg, rgba(10, 9, 12, 0.95), #060507);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 0, 0.5), transparent);
  opacity: 0.7;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(36px, 5vw, 62px) 0 clamp(26px, 4vw, 44px);
}
.brand--footer {
  margin-bottom: 18px;
}
.brand--footer .brand__title {
  font-size: 1.18rem;
}
.site-footer__brand p {
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #a89d87;
}
.site-footer__play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 209, 0, 0.35);
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.site-footer__play:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}
.site-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: start;
}
.site-footer__head {
  margin-bottom: 12px;
  font-family: var(--font-label);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8a14c;
}
.site-footer__nav li {
  margin-bottom: 9px;
}
.site-footer__nav a {
  color: #cfc5ae;
  font-size: 0.92rem;
  text-decoration: none;
}
.site-footer__nav a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.site-footer__legal {
  padding: 22px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.site-footer__legal p {
  max-width: 112ch;
  font-family: var(--font-label);
  font-size: 0.76rem;
  line-height: 1.68;
  letter-spacing: 0.015em;
  color: #8b806c;
}
.site-footer__legal strong {
  color: #b3a68b;
  font-weight: 400;
}
.site-footer__legal a {
  color: #b7a684;
}
.site-footer__fine {
  margin-top: 10px;
  color: #776d5b !important;
}

/* ---------- Scroll reveal (enabled by JS only) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .class-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .class-card {
    gap: 12px;
    padding: 15px;
  }
  .class-card__icon {
    flex-basis: 66px;
    width: 66px;
    height: 66px;
  }
  .class-card__img {
    width: 58px;
    height: 58px;
  }
  .boss-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .boss-card--text {
    grid-column: 1 / -1;
    min-height: 260px;
  }
}

@media (max-width: 1020px) {
  .intro-grid,
  .progression-grid,
  .trust-panel {
    grid-template-columns: 1fr;
  }
  .progression-grid .talent-panel {
    max-width: 560px;
  }
  .trust-list {
    max-width: 560px;
  }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer__nav {
    max-width: 520px;
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px var(--gutter) 20px;
    background: rgba(7, 7, 11, 0.98);
    border-bottom: 1px solid rgba(255, 209, 0, 0.22);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
  }
  .primary-nav a {
    display: block;
    padding: 14px 4px;
    font-size: 0.95rem;
  }
  .primary-nav a::after {
    display: none;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }
  .steps::before {
    display: none;
  }
    .class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: clamp(580px, 88dvh, 800px);
    padding-top: 42px;
    padding-bottom: 40px;
  }
  .hero__media img {
    object-position: 64% 30%;
  }
  .hero__scrim {
    background: linear-gradient(
        180deg,
        rgba(4, 4, 7, 0.62) 0%,
        rgba(4, 4, 7, 0.24) 26%,
        rgba(4, 4, 7, 0.72) 58%,
        rgba(4, 4, 7, 0.97) 100%
      ),
      linear-gradient(90deg, rgba(4, 4, 7, 0.72), rgba(4, 4, 7, 0.12) 70%),
      radial-gradient(80% 50% at 70% 28%, rgba(56, 130, 235, 0.12), transparent 70%);
  }
  .hero__title {
    font-size: clamp(2.9rem, 12.5vw, 4.2rem);
  }
  .hero__sub {
    max-width: 38ch;
  }
  .boss-grid {
    grid-template-columns: 1fr;
  }
  .boss-card {
    min-height: 340px;
  }
  .tips {
    grid-template-columns: 1fr;
  }
  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --nav-h: 62px;
  }
  .brand__mark {
    width: 34px;
    height: 34px;
  }
  .brand__title {
    font-size: 0.98rem;
  }
  .brand__sub {
    font-size: 0.52rem;
  }
  .btn--nav {
    --btn-h: 36px;
    padding-inline: 1em;
    font-size: 0.68rem;
  }
  .class-grid {
    grid-template-columns: 1fr;
  }
  .class-card {
    padding: 16px;
  }
  .class-card h3 {
    font-size: 1.14rem;
  }
  .class-card p {
    font-size: 0.92rem;
  }
  .trust-panel {
    padding: 22px 18px;
  }
  .trust-panel__actions .btn {
    width: 100%;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .keybar {
    gap: 10px 16px;
  }
  .section-head {
    margin-bottom: 28px;
  }
}

@media (max-width: 460px) {
  .nav-toggle__text {
    display: none;
  }
  .nav-toggle {
    padding: 9px;
  }
  .hero__trust {
    gap: 4px 10px;
    letter-spacing: 0.12em;
    font-size: 0.66rem;
  }
  .hero__trust span[aria-hidden="true"] {
    display: none;
  }
  .chronicle__stats {
    grid-template-columns: 1fr;
  }
  .chronicle__stats > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }
  .chronicle__stats > div:last-child {
    border-bottom: 0;
  }
  .trust-list {
    grid-template-columns: 1fr;
  }
  .zone-strip {
    gap: 12px;
  }
  .site-footer__legal p {
    font-size: 0.72rem;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__embers::before,
  .hero__embers::after {
    display: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .class-card:hover,
  .boss-card:hover .boss-card__art {
    transform: none;
  }
}

/* Respect reduced-transparency where supported */
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .primary-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #07070b;
  }
}

/* ---------- Cinematic interlude ---------- */
.interlude {
  position: relative;
  padding: clamp(52px, 7vw, 96px) 0;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(
      180deg,
      rgba(5, 4, 7, 0.9) 0%,
      rgba(5, 4, 7, 0.62) 30%,
      rgba(5, 4, 7, 0.62) 70%,
      rgba(5, 4, 7, 0.92) 100%
    ),
    radial-gradient(60% 120% at 50% 50%, rgba(255, 150, 40, 0.1), transparent 68%);
}
.interlude::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/site/img/hero-keyart.webp") center 58% / cover no-repeat;
  opacity: 0.16;
  filter: saturate(0.85);
  pointer-events: none;
}
.interlude::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 60% at 50% 50%, transparent 30%, rgba(5, 4, 7, 0.72) 100%);
  pointer-events: none;
}
.interlude__inner {
  position: relative;
  z-index: 1;
}
.interlude__inner::before,
.interlude__inner::after {
  content: "";
  display: block;
  width: min(430px, 62%);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 0, 0.55), transparent);
}
.interlude__inner::before {
  margin-bottom: clamp(20px, 3vw, 30px);
}
.interlude__inner::after {
  margin-top: clamp(20px, 3vw, 30px);
}
.interlude__line {
  margin: 0;
  font-family: var(--font-cinematic);
  font-size: clamp(1.75rem, 4vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(44, 31, 6, 0.85), 0 10px 34px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(255, 160, 40, 0.14);
}
.interlude__sub {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #cbbd9c;
}
@media (max-width: 620px) {
  .interlude__line {
    font-size: clamp(1.5rem, 7.6vw, 2.1rem);
  }
  .interlude__sub {
    letter-spacing: 0.2em;
  }
}

/* ---------- v2 additions: SEO-final copy structure ---------- */
.hero__micro {
  margin-top: 16px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b3a68b;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}
.hero__trust {
  margin-top: 6px;
  color: #e2d3a9;
  letter-spacing: 0.1em;
}
.btn--small {
  --btn-h: 42px;
  font-size: 0.82rem;
  padding-inline: 1.6em;
}
.intro-cta {
  margin-top: 22px;
}
.controls {
  max-width: 70ch;
  margin: clamp(30px, 4vw, 46px) auto 0;
  padding: 16px 22px;
  border-top: 1px solid rgba(255, 209, 0, 0.14);
  border-bottom: 1px solid rgba(255, 209, 0, 0.14);
  background: rgba(10, 10, 14, 0.45);
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.82rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #b3a78e;
}
.controls kbd {
  padding: 2px 7px 3px;
  border: 1px solid #5b4726;
  border-bottom-width: 2px;
  border-radius: 3px;
  background: linear-gradient(180deg, #242019, #0c0b09);
  color: var(--gold);
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.talent-panel__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93886f;
}
.boss-card__name {
  font-family: var(--font-display);
  letter-spacing: 0;
  white-space: nowrap;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.faq-item {
  position: relative;
  padding: 20px 22px 20px 24px;
  border: 1px solid #2a2418;
  background: linear-gradient(180deg, rgba(19, 20, 24, 0.86), rgba(9, 10, 13, 0.92));
  border-left: 2px solid rgba(255, 209, 0, 0.32);
}
.faq-item h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.3;
  color: #eae1cc;
}
.faq-item p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #bfb5a0;
}
.faq-item a {
  color: var(--gold-light);
}
.cta-band {
  position: relative;
  padding: clamp(38px, 5vw, 64px) 0 clamp(46px, 6vw, 76px);
  text-align: center;
  background: radial-gradient(55% 120% at 50% 50%, rgba(255, 150, 40, 0.08), transparent 68%);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 64%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 209, 0, 0.34), transparent);
}
.cta-band__inner {
  display: flex;
  justify-content: center;
}
.site-footer__attribution {
  margin-top: 10px;
}
.site-footer__legal .site-footer__attribution,
.site-footer__legal .site-footer__fine {
  font-family: var(--font-label);
  font-size: 0.76rem;
  line-height: 1.68;
  color: #8b806c;
}
.site-footer__fine {
  margin-top: 8px;
  color: #776d5b;
}
.site-footer__legal a {
  color: #b7a684;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- v2: tighten vertical rhythm ---------- */
.section {
  padding: clamp(46px, 5.6vw, 82px) 0;
}
.section--intro {
  padding-top: clamp(42px, 5vw, 72px);
}
.section--faq {
  padding-bottom: clamp(48px, 6vw, 84px);
}
.interlude {
  padding: clamp(38px, 5vw, 68px) 0;
}
.site-footer {
  margin-top: clamp(10px, 2vw, 26px);
}
.site-footer__top {
  padding: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 30px);
}
.site-footer__legal {
  padding: 18px 0 24px;
}
.steps {
  margin-bottom: 0;
}
.hero__trust {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .hero {
    min-height: clamp(560px, 84dvh, 760px);
    padding-top: 34px;
  }
}

/* ---------- v2: vertical rhythm pass 2 (tighten) ---------- */
.section {
  padding: clamp(34px, 4.2vw, 62px) 0;
}
.section--intro {
  padding-top: clamp(30px, 3.8vw, 52px);
}
.section-head {
  margin-bottom: clamp(22px, 3vw, 38px);
}
.section-lead {
  margin-top: 12px;
}
.eyebrow {
  margin-bottom: 10px;
}
.section-title {
  line-height: 1.02;
}
.divider {
  margin-top: 10px;
}
.intro-grid {
  gap: clamp(22px, 3.2vw, 44px);
}
.chronicle {
  padding: clamp(16px, 2vw, 24px);
}
.chronicle__stats > div {
  padding: 12px 8px 10px;
}
.steps {
  gap: clamp(12px, 1.6vw, 22px);
  padding-bottom: 0;
}
.controls {
  margin-top: clamp(22px, 3vw, 34px);
  padding: 13px 18px;
}
.class-grid {
  gap: clamp(10px, 1.2vw, 15px);
}
.class-card {
  padding: clamp(13px, 1.4vw, 18px);
}
.boss-grid {
  gap: clamp(10px, 1.2vw, 16px);
}
.boss-card {
  min-height: 330px;
}
.boss-card__body {
  padding: clamp(15px, 1.8vw, 22px);
}
.boss-card__name {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
}
.interlude {
  padding: clamp(30px, 3.6vw, 50px) 0;
}
.interlude__inner::before {
  margin-bottom: 16px;
}
.interlude__inner::after {
  margin-top: 16px;
}
.progression-grid {
  gap: clamp(22px, 3.2vw, 46px);
}
.trust-panel {
  border-width: 18px;
  border-image-width: 18px;
  padding: clamp(18px, 2.6vw, 34px);
  gap: clamp(18px, 2.6vw, 36px);
}
.trust-panel__actions {
  margin-top: 20px;
}
.tips {
  gap: 10px 14px;
}
.tip {
  padding: 16px 18px 16px 62px;
}
.tip::before {
  left: 17px;
  top: 13px;
}
.tip::after {
  left: 46px;
  top: 18px;
  bottom: 18px;
}
.faq-grid {
  gap: 10px 14px;
}
.faq-item {
  padding: 16px 18px 16px 20px;
}
.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}
.faq-item p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.site-footer {
  margin-top: 0;
}
.site-footer__top {
  padding: clamp(24px, 3vw, 36px) 0 clamp(14px, 2vw, 22px);
}
.site-footer__legal {
  padding: 14px 0 20px;
}
@media (max-width: 760px) {
  .section {
    padding: clamp(30px, 7vw, 46px) 0;
  }
  .hero {
    min-height: clamp(540px, 82dvh, 740px);
    padding-top: 30px;
    padding-bottom: 34px;
  }
  .controls {
    text-align: left;
  }
}

/* ---------- v3 fixes: footer flow, trust panel balance, mobile steps ---------- */
.brand--footer {
  display: flex;
  width: fit-content;
}
.site-footer__play {
  display: inline-flex;
  margin-top: 14px;
}
.trust-panel {
  max-width: 1060px;
  margin-inline: auto;
}
.zero-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 1px solid rgba(255, 209, 0, 0.16);
  padding-left: clamp(16px, 2.6vw, 34px);
}
.zero-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}
.zero-list li:last-child {
  border-bottom: 0;
}
.zero-list strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(44, 31, 6, 0.9), 0 8px 22px rgba(0, 0, 0, 0.7);
}
.zero-list span {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8ab8f;
}
@media (max-width: 900px) {
  .zero-list {
    border-left: 0;
    border-top: 1px solid rgba(255, 209, 0, 0.16);
    padding-left: 0;
    padding-top: 8px;
  }
  .zero-list li {
    display: inline-flex;
    padding-right: 22px;
    border-bottom: 0;
  }
  .zero-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 6px;
    align-items: baseline;
  }
  .zero-list strong {
    font-size: 1.7rem;
  }
}
@media (max-width: 630px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 6px 14px;
    align-items: start;
    text-align: left;
  }
  .step__num {
    width: 44px;
    height: 44px;
    margin: 3px 0 0;
    font-size: 1.2rem;
    grid-row: span 2;
  }
  .step p {
    max-width: none;
    margin: 0;
  }
  .hero__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }
  .chronicle__stats {
    grid-template-columns: 1fr 1fr;
  }
  .chronicle__stats > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }
  .chronicle__stats > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }
  .chronicle__stats > div:last-child,
  .chronicle__stats > div:nth-last-child(2) {
    border-bottom: 0;
  }
  .trust-panel {
    border-width: 14px;
    border-image-width: 14px;
  }
}


/* ---------- v3 image ratio fix (QA: class card frames) ---------- */
.class-card__icon {
  aspect-ratio: 1 / 1;
}
.class-card__img,
.class-card__frame {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.class-card__frame {
  object-fit: contain;
}
