@font-face {
  font-family: "Voyage Display";
  src: url("/assets/fonts/cinzel-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Voyage UI";
  src: url("/assets/fonts/oxanium-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #05090a;
  --slate: #3f4958;
  --slate-light: #818b99;
  --slate-dark: #111722;
  --iron: #171d27;
  --nexus-blue: #2867ff;
  --nexus-cyan: #7dbdff;
  --nexus-violet: #945cff;
  --nexus-violet-bright: #c58cff;
  --nexus-violet-dark: #30156f;
  --nexus-glow: 0 0 0.65rem rgba(67, 119, 255, 0.82), 0 0 1.8rem rgba(148, 92, 255, 0.52);
  --parchment: #d8ac72;
  --parchment-light: #f0d39f;
  --ink: #2c180f;
  --cream: #fff1d2;
  --muted: #c8c0b3;
  --error: #8f211c;
  --focus: #8fc5ff;
  --font-display: "Voyage Display", Georgia, serif;
  --font-ui: "Voyage UI", "Trebuchet MS", sans-serif;
  --shell: 78rem;
  --site-header-height: 6rem;
  --deep-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.58);
  --carved-shadow: inset 0 0.14rem 0 rgba(255, 255, 255, 0.2), inset 0 -0.2rem 0 rgba(0, 0, 0, 0.35), 0 0.7rem 1.5rem rgba(0, 0, 0, 0.4);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-color: var(--nexus-blue) var(--night);
}

body {
  min-width: 20rem;
  margin: 0;
  padding-top: var(--site-header-height);
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% -8rem, rgba(120, 62, 237, 0.34), transparent 38rem),
    radial-gradient(circle at 17% 45%, rgba(25, 92, 255, 0.2), transparent 30rem),
    repeating-linear-gradient(87deg, rgba(255, 255, 255, 0.011) 0 1px, transparent 1px 8px),
    var(--night);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 10%, transparent 90%, rgba(0, 0, 0, 0.5)),
    radial-gradient(ellipse at center, transparent 25%, rgba(0, 0, 0, 0.45));
  content: "";
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.rune-rail {
  position: fixed;
  z-index: 0;
  top: 6.4rem;
  bottom: 0;
  width: 2.4rem;
  overflow: hidden;
  color: rgba(114, 230, 255, 0.16);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.65em;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 0 0.7rem rgba(94, 213, 255, 0.65);
  writing-mode: vertical-rl;
}

.rune-rail-left {
  left: 0.2rem;
  transform: rotate(180deg);
}

.rune-rail-right {
  right: 0.2rem;
}

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  background: linear-gradient(108deg, #f5fbff 4%, var(--nexus-cyan) 34%, #477cff 57%, var(--nexus-violet-bright) 82%, #f3eaff 100%);
  background-clip: text;
  color: var(--nexus-cyan);
  font-size: clamp(3rem, 7vw, 6.7rem);
  letter-spacing: 0.025em;
  filter: drop-shadow(0 0 0.32rem rgba(39, 101, 255, 0.95)) drop-shadow(0 0 0.9rem rgba(148, 92, 255, 0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  max-width: 18ch;
  background: linear-gradient(105deg, #f2fbff, var(--nexus-cyan) 37%, #5275ff 61%, var(--nexus-violet-bright));
  background-clip: text;
  color: var(--nexus-cyan);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  letter-spacing: 0.025em;
  filter: drop-shadow(0 0 0.42rem rgba(53, 111, 255, 0.72)) drop-shadow(0 0 0.8rem rgba(148, 92, 255, 0.42));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.24rem;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.7rem 1rem;
  transform: translateY(-200%);
  border: 0.12rem solid var(--nexus-violet-bright);
  border-radius: 999px;
  background: var(--night);
  color: white;
  font-family: var(--font-ui);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.flow > * + * {
  margin-top: 1.15rem;
}

.flow-large > * + * {
  margin-top: 2.4rem;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  height: var(--site-header-height);
  border-bottom: 0.12rem solid #3a79a3;
  background:
    radial-gradient(circle at 75% 0, rgba(80, 64, 173, 0.22), transparent 27rem),
    linear-gradient(180deg, rgba(29, 42, 53, 0.98), rgba(5, 10, 17, 0.99)),
    var(--iron);
  box-shadow: 0 0.55rem 1.3rem rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(0.7rem);
}

.site-header::before,
.site-header::after {
  position: absolute;
  right: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

.site-header::before {
  top: 0;
  height: 0.13rem;
  background: linear-gradient(90deg, transparent, #536bc9 18%, var(--nexus-cyan) 50%, #536bc9 82%, transparent);
}

.site-header::after {
  bottom: -0.38rem;
  height: 0.13rem;
  background: linear-gradient(90deg, transparent, var(--nexus-violet) 18%, var(--nexus-cyan) 50%, var(--nexus-violet) 82%, transparent);
  box-shadow: var(--nexus-glow);
  opacity: 0.85;
}

.header-layout {
  display: flex;
  height: var(--site-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 4.55rem;
  height: 4.15rem;
  flex: 0 0 auto;
  background: transparent;
  filter: saturate(1.08) contrast(1.03) drop-shadow(0 0 0.32rem #2d72ff) drop-shadow(0 0 0.85rem rgba(45, 114, 255, 0.76));
  object-fit: contain;
  object-position: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: grid;
  min-width: 9.25rem;
  min-height: 3.35rem;
  place-content: center;
  padding: 0.48rem 1rem 0.43rem;
  overflow: hidden;
  clip-path: polygon(14% 0, 86% 0, 100% 50%, 86% 100%, 14% 100%, 0 50%);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 0 5%, rgba(92, 174, 218, 0.28) 5% 6%, transparent 6% 94%, rgba(92, 174, 218, 0.28) 94% 95%, transparent 95%),
    radial-gradient(circle at 50% 0, rgba(70, 125, 170, 0.38), transparent 65%),
    linear-gradient(#243341, #080d17);
  box-shadow: inset 0 0 0 0.1rem rgba(108, 210, 239, 0.38), var(--carved-shadow);
  font-family: var(--font-ui);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter 160ms ease;
}

.nav-list a span {
  display: block;
}

.nav-list a span {
  color: #d9e8ef;
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.25;
  white-space: nowrap;
}

.nav-list a[data-quest="location"] {
  min-width: 10.75rem;
}

.nav-list a[data-quest="reason-for-journey"] {
  min-width: 11.5rem;
}

.nav-list a[data-quest="home"] {
  min-width: 7rem;
}

.nav-list a:hover,
.nav-list a.is-active,
.nav-list a[aria-current] {
  background:
    linear-gradient(90deg, transparent 0 5%, rgba(174, 244, 255, 0.7) 5% 6%, transparent 6% 94%, rgba(174, 244, 255, 0.7) 94% 95%, transparent 95%),
    radial-gradient(circle at 50% 0, rgba(114, 230, 255, 0.55), transparent 62%),
    linear-gradient(#164dcf, #32127c 78%);
  box-shadow: inset 0 0 0 0.1rem #91c4ff, var(--nexus-glow);
}

.nav-list a.is-active span,
.nav-list a[aria-current] span {
  color: white;
}

.hero,
.section {
  scroll-margin-top: 6.5rem;
}

.hero {
  overflow: hidden;
  border-bottom: 0.12rem solid #467da7;
}

.hero-shell {
  width: 100%;
}

.voyage-stage {
  position: relative;
  min-height: clamp(28rem, calc(78svh - 6rem), 39rem);
  isolation: isolate;
  background: #10191a;
}

.voyage-stage::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 15, 0.84) 0%, rgba(8, 14, 28, 0.2) 45%, transparent 68%),
    radial-gradient(circle at 72% 46%, rgba(85, 66, 196, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.8));
  content: "";
  pointer-events: none;
}

.voyage-stage::after {
  position: absolute;
  z-index: 2;
  inset: 1rem;
  border: 0.12rem solid rgba(69, 117, 255, 0.82);
  border-radius: 50% 50% 1.2rem 1.2rem / 1.3rem 1.3rem 1.2rem 1.2rem;
  box-shadow: inset 0 0 0 0.12rem rgba(188, 126, 255, 0.58), inset 0 0 0 0.42rem rgba(5, 8, 19, 0.52), inset 0 0 2rem rgba(117, 73, 230, 0.28), var(--nexus-glow);
  content: "";
  pointer-events: none;
}

.voyage-panorama {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-menu {
  position: absolute;
  z-index: 3;
  bottom: clamp(4.2rem, 8vh, 6rem);
  left: max(4vw, calc((100vw - var(--shell)) / 2));
  width: min(39rem, 45vw);
  padding: 0;
  background: none;
  filter: drop-shadow(0 0.65rem 1rem rgba(0, 0, 0, 0.96));
}

.hero-menu::before {
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: min(14rem, 72%);
  height: 0.16rem;
  background: linear-gradient(90deg, var(--nexus-blue), var(--nexus-violet), transparent);
  box-shadow: var(--nexus-glow);
  content: "";
}

.home-voyage-stage {
  min-height: 0;
  aspect-ratio: 1600 / 609;
}

.home-title-only {
  bottom: clamp(1.5rem, 5vw, 4.5rem);
}

.home-title-only .voyage-wordmark {
  max-width: 13ch;
  background: linear-gradient(112deg, #f5fbff 2%, #8fd4ff 26%, #467cff 53%, #bb78ff 78%, #f3eaff 100%);
  background-clip: text;
  font-size: clamp(2.6rem, 6.5vw, 6.6rem);
  line-height: 0.96;
  filter: drop-shadow(0 0.16rem 0.06rem rgba(0, 0, 0, 0.96)) drop-shadow(0 0 0.55rem rgba(40, 103, 255, 0.92)) drop-shadow(0 0 1.15rem rgba(148, 92, 255, 0.68));
  text-shadow: none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.voyage-wordmark {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--nexus-violet-bright);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  max-width: 34rem;
  color: #dfd4c4;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.28rem;
  border: 0.13rem solid transparent;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter 150ms ease, transform 150ms ease;
}

.button-primary {
  border-color: #b8d8ff #356bf0 #321278 #8c66ff;
  background: radial-gradient(circle at 50% 0, #5997ff, #194bc8 57%, #3b147f);
  box-shadow: var(--carved-shadow), var(--nexus-glow);
  color: #f4fdff;
  text-shadow: 0 0.1rem 0 #11133e;
}

.button-secondary {
  border-color: #805ee8;
  background: linear-gradient(135deg, rgba(18, 52, 126, 0.9), rgba(56, 20, 127, 0.9));
  color: #cceffc;
}

.button:hover {
  filter: brightness(1.15);
  transform: translateY(-0.12rem);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 1.25rem;
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  color: #a9d8e7;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  color: var(--nexus-cyan);
  text-shadow: var(--nexus-glow);
  font-size: 2rem;
  line-height: 0.8;
}

.section {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section::before {
  position: absolute;
  top: 0;
  right: 7%;
  left: 7%;
  height: 0.12rem;
  background: linear-gradient(90deg, transparent, var(--nexus-violet), var(--nexus-cyan), var(--nexus-violet), transparent);
  box-shadow: var(--nexus-glow);
  content: "";
}

.section::after {
  position: absolute;
  z-index: 0;
  top: 0.7rem;
  right: 3rem;
  left: 3rem;
  overflow: hidden;
  color: rgba(114, 230, 255, 0.12);
  content: "ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ ᚷ ᚹ ᚺ ᚾ ᛁ ᛃ ᛇ ᛈ ᛉ ᛏ ᛒ ᛖ ᛗ ᛚ ᛜ ᛞ ᛟ";
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: clamp(0.45rem, 2.4vw, 1.7rem);
  text-align: center;
  text-shadow: 0 0 0.65rem rgba(89, 215, 255, 0.65);
  white-space: nowrap;
}

.section > .shell {
  position: relative;
  z-index: 1;
}

.section-tinted {
  background:
    radial-gradient(circle at 50% 0, rgba(74, 93, 199, 0.25), transparent 42rem),
    radial-gradient(circle at 14% 50%, rgba(26, 124, 170, 0.14), transparent 28rem),
    linear-gradient(rgba(5, 10, 11, 0.68), rgba(5, 10, 11, 0.82)),
    repeating-linear-gradient(88deg, #1d2532 0 0.3rem, #111824 0.3rem 0.72rem);
  box-shadow: inset 0 2rem 4rem rgba(0, 0, 0, 0.38), inset 0 -2rem 4rem rgba(0, 0, 0, 0.38);
}

.forged-frame {
  position: relative;
  padding: clamp(0.45rem, 1vw, 0.8rem);
  border: 0.16rem solid #2c63ef;
  background:
    linear-gradient(135deg, #12171b, #8b9499 10%, #323a3f 19%, #555e63 28%, #242c31 41%, #778186 54%, #30383d 66%, #4b5358 79%, #0e1317);
  box-shadow: inset 0 0 0 0.11rem #b47fff, inset 0 0 0 0.28rem #090d20, inset 0 0 1.1rem rgba(76, 106, 255, 0.35), var(--deep-shadow), var(--nexus-glow);
}

.journey-overview {
  position: relative;
  display: grid;
  min-height: clamp(20rem, 35vw, 28rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  clip-path: polygon(5% 0, 95% 0, 100% 13%, 98% 87%, 92% 100%, 8% 100%, 2% 87%, 0 13%);
  background:
    radial-gradient(circle at 50% 38%, rgba(40, 103, 255, 0.34), transparent 33%),
    radial-gradient(circle at 50% 80%, rgba(148, 92, 255, 0.24), transparent 45%),
    linear-gradient(135deg, rgba(26, 43, 66, 0.98), rgba(7, 12, 24, 0.98) 58%, rgba(35, 18, 67, 0.98));
  box-shadow: inset 0 0 0 0.12rem rgba(132, 205, 255, 0.72), inset 0 0 3rem rgba(60, 101, 255, 0.2), var(--deep-shadow);
}

.journey-overview::before {
  position: absolute;
  z-index: -1;
  inset: 1rem;
  display: grid;
  place-items: center;
  border: 0.1rem solid rgba(151, 111, 255, 0.5);
  clip-path: polygon(4% 0, 96% 0, 100% 12%, 98% 88%, 93% 100%, 7% 100%, 2% 88%, 0 12%);
  background:
    repeating-linear-gradient(90deg, transparent 0 4.5rem, rgba(125, 189, 255, 0.035) 4.5rem 4.6rem),
    linear-gradient(90deg, transparent, rgba(83, 113, 255, 0.12), transparent);
  color: rgba(153, 216, 255, 0.11);
  content: "ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ  ·  ᛟ ᛞ ᛜ ᛚ ᛗ ᛖ";
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 3.2rem);
  letter-spacing: 0.18em;
  text-align: center;
  text-shadow: 0 0 1rem rgba(125, 189, 255, 0.56);
}

.journey-overview::after {
  position: absolute;
  right: 14%;
  bottom: 1.4rem;
  left: 14%;
  height: 0.16rem;
  background: linear-gradient(90deg, transparent, var(--nexus-blue), var(--nexus-violet-bright), transparent);
  box-shadow: var(--nexus-glow);
  content: "";
}

.journey-overview-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 64rem);
}

.journey-overview-copy h1,
.journey-overview-copy h2 {
  margin-inline: auto;
  max-width: 20ch;
  text-align: center;
}

.journey-manifesto {
  max-width: 54rem;
  margin-inline: auto;
  padding-top: clamp(0.7rem, 2vw, 1.4rem);
}

.journey-manifesto > p {
  color: #d6dae5;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.journey-manifesto .manifesto-beat {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 760;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.journey-creed {
  margin-block: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  border-block: 0.1rem solid rgba(125, 189, 255, 0.66);
  background: linear-gradient(90deg, transparent, rgba(52, 91, 222, 0.2), rgba(91, 44, 157, 0.24), transparent);
  color: #eefbff !important;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem) !important;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 0.65rem rgba(40, 103, 255, 0.9), 0 0 1rem rgba(148, 92, 255, 0.62);
}

.journey-burdens {
  display: grid;
  margin: 1.5rem 0 2rem;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.4rem;
  list-style: none;
}

.journey-burdens li {
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 1.7rem;
  border-left: 0.12rem solid var(--nexus-violet-bright);
  background: linear-gradient(90deg, rgba(40, 103, 255, 0.13), transparent);
  color: #e8ebf6;
}

.journey-burdens li::before {
  position: absolute;
  top: 1rem;
  left: 0.65rem;
  color: var(--nexus-cyan);
  content: "◆";
  font-size: 0.48rem;
  text-shadow: var(--nexus-glow);
}

.journey-vows {
  margin-block: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.journey-vows p {
  color: var(--nexus-cyan);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 760;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow: 0 0 0.65rem rgba(40, 103, 255, 0.72);
}

.journey-finale {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  text-align: center;
}

.journey-finale p {
  color: #e6e9f2;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.journey-finale strong {
  color: white;
  font-size: 1.2em;
  text-shadow: 0 0 0.7rem var(--nexus-blue), 0 0 1.2rem var(--nexus-violet);
}

.battle-stage {
  width: min(100%, 68rem);
  margin-inline: auto;
  border-radius: 1.3rem 1.3rem 2.5rem 2.5rem / 1.2rem 1.2rem 2rem 2rem;
}

.board-art {
  position: relative;
}

.board-art > img {
  width: 100%;
  border: 0.1rem solid #6f9cff;
  border-radius: 0.75rem 0.75rem 1.8rem 1.8rem / 0.7rem 0.7rem 1.5rem 1.5rem;
  box-shadow: 0 0 0 0.12rem rgba(156, 91, 255, 0.65), 0 0 1.1rem rgba(45, 102, 255, 0.5);
}

.social-hotspots {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.social-hotspot {
  position: absolute;
  width: 6%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 0.1rem transparent;
  pointer-events: auto;
  transition: filter 150ms ease, transform 150ms ease;
}

.social-hotspot:hover,
.social-hotspot:focus-visible {
  filter: brightness(1.22);
  transform: scale(1.1);
  box-shadow: 0 0 0 0.12rem #b6d4ff, var(--nexus-glow);
}

.social-youtube,
.social-tiktok,
.social-instagram,
.social-x {
  top: 56.4%;
}

.social-youtube {
  left: 59.2%;
}

.social-tiktok {
  left: 67.1%;
}

.social-instagram {
  left: 74.9%;
}

.social-x {
  left: 82.7%;
}

.social-facebook {
  top: 65.7%;
  left: 70.7%;
}

.battle-copy {
  position: absolute;
  top: 34%;
  left: 10.5%;
  width: 39.5%;
  color: var(--ink);
}

.battle-copy .eyebrow {
  color: #3d1e12;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.battle-objective {
  max-width: 36rem;
}

.battle-objective p {
  color: #20110c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.82rem, 1.3vw, 1.06rem);
  font-weight: 580;
  line-height: 1.58;
}

.battle-objective strong {
  color: #1d1010;
  font-weight: 850;
}

.battle-objective .battle-motto {
  padding-top: clamp(0.5rem, 1.4vw, 1rem);
  border-top: 0.08rem solid rgba(83, 39, 17, 0.38);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.45vw, 1.16rem);
  font-style: italic;
  letter-spacing: 0.025em;
  line-height: 1.45;
}

.battle-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.battle-copy > p:not(.eyebrow) {
  max-width: 32rem;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 700;
}

.annotation {
  max-width: 30rem;
  padding: 0.7rem 0.95rem;
  border-left: 0.28rem solid #71391f;
  border-radius: 0 1.4rem 1.4rem 0;
  background: rgba(78, 40, 21, 0.1);
  color: #57301f;
  font-family: var(--font-ui);
  font-size: 0.78rem;
}

.section-heading {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.stone-heading h1,
.stone-heading h2,
.location-copy h1,
.location-copy h2,
.connect-copy h1,
.connect-copy h2 {
  color: var(--nexus-cyan);
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.5rem);
}

.crew-member {
  position: relative;
  padding-bottom: 1.4rem;
  text-align: center;
}

.crew-profile-link {
  display: block;
  height: 100%;
  border-radius: 1.4rem;
  color: inherit;
  text-decoration: none;
}

.crew-profile-link:focus-visible {
  outline: 0.16rem solid var(--nexus-cyan);
  outline-offset: 0.4rem;
}

.crew-member::after {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 2rem;
  border: 0.1rem solid rgba(117, 227, 255, 0.45);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(47, 103, 255, 0.42), rgba(141, 72, 255, 0.2) 42%, transparent 70%);
  box-shadow: var(--nexus-glow);
  content: "";
  transform: perspective(8rem) rotateX(62deg);
}

.hero-medallion {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: polygon(16% 0, 84% 0, 100% 16%, 96% 76%, 50% 100%, 4% 76%, 0 16%);
  background:
    radial-gradient(circle at 50% 20%, rgba(67, 116, 255, 0.5), rgba(146, 77, 255, 0.18) 52%, transparent 70%),
    linear-gradient(145deg, #657178, #30393f 58%, #151b20);
  box-shadow: var(--deep-shadow);
  filter: drop-shadow(0 0 0.5rem rgba(50, 105, 255, 0.7));
  transition: filter 180ms ease, transform 180ms ease;
}

.hero-medallion::before {
  position: absolute;
  z-index: 2;
  inset: 0.55rem;
  clip-path: inherit;
  border: 0.14rem solid rgba(107, 158, 255, 0.94);
  box-shadow: inset 0 0 0 0.11rem rgba(190, 127, 255, 0.66), inset 0 0 1.4rem rgba(138, 71, 255, 0.42);
  content: "";
  pointer-events: none;
}

.hero-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crew-member:hover .hero-medallion,
.crew-profile-link:focus-visible .hero-medallion {
  filter: drop-shadow(0 0 0.95rem rgba(60, 112, 255, 0.9)) drop-shadow(0 0 1.1rem rgba(151, 79, 255, 0.58));
  transform: translateY(-0.28rem);
}

.character-class {
  max-width: 44rem;
  color: var(--nexus-violet-bright);
  font-family: var(--font-ui);
  font-size: clamp(0.64rem, 0.9vw, 0.78rem);
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.crew-profile-link .character-class {
  margin-inline: auto;
}

.crew-profile-link.flow > h2 + .character-class,
.crew-profile-link.flow > h3 + .character-class {
  margin-top: 0.65rem;
}

.crew-profile-link.flow > .character-class + p {
  margin-top: 1.35rem;
}

.crew-member h2,
.crew-member h3 {
  background: linear-gradient(100deg, var(--nexus-cyan), #6d80ff 55%, var(--nexus-violet-bright));
  background-clip: text;
  color: var(--nexus-cyan);
  filter: drop-shadow(0 0 0.5rem rgba(74, 107, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.crew-hub-grid .crew-member h2 {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.12;
}

.crew-profile-link > p {
  color: #c7cbd0;
  font-size: 0.9rem;
}

.profile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--nexus-cyan);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.crew-profile-link:hover .profile-cta,
.crew-profile-link:focus-visible .profile-cta {
  color: white;
  filter: drop-shadow(0 0 0.55rem var(--nexus-blue));
  transform: translateX(0.18rem);
}

.crew-prologue {
  max-width: 66rem;
}

.crew-prologue p {
  color: #d8dce7;
}

.crew-profile-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.2rem, 7vw, 6rem);
  align-items: center;
}

.crew-profile-art {
  width: min(100%, 31rem);
  justify-self: center;
}

.crew-profile-copy {
  position: relative;
  max-width: 54rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3.2rem);
}

.crew-profile-copy::before {
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: 0;
  width: 0.14rem;
  background: linear-gradient(transparent, var(--nexus-cyan) 16%, var(--nexus-violet-bright) 84%, transparent);
  box-shadow: var(--nexus-glow);
  content: "";
}

.crew-profile-copy h1 {
  max-width: 18ch;
  background: linear-gradient(100deg, var(--nexus-cyan), #7693ff 52%, var(--nexus-violet-bright));
  background-clip: text;
  color: var(--nexus-cyan);
  filter: drop-shadow(0 0 0.55rem rgba(69, 111, 255, 0.72));
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.98;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-profile="titan"] .crew-profile-copy h1 {
  max-width: 21ch;
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  line-height: 1.06;
}

.crew-profile-copy > p:not(.character-class) {
  max-width: 48rem;
  color: #d7dbe6;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.crew-profile-copy .character-class {
  font-size: clamp(0.7rem, 1vw, 0.88rem);
}

.crew-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.story-sigil {
  display: inline-block;
  margin-right: 0.35rem;
  filter: drop-shadow(0 0 0.45rem var(--nexus-blue));
}

.content-card {
  position: relative;
  display: flex;
  min-height: 25rem;
  padding: 4.4rem clamp(1.6rem, 3vw, 2.35rem) 2.8rem;
  overflow: hidden;
  flex-direction: column;
  clip-path: polygon(50% 0, 84% 7%, 97% 24%, 100% 72%, 91% 94%, 76% 100%, 20% 97%, 5% 86%, 0 29%, 13% 8%);
  background:
    radial-gradient(ellipse at 50% 4%, rgba(107, 219, 245, 0.45), transparent 44%),
    radial-gradient(circle at 78% 78%, rgba(108, 67, 203, 0.3), transparent 40%),
    repeating-linear-gradient(93deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 7px),
    linear-gradient(145deg, #69747a, #303940 66%, #151b20);
  box-shadow: inset 0 0 3.5rem rgba(0, 0, 0, 0.58), 0 1.4rem 2.3rem rgba(0, 0, 0, 0.4);
  color: #f3e3c9;
  transition: filter 180ms ease, transform 180ms ease;
}

.content-card::before {
  position: absolute;
  z-index: -1;
  inset: 0.65rem;
  clip-path: inherit;
  border: 0.13rem solid rgba(126, 229, 255, 0.7);
  box-shadow: inset 0 0 1.2rem rgba(102, 83, 208, 0.22);
  content: "";
}

.content-card::after {
  position: absolute;
  right: 18%;
  bottom: 1.25rem;
  left: 18%;
  height: 0.22rem;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, var(--nexus-cyan), transparent);
  box-shadow: var(--nexus-glow);
  content: "";
}

.content-card:hover {
  filter: brightness(1.12);
  transform: translateY(-0.35rem);
}

.content-card p {
  color: #d4c9b8;
}

.card-state {
  align-self: center;
  margin-top: -2.25rem;
  color: #b8b3aa;
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-art {
  display: grid;
  width: 6rem;
  min-height: 6rem;
  margin-inline: auto;
  place-items: center;
  border: 0.15rem solid #92efff;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, #5799bf, #17244a 58%, #090916);
  box-shadow: inset 0 0 0 0.3rem #10162e, 0 0.45rem 0.9rem rgba(0, 0, 0, 0.52), var(--nexus-glow);
  color: #c5f7ff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
}

.content-card h3,
.content-card p {
  text-align: center;
}

.text-link {
  margin-top: auto;
  color: var(--nexus-cyan);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.social-link-note {
  max-width: 34rem;
  margin-inline: auto;
  color: #9faabd;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.location-layout,
.form-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.location-layout {
  grid-template-columns: minmax(25rem, 1.25fr) minmax(18rem, 0.75fr);
  align-items: center;
}

.location-card {
  align-self: center;
  padding: 0.62rem;
  overflow: hidden;
  border-radius: 1.8rem 0.8rem 1.8rem 0.8rem;
}

.location-card::before {
  position: absolute;
  z-index: 2;
  top: 0.18rem;
  left: 50%;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateX(-50%) rotate(45deg);
  border: 0.12rem solid #9ceeff;
  background: #22205d;
  box-shadow: var(--nexus-glow);
  content: "";
}

.location-card img {
  width: 100%;
  border: 0.12rem solid #6997ff;
  border-radius: 1.2rem 0.55rem 1.2rem 0.55rem;
  box-shadow: 0 0 0 0.12rem rgba(177, 112, 255, 0.64), 0 0 1.2rem rgba(49, 105, 255, 0.56);
}

figcaption {
  padding: 0.75rem 0.6rem 0.3rem;
  color: #c6bfb5;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-align: center;
}

.location-copy {
  padding-top: clamp(1rem, 4vw, 3rem);
}

.location-copy > p:not(.eyebrow) {
  max-width: 37rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.location-status {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 0.08rem solid rgba(100, 138, 255, 0.52);
  border-radius: 1.4rem 0.45rem 1.4rem 0.45rem;
  background: linear-gradient(135deg, rgba(24, 50, 108, 0.56), rgba(55, 22, 105, 0.58));
  box-shadow: inset 0 0 1rem rgba(77, 101, 255, 0.15), var(--nexus-glow);
}

.location-status > span {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  transform: rotate(45deg);
  border: 0.08rem solid #a4c8ff;
  background: linear-gradient(135deg, var(--nexus-blue), var(--nexus-violet));
  box-shadow: var(--nexus-glow);
}

.location-status p {
  display: grid;
  gap: 0.15rem;
}

.location-status strong {
  color: #dceaff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.location-status small {
  color: #bcc7da;
  font-size: 0.72rem;
}

.quest-page-main {
  min-height: calc(100vh - 9rem);
}

.quest-landing {
  min-height: calc(100vh - 6rem);
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
}

.quest-page-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quest-home-link {
  color: var(--nexus-cyan);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.quest-home-link:hover,
.quest-home-link:focus-visible {
  color: white;
  filter: drop-shadow(0 0 0.6rem var(--nexus-blue));
}

.interactive-location-layout {
  display: grid;
  grid-template-columns: minmax(34rem, 1.35fr) minmax(20rem, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.interactive-map-card {
  margin: 0;
}

.state-map {
  position: relative;
}

.state-map-scroll {
  position: relative;
  border-radius: 1.2rem 0.55rem 1.2rem 0.55rem;
  outline: none;
}

.state-map-scroll:focus-visible {
  box-shadow: 0 0 0 0.18rem #0a1020, 0 0 0 0.34rem var(--nexus-cyan), var(--nexus-glow);
}

.state-map > img {
  display: block;
}

.state-layer {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 933;
}

.state-node {
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
}

.state-hit-target {
  fill: transparent;
  pointer-events: all;
}

.state-leader {
  stroke: rgba(211, 246, 255, 0.72);
  stroke-dasharray: 3 4;
  stroke-linecap: round;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px #2867ff);
  pointer-events: none;
}

.state-node-core {
  fill: rgba(19, 26, 52, 0.88);
  stroke: #6eeaff;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px #2867ff);
  transition: fill 140ms ease, stroke 140ms ease;
}

.state-node text {
  fill: white;
  font: 850 9px/1 var(--font-ui);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.state-node:hover .state-node-core,
.state-node:focus .state-node-core,
.state-node.is-selected .state-node-core {
  fill: #4b20a8;
  stroke: #d2f7ff;
  stroke-width: 3;
  filter: drop-shadow(0 0 9px #2867ff) drop-shadow(0 0 8px #a76bff);
}

.map-state-readout {
  position: absolute;
  z-index: 4;
  right: 7%;
  bottom: 7%;
  min-width: 0;
  max-width: 24rem;
  padding: 0.58rem 0.9rem;
  border: 0.08rem solid rgba(125, 206, 255, 0.7);
  border-radius: 1rem 0.35rem 1rem 0.35rem;
  background: rgba(6, 12, 27, 0.9);
  box-shadow: var(--nexus-glow);
  color: white;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.map-scroll-hint {
  display: none;
}

.itinerary-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 0.1rem solid rgba(117, 197, 255, 0.75);
  clip-path: polygon(4% 0, 96% 0, 100% 6%, 98% 94%, 93% 100%, 5% 98%, 0 91%, 2% 7%);
  background:
    radial-gradient(circle at 50% 0, rgba(50, 103, 255, 0.32), transparent 55%),
    linear-gradient(145deg, rgba(20, 33, 58, 0.98), rgba(25, 14, 53, 0.98));
  box-shadow: inset 0 0 1.5rem rgba(109, 67, 255, 0.18), var(--nexus-glow), var(--deep-shadow);
}

.itinerary-panel h2 {
  max-width: 100%;
  color: var(--nexus-cyan);
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.itinerary-panel > p:not(.eyebrow),
.state-selector > p {
  color: var(--muted);
}

.itinerary-details {
  display: grid;
  gap: 0.8rem;
}

.itinerary-details > div {
  padding: 0.75rem 0.9rem;
  border-left: 0.18rem solid var(--nexus-violet-bright);
  background: rgba(8, 15, 31, 0.62);
}

.itinerary-details dt,
.state-selector label {
  color: #d9f7ff;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.itinerary-details dd {
  margin: 0.28rem 0 0;
  color: #d4d8e2;
  font-size: 0.88rem;
}

.state-selector {
  display: grid;
  gap: 0.55rem;
}

.state-selector select {
  min-width: 0;
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 2.4rem 0.65rem 0.85rem;
  border: 0.1rem solid #6faeff;
  border-radius: 0.3rem 1rem 0.3rem 1rem;
  background: #0d1730;
  color: white;
  font-family: var(--font-ui);
  font-size: 1rem;
}

.state-selector > p {
  font-size: 0.75rem;
}

.location-page-status {
  max-width: 68rem;
  margin-inline: auto;
}

.section-dark {
  background:
    radial-gradient(circle at 18% 10%, rgba(57, 126, 167, 0.22), transparent 31rem),
    radial-gradient(circle at 82% 52%, rgba(82, 58, 166, 0.2), transparent 30rem),
    linear-gradient(180deg, #0d1828, #03050d);
}

.form-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1.2fr);
  align-items: start;
}

.connect-copy {
  position: sticky;
  top: 8rem;
}

.connect-copy > p:not(.eyebrow, .annotation) {
  color: var(--muted);
}

.annotation-dark {
  border-left-color: var(--nexus-violet-bright);
  background: rgba(255, 255, 255, 0.06);
  color: #dad4ca;
}

.parchment-panel {
  position: relative;
  padding: clamp(3rem, 6vw, 4.8rem) clamp(2.8rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  background: url("/assets/images/communications-parchment.webp") center / 100% 100% no-repeat;
  color: var(--ink);
  filter: drop-shadow(0 1.2rem 1.2rem rgba(0, 0, 0, 0.5));
}

.form-panel::before,
.form-panel::after {
  display: none;
}

.raven-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-family: var(--font-ui);
  font-weight: 800;
}

.form-status {
  color: #604536;
  font-family: var(--font-ui);
  font-size: 0.82rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem 0.2rem 0.58rem;
  border: 0;
  border-bottom: 0.13rem solid #70472e;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 -0.2rem 0.45rem rgba(74, 37, 18, 0.08);
  color: var(--ink);
}

textarea {
  min-height: 8.5rem;
  border: 0.1rem solid rgba(112, 71, 46, 0.5);
  border-radius: 1.5rem 0.7rem 1.8rem 0.6rem;
  padding: 0.9rem;
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0.15rem 0 var(--error);
}

.field-error {
  color: #781713;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 750;
}

.form-error-summary {
  padding: 1rem 1.2rem;
  border: 0.16rem solid var(--error);
  border-radius: 2rem 0.8rem 2.2rem 0.8rem;
  background: #fff0e4;
  color: #64120f;
  font-family: var(--font-ui);
}

.form-error-summary h3 {
  font-size: 1rem;
}

.form-error-summary ul {
  margin-block: 0.6rem 0;
  padding-left: 1.2rem;
}

.form-error-summary a {
  font-weight: 750;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  justify-self: start;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.75;
}

.spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  margin-left: 0.55rem;
  border: 0.15rem solid currentcolor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.submit-button[aria-busy="true"] .spinner {
  display: inline-block;
}

.form-status:not(:empty) {
  padding: 0.72rem 1rem;
  border-left: 0.28rem solid #71391f;
  border-radius: 0 1.2rem 1.2rem 0;
  background: rgba(90, 47, 26, 0.12);
  color: #512918;
  font-weight: 750;
}

.site-footer {
  padding-block: 2.2rem;
  border-top: 0.15rem solid var(--nexus-violet);
  background: #010303;
  color: #bcb5a9;
  font-family: var(--font-ui);
  font-size: 0.78rem;
}

.footer-layout {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 66rem) {
  :root {
    --site-header-height: 5.4rem;
  }

  .nav-list a {
    min-width: 8.5rem;
    padding-inline: 0.65rem;
  }

  .nav-list a[data-quest="reason-for-journey"] {
    min-width: 10.8rem;
  }

  .nav-list a[data-quest="location"] {
    min-width: 10rem;
  }

  .nav-list a[data-quest="home"] {
    min-width: 6.4rem;
  }

  .hero-menu {
    width: min(39rem, 53vw);
  }

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

  .battle-copy {
    top: 33%;
  }
}

@media (max-width: 52rem) {
  :root {
    --site-header-height: 4.9rem;
  }

  .header-layout {
    align-items: center;
    flex-direction: row;
    gap: 0.65rem;
    padding-block: 0.4rem;
  }

  .brand-logo {
    width: 3.4rem;
    height: 3.4rem;
  }

  .site-header nav {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .nav-list {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.15rem 0.1rem 0.35rem;
    overflow-x: auto;
    scroll-padding-inline: 6.4rem 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--nexus-blue) transparent;
    scrollbar-width: thin;
  }

  .nav-list li {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .nav-list li:first-child {
    position: sticky;
    z-index: 2;
    left: 0;
  }

  .nav-list a {
    min-width: 9rem;
    min-height: 3rem;
    scroll-margin-left: 6.4rem;
  }

  .nav-list a[data-quest="home"] {
    min-width: 5.8rem;
  }

  .nav-list a[data-quest="reason-for-journey"] {
    min-width: 11.75rem;
  }

  .nav-list a[data-quest="location"] {
    min-width: 11.25rem;
  }

  .nav-list a[data-quest="reason-for-journey"] span,
  .nav-list a[data-quest="location"] span {
    font-size: 0.62rem;
    letter-spacing: 0.045em;
  }

  .hero,
  .section {
    scroll-margin-top: 5.5rem;
  }

  .voyage-stage {
    display: grid;
    min-height: auto;
    background: #071011;
  }

  .voyage-stage::before {
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.8));
  }

  .voyage-stage::after {
    bottom: auto;
    height: min(52vw, 23rem);
  }

  .voyage-panorama {
    position: relative;
    height: min(52vw, 23rem);
    object-position: 61% center;
  }

  .hero-menu {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    margin: -3.2rem 1rem 4.5rem;
  }

  .home-voyage-stage {
    display: block;
    min-height: 0;
    aspect-ratio: 1600 / 609;
  }

  .home-voyage-stage::after {
    inset: 0.45rem;
    height: auto;
  }

  .home-voyage-stage .voyage-panorama {
    position: absolute;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home-title-only {
    position: absolute;
    bottom: clamp(0.8rem, 4vw, 1.5rem);
    left: 1.2rem;
    width: min(78%, 25rem);
    margin: 0;
    padding: 0;
  }

  .home-title-only .voyage-wordmark {
    font-size: clamp(1.65rem, 8vw, 3.4rem);
  }

  .scroll-cue {
    bottom: 0.75rem;
  }

  .battle-stage {
    display: grid;
    padding: 0.58rem;
    border-radius: 1rem 1rem 2rem 2rem;
  }

  .social-hotspots {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    pointer-events: none;
  }

  .social-hotspot {
    position: absolute;
    display: block;
    width: 7.4%;
    min-height: 0;
    padding: 0;
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 0.1rem transparent;
    pointer-events: auto;
  }

  .social-hotspot::after {
    content: none;
  }

  .social-hotspot:hover,
  .social-hotspot:focus-visible {
    transform: scale(1.08);
  }

  .battle-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-top: -0.25rem;
    padding: 2rem 1.4rem 2.4rem;
    clip-path: polygon(3% 0, 96% 1%, 100% 9%, 98% 88%, 92% 100%, 6% 97%, 0 88%, 2% 8%);
    background:
      repeating-linear-gradient(3deg, rgba(70, 37, 18, 0.035) 0 1px, transparent 1px 5px),
      linear-gradient(135deg, var(--parchment-light), var(--parchment));
    box-shadow: inset 0 0 2rem rgba(83, 39, 17, 0.25);
  }

  .battle-objective p {
    font-size: 0.98rem;
  }

  .card-grid,
  .crew-grid,
  .location-layout,
  .interactive-location-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .crew-grid {
    width: min(100%, 28rem);
    margin-inline: auto;
    gap: 3.2rem;
  }

  .crew-profile-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .crew-profile-copy {
    padding: 1.6rem 0.35rem 1rem 1.3rem;
  }

  .crew-profile-copy::before {
    right: auto;
    left: 0;
  }

  .content-card {
    min-height: 22rem;
  }

  .connect-copy {
    position: static;
  }

  .quest-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .interactive-map-card {
    width: 100%;
  }

  .state-map-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--nexus-blue) rgba(7, 13, 30, 0.8);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .state-map {
    width: 46rem;
    max-width: none;
  }

  .map-scroll-hint {
    display: block;
    margin: 0.65rem 0.45rem 0;
    color: #b9cce8;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    text-align: center;
  }

  .map-state-readout {
    position: sticky;
    right: auto;
    bottom: auto;
    left: 0.7rem;
    width: calc(100vw - 4.7rem);
    max-width: 22rem;
    margin: 0.7rem 0.35rem 0;
  }

}

@media (max-width: 34rem) {
  .shell {
    width: min(calc(100% - 1.1rem), var(--shell));
  }

  .hero-menu {
    padding: 1.9rem 1.2rem;
  }

  .hero-menu h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .button-row .button,
  .submit-button {
    width: 100%;
  }

  .content-card {
    padding-inline: 2rem;
  }

  .parchment-panel {
    padding: 2.1rem 1.3rem;
  }

  .journey-overview {
    padding-inline: 1.3rem;
  }

  .journey-overview-copy h1 {
    font-size: clamp(2rem, 10.5vw, 2.65rem);
    line-height: 1.04;
  }

  .journey-burdens {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
