:root {
  color-scheme: dark;
  --ink: #f3dfba;
  --muted: #b9a280;
  --dim: #75644c;
  --night: #120f0d;
  --night-2: #1b1713;
  --panel: #231c16;
  --line: #684b24;
  --gold: #d5a54a;
  --ember: #c15f35;
  --blood: #7e2933;
  --moss: #6d8f53;
  --water: #315a66;
  --violet: #774fc4;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  opacity: 0;
  padding: .75rem 1rem;
  position: fixed;
  top: .75rem;
  transform: translateY(-120%);
  z-index: 10;
}

.skip-link:focus {
  background: var(--gold);
  color: #111;
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgb(18 15 13 / 78%);
  border-bottom: 1px solid rgb(213 165 74 / 35%);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 0;
  padding: .85rem clamp(1rem, 4vw, 3.5rem);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: .65rem;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  border: 1px solid var(--line);
  box-shadow: 0 0 0 2px rgb(0 0 0 / 30%);
  height: 1.35rem;
  image-rendering: pixelated;
  object-fit: cover;
  width: 1.35rem;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .95rem;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-size: .92rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.hero {
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 8rem clamp(1rem, 5vw, 4rem) 5rem;
  place-items: end start;
  position: relative;
  width: 100%;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  background:
    image-set(
      url("/img/AldrichDarkKnightLite.jpg") type("image/jpeg")
    ) center / cover no-repeat;
  image-rendering: pixelated;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(18 15 13 / 92%) 0%, rgb(18 15 13 / 72%) 36%, rgb(18 15 13 / 24%) 68%),
    linear-gradient(0deg, var(--night) 0%, transparent 34%),
    linear-gradient(180deg, rgb(18 15 13 / 35%) 0%, transparent 30%);
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .11rem;
  margin: 0 0 .7rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.35rem, 10vw, 8.8rem);
  line-height: .88;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  line-height: 1;
  margin-bottom: 1.1rem;
}

h3 {
  color: #f4c865;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: .65rem;
}

.hero-copy {
  color: #e9d8bd;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.button {
  border: 1px solid var(--line);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-width: 9.5rem;
  padding: .85rem 1.1rem;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: #16110b;
}

.button-secondary {
  background: rgb(18 15 13 / 75%);
  color: var(--ink);
}

.section {
  padding: clamp(4.2rem, 8vw, 7.5rem) clamp(1rem, 5vw, 4rem);
}

.section-copy,
.section-heading,
.press-copy,
.section-split,
.press-section {
  margin-inline: auto;
  max-width: var(--max);
}

.section-split,
.press-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .85fr);
  width: min(100%, var(--max));
}

.section-copy p,
.press-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-list {
  color: var(--ink);
  display: grid;
  gap: .7rem;
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
}

.realm-showcase {
  display: grid;
  gap: 1rem;
}

.map-card {
  background: #0c0f10;
  border: 1px solid rgb(213 165 74 / 32%);
  box-shadow: 0 20px 50px rgb(0 0 0 / 28%);
  overflow: hidden;
}

.map-card img {
  aspect-ratio: 16 / 10;
  background: #071022;
  image-rendering: pixelated;
  object-fit: cover;
  width: 100%;
}

.map-card-large img {
  aspect-ratio: 16 / 9;
}

.map-card-small {
  justify-self: end;
  margin-top: -2.4rem;
  max-width: 78%;
}

.map-card figcaption {
  background: linear-gradient(90deg, rgb(12 15 16 / 95%), rgb(35 28 22 / 92%));
  border-top: 1px solid rgb(213 165 74 / 18%);
  color: var(--muted);
  font-size: .95rem;
  padding: .8rem .95rem;
}

.section-band {
  background:
    linear-gradient(180deg, rgb(104 75 36 / 12%), rgb(126 41 51 / 10%)),
    var(--night-2);
  border-block: 1px solid rgb(213 165 74 / 18%);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 850px;
}

.system-grid,
.creature-grid {
  display: grid;
  gap: 1rem;
  margin-inline: auto;
  max-width: var(--max);
}

.system-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-card {
  background: rgb(18 15 13 / 70%);
  border: 1px solid rgb(213 165 74 / 22%);
  min-height: 15rem;
  padding: 1.15rem;
}

.system-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.creature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

figure {
  background: var(--panel);
  border: 1px solid rgb(213 165 74 / 22%);
  margin: 0;
}

figure img {
  aspect-ratio: 1 / 1;
  height: auto;
  image-rendering: pixelated;
  object-fit: cover;
  width: 100%;
}

figcaption {
  color: var(--muted);
  padding: 1rem;
}

.press-section {
  align-items: start;
  background:
    linear-gradient(120deg, rgb(213 165 74 / 12%), transparent 55%),
    #15110e;
  border-top: 1px solid rgb(213 165 74 / 18%);
}

.press-facts {
  display: grid;
  gap: .8rem;
  margin: 0;
}

.press-facts div {
  border-bottom: 1px solid rgb(213 165 74 / 18%);
  padding-bottom: .8rem;
}

.press-facts dt {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08rem;
  text-transform: uppercase;
}

.press-facts dd {
  color: var(--ink);
  margin: .2rem 0 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgb(213 165 74 / 18%);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 1.25rem clamp(1rem, 5vw, 4rem);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 90vh;
    padding-top: 9rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(18 15 13 / 92%) 0%, rgb(18 15 13 / 65%) 78%),
      linear-gradient(0deg, var(--night) 0%, transparent 34%);
  }

  .section-split,
  .press-section {
    grid-template-columns: 1fr;
  }

  .map-card-small {
    margin-top: 0;
    max-width: 100%;
  }

  .system-grid,
  .creature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.25rem);
  }

  .button {
    width: 100%;
  }

  .system-grid,
  .creature-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }
}

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