/* ==========================================================================
   Thousands at War — landing page
   ========================================================================== */

:root {
  --ink: #0d0b0a;
  --soot: #151210;
  --char: #1d1916;
  --iron: #2e2824;
  --iron-hi: #463d36;
  --bone: #ece4d6;
  --bone-dim: #cfc5b5;
  --ash: #9d9283;
  --blood: #a5141a;
  --blood-hi: #d0262d;
  --ember: #e07a2c;

  --f-display: "Grenze", "Times New Roman", serif;
  --f-body: "Alegreya", Georgia, serif;
  --f-label: "Alegreya Sans SC", "Alegreya Sans", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --spear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='10' viewBox='0 0 44 10'%3E%3Cpath d='M0 5 7 1l7 4-7 4z' fill='%23a5141a'/%3E%3Cpath d='M12 4h32v2H12z' fill='%23a5141a'/%3E%3C/svg%3E");
  --spear-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='10' viewBox='0 0 44 10'%3E%3Cpath d='M44 5 37 1l-7 4 7 4z' fill='%23a5141a'/%3E%3Cpath d='M0 4h32v2H0z' fill='%23a5141a'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(17px, 1.05vw + 10px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--blood); color: #fff; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--bone); color: var(--ink); padding: .5rem 1rem; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.4vw + .6rem, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.005em;
  color: var(--bone);
  text-wrap: balance;
  margin-bottom: .45em;
}
.display span { color: var(--blood-hi); }
.display--md { font-size: clamp(2rem, 3vw + .7rem, 3.3rem); }
.display--sm { font-size: clamp(1.6rem, 1.6vw + .9rem, 2.2rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.1rem;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .24em;
  text-transform: lowercase;
  color: var(--ember);
}
.kicker::before { content: ""; width: 44px; height: 10px; background: var(--spear) no-repeat center / contain; flex: none; }

.lede { font-size: 1.12em; color: var(--bone-dim); max-width: 38em; }

.tag {
  display: inline-block;
  font-family: var(--f-label);
  font-style: normal;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: lowercase;
  line-height: 1;
  padding: .42em .7em .5em;
  border: 1px solid var(--iron-hi);
  color: var(--ash);
  white-space: nowrap;
  vertical-align: middle;
}
.tag--inc { border-color: rgba(224, 122, 44, .45); color: var(--ember); }

.link { color: var(--bone-dim); text-decoration: none; border-bottom: 1px solid var(--iron-hi); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link:hover { color: var(--bone); border-color: var(--blood-hi); }

/* --------------------------------------------------------------------------
   Buttons — chamfered like a blade's edge
   -------------------------------------------------------------------------- */

.btn {
  --cut: 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .7rem 1.5rem .78rem;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: lowercase;
  text-decoration: none;
  line-height: 1;
  border: 0;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .25s var(--ease), color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn .icon--meta { width: 1.45em; }
.btn--sm { min-height: 40px; padding: .55rem 1.05rem .62rem; font-size: .82rem; --cut: 8px; }
.btn--lg { min-height: 56px; padding: .9rem 1.9rem 1rem; font-size: 1.02rem; --cut: 12px; }

.btn--blood {
  color: #fff;
  background: linear-gradient(180deg, #c01d23 0%, var(--blood) 55%, #8a1015 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .25);
}
.btn--blood:hover { background: linear-gradient(180deg, #db2a31 0%, #b8171d 55%, #96121a 100%); transform: translateY(-1px); }

/* Ghost: the button itself is the 1px "border"; a slightly smaller chamfered
   layer behind the label fills it, so the outline follows the cut corners. */
.btn--ghost {
  isolation: isolate;
  color: var(--bone);
  background: rgba(236, 228, 214, .34);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: rgba(13, 11, 10, .72);
  clip-path: polygon(calc(var(--cut) - .5px) 0, 100% 0, 100% calc(100% - var(--cut) + .5px), calc(100% - var(--cut) + .5px) 100%, 0 100%, 0 calc(var(--cut) - .5px));
  transition: background-color .25s;
}
.btn--ghost:hover { background: rgba(236, 228, 214, .6); transform: translateY(-1px); }
.btn--ghost:hover::before { background: rgba(30, 26, 23, .7); }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color .35s, border-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 7, 6, .75), rgba(8, 7, 6, 0));
  transition: opacity .35s;
}
.nav.is-solid { background: rgba(13, 11, 10, .88); border-color: var(--iron); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav.is-solid::before { opacity: 0; }

.nav__inner {
  height: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__brand { flex: none; display: block; transition: opacity .35s, transform .35s var(--ease); }
.nav__brand img { height: 34px; width: auto; }
.page-home .nav:not(.is-solid) .nav__brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }

.nav__links { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.nav__links a {
  font-family: var(--f-label);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .13em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--bone-dim);
  padding: .4rem 0;
  position: relative;
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blood-hi);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current] { color: var(--bone); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }

.nav__toggle { display: none; }

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__brand img { height: 28px; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -8px; padding: 0 10px; background: none; border: 0; cursor: pointer;
  }
  .nav__toggle i { display: block; height: 2px; background: var(--bone); transition: transform .3s var(--ease), opacity .2s; }
  .nav.is-open .nav__toggle i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle i:nth-child(3) { opacity: 0; }
  .nav.is-open .nav__toggle i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav.is-open { background: var(--ink); border-color: var(--iron); }
  .nav.is-open .nav__brand { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }

  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--ink); border-bottom: 1px solid var(--iron);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .nav__links a { font-size: 1.05rem; padding: 1rem 0; border-bottom: 1px solid var(--iron); }
  .nav__links a::after { display: none; }
  .nav__links a:last-child { border-bottom: 0; }
}
@media (max-width: 350px) {
  .nav__cta span { display: none; }
  .nav__cta { padding-inline: .8rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 6.5rem;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #1a1714 url("../img/hero-poster.jpg") center / cover; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(13, 11, 10, .55) 0%, rgba(13, 11, 10, .15) 60%, rgba(13, 11, 10, 0) 100%),
    linear-gradient(180deg, rgba(13, 11, 10, .55) 0%, rgba(13, 11, 10, .12) 30%, rgba(13, 11, 10, .25) 62%, var(--ink) 100%);
}
.hero__content { text-align: center; max-width: 980px; width: 100%; }
.hero__title { margin: 0 auto 1.2rem; }
.hero__title img {
  width: min(900px, 92vw);
  margin: 0 auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .65)) drop-shadow(0 2px 4px rgba(0, 0, 0, .8));
}
.hero__platform {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.6rem;
  font-family: var(--f-label); font-weight: 700; font-size: .82rem; letter-spacing: .22em; text-transform: lowercase;
  color: var(--bone);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}
.hero__platform .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blood-hi); box-shadow: 0 0 0 0 rgba(208, 38, 45, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(208, 38, 45, .7); } 70% { box-shadow: 0 0 0 10px rgba(208, 38, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(208, 38, 45, 0); } }

.hero__tagline {
  font-size: clamp(1.25rem, 1.2vw + .9rem, 1.75rem);
  line-height: 1.3;
  color: var(--bone);
  margin: 0 0 2.2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}
.hero__tagline em { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 1.6rem;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--f-label); font-weight: 500; font-size: .76rem; letter-spacing: .18em; text-transform: lowercase; color: var(--ash);
}
.hero__scroll { display: block; width: 26px; height: 44px; position: relative; }
.hero__scroll i { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(236, 228, 214, .25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bone); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 600px) {
  .hero { padding-bottom: 5.5rem; }
  .hero__actions .btn { width: 100%; }
  .hero__foot { justify-content: center; }
  .hero__foot span { display: none; }
}

/* --------------------------------------------------------------------------
   Ledger (stats)
   -------------------------------------------------------------------------- */

.ledger { border-block: 1px solid var(--iron); background: linear-gradient(180deg, var(--ink), var(--soot)); }
.ledger__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); }
.ledger__list li { padding: 2rem 1.1rem 1.9rem; border-left: 1px solid var(--iron); }
.ledger__list li:first-child { border-left: 0; padding-left: 0; }
.ledger__list strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 2.4vw + .8rem, 3.1rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--bone);
}
.ledger__list li:first-child strong { color: var(--blood-hi); }
.ledger__list span { display: block; margin-top: .55rem; font-size: .9rem; line-height: 1.35; color: var(--ash); max-width: 13em; }

@media (max-width: 1000px) {
  .ledger__list { grid-template-columns: repeat(3, 1fr); }
  .ledger__list li:nth-child(4) { border-left: 0; padding-left: 0; }
  .ledger__list li:nth-child(n+4) { border-top: 1px solid var(--iron); }
}
@media (max-width: 560px) {
  .ledger__list { grid-template-columns: repeat(2, 1fr); }
  .ledger__list li { padding: 1.4rem .9rem 1.3rem; }
  .ledger__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ledger__list li:nth-child(4) { border-left: 1px solid var(--iron); padding-left: .9rem; }
  .ledger__list li:nth-child(n+3) { border-top: 1px solid var(--iron); }
}

/* --------------------------------------------------------------------------
   Shared section bits
   -------------------------------------------------------------------------- */

section { position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.frame {
  position: relative;
  background: var(--char);
  box-shadow: 0 0 0 1px var(--iron), 0 30px 60px -20px rgba(0, 0, 0, .8);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame::after { /* inner edge so footage sits "in" the frame */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 0 60px rgba(0, 0, 0, .35);
}

figcaption {
  margin-top: .85rem;
  font-family: var(--f-label); font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: lowercase;
  color: var(--ash);
  display: flex; align-items: center; gap: .6rem;
}
figure { margin: 0; }
.chapter__media figcaption::before, .loops figcaption::before { content: ""; width: 18px; height: 1px; background: var(--blood-hi); }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.intro { padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem); }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.intro__text > p:not(.kicker):not(.lede) { color: var(--ash); max-width: 36em; }

.intro__trailer {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000;
  aspect-ratio: 16 / 9; overflow: hidden;
  box-shadow: 0 0 0 1px var(--iron), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.intro__trailer img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1.2s var(--ease), opacity .4s; }
.intro__trailer:hover img { transform: scale(1.04); opacity: .95; }
.intro__trailer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 55%); }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(165, 20, 26, .92);
  box-shadow: 0 0 0 8px rgba(165, 20, 26, .25), 0 10px 30px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.intro__trailer:hover .play { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(165, 20, 26, .2), 0 10px 30px rgba(0, 0, 0, .6); }
.intro__trailer-label {
  position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 1;
  font-family: var(--f-display); font-size: 1.45rem; color: var(--bone);
}
.intro__trailer-label em { font-family: var(--f-label); font-style: normal; font-size: .8rem; letter-spacing: .14em; color: var(--ash); margin-left: .5rem; }

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

/* --------------------------------------------------------------------------
   Chapters (features)
   -------------------------------------------------------------------------- */

.chapter { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.chapter + .chapter { border-top: 1px solid rgba(46, 40, 36, .55); }
.chapter__grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: clamp(2.5rem, 5.5vw, 5.5rem); align-items: center; }
.chapter--flip .chapter__media { order: 2; }
.chapter__text { position: relative; }
.chapter__num {
  position: absolute; right: 0; top: -.55em; z-index: -1; margin: 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(7rem, 12vw, 11rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 228, 214, .09);
  user-select: none;
}

.points { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.points > div { padding-left: 1.4rem; position: relative; }
.points > div::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px;
  background: var(--blood-hi); transform: rotate(45deg);
}
.points dt { font-family: var(--f-display); font-weight: 600; font-size: 1.28rem; line-height: 1.2; color: var(--bone); margin-bottom: .2rem; }
.points dd { margin: 0; color: var(--ash); font-size: .97em; line-height: 1.55; }

.orders { margin-top: 2.2rem; }
.orders__title { font-family: var(--f-label); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: lowercase; color: var(--ember); margin-bottom: .9rem; }
.orders ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--iron); border: 1px solid var(--iron); }
.orders li { background: var(--soot); padding: .9rem 1rem 1rem; }
.orders strong { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.orders span { display: block; font-size: .86rem; line-height: 1.4; color: var(--ash); margin-top: .3rem; }

@media (max-width: 900px) {
  .chapter__grid { grid-template-columns: 1fr; }
  .chapter--flip .chapter__media { order: 0; }
  .chapter__num { top: -.35em; }
}
@media (max-width: 420px) { .orders ul { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Armies
   -------------------------------------------------------------------------- */

.armies { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--soot); border-block: 1px solid var(--iron); overflow: hidden; isolation: isolate; }
.armies__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center 35%;
  opacity: .16; filter: grayscale(.4) contrast(1.1);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 40%, transparent 85%);
}

.rosters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.25rem; }
.roster { background: rgba(13, 11, 10, .78); border: 1px solid var(--iron); padding: 1.6rem 1.6rem 1.4rem; }
.roster__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--iron); }
.roster h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; }
.roster ul { list-style: none; margin: 0; padding: 0; }
.roster:first-child ul { columns: 2; column-gap: 2rem; }
.roster li { padding: .5rem 0; border-bottom: 1px dashed rgba(70, 61, 54, .6); break-inside: avoid; color: var(--bone-dim); }

.arsenal { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(2rem, 4vw, 4rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--iron); }
.arsenal__intro p { color: var(--ash); }
.arsenal__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem 2rem; }
.arsenal h4 { font-family: var(--f-label); font-weight: 700; font-size: .84rem; letter-spacing: .18em; text-transform: lowercase; color: var(--ember); margin-bottom: .45rem; }
.arsenal h4 span { color: var(--ash); margin-left: .3rem; }
.arsenal__cols p { font-size: .97em; color: var(--bone-dim); line-height: 1.6; }

@media (max-width: 1000px) {
  .rosters { grid-template-columns: 1fr 1fr; }
  .roster:first-child { grid-column: 1 / -1; }
  .arsenal { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rosters { grid-template-columns: 1fr; }
  .roster:first-child ul { columns: 1; }
  .arsenal__cols { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Battlefields
   -------------------------------------------------------------------------- */

.fields { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.fields__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.fields__visual { position: sticky; top: calc(var(--nav-h) + 2rem); }
.fields__visual .frame { aspect-ratio: 4 / 5; }
.fields__note { margin-top: 1.4rem; color: var(--ash); font-size: .97em; max-width: 32em; }

.field-ledger { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--iron); }
.field-ledger li {
  display: grid; grid-template-columns: 2.6rem minmax(9rem, 13rem) 1fr; gap: 1rem; align-items: baseline;
  padding: .95rem 0; border-bottom: 1px solid var(--iron);
  transition: background-color .25s, padding .3s var(--ease);
}
.field-ledger li:hover { background: linear-gradient(90deg, rgba(165, 20, 26, .12), transparent 70%); padding-left: .6rem; }
.field-ledger .n { font-family: var(--f-label); font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--blood-hi); }
.field-ledger .name { font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.field-ledger .desc { color: var(--ash); font-size: .95em; line-height: 1.45; }
.field-ledger .tag { margin-left: .4rem; }

@media (max-width: 900px) {
  .fields__grid { grid-template-columns: 1fr; }
  .fields__visual { position: static; }
  .fields__visual .frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .field-ledger li { grid-template-columns: 2.2rem 1fr; }
  .field-ledger .desc { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Campaigns
   -------------------------------------------------------------------------- */

.campaigns { padding: clamp(5rem, 10vw, 8.5rem) 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(165, 20, 26, .14), transparent 70%), var(--soot); border-block: 1px solid var(--iron); }
.wars { display: grid; gap: 1.25rem; }
.war { border: 1px solid var(--iron); background: rgba(13, 11, 10, .6); }
.war > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.6rem; border-bottom: 1px solid var(--iron); }
.war h3 { font-family: var(--f-label); font-weight: 700; font-size: .86rem; letter-spacing: .2em; text-transform: lowercase; color: var(--ash); }
.war__sides { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.war__sides > div { padding: 1.6rem 1.6rem 1.7rem; }
.war__sides > div:last-child { text-align: right; }
.war h4 { font-family: var(--f-display); font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); font-weight: 600; line-height: 1.1; margin-bottom: .35rem; }
.war p { color: var(--ash); }
.war__vs {
  display: grid; place-items: center; width: 54px; height: 54px; transform: rotate(45deg);
  border: 1px solid var(--blood); background: var(--ink);
  font-family: var(--f-display); font-size: 0; color: var(--blood-hi);
}
/* the diamond is rotated; draw the label upright on a pseudo-element */
.war__vs::after { content: "vs"; font-size: 1.15rem; line-height: 1; transform: rotate(-45deg); }

.medals { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.medals li { color: var(--ash); font-size: .97em; padding-top: 1.1rem; border-top: 2px solid var(--blood); }
.medals strong { display: block; color: var(--bone); font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; margin-bottom: .3rem; }

@media (max-width: 760px) {
  .war__sides { grid-template-columns: 1fr; }
  .war__sides > div:last-child { text-align: left; }
  .war__vs { margin: -.4rem 1.6rem; width: 40px; height: 40px; }
  .war__vs::after { font-size: .95rem; }
  .medals { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Media
   -------------------------------------------------------------------------- */

.media { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.loops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery li.is-extra { display: none; }
.gallery.is-all li.is-extra { display: block; }
.gallery a { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--char); box-shadow: 0 0 0 1px var(--iron); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; filter: saturate(.92); }
.gallery a::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 50%); opacity: 0; transition: opacity .35s;
  box-shadow: inset 0 0 0 1px rgba(208, 38, 45, 0);
}
.gallery a:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery a:hover::after { opacity: 1; box-shadow: inset 0 0 0 1px rgba(208, 38, 45, .7); }
.media__more { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.5rem; }
.gallery.is-all + .media__more [data-gallery-more] { display: none; }

@media (max-width: 1000px) { .loops { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; gap: .6rem; } .loops { gap: .6rem; } }

/* --------------------------------------------------------------------------
   Comfort
   -------------------------------------------------------------------------- */

.comfort { padding: clamp(4rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--iron); }
.comfort__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.comfort__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.2rem; }
.comfort__list li { padding: .85rem 0 .85rem 1.6rem; border-bottom: 1px solid var(--iron); color: var(--bone-dim); position: relative; line-height: 1.45; }
.comfort__list li::before {
  content: ""; position: absolute; left: 0; top: 1.25rem; width: 9px; height: 5px;
  border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg);
}
@media (max-width: 900px) { .comfort__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .comfort__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final { padding: clamp(6rem, 12vw, 10rem) 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--iron); }
.final__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center 40%; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 11, 10, .95) 0%, rgba(13, 11, 10, .8) 45%, rgba(13, 11, 10, .35) 100%), linear-gradient(0deg, var(--ink), transparent 40%); }
.final__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.final__icon { width: clamp(110px, 14vw, 180px); box-shadow: 0 0 0 1px var(--iron-hi), 0 30px 60px rgba(0, 0, 0, .7); }
.final .hero__actions { justify-content: flex-start; margin-top: 1.8rem; }
.final .lede { margin-bottom: 0; }
@media (max-width: 640px) {
  .final__inner { grid-template-columns: 1fr; }
  .final__bg::after { background: rgba(13, 11, 10, .82); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: #090807; border-top: 1px solid var(--iron); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer__brand img { width: 230px; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--ash); margin-bottom: 1.4rem; }
.footer__col h2 { font-family: var(--f-label); font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: lowercase; color: var(--ember); margin-bottom: 1rem; }
.footer__col a { display: block; text-decoration: none; color: var(--bone-dim); padding: .3rem 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }

.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--iron); color: var(--bone-dim); transition: color .2s, border-color .2s, background-color .2s; }
.socials a:hover { color: #fff; border-color: var(--blood); background: rgba(165, 20, 26, .2); }
.socials .icon { width: 18px; height: 18px; fill: currentColor; }

.footer__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--iron); color: #6e665c; font-size: .82rem; }
.footer__base p { margin: 0; }
.studio { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ash); }
.studio img { width: 34px; height: 34px; }
.studio strong { color: var(--bone-dim); font-weight: 500; }
.studio:hover strong { color: #fff; }

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Dialogs: trailer + lightbox
   -------------------------------------------------------------------------- */

dialog { padding: 0; border: 0; background: transparent; color: var(--bone); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5, 4, 4, .92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog[open] { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.99); } }

.modal { width: min(1280px, 94vw); }
.modal video { width: 100%; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 1px var(--iron); }
.modal__close {
  position: fixed; top: 14px; right: 14px; z-index: 2;
  width: 48px; height: 48px; display: grid; place-items: center;
  font-size: 2rem; line-height: 1; background: rgba(13, 11, 10, .7); border: 1px solid var(--iron-hi); color: var(--bone); cursor: pointer;
}
.modal__close:hover { border-color: var(--blood-hi); color: #fff; }

.lightbox { width: 100vw; height: 100vh; height: 100dvh; display: none; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox figure { margin: 0; padding: 0 1rem; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; box-shadow: 0 0 0 1px var(--iron); }
.lightbox figcaption { justify-content: space-between; width: 100%; max-width: 1600px; font-size: .82rem; color: var(--bone-dim); }
.lightbox__count { color: var(--ash); }
.lightbox__nav {
  width: 56px; height: 96px; margin: 0 .5rem;
  font-size: 3rem; line-height: 1; background: none; border: 0; color: var(--bone-dim); cursor: pointer; transition: color .2s;
}
.lightbox__nav:hover { color: var(--blood-hi); }
@media (max-width: 700px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; padding: 0 .5rem; }
  .lightbox__nav { grid-row: 2; justify-self: center; height: 64px; }
}

/* --------------------------------------------------------------------------
   Sub-pages: press kit & privacy
   -------------------------------------------------------------------------- */

.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--iron); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center 45%; opacity: .32; filter: grayscale(.25); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 10, .5), var(--ink)); }
.page-hero .display { margin-bottom: .3em; }
.page-hero .lede { margin: 0; }

.pk { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.pk__grid { display: grid; grid-template-columns: 330px 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.facts { border: 1px solid var(--iron); background: var(--soot); }
.facts h2 { font-family: var(--f-label); font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: lowercase; color: var(--ember); padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--iron); }
.facts dl { margin: 0; padding: .3rem 1.4rem 1rem; }
.facts dl div { padding: .75rem 0; border-bottom: 1px solid var(--iron); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--f-label); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: lowercase; color: var(--ash); }
.facts dd { margin: .15rem 0 0; color: var(--bone); line-height: 1.4; overflow-wrap: anywhere; }
.facts__note { font-size: .86rem; color: var(--ash); }
.facts dd a { color: var(--bone); text-decoration-color: var(--blood-hi); text-underline-offset: 3px; }
.facts .btn { margin: 0 1.4rem 1.4rem; width: calc(100% - 2.8rem); }

.pk__body > section { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--iron); }
.pk__body > section:last-child { border-bottom: 0; margin-bottom: 0; }
.pk__body h2.display { margin-bottom: .7em; }
.pk__body h3 { font-family: var(--f-display); font-size: 1.4rem; margin: 1.6rem 0 .5rem; }
.pk__body p { color: var(--bone-dim); max-width: 44em; }
.pk__body .glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.pk__body .glance li { padding: .75rem 0 .75rem 1.5rem; border-bottom: 1px solid var(--iron); position: relative; color: var(--bone-dim); line-height: 1.45; }
.pk__body .glance li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 7px; height: 7px; background: var(--blood-hi); transform: rotate(45deg); }

.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.dl {
  display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid var(--iron); background: var(--soot); transition: border-color .25s, transform .25s var(--ease);
}
.dl:hover { border-color: var(--blood); transform: translateY(-2px); }
.dl__thumb { aspect-ratio: 16 / 10; background: #0a0908 center / contain no-repeat; border-bottom: 1px solid var(--iron); display: grid; place-items: center; overflow: hidden; }
.dl__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dl__thumb--contain img { object-fit: contain; padding: 1rem; }
.dl__meta { padding: .9rem 1rem 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.dl__meta strong { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.dl__meta span { font-family: var(--f-label); font-size: .74rem; letter-spacing: .12em; color: var(--ash); white-space: nowrap; }
.dl--primary { grid-column: 1 / -1; flex-direction: row; align-items: center; background: linear-gradient(90deg, rgba(165, 20, 26, .22), var(--soot) 60%); border-color: rgba(165, 20, 26, .55); }
.dl--primary .dl__thumb { width: 180px; flex: none; aspect-ratio: 1; border-bottom: 0; border-right: 1px solid var(--iron); }
.dl--primary .dl__meta { flex: 1; flex-direction: column; align-items: flex-start; padding: 1.2rem 1.5rem; }
.dl--primary .dl__meta strong { font-size: 1.5rem; }
.dl--primary .dl__meta p { margin: .2rem 0 .5rem; font-size: .95rem; color: var(--ash); }

.pk-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.pk-shots a { display: block; aspect-ratio: 16 / 9; overflow: hidden; box-shadow: 0 0 0 1px var(--iron); }
.pk-shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pk-shots a:hover img { transform: scale(1.05); }
.pk-gifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.pk-gifs a { display: block; position: relative; text-decoration: none; }
.pk-gifs a::before { content: "GIF"; position: absolute; top: .5rem; left: .5rem; z-index: 1; font-family: var(--f-label); font-weight: 700; font-size: .68rem; letter-spacing: .12em; padding: .2rem .45rem; background: rgba(13, 11, 10, .8); border: 1px solid var(--iron-hi); color: var(--bone); }
.pk-gifs a:hover img { box-shadow: 0 0 0 1px var(--blood-hi); }
.pk-gifs img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px var(--iron); }
.pk-gifs span { display: block; margin-top: .5rem; font-family: var(--f-label); font-size: .76rem; letter-spacing: .12em; color: var(--ash); }
.pk-video { aspect-ratio: 16 / 9; width: 100%; background: #000; box-shadow: 0 0 0 1px var(--iron); }

@media (max-width: 960px) {
  .pk__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pk__body .glance { grid-template-columns: 1fr; }
  .pk-shots, .pk-gifs { grid-template-columns: 1fr 1fr; }
  .dl--primary { flex-direction: column; align-items: stretch; }
  .dl--primary .dl__thumb { width: 100%; aspect-ratio: 16 / 7; border-right: 0; border-bottom: 1px solid var(--iron); }
}

/* privacy */
.doc { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.doc__grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 1.5rem); font-size: .92rem; }
.toc p { font-family: var(--f-label); font-weight: 700; font-size: .76rem; letter-spacing: .2em; text-transform: lowercase; color: var(--ember); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--iron); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--ash); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a::before { content: counter(toc) ". "; color: #6e665c; }
.toc a:hover, .toc a.is-active { color: var(--bone); border-left-color: var(--blood-hi); }

.prose { max-width: 46em; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.4vw + 1rem, 2.1rem); line-height: 1.15; margin: 3rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--iron); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2 small { font-family: var(--f-label); font-size: .85rem; letter-spacing: .1em; color: var(--blood-hi); margin-right: .6rem; vertical-align: middle; }
.prose p, .prose li { color: var(--bone-dim); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blood-hi); }
.prose strong { color: var(--bone); font-weight: 500; }
.prose a { color: var(--bone); text-decoration-color: var(--blood-hi); text-underline-offset: 3px; }
.prose .meta { font-family: var(--f-label); font-size: .82rem; letter-spacing: .12em; color: var(--ash); }
.summary { border: 1px solid var(--iron); border-left: 3px solid var(--blood); background: var(--soot); padding: 1.4rem 1.6rem; margin: 1.5rem 0 0; }
.summary ul { margin: 0; }

.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--iron); }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.prose th { text-align: left; font-family: var(--f-label); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: lowercase; color: var(--ember); background: var(--soot); padding: .8rem 1rem; border-bottom: 1px solid var(--iron); }
.prose td { padding: .85rem 1rem; border-bottom: 1px solid var(--iron); vertical-align: top; color: var(--bone-dim); line-height: 1.5; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--bone); font-weight: 500; white-space: nowrap; }

@media (max-width: 900px) {
  .doc__grid { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
