:root {
  --ink: #0b0c0c;
  --ink-soft: #121313;
  --iron: #202221;
  --ash: #918d83;
  --bone: #ded5c1;
  --bone-bright: #f1eadc;
  --ember: #a93225;
  --ember-hot: #da5a32;
  --brass: #aa8b56;
  --line: rgba(222, 213, 193, 0.2);
  --page: min(1200px, calc(100vw - 96px));
  --display: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease-heavy: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.055;
  background-image:
    repeating-radial-gradient(circle at 27% 18%, transparent 0 1px, rgba(255, 255, 255, 0.6) 1px 2px),
    repeating-radial-gradient(circle at 73% 61%, transparent 0 2px, rgba(255, 255, 255, 0.35) 2px 3px);
  background-size: 7px 9px, 11px 13px;
  mix-blend-mode: soft-light;
}

::selection {
  background: var(--ember);
  color: var(--bone-bright);
}

img,
svg {
  display: block;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ember-hot);
  outline-offset: 5px;
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 87% 5%, rgba(169, 50, 37, 0.16), transparent 23rem),
    linear-gradient(180deg, #151616 0%, var(--ink) 34rem);
}

.legal-header {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-header__back {
  color: var(--bone);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-header__back:hover {
  color: var(--ember-hot);
}

.legal-main {
  width: min(780px, var(--page));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 148px) 0 120px;
}

.legal-main .eyebrow {
  margin-bottom: 21px;
}

.legal-main h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--bone-bright);
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 88px);
  line-height: 0.88;
  text-transform: uppercase;
}

.legal-intro {
  max-width: 58ch;
  margin: 30px 0 0;
  color: var(--bone);
  font-size: 19px;
}

.legal-content {
  margin-top: 65px;
  border-top: 1px solid var(--line);
}

.legal-content section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 13px;
  color: var(--bone-bright);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
}

.legal-content p,
.legal-content li {
  max-width: 65ch;
  color: rgba(222, 213, 193, 0.82);
}

.legal-content p {
  margin: 0;
}

.legal-content p + p,
.legal-content ul {
  margin-top: 16px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--brass);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 14px;
  left: 14px;
  padding: 12px 18px;
  transform: translateY(-180%);
  background: var(--bone-bright);
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.prototype-bar {
  position: absolute;
  z-index: 42;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 29px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-bottom: 1px solid rgba(222, 213, 193, 0.18);
  background: rgba(8, 9, 9, 0.8);
  color: rgba(222, 213, 193, 0.75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.prototype-bar span:first-child {
  color: var(--brass);
}

.site-header {
  position: absolute;
  z-index: 40;
  top: 29px;
  left: 0;
  display: flex;
  width: 100%;
  height: 96px;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(48px, calc((100vw - 1400px) / 2));
  border-bottom: 1px solid rgba(222, 213, 193, 0.16);
  background: linear-gradient(180deg, rgba(5, 6, 6, 0.8), rgba(5, 6, 6, 0.06));
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--bone-bright);
}

.brand__mark {
  width: 35px;
  height: 41px;
  overflow: visible;
}

.brand__mark path:first-child {
  fill: rgba(169, 50, 37, 0.88);
  stroke: var(--bone);
  stroke-width: 1.5;
}

.brand__mark path:nth-child(2) {
  fill: var(--bone);
}

.brand__mark path:last-child {
  fill: none;
  stroke: var(--bone);
  stroke-width: 1.5;
}

.brand__words {
  display: grid;
  font-family: var(--display);
  line-height: 0.86;
  text-transform: uppercase;
}

.brand__words > span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.brand__words small {
  margin-top: 6px;
  color: var(--ash);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.37em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 42px);
}

.primary-nav a {
  position: relative;
  color: rgba(241, 234, 220, 0.79);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.primary-nav a:not(.nav-cta)::after {
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ember-hot);
  transition: transform 240ms var(--ease-heavy);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--bone-bright);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 13px 18px 12px;
  border: 1px solid rgba(222, 213, 193, 0.4);
  background: rgba(11, 12, 12, 0.25);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.nav-cta:hover {
  border-color: var(--bone);
  background: var(--ember);
}

.nav-toggle {
  display: none;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(222, 213, 193, 0.34);
  background: rgba(11, 12, 12, 0.5);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 1px;
  background: var(--bone);
  transition: transform 240ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

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

.hero__media,
.hero__veil,
.hero__embers {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -4;
  transform: scale(1.035) translate3d(0, var(--hero-shift, 0), 0);
  transition: transform 100ms linear;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.8) contrast(1.06) brightness(0.8);
}

.hero__veil {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.98) 0%, rgba(7, 8, 8, 0.87) 27%, rgba(7, 8, 8, 0.28) 58%, rgba(7, 8, 8, 0.1) 76%),
    linear-gradient(180deg, rgba(7, 8, 8, 0.3) 0%, transparent 45%, rgba(7, 8, 8, 0.9) 100%);
}

.hero__embers {
  z-index: -2;
  overflow: hidden;
}

.hero__embers::before,
.hero__embers::after {
  position: absolute;
  right: 12%;
  bottom: -40px;
  width: 2px;
  height: 2px;
  content: "";
  border-radius: 50%;
  background: var(--ember-hot);
  box-shadow:
    42px -130px 0 #b73a22,
    -88px -230px 0 #d16033,
    104px -310px 0 #8f241f,
    -12px -390px 0 #e77a3e,
    180px -450px 0 #bd4b28,
    -160px -540px 0 #a93225,
    80px -640px 0 #d16033;
  opacity: 0.75;
  animation: ember-rise 8s linear infinite;
}

.hero__embers::after {
  right: 32%;
  bottom: -180px;
  animation-delay: -3.8s;
  animation-duration: 11s;
  opacity: 0.4;
}

@keyframes ember-rise {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-45px, -720px, 0) rotate(40deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 126px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--brass);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.final-rally h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  color: var(--bone-bright);
  font-size: clamp(58px, 8.3vw, 128px);
  line-height: 0.77;
  text-wrap: balance;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  margin-top: 0.13em;
  color: transparent;
  font-style: italic;
  font-weight: 400;
  -webkit-text-stroke: 1px rgba(222, 213, 193, 0.65);
}

.hero__lede {
  max-width: 580px;
  margin: 31px 0 0;
  color: rgba(241, 234, 220, 0.74);
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 31px;
  margin-top: 36px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 57px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 29px;
  border: 1px solid rgba(222, 213, 193, 0.45);
  background: transparent;
  color: var(--bone-bright);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.button::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  content: "";
  pointer-events: none;
  clip-path: inherit;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
}

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

.button--ember {
  border-color: #b33c2d;
  background: linear-gradient(135deg, #a83226, #7e201c);
  box-shadow: 0 16px 50px rgba(107, 17, 13, 0.3);
}

.button--ember:hover {
  border-color: var(--ember-hot);
  background: linear-gradient(135deg, #bb3b2b, #91231d);
}

.text-link {
  padding-block: 8px;
  border-bottom: 1px solid rgba(222, 213, 193, 0.34);
  color: rgba(241, 234, 220, 0.83);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link span {
  display: inline-block;
  margin-left: 7px;
  color: var(--ember-hot);
}

.text-link:hover {
  border-color: var(--ember-hot);
  color: var(--bone-bright);
}

.hero__signals {
  display: flex;
  gap: 34px;
  margin: 55px 0 0;
  padding: 0;
  color: rgba(222, 213, 193, 0.62);
  list-style: none;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__signals li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__signals span {
  color: var(--ember-hot);
  font-family: var(--display);
  font-size: 15px;
}

.scroll-sigil {
  position: absolute;
  z-index: 3;
  right: 36px;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 17px;
  color: rgba(222, 213, 193, 0.6);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: left bottom;
}

.scroll-sigil i {
  position: relative;
  width: 74px;
  height: 1px;
  overflow: hidden;
  background: rgba(222, 213, 193, 0.3);
}

.scroll-sigil i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--ember-hot);
  transform: translateX(-100%);
  animation: scroll-line 2.7s var(--ease-heavy) infinite;
}

@keyframes scroll-line {
  0%, 15% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

.campaign-section {
  position: relative;
  padding-block: clamp(110px, 13vw, 190px);
}

.section-heading {
  max-width: 730px;
}

.section-heading h2,
.final-rally h2 {
  color: var(--bone-bright);
  font-size: clamp(48px, 6.3vw, 91px);
  line-height: 0.91;
}

.section-heading h2 em,
.final-rally h2 em {
  color: transparent;
  font-style: italic;
  font-weight: 400;
  -webkit-text-stroke: 1px rgba(222, 213, 193, 0.55);
}

.section-heading > p:last-child {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--ash);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.combat {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(169, 50, 37, 0.045), transparent 25%),
    var(--ink-soft);
}

.combat::after {
  position: absolute;
  top: 0;
  right: -140px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(222, 213, 193, 0.045);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(222, 213, 193, 0.015), 0 0 0 140px rgba(222, 213, 193, 0.01);
  content: "";
  pointer-events: none;
}

.combat-sequence {
  margin-top: clamp(70px, 9vw, 125px);
  border-top: 1px solid var(--line);
}

.combat-beat {
  display: grid;
  grid-template-columns: 110px minmax(120px, 1fr) minmax(420px, 1.25fr);
  align-items: center;
  min-height: 190px;
  gap: 44px;
  border-bottom: 1px solid var(--line);
}

.combat-beat__number {
  color: var(--ember-hot);
  font-family: var(--display);
  font-size: 45px;
  font-style: italic;
}

.combat-beat__line {
  position: relative;
  height: 1px;
  background: rgba(222, 213, 193, 0.16);
}

.combat-beat__line i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--brass);
  transition: left 700ms var(--ease-heavy);
}

.combat-beat:hover .combat-beat__line i {
  left: calc(100% - 7px);
}

.kicker {
  margin: 0 0 9px;
  color: var(--brass);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.combat-beat h3,
.faction-stage__copy h3,
.class-display h3 {
  margin: 0;
  color: var(--bone-bright);
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

.combat-beat h3 {
  font-size: clamp(29px, 3vw, 45px);
  line-height: 1;
}

.combat-beat div:last-child > p:last-child {
  max-width: 510px;
  margin: 13px 0 0;
  color: var(--ash);
}

.field-quote {
  position: relative;
  max-width: 780px;
  margin: clamp(100px, 13vw, 180px) auto 0;
  padding-left: 80px;
}

.field-quote > span {
  position: absolute;
  top: -48px;
  left: 0;
  color: rgba(169, 50, 37, 0.5);
  font-family: var(--display);
  font-size: 150px;
  line-height: 1;
}

.field-quote p {
  margin: 0;
  color: var(--bone-bright);
  font-family: var(--display);
  font-size: clamp(34px, 4.3vw, 62px);
  font-style: italic;
  line-height: 1.05;
}

.field-quote cite {
  display: block;
  margin-top: 25px;
  color: var(--brass);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.factions {
  overflow: hidden;
  background: #0c0d0d;
}

.factions::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(120deg, rgba(135, 30, 24, 0.12), transparent 42%, rgba(205, 205, 193, 0.04));
}

.faction-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 760px;
  margin: 70px auto -1px;
}

.faction-tab {
  display: flex;
  min-height: 98px;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  border: 1px solid var(--line);
  background: rgba(11, 12, 12, 0.78);
  color: rgba(222, 213, 193, 0.48);
  cursor: pointer;
  text-align: left;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.faction-tab:last-child {
  border-left: 0;
}

.faction-tab__number {
  color: var(--brass);
  font-family: var(--display);
  font-size: 29px;
  font-style: italic;
}

.faction-tab > span:last-child {
  display: grid;
  color: inherit;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.faction-tab small {
  margin-bottom: 8px;
  color: var(--ash);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.faction-tab.is-active {
  border-color: rgba(169, 50, 37, 0.7);
  background: rgba(169, 50, 37, 0.16);
  color: var(--bone-bright);
}

.faction-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 750px;
  border: 1px solid var(--line);
  background: #0d0f0f;
  transition: background 400ms ease;
}

.faction-stage[data-faction-stage="crown"] {
  background: #121313;
}

.faction-stage__image {
  position: relative;
  min-height: 750px;
  overflow: hidden;
  background: #111;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}

.faction-stage__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 55%, rgba(13, 15, 15, 0.8) 97%), linear-gradient(0deg, rgba(13, 15, 15, 0.5), transparent 50%);
}

.faction-stage__image picture,
.faction-stage__image img {
  width: 100%;
  height: 100%;
}

.faction-stage__image img {
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.78) contrast(1.04);
  transition: opacity 250ms ease, transform 900ms var(--ease-heavy);
}

.faction-stage__image:hover img {
  transform: scale(1.025);
}

.faction-stage.is-switching .faction-stage__image img {
  opacity: 0;
  transform: scale(1.04);
}

.faction-stage__stamp {
  position: absolute;
  z-index: 2;
  right: 12%;
  bottom: 28px;
  color: rgba(222, 213, 193, 0.22);
  font-family: var(--display);
  font-size: 120px;
  font-style: italic;
  line-height: 1;
}

.faction-stage__copy {
  align-self: center;
  padding: 70px clamp(45px, 6vw, 92px) 70px clamp(30px, 4vw, 65px);
}

.faction-stage__copy h3 {
  max-width: 470px;
  font-size: clamp(42px, 5vw, 69px);
  line-height: 0.95;
}

.faction-stage__copy > p:nth-of-type(2) {
  max-width: 520px;
  margin: 27px 0 0;
  color: var(--ash);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.7;
}

.faction-doctrine {
  margin: 35px 0 40px;
  border-top: 1px solid var(--line);
}

.faction-doctrine div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faction-doctrine dt {
  color: var(--brass);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.faction-doctrine dd {
  margin: 0;
  color: rgba(241, 234, 220, 0.83);
  font-family: var(--display);
}

.button--oath {
  border-color: rgba(169, 50, 37, 0.65);
}

.button--oath:hover,
.button--oath.is-sworn {
  background: var(--ember);
}

.faction-stage[data-faction-stage="crown"] .button--oath {
  border-color: rgba(222, 213, 193, 0.54);
}

.faction-stage[data-faction-stage="crown"] .button--oath:hover,
.faction-stage[data-faction-stage="crown"] .button--oath.is-sworn {
  background: #d8cfbc;
  color: #111;
}

.oath-note {
  margin: 13px 0 0;
  color: rgba(145, 141, 131, 0.68);
  font-size: 10px;
}

.arsenal {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 42%),
    #121313;
}

.arsenal::before {
  position: absolute;
  top: 50%;
  left: -60px;
  width: 50vw;
  height: 1px;
  content: "";
  transform: rotate(-12deg);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, rgba(222, 213, 193, 0.18), transparent);
}

.arsenal__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
}

.class-selector {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(7, 8, 8, 0.42);
}

.class-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.class-tab {
  min-height: 62px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: rgba(222, 213, 193, 0.47);
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.class-tab:last-child {
  border-right: 0;
}

.class-tab span {
  margin-right: 7px;
  color: var(--brass);
  font-family: var(--display);
  font-size: 14px;
}

.class-tab.is-active {
  background: rgba(169, 50, 37, 0.16);
  color: var(--bone-bright);
}

.class-display {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  min-height: 420px;
  gap: 30px;
  padding: 52px;
}

.class-display__sigil {
  position: relative;
  display: grid;
  width: 140px;
  height: 176px;
  place-items: center;
  border: 1px solid rgba(222, 213, 193, 0.25);
  background: linear-gradient(160deg, rgba(169, 50, 37, 0.35), rgba(169, 50, 37, 0.03));
  color: rgba(222, 213, 193, 0.78);
  font-family: var(--display);
  font-size: 70px;
  font-style: italic;
  clip-path: polygon(50% 0, 100% 17%, 93% 78%, 50% 100%, 7% 78%, 0 17%);
}

.class-display__sigil::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(222, 213, 193, 0.11);
  content: "";
  clip-path: inherit;
}

.class-display h3 {
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: 1;
}

.class-display__copy > p:nth-of-type(2) {
  margin: 18px 0 30px;
  color: var(--ash);
}

.stat-list {
  display: grid;
  gap: 14px;
}

.stat-list > div {
  display: grid;
  grid-template-columns: 57px 1fr;
  align-items: center;
  gap: 13px;
}

.stat-list span {
  color: var(--brass);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stat-list i {
  display: block;
  height: 4px;
  overflow: hidden;
  background: rgba(222, 213, 193, 0.11);
}

.stat-list b {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, #72201b, var(--ember-hot));
  transition: width 600ms var(--ease-heavy);
}

.siege {
  min-height: 1000px;
  overflow: hidden;
  isolation: isolate;
}

.siege__backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("assets/hero-siege-1672.webp");
  background-position: center;
  background-size: cover;
  filter: grayscale(0.7) brightness(0.26) contrast(1.15);
  transform: scaleX(-1) scale(1.08);
}

.siege::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 8, 8, 0.98) 0 46%, rgba(7, 8, 8, 0.62) 70%, rgba(7, 8, 8, 0.88)), linear-gradient(180deg, #121313 0, transparent 20%, transparent 75%, #0b0c0c 100%);
}

.siege__content {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: clamp(70px, 10vw, 160px);
}

.objective-trail {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.objective-trail::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 34px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, var(--ember-hot), rgba(222, 213, 193, 0.15));
}

.objective-trail li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 30px;
  padding: 0 0 54px;
}

.objective-trail li > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 69px;
  height: 69px;
  place-items: center;
  border: 1px solid rgba(222, 213, 193, 0.35);
  border-radius: 50%;
  background: #111212;
  color: var(--ember-hot);
  font-family: var(--display);
  font-size: 20px;
  transition: background 180ms ease, transform 180ms ease;
}

.objective-trail li:hover > span {
  transform: scale(1.08);
  background: var(--ember);
  color: white;
}

.objective-trail small {
  display: block;
  margin-bottom: 7px;
  color: var(--brass);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.objective-trail strong {
  display: block;
  color: var(--bone-bright);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.objective-trail p {
  max-width: 450px;
  margin: 12px 0 0;
  color: var(--ash);
}

.field-notes {
  border-top: 1px solid var(--line);
  background: #0f1010;
}

.field-notes__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(70px, 10vw, 150px);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  min-height: 91px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--bone-bright);
  cursor: pointer;
  font-family: var(--display);
  font-size: 21px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  flex: 0 0 auto;
  color: var(--ember-hot);
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 650px;
  margin: -10px 0 28px;
  color: var(--ash);
}

.final-rally {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at center 105%, rgba(169, 50, 37, 0.48), transparent 48%),
    linear-gradient(180deg, #0b0c0c, #080909);
}

.final-rally::before,
.final-rally::after {
  position: absolute;
  top: 50%;
  width: 30vw;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(222, 213, 193, 0.24));
}

.final-rally::before {
  left: 0;
}

.final-rally::after {
  right: 0;
  transform: scaleX(-1);
}

.final-rally__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(222, 213, 193, 0.025);
  font-family: var(--display);
  font-size: min(70vw, 900px);
  font-style: italic;
  line-height: 1;
  transform: translate(-50%, -49%);
  user-select: none;
}

.final-rally .page-shell {
  position: relative;
  z-index: 2;
}

.final-rally .eyebrow {
  justify-content: center;
}

.final-rally .button {
  margin-top: 43px;
}

.final-rally__status {
  margin: 20px 0 0;
  color: var(--brass);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer {
  padding-block: 52px;
  border-top: 1px solid var(--line);
  background: #070808;
}

.site-footer .page-shell {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: start;
  gap: 50px;
}

.brand--footer .brand__words > span {
  font-size: 17px;
}

.site-footer p {
  max-width: 620px;
  margin: 0;
  color: rgba(145, 141, 131, 0.75);
  font-size: 12px;
}

.site-footer > .page-shell > div {
  display: flex;
  gap: 24px;
}

.site-footer > .page-shell > div a {
  color: rgba(222, 213, 193, 0.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer > .page-shell > div a:hover {
  color: var(--ember-hot);
}

.site-footer .page-shell > small {
  grid-column: 2 / -1;
  color: rgba(145, 141, 131, 0.45);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.battle-toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 48px));
  padding: 17px 21px;
  border: 1px solid rgba(222, 213, 193, 0.32);
  background: rgba(10, 11, 11, 0.94);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.5);
  color: var(--bone-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform 400ms var(--ease-heavy), opacity 300ms ease;
}

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

.js [data-reveal] {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 800ms var(--ease-heavy), opacity 800ms ease;
}

.js [data-reveal].is-revealed {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1080px) {
  :root {
    --page: min(100% - 64px, 960px);
  }

  .site-header {
    padding-inline: 32px;
  }

  .primary-nav {
    gap: 22px;
  }

  .primary-nav a {
    font-size: 9px;
  }

  .primary-nav a:nth-child(4) {
    display: none;
  }

  .combat-beat {
    grid-template-columns: 70px minmax(90px, 0.6fr) minmax(380px, 1.4fr);
  }

  .faction-stage__copy {
    padding-inline: 30px 48px;
  }

  .class-display {
    grid-template-columns: 110px 1fr;
    padding: 38px;
  }

  .class-display__sigil {
    width: 105px;
    height: 145px;
    font-size: 55px;
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100% - 40px);
  }

  .prototype-bar {
    justify-content: flex-start;
    padding-inline: 20px;
  }

  .site-header {
    height: 79px;
    padding-inline: 20px;
    background: rgba(7, 8, 8, 0.86);
    backdrop-filter: blur(14px);
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: flex;
  }

  .site-header.is-nav-open .nav-toggle span:first-child {
    transform: rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle span:last-child {
    transform: rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    padding: 18px 20px 25px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 8, 8, 0.97);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 200ms ease, transform 240ms var(--ease-heavy);
  }

  .site-header.is-nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a,
  .primary-nav a:nth-child(4) {
    display: block;
    padding: 13px 4px;
    font-size: 11px;
  }

  .nav-cta {
    margin-top: 8px;
    padding: 15px !important;
    text-align: center;
  }

  .hero {
    min-height: 810px;
    align-items: end;
  }

  .hero__media img {
    object-position: 68% center;
  }

  .hero__veil {
    background: linear-gradient(180deg, rgba(7, 8, 8, 0.25) 0, rgba(7, 8, 8, 0.32) 32%, rgba(7, 8, 8, 0.94) 71%, #070808 100%);
  }

  .hero__content {
    padding: 150px 0 82px;
  }

  .hero h1 {
    max-width: 690px;
    font-size: clamp(58px, 14vw, 92px);
  }

  .hero__lede {
    max-width: 610px;
  }

  .hero__signals {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .scroll-sigil {
    display: none;
  }

  .combat-beat {
    grid-template-columns: 62px 1fr;
    min-height: auto;
    gap: 25px;
    padding-block: 38px;
  }

  .combat-beat__line {
    display: none;
  }

  .field-quote {
    margin-left: 20px;
  }

  .faction-tabs {
    margin-top: 55px;
  }

  .faction-tab {
    padding-inline: 18px;
  }

  .faction-stage {
    grid-template-columns: 1fr;
  }

  .faction-stage__image {
    min-height: min(120vw, 760px);
    clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
  }

  .faction-stage__image::after {
    background: linear-gradient(0deg, #0d0f0f 0, transparent 34%);
  }

  .faction-stage__copy {
    padding: 40px 28px 58px;
  }

  .arsenal__grid,
  .siege__content,
  .field-notes__grid {
    grid-template-columns: 1fr;
  }

  .arsenal__grid,
  .field-notes__grid {
    gap: 65px;
  }

  .siege__content {
    gap: 80px;
  }

  .siege::before {
    background: linear-gradient(180deg, #121313 0, rgba(7, 8, 8, 0.81) 34%, rgba(7, 8, 8, 0.93) 100%);
  }

  .objective-trail {
    max-width: 650px;
  }

  .site-footer .page-shell {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer .page-shell > small {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --page: calc(100% - 32px);
  }

  .prototype-bar {
    gap: 6px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .brand__mark {
    width: 30px;
  }

  .brand__words > span {
    font-size: 16px;
  }

  .hero {
    min-height: 780px;
  }

  .hero__media img {
    object-position: 70% center;
  }

  .hero__content {
    padding-bottom: 57px;
  }

  .hero h1 {
    font-size: clamp(49px, 16vw, 73px);
    line-height: 0.81;
  }

  .hero__lede {
    margin-top: 25px;
    font-size: 17px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 29px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__signals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 35px;
  }

  .hero__signals li:last-child {
    grid-column: 1 / -1;
  }

  .campaign-section {
    padding-block: 95px;
  }

  .section-heading h2,
  .final-rally h2 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .combat-sequence {
    margin-top: 55px;
  }

  .combat-beat {
    grid-template-columns: 45px 1fr;
    gap: 18px;
  }

  .combat-beat__number {
    font-size: 32px;
  }

  .field-quote {
    margin-top: 110px;
    margin-left: 0;
    padding-left: 44px;
  }

  .field-quote > span {
    font-size: 100px;
  }

  .faction-tabs {
    grid-template-columns: 1fr;
  }

  .faction-tab {
    min-height: 78px;
  }

  .faction-tab:last-child {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .faction-stage__image {
    min-height: 126vw;
  }

  .faction-stage__copy {
    padding-inline: 21px;
  }

  .faction-stage__copy h3 {
    font-size: 42px;
  }

  .faction-doctrine div {
    grid-template-columns: 80px 1fr;
  }

  .button--oath {
    width: 100%;
  }

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

  .class-tab {
    min-height: 51px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    padding-inline: 20px;
  }

  .class-tab:last-child {
    border-bottom: 0;
  }

  .class-display {
    grid-template-columns: 1fr;
    padding: 29px 22px 35px;
  }

  .class-display__sigil {
    width: 80px;
    height: 105px;
    font-size: 41px;
  }

  .objective-trail::before {
    left: 25px;
  }

  .objective-trail li {
    grid-template-columns: 51px 1fr;
    gap: 20px;
  }

  .objective-trail li > span {
    width: 51px;
    height: 51px;
    font-size: 16px;
  }

  .faq summary {
    min-height: 84px;
    font-size: 18px;
  }

  .final-rally {
    min-height: 570px;
  }

  .site-footer > .page-shell > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
}

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

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

  .hero__media {
    transform: scale(1.035);
  }

  .js [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
[data-stat-force] { --value: 88%; }
[data-stat-reach] { --value: 76%; }
[data-stat-speed] { --value: 54%; }
