@font-face {
  font-family: Cinzel;
  src: url("/media/cinzel-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #111613;
  --stone: #1a211b;
  --forest: #161e18;
  --faint: #adb7aa;
  --paper: #f4eee0;
  --gold: #e3c386;
  --line: #454438;
  --title: Cinzel, Georgia, serif;
  --body: system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.68 var(--body); }
a { color: inherit; }
img, video { display: block; width: 100%; height: auto; }
figure, dl { margin: 0; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--title); font-weight: 600; line-height: 1.13; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 4.5vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.13rem, 2.5vw, 1.5rem); margin-bottom: .65rem; }
:focus-visible { outline: 2px solid #f4cf7f; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 7vw, 6.75rem); }
.skip { position: absolute; left: 1rem; top: -20rem; z-index: 3; background: var(--gold); color: var(--ink); padding: .65rem 1rem; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: #111812; }
.topbar { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.08rem/1 var(--title); letter-spacing: .05em; text-decoration: none; white-space: nowrap; }
.wordmark span { display: inline-block; color: var(--gold); font: 1.38rem/1 Georgia, serif; }
nav { display: flex; align-items: center; gap: clamp(.95rem, 2.5vw, 2rem); }
nav a { color: #d6dbcf; text-decoration: none; font-size: .93rem; padding-block: .6rem; }
nav a:hover, .text-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: .3em; }
.button { display: inline-flex; min-height: 3.05rem; align-items: center; justify-content: center; padding: .62rem 1.25rem; text-decoration: none; font-weight: 700; line-height: 1.3; border: 1px solid #827050; border-radius: 2px; transition: background .16s ease, color .16s ease; }
.button-gold { background: var(--gold); color: #211a11; border-color: var(--gold); }
.button-gold:hover { background: #f3d6a0; }
.button-outline { background: #161c16e6; color: var(--paper); }
.button-outline:hover { background: #303329; }
.top-play { min-height: 2.7rem; padding-inline: 1.15rem; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(34rem, 55vw, 46rem);
  overflow: hidden;
  background: #111913;
  border-bottom: 1px solid #625336;
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: min(78%, 106rem);
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  mask-image: linear-gradient(to right, transparent, #000 32%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg,
      #111913 24%,
      #111913ec var(--hero-copy-blend-start, 35%),
      #111913aa var(--hero-copy-blend-middle, 48%),
      #11191322 69%,
      transparent 83%),
    linear-gradient(0deg, #111913e8 0%, #11191334 19%, transparent 43%, transparent 87%, #11191345 100%);
}
.hero-inner { min-height: inherit; display: flex; align-items: center; padding-block: 4.8rem 4.4rem; position: relative; }
.hero-content { max-width: 43rem; }
.eyebrow { color: var(--gold); font-size: .82rem; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.eyebrow span { margin-right: .35rem; }
.hero h1 { font-size: clamp(3.45rem, 6.2vw, 6.25rem); letter-spacing: -.075em; font-weight: 600; line-height: .97; text-shadow: 0 2px 28px #07100885; }
.hero-lede { max-width: 27rem; margin: 1.4rem 0 1.5rem; color: #e3e5d8; font-size: clamp(1rem, 2vw, 1.13rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.availability { display: flex; align-items: center; gap: .6rem; margin: 1.12rem 0 0; color: #d1cbb8; font-size: .9rem; }
.status-dot { flex: none; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #deb67d; }
.is-online .status-dot { background: #8fcd9a; }
.image-credit { position: absolute; right: 0; bottom: 1.1rem; color: #dddccb; font-size: .78rem; text-shadow: 0 1px 3px #111913; }
.about-band { background: #1c241c; border-bottom: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; padding-block: 2.8rem; }
.about-inner :is(h2, p:last-child) { margin-bottom: 0; }
.about-inner h2 { font-size: clamp(1.45rem, 3.4vw, 2.45rem); }
.about-inner p:last-child, .section p:not(.eyebrow) { color: #c6cbbf; }
.atlas-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(1.4rem, 3vw, 3.1rem); align-items: start; margin-top: 1.7rem; }
.film { border: 1px solid var(--line); background: #1b221a; }
.film video { aspect-ratio: 16 / 9; background: #242d22; }
figcaption { color: var(--faint); font-size: .88rem; }
.film figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; padding: .7rem 1rem; }
.film figcaption span:first-child { color: var(--paper); font-weight: 670; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; min-height: 3rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .57rem .1rem; cursor: pointer; color: var(--paper); font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.25rem; font-weight: 400; }
details[open] > summary::after { content: "−"; }
summary:hover { color: var(--gold); }
details p { margin: .15rem .6rem .85rem 0; }
.character-section, .guide-section { background: var(--forest); border-block: 1px solid var(--line); }
.character-intro { max-width: 42rem; }
.weapons { margin: 1.8rem 0 2.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.weapons div { padding: 1.35rem; background: #212921; }
.weapons dt { font: 600 1.3rem/1.2 var(--title); color: var(--gold); margin-bottom: .5rem; }
.weapons dd { margin: 0; color: #ced3c7; }
.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.systems article { border-top: 1px solid #76613d; padding-top: 1rem; }
.systems p:last-child { margin: 0; }
.tavern { display: grid; grid-template-columns: 1fr 1.27fr; align-items: center; gap: clamp(1.5rem, 5vw, 4.4rem); }
.tavern img { border: 1px solid #775b36; background: #302018; }
.tavern figcaption { padding-top: .6rem; }
.text-link { display: inline-block; color: var(--gold); text-underline-offset: .28em; padding-block: .45rem; font-weight: 620; }
.guide { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.first-steps { margin: 0 0 1.25rem; padding-inline-start: 1.2rem; color: #c6cbbf; }
.first-steps li + li { margin-top: .6rem; }
.controls { border: 1px solid var(--line); background: #20271f; align-self: start; }
.controls div { display: grid; grid-template-columns: minmax(9rem,.84fr) minmax(0,1fr); padding: .75rem 1rem; align-items: center; gap: .65rem; }
.controls div + div { border-top: 1px solid var(--line); }
.controls dd { margin: 0; color: #dee0d3; }
kbd { display: inline-block; min-width: 1.47rem; text-align: center; padding: .07rem .23rem; border: 1px solid #77664b; background: #161a15; color: #f3d49d; border-radius: 3px; font: 600 .84rem/1.4 var(--body); }
.release-grid, .support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); }
.news-entry, .status-card { border-block: 1px solid var(--line); padding-block: 1rem; }
.news-entry time { color: var(--gold); font-size: .9rem; display: block; margin-bottom: .6rem; }
.news-entry + .news-entry { border-top: 0; }
.news-entry details { border-bottom: 0; }
.status-line { display: flex; align-items: center; gap: .7rem; font-size: 1.12rem; }
.support-section { background: #1b221b; border-block: 1px solid var(--line); }
#privacy .text-link { display: table; }
.policy { max-width: 48rem; }
.policy h1 { font-size: clamp(2.25rem, 6vw, 4rem); margin-bottom: 1rem; }
.policy h2 { font-size: clamp(1.35rem, 3.3vw, 2rem); margin-top: 2rem; }
.policy a:not(.button) { color: var(--gold); text-underline-offset: .22em; overflow-wrap: anywhere; }
.support-grid .button { margin-top: .2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-block: 1.4rem; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 3rem); }
  .topbar { gap: .8rem; }
  .wordmark { font-size: .96rem; }
  nav { gap: .83rem; }
  .hero {
    --hero-copy-blend-start: 43%;
    --hero-copy-blend-middle: 56%;
  }
  .hero-lede { max-width: 44vw; }
  .weapons { grid-template-columns: repeat(2,1fr); }
  .controls div { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2.5rem); }
  .topbar { flex-wrap: wrap; padding-block: .65rem .35rem; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); }
  .topbar nav a { font-size: .88rem; min-height: 2.75rem; }
  .hero { --hero-art-height: clamp(16rem, 78vw, 30rem); min-height: auto; }
  .hero-image {
    inset: 0 0 auto;
    width: 100%;
    height: var(--hero-art-height);
    object-position: center 52%;
    mask-image: none;
  }
  .hero::after {
    background: linear-gradient(to bottom,
      transparent 0%,
      transparent calc(var(--hero-art-height) * .62),
      #111913d9 var(--hero-art-height),
      #111913 calc(var(--hero-art-height) + 1.5rem));
  }
  .hero-inner {
    display: block;
    padding-block: calc(var(--hero-art-height) - .75rem) 2rem;
  }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 4.7rem); }
  .hero-lede { max-width: 27rem; margin-block: 1rem 1.2rem; }
  .image-credit { position: static; display: block; margin-top: 1rem; }
  .about-inner, .atlas-grid, .tavern, .guide, .release-grid, .support-grid, .systems { grid-template-columns: minmax(0,1fr); }
  .about-inner { gap: .8rem; }
  .tavern figure { order: -1; }
  .weapons div { padding: .9rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Guides, atlas and journal */
.topbar nav { flex-wrap: wrap; column-gap: clamp(.55rem, 1.65vw, 1.6rem); row-gap: 0; }
nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-underline-offset: .35em; }
.portal-masthead {
  background: radial-gradient(ellipse at 87% 12%, #303b2b, transparent 63%), #171f18;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  padding-top: 1rem;
  gap: .55rem;
  flex-wrap: wrap;
  font-size: .83rem;
  color: #b7c2b4;
}
.breadcrumbs a { font-size: inherit; }
.portal-intro { padding-block: clamp(2.4rem, 6vw, 5.3rem); }
.portal-intro.has-image {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(1.35rem, 5vw, 4.5rem);
}
.portal-intro h1 {
  font-size: clamp(2.15rem, 6.5vw, 4.9rem);
  letter-spacing: -.042em;
  max-width: 17ch;
  margin-bottom: 1rem;
}
.portal-intro p { max-width: 58ch; font-size: clamp(1rem, 2vw, 1.18rem); color: #d3ddce; margin-bottom: 0; }
.portal-figure img {
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border: 1px solid #6c6146;
  background: var(--stone);
}
.portal-figure figcaption { margin-top: .55rem; }
.portal-content { padding-block: clamp(2rem, 5vw, 4rem); }
.portal-home { padding-bottom: .5rem; }
.portal-grid, .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}
.portal-card {
  background: #1c271e;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid #3e4b3b;
  border-top: 1px solid #9a7f51;
}
.portal-card :is(h2,h3) { font-size: clamp(1.18rem, 2.4vw, 1.5rem); margin-bottom: .65rem; }
.portal-card a, .reading a, .portal-film a { color: var(--gold); text-underline-offset: .22em; }
.portal-card p, .reading p, .reading li, .reading dd { color: #ced7ca; }
.portal-card p:last-child { margin-bottom: 0; }
.reading { max-width: 73ch; }
.portal-grid + .reading, .media-grid + .reading, .access-card + .reading { margin-top: 2rem; }
.reading h2 { font-size: clamp(1.32rem, 3.4vw, 2.08rem); }
.reading :is(p, ol, ul, dl, section, div) + h2 { margin-top: 2.15rem; }
.reading :is(ul, ol) { padding-inline-start: 1.4rem; }
.reading li + li { margin-top: .48rem; }
.reading strong { color: var(--paper); }
.guide-facts { background: var(--stone); border: 1px solid var(--line); }
.guide-facts div { padding: .8rem 1rem; }
.guide-facts div + div { border-top: 1px solid var(--line); }
.guide-facts dt { font-weight: 700; color: var(--gold); }
.guide-facts dd { margin: .15rem 0 0; }
.atlas-reading { max-width: none; }
.atlas-reading > p { max-width: 73ch; }
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
}
.region-grid section { border-top: 1px solid #88794d; padding: 1.1rem 1.2rem; background: var(--stone); }
.region-grid p:last-child { margin-bottom: 0; }
.journal-entry { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.journal-entry time { display: block; color: var(--gold); margin-bottom: .55rem; }
.journal-entry p:last-child { margin-bottom: 0; }
.portal-film { max-width: 60rem; margin-bottom: 1.5rem; }
.portal-film figcaption { display: block; }
.related {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem 1.5rem;
  margin-top: 2.2rem;
  padding-block: .72rem;
  border-block: 1px solid var(--line);
}
.related .text-link { font-size: .95rem; }
.faq-list summary { min-height: 3.25rem; }
.faq-list details p { padding-bottom: .35rem; }
.access-card { background: var(--stone); max-width: 73ch; padding: 1rem 1.15rem; }
.access-card .actions:has(> :not([hidden])) { margin-top: .75rem; }
.access-card p:last-of-type { margin-bottom: 0; }
@media (max-width: 640px) {
  .portal-intro.has-image { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .portal-intro.has-image figure { max-width: 29rem; }
  .topbar nav { justify-content: flex-start; column-gap: clamp(.55rem, 3vw, 1.25rem); }
}
