:root {
  --bg: #0a0807;
  --bg-deep: #050404;
  --panel: #15110e;
  --panel-2: #1c1611;
  --line: rgba(224, 180, 67, 0.28);
  --line-bright: rgba(244, 204, 95, 0.72);
  --gold: #efc652;
  --gold-light: #ffe59a;
  --red: #a92e2e;
  --ink: #f4ead7;
  --muted: #a79a87;
  --dim: #6e6457;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(125, 63, 25, 0.09), transparent 31rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  box-shadow: inset 0 0 130px rgba(0, 0, 0, 0.74);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

#stage {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

.page-texture {
  position: fixed;
  inset: 0;
  z-index: 24;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(104deg, transparent 0 4px, rgba(255,255,255,0.012) 5px, transparent 6px),
    repeating-radial-gradient(circle at 10% 20%, rgba(255,255,255,0.022) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 84px;
  padding: 14px max(4vw, 28px);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 4, 4, 0.92), rgba(5, 4, 4, 0));
  transition: min-height 240ms ease, background 240ms ease, border-color 240ms ease;
}

.nav.is-scrolled {
  min-height: 68px;
  border-bottom-color: rgba(239, 198, 82, 0.18);
  background: rgba(8, 6, 5, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-bright);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  color: var(--gold);
  background: rgba(17, 12, 9, 0.72);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  text-indent: 1px;
}

.brand-copy {
  display: grid;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav-links a,
.footer nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 1px;
  background: var(--gold);
  transition: right 220ms var(--ease), left 220ms var(--ease);
}

.nav-links a:hover,
.footer nav a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  right: 0;
  left: 0;
}

.nav-play {
  justify-self: end;
  padding: 11px 18px 9px;
  border: 1px solid var(--line-bright);
  color: var(--gold-light);
  background: rgba(22, 16, 11, 0.78);
  box-shadow: inset 0 0 20px rgba(239, 198, 82, 0.04);
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-play:hover {
  color: #171008;
  background: var(--gold);
  transform: translateY(-2px);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: -4%;
}

.hero-media {
  z-index: -3;
  background: url("/img/hero-cinder-vault-combat.png") center center / cover no-repeat;
  transform: scale(1.06);
  filter: saturate(0.88) contrast(1.08);
  will-change: transform;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 5, 4, 0.98) 0%, rgba(6, 5, 4, 0.9) 28%, rgba(6, 5, 4, 0.34) 59%, rgba(6, 5, 4, 0.32) 100%),
    linear-gradient(180deg, rgba(5,4,3,0.5) 0%, transparent 20%, transparent 66%, rgba(7,5,4,0.94) 100%),
    radial-gradient(circle at 68% 45%, transparent 0 20%, rgba(0,0,0,0.42) 78%);
}

.hero::after {
  content: "APARC";
  position: absolute;
  right: -0.06em;
  bottom: 0.03em;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 198, 82, 0.13);
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 20rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.74;
  white-space: nowrap;
}

.hero-content {
  width: min(720px, 58vw);
  margin-left: max(5.5vw, 32px);
  padding: 150px 0 170px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow span + span {
  margin-left: 15px;
  padding-left: 17px;
  border-left: 1px solid var(--line-bright);
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  text-wrap: balance;
}

.hero h1 {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(3.3rem, 6.4vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.78);
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

.hero-lede {
  max-width: 57ch;
  margin: 28px 0 0;
  color: #d6cbb9;
  font-size: clamp(1.03rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  text-shadow: 0 3px 14px #000;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 22px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease), color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 22%;
  transform: skewX(-24deg);
  background: rgba(255, 255, 255, 0.19);
  transition: left 440ms var(--ease);
}

.button:hover::before {
  left: 118%;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  min-width: 270px;
  color: #1b1208;
  background: linear-gradient(180deg, #f2cd61, #d8a724);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42), 0 0 28px rgba(239, 198, 82, 0.15);
}

.button--primary:hover {
  background: linear-gradient(180deg, var(--gold-light), #e1b438);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), 0 0 36px rgba(239, 198, 82, 0.24);
}

.button--secondary {
  color: var(--ink);
  background: rgba(13, 10, 8, 0.68);
  backdrop-filter: blur(8px);
}

.button--secondary:hover {
  color: var(--gold-light);
  background: rgba(27, 20, 14, 0.88);
}

.button-rune {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(29, 18, 7, 0.35);
  transform: rotate(45deg);
  font-size: 0.64rem;
}

.button-rune::first-letter {
  transform: rotate(-45deg);
}

.button-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.button-copy strong {
  font: inherit;
}

.button-copy small {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  opacity: 0.68;
  text-transform: none;
}

.platforms {
  display: flex;
  gap: 9px;
  margin-top: 17px;
}

.platform {
  appearance: none;
  padding: 7px 11px;
  border: 1px solid rgba(239, 198, 82, 0.22);
  color: var(--dim);
  background: rgba(9, 7, 6, 0.56);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.platform:hover,
.platform.is-active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(42, 29, 15, 0.72);
}

.download-note {
  max-width: 62ch;
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #8f8373;
  font-size: 0.77rem;
  line-height: 1.45;
}

.hero-proof {
  position: absolute;
  right: max(4.5vw, 28px);
  bottom: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  width: min(660px, 50vw);
  border: 1px solid rgba(239, 198, 82, 0.21);
  background: rgba(8, 6, 5, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  display: grid;
  gap: 1px;
  padding: 16px 20px 14px;
}

.hero-proof div + div {
  border-left: 1px solid rgba(239, 198, 82, 0.16);
}

.hero-proof strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 42px;
  left: max(5.5vw, 32px);
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--dim);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(239, 198, 82, 0.27);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--gold);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { transform: translateX(-18px); }
  100% { transform: translateX(70px); }
}

.section {
  position: relative;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(96px, 11vw, 170px) max(5vw, 28px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 17px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section h2,
.final-cta h2 {
  color: var(--ink);
  font-size: clamp(2.35rem, 4.6vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.72fr);
  column-gap: clamp(40px, 9vw, 150px);
  align-items: end;
  margin-bottom: 56px;
}

.section-intro .kicker,
.section-intro h2 {
  grid-column: 1;
}

.section-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 1.03rem;
}

.game-shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-bright);
  background: #090706;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.58), 0 0 0 8px rgba(239, 198, 82, 0.025);
}

.game-shot::before,
.game-shot::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 54px;
  height: 54px;
  pointer-events: none;
}

.game-shot::before {
  top: -8px;
  left: -8px;
  border-top: 2px solid var(--gold-light);
  border-left: 2px solid var(--gold-light);
}

.game-shot::after {
  right: -8px;
  bottom: -8px;
  border-right: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
}

.game-video {
  overflow: hidden;
}

.game-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050403;
  object-fit: cover;
}

.game-video figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  background: #0d0a08;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-video figcaption b {
  margin-right: 9px;
  color: var(--gold);
}

.shot-open {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.shot-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 2, 2, 0.82));
  pointer-events: none;
}

.shot-open img {
  width: 100%;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.shot-open:hover img {
  transform: scale(1.018);
  filter: brightness(1.08);
}

.capture-label,
.view-label {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capture-label {
  left: 20px;
}

.capture-label b {
  margin-right: 9px;
  color: var(--gold);
}

.view-label {
  right: 20px;
  color: var(--ink);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-rail article {
  position: relative;
  padding: 36px clamp(22px, 3vw, 48px) 38px;
}

.feature-rail article + article {
  border-left: 1px solid var(--line);
}

.feature-rail article > span,
.mode div > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-rail h3,
.mode h3,
.class-copy h3,
.boss-copy h3 {
  font-family: var(--serif);
}

.feature-rail h3 {
  margin: 13px 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.feature-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.run-loop {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 136px;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 50px);
  padding: 32px max(5vw, 28px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(151, 41, 41, 0.18), transparent 25%, transparent 75%, rgba(151, 41, 41, 0.18)),
    #100c0a;
}

.run-loop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(239,198,82,0.018) 14px 15px);
}

.run-loop-label {
  position: absolute;
  top: 7px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--dim);
  font-family: var(--serif);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.run-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

.run-step b {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.run-step span {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(0.69rem, 0.9vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.run-loop > i {
  position: relative;
  width: clamp(18px, 3vw, 52px);
  height: 1px;
  background: var(--line);
}

.run-loop > i::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

.modes {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  overflow: hidden;
}

.modes-layout {
  width: min(1040px, calc(100% - 56px));
  margin-inline: auto;
}

.modes-copy {
  padding: 0;
}

.mode-scene {
  width: min(1360px, calc(100% - 56px));
  margin: clamp(52px, 6vw, 88px) auto 0;
}

.mode-scene .shot-open img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mode-list {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.mode {
  position: relative;
  padding: 24px 12px 24px 30px;
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease;
}

.mode::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: transparent;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.mode:hover,
.mode.is-active {
  background: linear-gradient(90deg, rgba(239,198,82,0.08), transparent);
}

.mode.is-active::before,
.mode:hover::before {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(239, 198, 82, 0.6);
}

.mode div {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.mode h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.mode p {
  margin: 7px 0 0 33px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.5;
}

.game-shot--ui {
  border-right: 0;
  transform: perspective(1600px) rotateY(-2deg);
  transform-origin: right center;
}

.game-shot--ui .shot-open img {
  min-height: 680px;
  object-fit: cover;
  object-position: center;
}

.classes {
  padding-top: 90px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-bottom: 80px;
}

.section-heading > p,
.boss-heading > p:last-child {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1rem;
}

.scene-banner {
  width: min(1360px, 100%);
  margin: 0 auto clamp(42px, 5vw, 72px);
}

.scene-banner .shot-open img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.scene-banner--boss {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.68), 0 0 65px rgba(125, 31, 27, 0.12);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.class-card {
  --accent: #b94c29;
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 0.82fr) 1.18fr;
  min-height: 350px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(239, 198, 82, 0.26);
  background:
    radial-gradient(circle at 25% 75%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 45%),
    linear-gradient(145deg, #1c1611, #0d0a08);
  box-shadow: inset 0 0 45px rgba(255,255,255,0.015), 0 25px 50px rgba(0,0,0,0.25);
  transition: transform 360ms var(--ease), border-color 240ms ease, box-shadow 360ms var(--ease);
}

.class-card::before,
.boss-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(239, 198, 82, 0.07);
  pointer-events: none;
}

.class-card:hover {
  z-index: 2;
  border-color: rgba(239, 198, 82, 0.72);
  transform: translateY(-7px);
  box-shadow: 0 32px 70px rgba(0,0,0,0.46), 0 0 40px color-mix(in srgb, var(--accent) 14%, transparent);
}

.class-card--knight { --accent: #7186ae; }
.class-card--rogue { --accent: #388c5b; }
.class-card--mage { --accent: #6e55c7; }

.class-number {
  position: absolute;
  top: 17px;
  right: 23px;
  color: rgba(239, 198, 82, 0.21);
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
}

.class-card > img {
  position: absolute;
  bottom: -30px;
  left: -6px;
  width: 47%;
  max-height: 390px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 25px 24px rgba(0,0,0,0.74));
  transition: transform 440ms var(--ease), filter 440ms var(--ease);
}

.class-card:hover > img {
  transform: translateY(-9px) scale(1.04);
  filter: drop-shadow(0 30px 28px rgba(0,0,0,0.8)) brightness(1.06);
}

.class-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  padding: 52px 34px 34px 12px;
}

.class-copy p {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.class-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 600;
}

.class-copy > span {
  display: block;
  min-height: 3.2em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.class-copy b,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.class-copy b i,
.text-link i {
  font-style: normal;
  transition: transform 200ms ease;
}

.class-card:hover .class-copy b i,
.text-link:hover i {
  transform: translateX(5px);
}

.bosses {
  width: 100%;
  max-width: none;
  padding-right: max(5vw, 28px);
  padding-left: max(5vw, 28px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 15%, rgba(137, 35, 35, 0.2), transparent 36rem),
    linear-gradient(180deg, #0c0908, #080606);
}

.boss-heading {
  max-width: 850px;
  margin: 0 auto 85px;
  text-align: center;
}

.boss-heading .kicker {
  justify-content: center;
}

.boss-heading .kicker::before {
  display: none;
}

.boss-heading > p:last-child {
  max-width: 63ch;
  margin: 25px auto 0;
}

.boss-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1360px, 100%);
  margin-inline: auto;
}

.boss-card {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(239, 198, 82, 0.25);
  background:
    radial-gradient(circle at 50% 43%, rgba(149, 49, 32, 0.22), transparent 42%),
    linear-gradient(180deg, #17110d, #0b0807);
  transition: border-color 250ms ease, transform 380ms var(--ease), box-shadow 380ms var(--ease);
}

.boss-card:hover {
  border-color: rgba(239, 198, 82, 0.7);
  transform: translateY(-9px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 50px rgba(128,31,24,0.14);
}

.boss-floor {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 3;
  display: grid;
  color: var(--gold);
}

.boss-floor span {
  color: var(--dim);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.boss-floor b {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.boss-art {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.boss-art::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(transparent, #0d0907);
}

.boss-art img {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 82%;
  height: 105%;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 25px rgba(0,0,0,0.65));
  transition: transform 460ms var(--ease), filter 460ms var(--ease);
}

.boss-card:hover .boss-art img {
  transform: translateX(-50%) scale(1.055) translateY(-7px);
  filter: drop-shadow(0 35px 28px rgba(0,0,0,0.72)) brightness(1.08);
}

.boss-copy {
  position: relative;
  z-index: 2;
  padding: 8px 31px 34px;
}

.boss-copy h3 {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 600;
}

.boss-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.progression {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: clamp(60px, 10vw, 155px);
  align-items: center;
}

.progression-gallery {
  display: grid;
  gap: 24px;
}

.progression-shot {
  width: 100%;
  transform: rotate(-1deg);
}

.progression-shot--offset {
  width: 90%;
  justify-self: end;
  margin-top: -6px;
  transform: rotate(1deg);
}

.progression-shot img {
  width: 100%;
}

.progression-copy {
  max-width: 640px;
}

.progression-copy > p:not(.kicker) {
  max-width: 58ch;
  margin: 25px 0 0;
  color: var(--muted);
}

.progression-copy ul {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.progression-copy li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.progression-copy li span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5,4,4,0.97) 0%, rgba(5,4,4,0.86) 34%, rgba(5,4,4,0.25) 68%, rgba(5,4,4,0.48) 100%),
    url("/img/party-at-red-door.png") center center / cover no-repeat;
  text-align: left;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,4,4,0.42), transparent 24%, transparent 68%, rgba(5,4,4,0.9));
}

.final-copy {
  position: relative;
  z-index: 3;
  width: min(720px, calc(100% - 56px));
  margin-left: max(5.5vw, 32px);
  padding: 100px 28px;
}

.final-copy .kicker {
  justify-content: flex-start;
}

.final-copy > p:not(.kicker) {
  margin: 23px 0 0;
  color: #c2b6a4;
}

.final-copy .hero-actions {
  justify-content: flex-start;
}

.footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 32px max(5vw, 28px) 42px;
  background: #050404;
}

.footer p {
  margin: 0;
  color: var(--dim);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
}

.footer nav {
  display: flex;
  justify-self: end;
  gap: 25px;
}

.lightbox {
  width: min(94vw, 1600px);
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--line-bright);
  color: var(--ink);
  background: #050404;
  box-shadow: 0 40px 120px #000;
}

.lightbox::backdrop {
  background: rgba(2, 2, 2, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  padding: 5px 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    width: min(720px, 76vw);
  }

  .hero-proof {
    right: max(4vw, 24px);
    width: min(590px, 62vw);
  }

  .modes-layout {
    grid-template-columns: minmax(350px, 0.8fr) 1.2fr;
  }

  .game-shot--ui .shot-open img {
    min-height: 600px;
  }

  .class-card {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .class-card > img {
    left: -34px;
    width: 52%;
  }

}

@media (max-width: 900px) {
  body::before {
    box-shadow: inset 0 0 75px rgba(0,0,0,0.58);
  }

  .hero {
    min-height: 920px;
    align-items: start;
  }

  .hero-media {
    background-position: 61% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(5,4,3,0.94), rgba(5,4,3,0.48)),
      linear-gradient(180deg, rgba(5,4,3,0.5), transparent 35%, rgba(5,4,3,0.98) 86%);
  }

  .hero-content {
    width: calc(100% - 56px);
    margin-left: 28px;
    padding-top: 160px;
  }

  .hero-proof {
    right: 28px;
    bottom: 64px;
    left: 28px;
    width: auto;
  }

  .scroll-cue {
    display: none;
  }

  .section-intro,
  .section-heading,
  .progression {
    grid-template-columns: 1fr;
  }

  .section-intro > p:last-child {
    grid-column: 1;
    grid-row: auto;
    max-width: 58ch;
    margin-top: 22px;
  }

  .feature-rail {
    grid-template-columns: 1fr;
  }

  .feature-rail article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .run-loop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
    padding-top: 48px;
  }

  .run-loop > i {
    display: none;
  }

  .modes {
    padding: 100px 28px;
  }

  .modes-layout {
    grid-template-columns: 1fr;
  }

  .modes-copy {
    padding: 0;
  }

  .game-shot--ui {
    margin-top: 55px;
    border-right: 1px solid var(--line-bright);
    transform: none;
  }

  .game-shot--ui .shot-open img {
    min-height: 0;
  }

  .section-heading {
    margin-bottom: 54px;
  }

  .section-heading > p {
    max-width: 60ch;
  }

  .class-grid {
    grid-template-columns: 1fr;
  }

  .class-card > img {
    left: 1%;
    width: 42%;
  }

  .boss-grid {
    grid-template-columns: 1fr;
    max-width: 590px;
  }

  .boss-card {
    min-height: 480px;
  }

  .progression-shot {
    justify-self: center;
  }

  .progression-copy {
    max-width: 680px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer p {
    display: none;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 68px;
    padding: 10px 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .brand-copy small {
    display: none;
  }

  .nav-play {
    padding: 9px 11px 8px;
    font-size: 0.58rem;
  }

  .hero {
    min-height: 930px;
  }

  .hero-media {
    background-position: 65% center;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-top: 124px;
  }

  .eyebrow {
    display: grid;
    gap: 5px;
  }

  .eyebrow span + span {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button--primary {
    width: 100%;
    min-width: 0;
  }

  .platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .download-note {
    font-size: 0.7rem;
  }

  .hero-proof {
    right: 18px;
    bottom: 32px;
    left: 18px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-proof div:nth-child(3) {
    border-top: 1px solid rgba(239,198,82,0.16);
    border-left: 0;
  }

  .hero-proof div:nth-child(4) {
    border-top: 1px solid rgba(239,198,82,0.16);
  }

  .hero-proof div {
    padding: 12px 14px 11px;
  }

  .section {
    padding: 84px 18px;
  }

  .section h2,
  .final-cta h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .capture-label {
    right: 12px;
    bottom: 11px;
    left: 12px;
    font-size: 0.55rem;
  }

  .view-label {
    display: none;
  }

  .game-shot::before,
  .game-shot::after {
    width: 28px;
    height: 28px;
  }

  .feature-rail {
    margin-top: 38px;
  }

  .feature-rail article {
    padding: 24px 10px 26px;
  }

  .run-loop {
    grid-template-columns: 1fr;
    padding: 50px 24px 30px;
  }

  .run-step {
    justify-content: center;
  }

  .modes {
    padding: 84px 18px;
  }

  .mode {
    padding-left: 14px;
  }

  .mode p {
    margin-left: 0;
  }

  .class-card {
    grid-template-columns: 1fr;
    min-height: 470px;
    align-items: end;
  }

  .class-card > img {
    top: 7px;
    bottom: auto;
    left: 50%;
    width: 58%;
    height: 300px;
    transform: translateX(-50%);
  }

  .class-card:hover > img {
    transform: translateX(-50%) translateY(-5px) scale(1.03);
  }

  .class-copy {
    grid-column: 1;
    padding: 300px 24px 27px;
    text-align: center;
  }

  .class-copy > span {
    min-height: 0;
  }

  .bosses {
    padding-right: 18px;
    padding-left: 18px;
  }

  .boss-card {
    min-height: 430px;
  }

  .boss-art {
    min-height: 330px;
  }

  .progression {
    gap: 50px;
  }

  .progression-copy li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .final-cta {
    min-height: 720px;
    background-position: center, 70% center;
    text-align: center;
  }

  .final-copy {
    width: 100%;
    margin-left: 0;
    padding-right: 18px;
    padding-left: 18px;
  }

  .final-copy .kicker,
  .final-copy .hero-actions {
    justify-content: center;
  }

  .final-copy .kicker::before {
    display: none;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 30px 18px;
  }

  .footer .brand {
    justify-self: center;
  }

  .footer nav {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
