/* Warborn: Rise of an Empire, website styles */

@font-face { font-family: "Warborn Title"; src: url("../assets/fonts/WarbornTitle-Regular.woff") format("woff"), url("../assets/fonts/WarbornTitle-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Warborn Subtitle"; src: url("../assets/fonts/WarbornSubtitle-Regular.woff") format("woff"), url("../assets/fonts/WarbornSubtitle-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Lora"; src: url("../assets/fonts/Lora-Variable.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../assets/fonts/Lora-Italic-Variable.ttf") format("truetype"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --iron: #1d1a17;        /* page ground: forged iron, warm */
  --stone: #2b2621;       /* raised surfaces */
  --parchment: #eadfc8;   /* main text */
  --ash: #b3a58c;         /* secondary text */
  --bronze: #c59a55;      /* accents, rules, focus */
  --legion: #8f2219;      /* imperial red, used rarely */
  --line: rgba(197, 154, 85, .35);

  --f-title: "Warborn Title", "Trajan Pro", Georgia, serif;
  --f-sub: "Warborn Subtitle", Georgia, serif;
  --f-body: "Lora", Georgia, "Times New Roman", serif;

  --step--1: .875rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(2.4rem, 1.4rem + 4vw, 4.5rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--iron);
  color: var(--parchment);
  font: 400 var(--step-0)/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); text-underline-offset: .2em; }
a:hover { color: var(--parchment); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; }
h2 { font-family: var(--f-title); font-size: var(--step-3); letter-spacing: .02em; color: var(--parchment); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--parchment); color: var(--iron); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

/* Buttons: the in-game brush strokes */
.btn {
  --btn-img: url("../assets/img/btn-green.webp");
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 64px; padding: .55em 2.4em .65em;
  background: var(--btn-img) center / 100% 100% no-repeat;
  color: #fff; font: 400 1.2rem/1 var(--f-sub); letter-spacing: .03em;
  text-decoration: none; border: 0; cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}
.btn:hover, .btn:focus-visible { --btn-img: url("../assets/img/btn-green-hover.webp"); color: #fff; }
.btn--bronze { --btn-img: url("../assets/img/btn-bronze.webp"); }
.btn--bronze:hover { --btn-img: url("../assets/img/btn-bronze.webp"); }
.btn.is-disabled { cursor: default; opacity: .8; font-size: 1.05rem; }
.btn--small { min-height: 48px; padding: .4em 1.6em .5em; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Top bar */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem var(--gutter);
  transition: background-color .3s;
}
.topbar.is-solid { background: rgba(29, 26, 23, .94); box-shadow: 0 1px 0 var(--line); }
.topbar__logo { flex: none; }
.topbar__logo img { width: 150px; }
.topbar__brand { position: relative; flex: none; display: flex; }
.music-btn { position: absolute; top: calc(100% + .35rem); left: 0; display: inline-flex; align-items: center; gap: .35rem; height: 26px; padding: 0 .6rem 0 .45rem; border-radius: 13px; border: 1px solid var(--line); background: rgba(29, 26, 23, .78); color: var(--parchment); font: 400 .8rem var(--f-sub); letter-spacing: .03em; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.music-btn:hover, .music-btn:focus-visible { border-color: var(--bronze); color: var(--bronze); }
.music-btn svg { width: 14px; height: 14px; }
.music-btn__pause, .music-btn.is-playing .music-btn__play { display: none; }
.music-btn.is-playing .music-btn__pause { display: block; }
.music-btn__bars { display: none; align-items: flex-end; gap: 2px; height: 11px; }
.music-btn.is-playing .music-btn__bars { display: inline-flex; }
.music-btn__bars i { width: 2px; height: 100%; background: var(--bronze); transform-origin: bottom; animation: musicbar 1s ease-in-out infinite; }
.music-btn__bars i:nth-child(2) { animation-delay: -.4s; }
.music-btn__bars i:nth-child(3) { animation-delay: -.7s; }
@keyframes musicbar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.nav { display: flex; align-items: center; gap: clamp(.6rem, 1.35vw, 1.75rem); }
.nav > a, .nav__soon { white-space: nowrap; }
.nav > a:not(.btn), .nav__soon { color: var(--parchment); font: 400 1.05rem var(--f-sub); text-decoration: none; letter-spacing: .02em; }
.nav > a:not(.btn):hover { color: var(--bronze); }
.nav__soon { color: var(--ash); cursor: default; }
.nav__soon small { font-family: var(--f-body); font-size: .7rem; border: 1px solid var(--line); border-radius: 2px; padding: 0 .35em; margin-left: .15em; vertical-align: .15em; }
.nav__socials { list-style: none; margin: 0; padding: 0 0 0 clamp(.25rem, 1vw, .75rem); display: flex; align-items: center; gap: .1rem; border-left: 1px solid var(--line); }
.nav__socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 3px; color: var(--parchment); }
.nav__socials a:hover, .nav__socials a:focus-visible { color: var(--bronze); background: rgba(197,154,85,.1); }
.nav__socials svg { width: 18px; height: 18px; }
.lang { display: inline-flex; align-items: center; gap: .3rem; color: var(--parchment); }
.lang select:hover, .lang select:focus-visible { border-color: var(--bronze); color: var(--bronze); cursor: pointer; }
.lang select { background: transparent; color: var(--parchment); border: 1px solid var(--line); border-radius: 2px; font: inherit; font-size: .9rem; padding: .2rem .3rem; }
.lang option { background: var(--stone); }
.topbar__toggle { display: none; background: none; border: 0; color: var(--parchment); width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: auto; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.hero__art {
  position: absolute; inset: 0; z-index: -1;
  background: url("../assets/img/hero-knights.webp") center 35% / cover no-repeat;
  animation: march 1.6s ease-out both;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(29,26,23,.55) 0%, rgba(29,26,23,.15) 30%, rgba(29,26,23,.35) 60%, var(--iron) 100%); }
@keyframes march { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
.hero__inner { padding: 7rem var(--gutter) 5rem; max-width: 960px; }
.hero__logo { width: min(760px, 88vw); margin: 0 auto 1.5rem; filter: drop-shadow(0 6px 18px rgba(0,0,0,.7)); }
.hero__title { font: 400 var(--step-2)/1.25 var(--f-sub); letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.hero__lede { margin: .75rem auto 2rem; max-width: 34em; color: var(--parchment); text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.25rem; }

/* About */
.about { padding-block: clamp(4rem, 9vw, 7.5rem); }
.about__text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem); }
.about__body p { max-width: 36em; }
.about__body p:last-child { margin-bottom: 0; }
.about__video { margin: 0; }
.video-frame { position: relative; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.55); background: #000; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-toggle {
  position: absolute; right: .9rem; bottom: .9rem; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(29,26,23,.75); color: var(--parchment); border: 1px solid var(--line);
}
.video-toggle:hover { color: var(--bronze); border-color: var(--bronze); }
.video-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.about__video figcaption { margin-top: .75rem; color: var(--ash); font-size: var(--step--1); font-style: italic; }

/* World: three chapters */
.world { background: var(--stone); padding-block: clamp(4rem, 9vw, 7rem); border-block: 1px solid var(--line); }
.world__head { max-width: 40em; margin-bottom: clamp(2rem, 4vw, 3rem); }
.world__head h2 { margin-bottom: 1rem; }
.world__head p { color: var(--ash); }
.chapter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.chapter--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.chapter--rev .chapter__media { order: 2; }
.chapter__media { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--iron); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.chapter__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.chapter__kicker { font: 400 1.05rem var(--f-sub); color: var(--bronze); margin: 0 0 .35rem; letter-spacing: .02em; }
.chapter h3 { font: 400 var(--step-3)/1.1 var(--f-title); margin-bottom: .9rem; }
.chapter__text > p:not(.chapter__kicker) { font-size: 1.05rem; }
.facts { margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.facts dt { font: 400 1.05rem var(--f-sub); color: var(--parchment); }
.facts dd { margin: .2rem 0 0; font-size: .92rem; line-height: 1.55; color: var(--ash); }
.pits { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.pits img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; }
.pits span { display: block; text-align: center; margin-top: .35rem; font: 400 .95rem var(--f-sub); color: var(--ash); }
.angles { margin-top: 1.25rem; }
.angles__pick { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.angles__pick button { background: transparent; color: var(--parchment); border: 0; border-right: 1px solid var(--line); font: 400 1rem var(--f-sub); padding: .5rem 1.1rem; cursor: pointer; min-height: 44px; }
.angles__pick button:last-child { border-right: 0; }
.angles__pick button:hover { color: var(--bronze); }
.angles__pick button[aria-pressed="true"] { background: var(--bronze); color: var(--iron); }
.angles__body { display: flex; align-items: center; gap: 1.5rem; margin-top: 1rem; }
.angles__svg { width: 128px; height: 128px; flex: none; }
.arc { fill: rgba(234,223,200,.08); stroke: rgba(197,154,85,.45); stroke-width: .8; transition: fill .25s; }
.arc.is-on { fill: var(--bronze); }
.unit { fill: var(--legion); stroke: var(--parchment); stroke-width: 1.5; }
.unit__dir { fill: var(--parchment); }
.angles__out p { margin: 0 0 .3rem; color: var(--ash); font-size: .95rem; }
.angles__out strong { display: block; font: 400 var(--step-2)/1.15 var(--f-sub); color: var(--parchment); }
.angles__share { margin: 1rem 0 0; font-size: .95rem; line-height: 1.55; color: var(--parchment); }
.angles__note { margin: .5rem 0 0; font-size: .9rem; font-style: italic; color: var(--ash); }
.trip { position: relative; height: 56px; margin-top: 1.5rem; border-bottom: 1px dashed rgba(197,154,85,.5); }
.trip__from, .trip__to { position: absolute; bottom: .55rem; font: 400 .95rem var(--f-sub); color: var(--ash); }
.trip__from { left: 0; } .trip__to { right: 0; }
.trip__walker { position: absolute; bottom: -7px; left: 4.5rem; width: 14px; height: 14px; border-radius: 50%; background: #6b8f3a; box-shadow: 0 0 0 2px var(--stone); animation: trip 6s ease-in-out infinite, load 6s steps(1) infinite; }
@keyframes trip { 0%, 10% { left: 4.5rem; } 45%, 55% { left: calc(100% - 5.5rem); } 90%, 100% { left: 4.5rem; } }
@keyframes load { 0% { background: #6b8f3a; } 10% { background: var(--bronze); } 55% { background: #6b8f3a; } }
.more { border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3rem); }
.more__title { font: 400 var(--step-1) var(--f-sub); color: var(--bronze); margin-bottom: 1rem; }
.more__list { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.more__list dt { font: 400 1.1rem/1.25 var(--f-sub); color: var(--parchment); margin-bottom: .35rem; }
.more__list dd { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ash); }
.wip-badge { display: inline-block; font-style: normal; font-size: .8rem; color: var(--bronze); border: 1px solid var(--line); padding: .05rem .5rem; border-radius: 2px; margin-right: .4rem; }

/* Civilizations */
.civs { padding-block: clamp(4rem, 9vw, 7rem); }
.civs__head { max-width: 36em; margin-bottom: 1.75rem; }
.civs__head h2 { margin-bottom: .75rem; }
.civs__head p { color: var(--ash); }
.civ-medals { display: flex; gap: clamp(1rem, 3vw, 2.25rem); margin-bottom: 1.25rem; }
.civ-medal { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ash); font: 400 1rem var(--f-sub); display: grid; justify-items: center; gap: .25rem; }
.civ-medal img { width: clamp(64px, 8vw, 96px); transition: transform .25s, filter .25s; filter: saturate(.55) brightness(.75); }
.civ-medal:hover img { filter: none; }
.civ-medal[aria-selected="true"] { color: var(--parchment); }
.civ-medal[aria-selected="true"] img { filter: drop-shadow(0 0 14px rgba(230, 180, 90, .7)); transform: scale(1.1); }
.civ-medal small { font: italic .75rem var(--f-body); color: var(--ash); margin-top: -.2rem; }
.civ-medal--soon img { filter: grayscale(.6) brightness(.6); }
.civ-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--stone); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.civ-stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.civ-stage__soon { position: absolute; inset: 0 0 22% 0; display: grid; place-content: center; justify-items: center; gap: .75rem; color: var(--ash); font-style: italic; background: radial-gradient(ellipse at 50% 45%, #5a3a1c 0%, var(--stone) 55%, var(--iron) 100%); }
.civ-stage__soon img { width: clamp(120px, 16vw, 200px); }
.civ-stage__label { position: absolute; inset: auto 0 0 0; padding: 4rem clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.75rem); background: linear-gradient(to top, rgba(29,26,23,.9) 0%, rgba(29,26,23,.55) 55%, transparent); }
.civ-stage__label.is-right { text-align: right; }
.civ-stage__label h3 { font: 400 var(--step-4)/1 var(--f-title); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.civ-stage__label p { margin: .4rem 0 0; font-style: italic; font-size: var(--step-1); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.civ-feature { margin-top: 1.5rem; padding: 1rem 1.4rem; border-left: 3px solid var(--bronze); background: rgba(197,154,85,.07); }
.civ-feature__k { margin: 0 0 .25rem; font: 400 1rem var(--f-sub); color: var(--bronze); }
.civ-feature__t { margin: 0; font-size: var(--step-1); font-style: italic; line-height: 1.45; max-width: 52em; }
.civ-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 1.75rem; }
.civ-col h4 { font: 400 1.05rem var(--f-sub); color: var(--bronze); margin: 0 0 .9rem; padding-top: .8rem; border-top: 1px solid var(--line); letter-spacing: .02em; }
.civ-col ul { list-style: none; margin: 0; padding: 0; }
.civ-heroes { display: flex; flex-wrap: wrap; gap: 1rem; }
.civ-hero { display: grid; justify-items: center; gap: .35rem; text-align: center; }
.civ-hero img, .civ-hero__tbd { width: 88px; height: 88px; border-radius: 50%; }
.civ-hero__tbd { display: grid; place-items: center; font: 400 2rem var(--f-title); color: var(--parchment); background: linear-gradient(90deg, rgba(142,63,176,.55) 50%, rgba(217,161,42,.55) 50%); border: 2px solid rgba(224,184,96,.6); }
.civ-hero strong { font: 400 1.05rem var(--f-sub); }
.civ-hero small { font-style: italic; color: var(--ash); font-size: .8rem; margin-top: -.25rem; }
.civ-units { display: grid; gap: .75rem; }
.civ-units li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; line-height: 1.35; color: var(--ash); }
.civ-units img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; flex: none; }
.civ-units strong, .civ-techs strong { display: block; font: 400 1rem var(--f-sub); color: var(--parchment); }
.civ-techs { display: grid; gap: .6rem; }
.civ-techs li { display: grid; grid-template-columns: 4.2rem 1fr; gap: .5rem; font-size: .88rem; line-height: 1.35; color: var(--ash); }
.civ-techs .age { font: 400 .9rem var(--f-sub); color: var(--bronze); padding-top: .1rem; }
.civ-building { margin: 0; }
.civ-building img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.zoomable { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoomable img { display: block; transition: filter .2s; }
.zoomable:hover img, .zoomable:focus-visible img { filter: brightness(1.08); }
.zoomable:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.zoomable__icon { position: absolute; right: .6rem; bottom: .6rem; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(29,26,23,.78); color: var(--parchment); border: 1px solid var(--line); }
.zoomable:hover .zoomable__icon { color: var(--bronze); }
.zoomable__icon svg { width: 18px; height: 18px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2.5rem); background: rgba(12,10,9,.92); cursor: zoom-out; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; justify-items: center; gap: .6rem; cursor: default; }
.lightbox img { max-width: min(1920px, 100%); max-height: calc(100vh - 6rem); width: auto; height: auto; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox figcaption { font: 400 1.05rem var(--f-sub); color: var(--parchment); text-align: center; }
.lightbox__close { position: absolute; top: .75rem; right: .9rem; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(29,26,23,.85); color: var(--parchment); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover, .lightbox__close:focus-visible { color: var(--bronze); border-color: var(--bronze); }
body.no-scroll { overflow: hidden; }
.civ-building figcaption { margin-top: .5rem; font: 400 1rem var(--f-sub); color: var(--parchment); }
.civ-building--tbd { aspect-ratio: 16 / 9; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 3px; color: var(--ash); font-style: italic; background: rgba(234,223,200,.03); }
.civ-tbd { margin: 0; color: var(--ash); font-style: italic; font-size: .95rem; }
.civs__note { margin: 1.5rem 0 0; color: var(--ash); font-size: var(--step--1); font-style: italic; }

/* Heroes */
.heroes { padding-block: clamp(4rem, 9vw, 7.5rem); }
.heroes__head { max-width: 36em; margin-bottom: 2.5rem; }
.heroes__head h2 { margin-bottom: 1rem; }
.heroes__head p { color: var(--ash); }
.stage__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--stone); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.stage__video, .stage__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 40%, rgba(29,26,23,.55) 62%, rgba(29,26,23,.9) 100%); }
.stage__screen.is-soon { background: radial-gradient(ellipse at 30% 55%, #6b3f86 0%, #3a2547 35%, var(--stone) 75%); }
.stage__screen.is-soon::before { content: ""; position: absolute; left: 14%; top: 50%; width: 32%; aspect-ratio: 1; transform: translateY(-50%); background: var(--soon-img) center / contain no-repeat; opacity: .9; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.stage__view { position: relative; }
.stage__info { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: min(44%, 32rem); padding: clamp(1.25rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.stage__info h3 { font: 400 clamp(2rem, 1.2rem + 2.6vw, 3.5rem)/1.05 var(--f-title); overflow-wrap: anywhere; text-shadow: 0 2px 12px rgba(0,0,0,.7); margin: .35rem 0 .9rem; }
.stage__info p { margin: 0; font-size: 1.05rem; text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.stage__tag { align-self: flex-start; font: 400 .95rem var(--f-sub); color: var(--bronze); border: 1px solid var(--line); padding: .1rem .6rem; border-radius: 2px; background: rgba(29,26,23,.5); }
.stage__picker { display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: clamp(.75rem, 2.5vw, 2rem); margin-top: 1.5rem; }
.pick { background: none; border: 0; padding: 0; cursor: pointer; display: grid; justify-items: center; gap: .35rem; color: var(--ash); font: 400 1rem var(--f-sub); }
.pick img { width: clamp(64px, 8vw, 92px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid rgba(197,154,85,.35); filter: saturate(.6) brightness(.8); transition: filter .2s, border-color .2s, transform .2s; }
.pick:hover img { filter: none; }
.pick[aria-selected="true"] { color: var(--parchment); }
.pick[aria-selected="true"] img { filter: none; border-color: var(--bronze); box-shadow: 0 0 18px rgba(230,180,90,.5); transform: scale(1.06); }
.pick small { font-family: var(--f-body); font-size: .75rem; font-style: italic; color: var(--ash); margin-top: -.3rem; }
.pick--soon img { filter: grayscale(.7) brightness(.7); }
.pick--card img { width: clamp(84px, 9.5vw, 128px); aspect-ratio: 380 / 500; border: 0; border-radius: 0; object-fit: contain; filter: saturate(.7) brightness(.75); }
.pick--card:hover img { filter: none; }
.pick--card[aria-selected="true"] img { border: 0; box-shadow: none; filter: drop-shadow(0 0 12px rgba(230,180,90,.55)); transform: translateY(-6px) scale(1.04); }
.heroes__more { margin: 2rem auto 0; text-align: center; color: var(--ash); font-size: 1rem; max-width: 46em; }

/* Media */
.media { padding-block: clamp(4rem, 9vw, 6.5rem) 0; }
.media__head, .creators__head { max-width: 36em; margin-bottom: 1.5rem; }
.media__head h2, .creators__head h2 { margin-bottom: .75rem; }
.media__head p, .creators__head p { color: var(--ash); }
.media__filters { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 1.25rem; }
.media__filters button { background: transparent; color: var(--parchment); border: 0; border-right: 1px solid var(--line); font: 400 1rem var(--f-sub); padding: .45rem 1rem; min-height: 44px; cursor: pointer; }
.media__filters button:last-child { border-right: 0; }
.media__filters button[aria-pressed="true"] { background: var(--bronze); color: var(--iron); }
.media__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.media-item { margin: 0; }
.media-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); display: block; }
.media-item figcaption { margin-top: .5rem; font-size: .95rem; color: var(--ash); }
.media__soon { position: relative; }
.media__ghosts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.media__ghosts span { aspect-ratio: 16 / 9; border: 1px dashed var(--line); border-radius: 3px; background: rgba(234,223,200,.03); }
.media__soon-text { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 1rem; background: radial-gradient(ellipse at center, rgba(29,26,23,.9) 30%, rgba(29,26,23,.55) 80%); }
.media__soon-text p { margin: 0 0 .5rem; color: var(--ash); }
.media__soon-title { font: 400 var(--step-2)/1.2 var(--f-title) !important; color: var(--parchment) !important; }
.media__soon-text .btn { margin-top: .5rem; }

/* Content creators */
.creators { padding-block: clamp(4rem, 9vw, 6.5rem); }
.creators__feature { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--stone); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.45); overflow: hidden; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: radial-gradient(ellipse at center, #3a332c, var(--stone)); }
.yt__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt__play svg { position: absolute; left: 50%; top: 50%; width: 72px; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); transition: transform .2s; }
.yt__play:hover svg, .yt__play:focus-visible svg { transform: translate(-50%, -50%) scale(1.1); }
.yt__open { position: absolute; right: .6rem; bottom: .6rem; z-index: 1; font-size: .8rem; color: var(--parchment); background: rgba(29,26,23,.8); border: 1px solid var(--line); padding: .15rem .55rem; border-radius: 2px; text-decoration: none; }
.yt__open:hover { color: var(--bronze); }
.creators__meta h3 { font: 400 var(--step-2)/1.2 var(--f-sub); margin-bottom: .4rem; }
.creators__channel { margin: 0 0 .75rem; font: 400 1.05rem var(--f-sub); color: var(--bronze); }
.creators__hint { margin: 0; color: var(--ash); font-size: .95rem; }
.creators__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.creator-card { width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--parchment); display: grid; gap: .4rem; }
.creator-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at center, #3a332c, var(--stone)); }
.creator-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.8); transition: filter .2s; }
.creator-card:hover img { filter: none; }
.creator-card[aria-pressed="true"] .creator-card__thumb { border: 2px solid var(--bronze); }
.creator-card[aria-pressed="true"] img { filter: none; }
.creator-card strong { font: 400 1rem var(--f-sub); }
.creator-card small { color: var(--bronze); font-size: .85rem; margin-top: -.25rem; }
.yt-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 1rem; text-align: center; background: radial-gradient(ellipse at center, #3a332c, var(--stone)); }
.yt-soon svg { width: clamp(64px, 12vw, 104px); filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.yt-soon p { margin: 0; font: 400 var(--step-1, 1.25rem)/1.2 var(--f-sub); color: var(--parchment); letter-spacing: .02em; }
.creators__channel-link { margin: 1rem 0 0; }
.creators__channel-link a { color: var(--bronze); }
.creator-badge { display: grid; place-items: center; width: 150px; height: 150px; margin-bottom: 1.25rem; border-radius: 6px; background: var(--parchment); border: 3px solid var(--bronze); box-shadow: inset 0 0 18px rgba(120, 90, 50, .45), 0 10px 24px rgba(0, 0, 0, .6); transition: transform .2s; }
.creator-badge img { width: 82%; height: 82%; object-fit: contain; display: block; }
a.creator-badge:hover, a.creator-badge:focus-visible { transform: translateY(-2px); }
.creators__cta { margin: 2rem 0 0; padding: .9rem 1.2rem; border: 1px solid var(--line); border-radius: 3px; color: var(--parchment); }

.tap-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(29,26,23,.78); color: var(--parchment); border: 2px solid var(--bronze); }
.tap-play svg { width: 30px; height: 30px; margin-left: 3px; }
.tap-play:hover { color: var(--bronze); }
.stage__screen, .chapter__media, .civ-stage, .video-frame { position: relative; }

/* Alpha sign-up */
.alpha { position: relative; isolation: isolate; padding-block: clamp(4rem, 9vw, 7rem); }
.alpha__art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--iron), rgba(29,26,23,.45) 25%, rgba(29,26,23,.45) 75%, var(--iron)), url("../assets/img/cavalry.webp") center / cover no-repeat; }
.alpha__panel {
  max-width: 880px; margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem);
  background: url("../assets/img/panel-torn.webp") center / 100% 100% no-repeat;
}
.alpha__intro { text-align: center; max-width: 36em; margin: 0 auto 2rem; }
.alpha__intro h2 { font-size: var(--step-4); margin-bottom: .75rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.75rem; }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field > label:not(.check), legend { font: 400 1.05rem var(--f-sub); color: var(--parchment); padding: 0; letter-spacing: .02em; }
.field em { font-family: var(--f-body); font-size: .8rem; color: var(--ash); }
input[type="email"], input[type="text"], .field select {
  width: 100%; min-height: 48px; padding: .6rem .8rem;
  background: rgba(234, 223, 200, .06); color: var(--parchment);
  border: 1px solid rgba(197,154,85,.45); border-radius: 3px;
  font: 400 1rem var(--f-body);
}
.field select option { background: var(--stone); }
input::placeholder { color: rgba(179,165,140,.7); }
input:focus, select:focus { border-color: var(--bronze); background: rgba(234, 223, 200, .1); outline: none; box-shadow: 0 0 0 2px rgba(197,154,85,.35); }
[aria-invalid="true"] { border-color: #d8664d !important; }
.hint { color: var(--ash); font-size: .85rem; }
.err { color: #f09a83; font-size: .9rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: .3rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--bronze); flex: none; }
.check--consent { margin-bottom: .5rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__submit { justify-items: center; margin-top: .5rem; }
.form-done { text-align: center; padding: 1rem 0 0; }
.form-done h3 { font: 400 var(--step-3) var(--f-title); color: var(--bronze); margin-bottom: .75rem; }
.form-done__preview { color: var(--ash); font-style: italic; font-size: .9rem; }

/* Community */
.community { text-align: center; padding-block: clamp(4rem, 8vw, 6rem); }
.community h2 { margin-bottom: .75rem; }
.community > p { color: var(--ash); max-width: 32em; margin-inline: auto; }
.socials { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.socials a {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem 1.25rem;
  border: 1px solid var(--line); border-radius: 3px; color: var(--parchment); text-decoration: none;
  font: 400 1.05rem var(--f-sub);
}
.socials a:hover { border-color: var(--bronze); color: var(--bronze); }
.socials svg { width: 22px; height: 22px; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #191613; padding-block: 2rem; font-size: .9rem; color: var(--ash); }
.footer__inner { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer__inner img { width: 56px; }
.footer__inner p { margin: 0; flex: 1; min-width: 14rem; line-height: 1.6; }
.footer nav { display: flex; gap: 1.25rem; }
.footer a { color: var(--ash); }
.footer a:hover { color: var(--parchment); }

/* Responsive */
@media (max-width: 1340px) {
  .topbar__toggle { display: block; }
  .nav {
    position: fixed; inset: 60px 0 auto; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    padding: 1.5rem var(--gutter) 2rem; background: rgba(29,26,23,.98); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__socials { border-left: 0; padding: .25rem 0; gap: .5rem; margin-left: -.5rem; }
  .nav__socials a { width: 44px; height: 44px; }
  .nav__socials svg { width: 22px; height: 22px; }
  .topbar { background: rgba(29,26,23,.9); }
}
@media (max-width: 900px) {
  .about__text, .chapter, .chapter--rev, .creators__feature { grid-template-columns: 1fr; }
  .media__grid { grid-template-columns: 1fr 1fr; }
  .chapter--rev .chapter__media { order: 0; }
  .more__list { grid-template-columns: 1fr 1fr; }
  .stage__screen::after { background: linear-gradient(to bottom, transparent 55%, rgba(29,26,23,.6)); }
  .stage__info { position: static; width: auto; padding: 1.25rem 0 0; }
  .stage__info h3 { font-size: var(--step-3); }
  .civ-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .creator-badge { width: 120px; height: 120px; }
  .facts, .more__list, .media__grid { grid-template-columns: 1fr; }
  .media__ghosts { grid-template-columns: 1fr; }
  .media__ghosts span:nth-child(n+2) { display: none; }
  .media__ghosts span { aspect-ratio: 4 / 3; }
  .angles__body { gap: 1rem; }
  .angles__svg { width: 104px; height: 104px; }
  .form { grid-template-columns: 1fr; }
  .alpha__panel { background: rgba(20,18,16,.92); border: 1px solid var(--line); }
  .civ-medal span { font-size: .85rem; }
  .civ-medals { justify-content: space-between; }
  .civ-grid { grid-template-columns: 1fr; }
  .civ-stage__label { padding-top: 2.5rem; }
  .civ-stage__label p { font-size: 1rem; }
  .stage__picker { flex-wrap: nowrap; gap: .5rem; justify-content: space-between; }
  .pick { font-size: .78rem; min-width: 0; text-align: center; }
  .pick img { width: 46px; }
  .pick--card img { width: 64px; }
  .pick small { font-size: .65rem; white-space: nowrap; }
  .pick span { white-space: nowrap; font-size: .72rem; }
}

/* Sub pages: legal texts and contact */
.subpage .topbar { justify-content: space-between; }
.subpage__back { color: var(--parchment); font: 400 1.05rem var(--f-sub); text-decoration: none; letter-spacing: .02em; }
.subpage__back:hover, .subpage__back:focus-visible { color: var(--bronze); }
.subpage main { min-height: 70vh; }
.legal, .contact { padding-block: clamp(7rem, 12vw, 9rem) clamp(3.5rem, 7vw, 5rem); max-width: 48rem; }
.legal h1, .contact h1 { font: 400 var(--step-3) var(--f-title); margin: 0 0 .75rem; }
.legal__date { color: var(--ash); font-style: italic; margin: 0 0 2rem; }
.legal h2 { font: 400 var(--step-1) var(--f-sub); color: var(--bronze); margin: 2.5rem 0 .6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.legal h3 { font: 400 1.1rem var(--f-sub); color: var(--parchment); margin: 1.25rem 0 .4rem; }
.legal p, .legal li { line-height: 1.7; color: #d9ccb2; }
.legal ul { padding-left: 1.25rem; margin: .4rem 0 1rem; }
.legal li { margin: .2rem 0; }
.legal li::marker { color: var(--bronze); }
.legal strong { color: var(--parchment); }
.legal a { color: var(--bronze); }
.legal__table { overflow-x: auto; margin: 1rem 0 1.25rem; border: 1px solid var(--line); border-radius: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 34rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-bottom: 1px solid var(--line); line-height: 1.5; }
.legal th { font: 400 1rem var(--f-sub); color: var(--bronze); background: rgba(234,223,200,.04); }
.legal tr:last-child td { border-bottom: 0; }
.contact__lede { color: var(--ash); margin: 0 0 2.25rem; max-width: 38em; }
.contact__form { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 3px; background: rgba(234,223,200,.03); }
.contact__form .hint a { color: var(--ash); }
.contact__form .hint a:hover { color: var(--parchment); }
textarea {
  width: 100%; min-height: 10rem; padding: .7rem .8rem; resize: vertical;
  background: rgba(234, 223, 200, .06); color: var(--parchment);
  border: 1px solid rgba(197,154,85,.45); border-radius: 3px; font: 400 1rem/1.55 var(--f-body);
}
textarea:focus { border-color: var(--bronze); background: rgba(234, 223, 200, .1); outline: none; box-shadow: 0 0 0 2px rgba(197,154,85,.35); }
.contact .form-done { padding: 2.5rem 1rem; border: 1px solid var(--line); border-radius: 3px; }
.contact .form-done h2 { font: 400 var(--step-3) var(--f-title); color: var(--bronze); margin: 0 0 .75rem; }
.footer nav { flex-wrap: wrap; gap: .5rem 1.25rem; }

/* Languages: fonts for scripts the Warborn fonts don't cover */
:lang(ru), :lang(uk), :lang(vi) { --f-title: "Lora", Georgia, serif; --f-sub: "Lora", Georgia, serif; }
:lang(ru) h1, :lang(ru) h2, :lang(uk) h1, :lang(uk) h2, :lang(vi) h1, :lang(vi) h2 { font-weight: 600; }
:lang(ja) { --f-title: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif; --f-sub: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif; --f-body: "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
:lang(ko) { --f-title: "Noto Serif KR", "Noto Serif CJK KR", "AppleMyungjo", "Batang", serif; --f-sub: "Noto Serif KR", "Noto Serif CJK KR", "AppleMyungjo", "Batang", serif; --f-body: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif; }
:lang(zh) { --f-title: "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif; --f-sub: "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif; --f-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }
:lang(ar) { --f-title: "Noto Naskh Arabic", "Amiri", "Traditional Arabic", "Times New Roman", serif; --f-sub: "Noto Naskh Arabic", "Amiri", "Traditional Arabic", "Times New Roman", serif; --f-body: "Noto Sans Arabic", "Segoe UI", "Tahoma", sans-serif; }
:lang(ar) *, :lang(ja) *, :lang(ko) *, :lang(zh) *, :lang(th) * { letter-spacing: 0 !important; }
:lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2, :lang(zh) h1, :lang(zh) h2, :lang(th) h1, :lang(th) h2, :lang(ar) h1, :lang(ar) h2 { font-weight: 700; }
:lang(ar) body { line-height: 1.8; }
:lang(zh-TW) { --f-title: "Songti TC", "Noto Serif TC", "Noto Serif CJK TC", "PMingLiU", serif; --f-sub: "Songti TC", "Noto Serif TC", "Noto Serif CJK TC", "PMingLiU", serif; --f-body: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", sans-serif; }
:lang(th) { --f-title: "Noto Serif Thai", "Thonburi", "Leelawadee UI", "Tahoma", serif; --f-sub: "Noto Serif Thai", "Thonburi", "Leelawadee UI", "Tahoma", serif; --f-body: "Noto Sans Thai", "Thonburi", "Leelawadee UI", "Tahoma", sans-serif; }
:lang(th) body { line-height: 1.8; }
