:root {
  color-scheme: dark;
  font-family: Georgia, "Times New Roman", serif;
  background: #100d13;
  color: #f5eee2;
  --lavender: #b99ae8;
  --lavender-bright: #d7c0f5;
  --amber: #d7bd73;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding-top: 67px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(118, 75, 142, 0.15), transparent 30rem),
    radial-gradient(circle at 86% 46%, rgba(99, 63, 119, 0.13), transparent 34rem),
    linear-gradient(180deg, #100d13 0%, #09070b 100%);
}

a, button { font: inherit; }
button { cursor: pointer; }

.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;
}

/* Mirrored Runebear Games global navigation */
.global-nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 12px clamp(18px, 4vw, 64px);
  border-right: 1px solid rgba(185, 154, 232, 0.38);
  border-bottom: 1px solid rgba(185, 154, 232, 0.38);
  border-left: 1px solid rgba(185, 154, 232, 0.38);
  background: linear-gradient(180deg, rgba(20, 17, 25, 0.98), rgba(11, 10, 14, 0.98));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36), 0 0 24px rgba(126, 86, 180, 0.1);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.global-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 8px;
  color: #f4efe8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.global-nav-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.global-nav-brand:hover,
.global-nav-brand:focus-visible {
  background: rgba(164, 135, 207, 0.1);
  color: #fff;
  box-shadow: 0 0 22px rgba(164, 135, 207, 0.2);
  outline: 1px solid rgba(185, 154, 232, 0.32);
}

.global-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.global-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #c9c1cf;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.global-nav-links > a:hover,
.global-nav-links > a:focus-visible {
  border-color: rgba(185, 154, 232, 0.42);
  background: rgba(164, 135, 207, 0.1);
  color: #fff;
}

.global-nav-menu-button {
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(176, 166, 194, 0.42);
  border-radius: 8px;
  background: rgba(28, 27, 34, 0.92);
}

.global-nav-menu-button span[aria-hidden="true"] {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #e8e3ef;
}

.about-nav-menu { position: relative; }

.global-nav-links .about-nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #c9c1cf;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.global-nav-links .about-nav-trigger:hover,
.about-nav-menu.is-open .about-nav-trigger {
  border-color: rgba(185, 154, 232, 0.42);
  background: rgba(164, 135, 207, 0.1);
  color: #fff;
}

.about-nav-trigger:focus-visible,
.about-nav-panel a:focus-visible,
.global-nav-menu-button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.about-nav-chevron {
  flex: none;
  transition: transform 0.18s ease;
}

.about-nav-menu.is-open .about-nav-chevron { transform: rotate(180deg); }

.about-nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1100;
  display: grid;
  min-width: 230px;
  padding: 7px;
  border: 1px solid rgba(185, 154, 232, 0.48);
  background: linear-gradient(180deg, #18131f, #0d0a11);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48), 0 0 24px rgba(126, 86, 180, 0.14);
}

.about-nav-panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 9px;
}

.about-nav-panel[hidden] { display: none; }

.global-nav-links .about-nav-panel a {
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
  color: #d8cfdf;
  text-align: left;
  white-space: nowrap;
}

.global-nav-links .about-nav-panel a:hover {
  border: 0;
  background: rgba(164, 135, 207, 0.16);
  color: #fff;
}

.global-nav-links a.global-nav-featured {
  border-color: #a889dc;
  background: linear-gradient(135deg, #30263d, #17131d);
  color: #eadcff;
  box-shadow: 0 0 18px rgba(126, 86, 180, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.global-nav-links a.global-nav-featured:hover {
  border-color: var(--lavender-bright);
  box-shadow: 0 0 26px rgba(164, 135, 207, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

main {
  width: min(100%, 1600px);
  margin: 0 auto;
}

.campaign-hero {
  position: relative;
  display: grid;
  min-height: min(820px, calc(100vh - 67px));
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 13vw, 10rem) max(5vw, 1.5rem);
  isolation: isolate;
  border-right: 1px solid rgba(185, 154, 232, 0.12);
  border-bottom: 1px solid rgba(185, 154, 232, 0.22);
  border-left: 1px solid rgba(185, 154, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(9, 7, 12, 0.08), rgba(9, 7, 12, 0.9)),
    radial-gradient(circle at 50% 26%, rgba(217, 192, 245, 0.18), transparent 17rem),
    linear-gradient(145deg, #17111c 0%, #0a080c 64%, #120d15 100%);
}

.campaign-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-atmosphere,
.hero-atmosphere span {
  position: absolute;
  pointer-events: none;
}

.hero-atmosphere {
  inset: 0;
  z-index: -2;
}

.moon {
  top: clamp(4rem, 8vw, 7rem);
  left: 50%;
  width: clamp(9rem, 24vw, 19rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(222, 204, 239, 0.32);
  border-radius: 50%;
  background: #7d6d85;
  box-shadow:
    0 0 0 1px rgba(229, 213, 242, 0.08),
    0 0 80px rgba(203, 180, 224, 0.3);
  opacity: 0.72;
  transform: translateX(-50%);
}

.moon img {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 125%;
  max-width: none;
  height: 125%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(0.94) brightness(0.82);
  transform: translate(-50%, -50%);
}

.moon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(145deg, rgba(110, 83, 128, 0.18), rgba(24, 15, 29, 0.36));
  box-shadow: inset 0 0 44px rgba(30, 18, 36, 0.42);
}

.willow {
  top: -8%;
  width: 36%;
  height: 74%;
  border-radius: 50%;
  opacity: 0.44;
  filter: blur(0.5px);
  background: repeating-linear-gradient(102deg, transparent 0 18px, rgba(8, 5, 9, 0.9) 19px 23px, transparent 24px 43px);
}

.willow-left { left: -14%; transform: rotate(-12deg); }
.willow-right { right: -14%; transform: scaleX(-1) rotate(-12deg); }

.mist {
  right: -15%;
  left: -15%;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(196, 178, 211, 0.12), transparent 66%);
  filter: blur(18px);
}

.mist-one { bottom: 18%; transform: rotate(3deg); }
.mist-two { bottom: 4%; opacity: 0.72; transform: rotate(-2deg); }

.hero-copy {
  z-index: 2;
  max-width: 58rem;
  text-align: center;
}

.featured-dm-label {
  position: absolute;
  top: clamp(1.5rem, calc(8vw - 2.25rem), 4.5rem);
  left: 50%;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0;
  color: var(--amber);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--amber);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 0;
  color: #fffaf2;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.84;
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.68), 0 0 42px rgba(185, 154, 232, 0.16);
}

.lede {
  max-width: 44rem;
  margin: 2.25rem auto 0;
  color: #ddd1c3;
  font-size: clamp(1.08rem, 2.1vw, 1.4rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.status-badge,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.25rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-badge {
  border: 1px solid rgba(215, 189, 115, 0.52);
  background: rgba(31, 24, 19, 0.72);
  color: #f0d999;
  box-shadow: inset 0 0 0 1px rgba(255, 238, 190, 0.05), 0 0 24px rgba(215, 189, 115, 0.08);
}

.secondary-action {
  border-bottom: 1px solid rgba(185, 154, 232, 0.54);
  color: #e1d3f0;
  text-decoration: none;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  color: #fff;
  border-color: var(--lavender-bright);
}

.campaign-art {
  padding: clamp(1rem, 2vw, 2rem) max(2vw, 1rem);
  border-right: 1px solid rgba(185, 154, 232, 0.12);
  border-bottom: 1px solid rgba(185, 154, 232, 0.2);
  border-left: 1px solid rgba(185, 154, 232, 0.12);
  background: #080609;
}

.campaign-banner {
  position: relative;
  width: min(100%, 1500px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(215, 189, 115, 0.36);
  background: #100d13;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.46),
    0 0 36px rgba(164, 135, 207, 0.12);
}

.campaign-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 6, 9, 0.2), transparent 18%, transparent 82%, rgba(8, 6, 9, 0.2)),
    linear-gradient(180deg, rgba(8, 6, 9, 0.02), rgba(8, 6, 9, 0.14));
}

.campaign-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.campaign-intro {
  padding: clamp(5rem, 9vw, 8rem) max(5vw, 1.5rem);
  border-right: 1px solid rgba(185, 154, 232, 0.12);
  border-bottom: 1px solid rgba(185, 154, 232, 0.16);
  border-left: 1px solid rgba(185, 154, 232, 0.12);
  background:
    radial-gradient(circle at 12% 90%, rgba(116, 69, 140, 0.12), transparent 28rem),
    #0c090e;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(100%, 78rem);
  margin: 0 auto 5rem;
}

.campaign-portrait-frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(215, 189, 115, 0.42);
  background: linear-gradient(145deg, rgba(35, 26, 39, 0.96), rgba(13, 10, 15, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(164, 135, 207, 0.14);
}

.campaign-portrait-frame::before,
.campaign-portrait-frame::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.campaign-portrait-frame::before {
  top: -6px;
  left: -6px;
  border-top: 1px solid var(--lavender-bright);
  border-left: 1px solid var(--lavender-bright);
}

.campaign-portrait-frame::after {
  right: -6px;
  bottom: -6px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
}

.campaign-portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.intro-layout .section-heading {
  margin: 0;
  text-align: left;
}

.section-heading {
  max-width: 47rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 1.35rem;
  color: #fff8ee;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: #bdb2c2;
  font-size: 1.08rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 78rem);
  margin: 0 auto;
  border-top: 1px solid rgba(185, 154, 232, 0.26);
  border-bottom: 1px solid rgba(185, 154, 232, 0.26);
}

.feature-grid article {
  position: relative;
  min-height: 20rem;
  padding: 2.25rem;
}

.feature-grid article + article { border-left: 1px solid rgba(185, 154, 232, 0.26); }

.feature-number,
.coming-soon {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-number { color: var(--lavender); }

.feature-grid h3 {
  margin: 4.25rem 0 1rem;
  color: #f7efe4;
  font-size: 1.75rem;
  font-weight: 500;
}

.feature-grid p {
  margin-bottom: 2.4rem;
  color: #aaa0af;
  line-height: 1.7;
}

.coming-soon {
  position: absolute;
  bottom: 2.25rem;
  left: 2.25rem;
  color: #d2b976;
}

.closing-callout {
  display: grid;
  place-items: center;
  min-height: 20rem;
  padding: 5rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(117, 75, 141, 0.18), transparent 26rem),
    linear-gradient(180deg, #0e0a11, #080608);
}

.closing-callout p {
  margin-bottom: 0.75rem;
  color: var(--amber);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.closing-callout strong {
  color: #f8efe5;
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 500;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 7rem;
  padding: 2rem;
  border-top: 1px solid rgba(185, 154, 232, 0.18);
  background: #070507;
  color: #8f8594;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: #b9a9c4;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible { color: #fff; }

@media (max-width: 1120px) {
  body { padding-top: 61px; }

  .global-nav {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px 16px;
  }

  .global-nav-brand { flex: 1 1 auto; }
  .global-nav-menu-button { display: inline-block; }

  .global-nav-links {
    display: none;
    flex: 1 0 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .global-nav-links.open { display: flex; }

  .global-nav-links > a,
  .about-nav-menu-global,
  .global-nav-links .about-nav-trigger { width: 100%; }

  .global-nav-links > a { justify-content: center; }

  .about-nav-panel {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 6px 6px 6px 22px;
    box-shadow: none;
  }

  .about-nav-panel::before { display: none; }
  .campaign-hero { min-height: calc(100vh - 61px); }
}

@media (max-width: 800px) {
  .campaign-banner img {
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .campaign-portrait-frame {
    width: min(78vw, 320px);
    margin: 0 auto;
  }

  .intro-layout .section-heading {
    text-align: center;
  }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 17rem; }

  .feature-grid article + article {
    border-top: 1px solid rgba(185, 154, 232, 0.26);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .global-nav-brand { font-size: 0.96rem; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .status-badge,
  .secondary-action { width: 100%; }

  .feature-grid article { padding: 1.75rem; }

  .coming-soon {
    bottom: 1.75rem;
    left: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
