@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fffdf5;
  --paper-deep: #f7eeda;
  --ink: #0b2a5b;
  --ink-deep: #071e43;
  --lagoon: #0e77b6;
  --lagoon-soft: #dff5ff;
  --orange: #ffcf24;
  --brass: #ef4136;
  --muted: #4a5f7a;
  --line: rgba(11, 42, 91, 0.2);
  --header-height: 78px;
  --gutter: clamp(22px, 5vw, 80px);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

button:not(:disabled),
a {
  cursor: pointer;
}

::selection {
  color: var(--paper);
  background: var(--lagoon);
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 500;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--gutter);
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 253, 245, 0.16);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand img {
  color: var(--orange);
}

.brand-dot {
  color: var(--orange);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  margin-left: auto;
}

.desktop-nav a,
.no-js-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav a::after,
.no-js-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.no-js-nav a:hover::after,
.no-js-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button img {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.button:hover img {
  transform: translateX(4px);
}

.button:active {
  transform: translateY(1px);
}

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 12px;
}

.button--large {
  min-height: 62px;
  padding-inline: 30px;
  font-size: 15px;
}

.button--accent {
  color: var(--ink);
  background: var(--orange);
}

.button--accent:hover {
  background: #ffdf6e;
}

.button--dark {
  color: var(--paper);
  background: var(--ink);
}

.button--dark:hover {
  background: var(--ink-deep);
}

.header-cta {
  margin-left: 4px;
}

.menu-toggle,
.mobile-menu__close {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 253, 245, 0.3);
  border-radius: 2px;
  color: var(--paper);
  background: transparent;
}

.no-js-nav {
  display: none;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.mobile-menu {
  width: min(100%, 520px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 24px;
  border: 0;
  color: var(--ink);
  background: var(--paper);
}

.mobile-menu::backdrop {
  background: rgba(7, 30, 67, 0.78);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__top p {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu__close {
  display: grid;
  color: var(--ink);
  border-color: var(--line);
}

.mobile-menu__nav {
  display: grid;
  margin: 34px 0;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.mobile-menu__nav span {
  color: var(--brass);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 750;
}

.mobile-menu__cta {
  width: 100%;
}

.mobile-menu__foot {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(64px, 8vh, 110px) clamp(28px, 4.4vw, 72px) 90px;
}

.hero-kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--lagoon);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.hero-kicker {
  color: var(--ink);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 207, 36, 0.13);
}

.hero h1 {
  max-width: 7.4ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(84px, 8.3vw, 154px);
  font-weight: 800;
  line-height: 0.79;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-line > span {
  display: block;
}

.hero-line:nth-child(2) {
  padding-left: 0.36em;
}

.hero-line:nth-child(3) {
  padding-left: 0.08em;
}

.hero-intro {
  max-width: 43ch;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

.text-link img {
  transition: transform 180ms ease;
}

.text-link:hover img {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--paper);
}

.hero-meta {
  max-width: 540px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-meta > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-meta img {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--orange);
}

.hero-meta span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.hero-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
}

.hero-map-wrap {
  position: relative;
  min-width: 0;
  min-height: calc(100svh - var(--header-height));
}

.map-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--lagoon-soft);
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.map-fallback,
.hero-map {
  position: absolute;
  inset: 0;
}

.map-fallback {
  background: var(--lagoon-soft);
  transition: opacity 700ms ease;
}

.map-fallback picture,
.map-fallback img {
  width: 100%;
  height: 100%;
}

.map-fallback img {
  object-fit: cover;
  filter: saturate(0.72) contrast(0.94);
}

.map-fallback::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(11, 42, 91, 0.12), rgba(11, 42, 91, 0.42));
}

.map-fallback__atlas {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 34%, rgba(255, 207, 36, 0.12), transparent 25%),
    linear-gradient(135deg, rgba(11, 42, 91, 0.18), rgba(239, 65, 54, 0.1) 52%, rgba(11, 42, 91, 0.3));
}

.map-fallback__atlas::before,
.rpg-map-tint::before {
  content: "";
  background-image:
    linear-gradient(rgba(255, 253, 245, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 245, 0.14) 1px, transparent 1px);
  background-size: 74px 74px;
}

.map-fallback__atlas::before {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.map-fallback__path {
  position: absolute;
  top: 40%;
  left: 39%;
  width: 32%;
  height: 3px;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(11, 42, 91, 0.35);
  transform: rotate(41deg);
  transform-origin: left center;
}

.map-fallback__node {
  position: absolute;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--paper);
}

.map-fallback__node::before {
  position: absolute;
  inset: 0;
  border: 2px solid var(--brass);
  background: var(--ink);
  box-shadow: 3px 3px 0 rgba(11, 42, 91, 0.28);
  content: "";
  transform: rotate(45deg);
}

.map-fallback__node::after {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  padding: 5px 8px;
  border: 1px solid rgba(239, 65, 54, 0.72);
  color: var(--paper);
  background: rgba(11, 42, 91, 0.94);
  content: attr(data-label);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}

.map-fallback__node b,
.map-fallback__node img {
  position: relative;
  z-index: 1;
}

.map-fallback__node b {
  font-family: var(--display);
  font-size: 13px;
  line-height: 1;
}

.map-fallback__node img {
  width: 16px;
  height: 16px;
}

.map-fallback__node--start {
  top: 35%;
  left: 36%;
  color: var(--ink);
}

.map-fallback__node--start::before {
  background: var(--orange);
}

.map-fallback__node--step {
  top: 54%;
  left: 55%;
}

.map-fallback__node--step::before {
  background: var(--lagoon);
}

.map-fallback__node--treasure {
  top: 65%;
  left: 69%;
  color: var(--ink);
}

.map-fallback__node--treasure::before {
  background: var(--brass);
}

.map-fallback__atlas small {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 6px 9px;
  color: #dff5ff;
  background: rgba(11, 42, 91, 0.84);
  font-size: 9px;
  font-weight: 700;
}

.map-fallback__label {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 30px;
  padding: 8px 12px;
  border: 1px solid rgba(239, 65, 54, 0.75);
  color: var(--paper);
  background: rgba(11, 42, 91, 0.92);
  font-size: 11px;
  font-weight: 700;
}

.hero-map {
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms ease;
}

.map-shell.is-live .hero-map {
  opacity: 1;
}

.map-shell.is-live .map-fallback {
  opacity: 0;
}

.map-shell.is-fallback .hero-map {
  opacity: 0;
}

.map-shell.is-fallback .map-fallback {
  opacity: 1;
}

.map-dossier {
  position: absolute;
  z-index: 420;
  top: 42px;
  left: 16%;
  min-width: 230px;
  display: grid;
  gap: 3px;
  padding: 15px 20px 16px;
  border: 1px solid rgba(239, 65, 54, 0.72);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(14, 119, 182, 0.22), transparent 58%),
    rgba(11, 42, 91, 0.94);
  box-shadow: 5px 5px 0 rgba(7, 30, 67, 0.22);
  pointer-events: none;
}

.map-dossier span,
.map-dossier small {
  font-size: 10px;
  line-height: 1.4;
}

.map-dossier span {
  color: #c7dbf3;
}

.map-dossier strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.map-legend {
  position: absolute;
  z-index: 420;
  bottom: 42px;
  left: 16%;
  min-width: 250px;
  padding: 17px 20px;
  border: 1px solid rgba(239, 65, 54, 0.72);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(14, 119, 182, 0.22), transparent 58%),
    rgba(11, 42, 91, 0.94);
  box-shadow: 5px 5px 0 rgba(7, 30, 67, 0.22);
  pointer-events: none;
}

.map-legend__route,
.map-legend a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.map-legend__route {
  margin-bottom: 12px;
  color: #cfe0f6;
}

.map-legend__route > span {
  width: 24px;
  height: 3px;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 253, 245, 0.7);
}

.map-legend__states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.map-legend__states > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfe0f6;
  font-size: 9px;
  font-weight: 700;
}

.map-state {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--paper);
  background: var(--lagoon);
  font-size: 7px;
  font-style: normal;
  transform: rotate(45deg);
}

.map-state--start {
  background: var(--orange);
  color: var(--ink);
}

.map-state--treasure {
  background: var(--brass);
  color: var(--paper);
}

.map-state b,
.map-state img {
  transform: rotate(-45deg);
}

.map-state b {
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}

.map-state img {
  width: 11px;
  height: 11px;
}

.map-legend a {
  min-height: 44px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 253, 245, 0.18);
  color: var(--paper);
  font-weight: 700;
  pointer-events: auto;
}

.map-legend a:hover {
  color: var(--orange);
}

.map-coordinates {
  position: absolute;
  z-index: 420;
  top: 42%;
  right: 22px;
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-align: right;
  text-shadow: 0 1px 10px rgba(11, 42, 91, 0.7);
  writing-mode: vertical-rl;
  pointer-events: none;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll__line {
  width: 48px;
  height: 1px;
  display: block;
  background: var(--ink);
}

.signal-strip {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.4vw, 56px);
  padding: 16px var(--gutter);
  color: var(--ink);
  background: var(--orange);
  font-family: var(--display);
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.signal-strip i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.section {
  padding: clamp(78px, 9vw, 146px) var(--gutter);
}

.section > * {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(44px, 8vw, 132px);
  align-items: end;
}

.section-heading h2,
.modes__header h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.section-heading__copy {
  padding-bottom: 5px;
}

.section-heading__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-heading__copy p + p {
  margin-top: 16px;
}

.section-heading--compact {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.section-heading--compact h2 {
  font-size: clamp(48px, 5.5vw, 78px);
}

.section-kicker img {
  flex: 0 0 auto;
  color: var(--brass);
}

.section-kicker--light {
  color: #cbdef4;
}

.split-word {
  display: inline-block;
  white-space: pre;
}

.concept-figure {
  position: relative;
  height: clamp(390px, 43vw, 640px);
  margin-top: clamp(52px, 6vw, 86px);
  overflow: hidden;
  background: var(--ink);
}

.concept-figure picture {
  width: 100%;
  height: 100%;
  display: block;
}

.concept-figure img {
  width: 100%;
  height: 112%;
  display: block;
  object-fit: cover;
  object-position: 50% 54%;
  filter: saturate(1.04) contrast(1.03) brightness(0.96);
  will-change: transform;
}

.concept-figure::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 253, 245, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 245, 0.16) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.5;
  pointer-events: none;
}

.concept-figure::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(14, 119, 182, 0.28), transparent 48%, rgba(239, 65, 54, 0.12)),
    linear-gradient(180deg, transparent 45%, rgba(7, 30, 67, 0.82));
  pointer-events: none;
}

.concept-figure figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 52px);
  left: clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 30px;
  color: var(--paper);
}

.concept-figure figcaption span {
  grid-column: 1 / -1;
  color: #cfe0f6;
  font-size: 11px;
  font-weight: 700;
}

.concept-figure figcaption strong {
  font-family: var(--display);
  font-size: clamp(32px, 3.7vw, 54px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.concept-figure figcaption small {
  align-self: end;
  font-size: 11px;
  text-align: right;
}

.world-ui {
  position: absolute;
  z-index: 2;
  inset: 0;
  color: var(--paper);
  pointer-events: none;
}

.world-ui__tag,
.world-ui__place,
.world-ui__beacon {
  position: absolute;
}

.world-ui__tag {
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(239, 65, 54, 0.8);
  background: rgba(11, 42, 91, 0.9);
  font-size: 9px;
  font-weight: 700;
}

.world-ui__tag img {
  width: 13px;
  height: 13px;
}

.world-ui__place {
  top: 69px;
  left: 24px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(11, 42, 91, 0.55);
  text-transform: uppercase;
}

.world-ui__beacon {
  top: 42%;
  left: 62%;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.world-ui__beacon > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--brass);
  color: var(--ink);
  background: var(--orange);
  box-shadow: 4px 4px 0 rgba(11, 42, 91, 0.3);
  transform: rotate(45deg);
}

.world-ui__beacon img {
  width: 21px;
  height: 21px;
  transform: rotate(-45deg);
}

.world-ui__beacon b {
  padding: 5px 8px;
  background: rgba(11, 42, 91, 0.9);
  font-size: 9px;
  white-space: nowrap;
}

.concept-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
  margin-top: 52px;
}

.concept-points article {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.concept-points img {
  margin-bottom: 24px;
  color: var(--brass);
}

.concept-points h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.concept-points p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.modes {
  padding: clamp(78px, 9vw, 146px) var(--gutter);
  color: var(--paper);
  background: var(--ink);
}

.modes__header,
.mode-grid {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.modes__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 40px 100px;
  align-items: end;
}

.modes__header .section-kicker,
.modes__header h2 {
  grid-column: 1;
}

.modes__header h2 {
  max-width: 800px;
}

.modes__header > p:last-child {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: #c7dbf3;
  font-size: 14px;
  line-height: 1.8;
}

.mode-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  margin-top: 64px;
}

.mode {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 58px);
}

.mode--solo {
  border: 1px solid rgba(255, 253, 245, 0.25);
}

.mode--team {
  color: var(--ink);
  background: var(--orange);
}

.mode__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  border: 1px solid rgba(255, 253, 245, 0.35);
}

.mode--team .mode__icon {
  border-color: rgba(11, 42, 91, 0.3);
}

.mode__label {
  margin: 0 0 7px;
  color: #c7dbf3;
  font-size: 11px;
  font-weight: 750;
}

.mode--team .mode__label {
  color: rgba(11, 42, 91, 0.72);
}

.mode h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 5.6vw, 82px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.mode__intro {
  max-width: 46ch;
  margin: 24px 0 0;
  color: #cfe0f6;
  font-size: 14px;
  line-height: 1.8;
}

.mode--team .mode__intro {
  color: rgba(11, 42, 91, 0.82);
}

.mode ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.mode li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce9fa;
  font-size: 13px;
}

.mode li img {
  flex: 0 0 auto;
  color: var(--brass);
}

.mode .text-link,
.mode .button {
  margin-top: auto;
}

.team-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 34px;
}

.team-roles span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(11, 42, 91, 0.26);
  font-size: 11px;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
  margin-top: 70px;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.process-step::before {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  content: "";
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.process-step--finish::before {
  border-color: var(--orange);
  background: var(--orange);
}

.process-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.process-step__top span {
  color: #7d8ba0;
  font-family: var(--display);
  font-size: 58px;
  font-weight: 700;
  line-height: 0.9;
}

.process-step--finish .process-step__top span {
  color: var(--brass);
}

.process-step__top img {
  color: var(--lagoon);
}

.process-step--finish .process-step__top img {
  color: var(--brass);
}

.process-step h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.3;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.quest {
  background: var(--lagoon-soft);
}

.quest-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 64px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(11, 42, 91, 0.2);
  box-shadow: 14px 14px 0 var(--orange);
}

.quest-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--lagoon);
}

.quest-visual picture {
  position: absolute;
  inset: 0;
  display: block;
}

.quest-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.03) contrast(1.02) brightness(0.95);
}

.quest-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 253, 245, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 245, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.42;
  pointer-events: none;
}

.quest-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(14, 119, 182, 0.32), transparent 46%, rgba(239, 65, 54, 0.12)),
    linear-gradient(180deg, rgba(7, 30, 67, 0.4), rgba(7, 30, 67, 0.08) 38%, rgba(7, 30, 67, 0.92));
  pointer-events: none;
}

.quest-visual__top {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 26px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #eef5fd;
  font-size: 10px;
  font-weight: 700;
}

.quest-visual__top span:first-child {
  padding: 6px 9px;
  color: var(--ink);
  background: var(--orange);
}

.quest-visual__caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 30px;
  left: 28px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.quest-visual__number {
  color: var(--orange);
  font-family: var(--display);
  font-size: 86px;
  font-weight: 700;
  line-height: 0.75;
}

.quest-visual__caption div {
  display: grid;
  gap: 5px;
}

.quest-visual__caption small {
  color: #cbdef4;
  font-size: 10px;
}

.quest-visual__caption strong {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.quest-world-marker {
  position: absolute;
  z-index: 3;
  top: 43%;
  right: 14%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  pointer-events: none;
}

.quest-world-marker > span {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--brass);
  background: var(--orange);
  box-shadow: 4px 4px 0 rgba(11, 42, 91, 0.3);
  transform: rotate(45deg);
}

.quest-world-marker img {
  width: 20px;
  height: 20px;
  transform: rotate(-45deg);
}

.quest-world-marker div {
  display: grid;
  gap: 2px;
  padding: 6px 9px;
  border: 1px solid rgba(239, 65, 54, 0.65);
  background: rgba(11, 42, 91, 0.92);
}

.quest-world-marker small {
  color: #c7dbf3;
  font-size: 8px;
  font-weight: 700;
}

.quest-world-marker strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.quest-dossier {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 58px);
}

.quest-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 253, 245, 0.2);
}

.quest-tab {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 14px;
  border: 0;
  color: #a9c2de;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.quest-tab span {
  color: var(--orange);
  font-size: 10px;
}

.quest-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.quest-tab.is-active {
  color: var(--paper);
}

.quest-tab.is-active::after {
  transform: scaleX(1);
}

.quest-panel {
  min-height: 485px;
  display: flex;
  flex-direction: column;
  padding-top: 34px;
}

.quest-panel__npc {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 750;
}

.quest-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.quest-panel__story {
  margin: 22px 0 24px;
  color: #cfe0f6;
  font-size: 14px;
  line-height: 1.8;
}

.clue-toggle {
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 253, 245, 0.35);
  border-radius: 2px;
  color: var(--paper);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.clue-toggle:hover,
.clue-toggle[aria-expanded="true"] {
  border-color: var(--orange);
  background: rgba(255, 207, 36, 0.1);
}

.quest-clue {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--orange);
  color: #dff5ff;
  background: rgba(255, 253, 245, 0.07);
  font-size: 13px;
  line-height: 1.7;
}

.quest-reward {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 253, 245, 0.16);
  border-bottom: 1px solid rgba(255, 253, 245, 0.16);
}

.quest-reward img {
  flex: 0 0 auto;
  color: var(--orange);
}

.quest-reward div {
  display: grid;
  gap: 2px;
}

.quest-reward small {
  color: #a9c2de;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.quest-reward strong {
  font-size: 12px;
}

.quest-progress {
  margin-top: 22px;
}

.quest-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #a9c2de;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.quest-progress__track {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 253, 245, 0.16);
}

.quest-progress__track span {
  width: 50%;
  height: 100%;
  display: block;
  background: var(--orange);
  transition: width 350ms ease;
}

.quest-cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 26px;
}

.final-cta {
  position: relative;
  padding: clamp(78px, 9vw, 138px) var(--gutter);
  overflow: hidden;
  color: var(--ink);
  background: var(--orange);
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: end;
  margin: 0 auto;
}

.final-cta .section-kicker {
  color: var(--ink);
}

.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(60px, 7.4vw, 110px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.final-cta__action p {
  max-width: 36ch;
  margin: 0 0 26px;
  color: rgba(11, 42, 91, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.final-cta__action small {
  display: block;
  margin-top: 16px;
  color: rgba(11, 42, 91, 0.72);
  font-size: 10px;
}

.final-cta__mark {
  position: absolute;
  right: -30px;
  bottom: -90px;
  color: var(--ink);
  opacity: 0.1;
  transform: rotate(-12deg);
  pointer-events: none;
}

.site-footer {
  padding: 58px var(--gutter) 28px;
  color: var(--paper);
  background: var(--ink-deep);
}

.site-footer__top,
.site-footer__bottom {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer__top {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-bottom: 44px;
}

.brand--footer {
  font-size: 34px;
}

.site-footer__top > p {
  margin: 0;
  color: #a9c2de;
  font-size: 12px;
}

.site-footer__top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: auto;
}

.site-footer__top nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
}

.site-footer__top nav a:hover {
  color: var(--orange);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 245, 0.15);
  color: #93aac9;
  font-size: 9px;
  line-height: 1.7;
}

.site-footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__bottom a:hover {
  color: var(--paper);
}

.leaflet-container {
  color: var(--ink);
  background: var(--lagoon-soft);
  font-family: var(--body);
}

.rpg-map-tint {
  position: absolute;
  z-index: 250;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(11, 42, 91, 0.2), rgba(14, 119, 182, 0.08) 54%, rgba(239, 65, 54, 0.14)),
    linear-gradient(25deg, rgba(239, 65, 54, 0.12), transparent 62%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.rpg-map-tint::before {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}

.rpg-map-tint::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 253, 245, 0.42);
  content: "";
  box-shadow: inset 0 0 0 5px rgba(11, 42, 91, 0.08);
}

.leaflet-tile-pane {
  filter: grayscale(0.08) sepia(0.12) hue-rotate(35deg) saturate(1.25) contrast(0.88) brightness(1.08);
}

.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(11, 42, 91, 0.2) !important;
}

.leaflet-control-zoom a {
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: rgba(255, 253, 245, 0.96) !important;
  font-family: var(--body) !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.leaflet-control-zoom a + a {
  border-top: 1px solid var(--line) !important;
}

.leaflet-control-attribution {
  padding: 3px 7px !important;
  color: #4a5f7a !important;
  background: rgba(255, 253, 245, 0.94) !important;
  font-size: 9px !important;
}

.leaflet-control-attribution a {
  color: var(--ink) !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  color: var(--paper);
  background: var(--ink);
  box-shadow: none;
}

.leaflet-popup-content-wrapper {
  border-radius: 0;
  border: 1px solid var(--brass);
}

.leaflet-popup-content {
  margin: 15px 18px;
  font-family: var(--body);
}

.leaflet-popup-content strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.leaflet-popup-content small {
  color: #c7dbf3;
  font-size: 10px;
}

.leaflet-popup-close-button {
  color: var(--paper) !important;
}

.quest-poi-label {
  margin-left: 20px;
  padding: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
  box-shadow: none;
  font-family: var(--body);
  white-space: nowrap;
  pointer-events: none;
}

.quest-poi-label::before {
  display: none;
}

.quest-poi-label small,
.quest-poi-label strong {
  display: block;
}

.quest-poi-label small {
  margin-bottom: 3px;
  color: var(--orange);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.quest-poi-label strong {
  padding: 7px 10px 8px;
  border: 1px solid rgba(239, 65, 54, 0.78);
  color: var(--paper);
  background: rgba(11, 42, 91, 0.95);
  box-shadow: 0 5px 16px rgba(11, 42, 91, 0.24);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.quest-poi-label--start small {
  color: #ff8f7e;
}

.quest-poi-label--treasure small {
  color: #ffe08a;
}

.quest-poi-label--treasure {
  margin-left: -36px;
}

.quest-marker {
  background: transparent;
  border: 0;
}

.quest-marker__inner {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--brass);
  color: var(--paper);
  background: var(--ink);
  box-shadow: 4px 4px 0 rgba(11, 42, 91, 0.28);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(45deg);
  transform-origin: center;
  transition: filter 160ms ease;
}

.quest-marker:hover .quest-marker__inner {
  filter: brightness(1.16);
}

.quest-marker__inner span,
.quest-marker__inner img {
  transform: rotate(-45deg);
}

.quest-marker--start .quest-marker__inner {
  color: var(--ink);
  background: var(--orange);
}

.quest-marker--step .quest-marker__inner {
  background: var(--lagoon);
}

.quest-marker--treasure .quest-marker__inner {
  color: var(--paper);
  background: var(--brass);
}

.quest-marker__inner img {
  width: 20px;
  height: 20px;
}

.quest-route-underlay,
.quest-route {
  pointer-events: none;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 20px;
  }

  .hero-copy {
    padding-left: 34px;
    padding-right: 34px;
  }

  .hero h1 {
    font-size: clamp(78px, 8.7vw, 108px);
  }

  .hero-meta {
    gap: 16px;
  }

  .map-dossier,
  .map-legend {
    left: 12%;
  }

  .mode {
    min-height: 600px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    gap: 18px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: 100%;
    max-width: 760px;
    padding: 74px var(--gutter) 76px;
  }

  .hero h1 {
    max-width: 7ch;
    font-size: clamp(96px, 15vw, 136px);
  }

  .hero-intro {
    max-width: 48ch;
  }

  .hero-meta {
    max-width: 600px;
  }

  .hero-map-wrap {
    min-height: 590px;
  }

  .map-shell {
    clip-path: none;
  }

  .map-dossier,
  .map-legend {
    left: 28px;
  }

  .map-coordinates {
    right: 28px;
  }

  .hero-scroll {
    display: none;
  }

  .section-heading,
  .section-heading--compact,
  .modes__header,
  .final-cta__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-heading__copy {
    max-width: 620px;
  }

  .modes__header .section-kicker,
  .modes__header h2,
  .modes__header > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .modes__header > p:last-child {
    max-width: 560px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode {
    min-height: auto;
  }

  .mode__intro {
    max-width: 60ch;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .quest-board {
    grid-template-columns: 1fr;
    box-shadow: 10px 10px 0 var(--orange);
  }

  .quest-visual {
    min-height: 480px;
  }

  .quest-panel {
    min-height: 500px;
  }

  .final-cta__action {
    max-width: 560px;
  }

  .site-footer__top {
    flex-wrap: wrap;
  }

  .site-footer__top nav {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
    --gutter: 20px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .brand {
    font-size: 27px;
  }

  .no-js-nav {
    gap: 12px;
  }

  .no-js-nav a {
    font-size: 11px;
  }

  .hero-copy {
    padding: 54px 20px 58px;
  }

  .hero-kicker,
  .section-kicker {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(72px, 20vw, 112px);
    line-height: 0.8;
  }

  .hero-line:nth-child(2) {
    padding-left: 0.22em;
  }

  .hero-line:nth-child(3) {
    padding-left: 0;
  }

  .hero-intro {
    margin-top: 28px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 36px;
    padding-top: 22px;
  }

  .hero-map-wrap {
    min-height: 500px;
  }

  .map-dossier {
    top: 20px;
    left: 16px;
    min-width: 210px;
    padding: 12px 15px;
  }

  .map-dossier strong {
    font-size: 21px;
  }

  .map-legend {
    right: 16px;
    bottom: 20px;
    left: 16px;
    min-width: 0;
    padding: 14px 16px;
  }

  .map-coordinates {
    display: none;
  }

  .signal-strip {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px 24px;
    padding-block: 20px;
    font-size: 22px;
    text-align: center;
  }

  .signal-strip i {
    display: none;
  }

  .section,
  .modes,
  .final-cta {
    padding: 74px 20px;
  }

  .section-heading h2,
  .modes__header h2,
  .section-heading--compact h2 {
    font-size: clamp(44px, 12.5vw, 64px);
  }

  .section-heading__copy p,
  .modes__header > p:last-child {
    font-size: 14px;
  }

  .concept-figure {
    height: 440px;
    margin-top: 44px;
  }

  .world-ui__tag {
    top: 20px;
    left: 20px;
  }

  .world-ui__place {
    top: 64px;
    left: 20px;
    font-size: 20px;
  }

  .world-ui__beacon {
    top: 39%;
    left: 58%;
  }

  .world-ui__beacon > span {
    width: 36px;
    height: 36px;
  }

  .world-ui__beacon img {
    width: 18px;
    height: 18px;
  }

  .concept-figure figcaption {
    grid-template-columns: 1fr;
  }

  .concept-figure figcaption small {
    text-align: left;
  }

  .concept-points {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 42px;
  }

  .concept-points p {
    max-width: 48ch;
  }

  .mode-grid {
    margin-top: 44px;
  }

  .mode {
    padding: 32px 26px;
  }

  .mode__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 32px;
  }

  .mode h3 {
    font-size: 62px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 50px;
  }

  .process-step__top {
    margin-bottom: 20px;
  }

  .process-step__top span {
    font-size: 50px;
  }

  .quest-board {
    margin-top: 44px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .quest-visual {
    min-height: 380px;
  }

  .quest-visual__top {
    top: 18px;
    right: 18px;
    left: 18px;
    font-size: 9px;
  }

  .quest-world-marker {
    top: 39%;
    right: 11%;
    gap: 10px;
  }

  .quest-world-marker > span {
    width: 34px;
    height: 34px;
  }

  .quest-world-marker strong {
    font-size: 17px;
  }

  .rpg-map-tint::after {
    inset: 8px;
  }

  .leaflet-control-zoom a {
    width: 44px !important;
    height: 44px !important;
  }

  .quest-poi-label {
    margin-left: 10px;
  }

  .quest-poi-label--treasure {
    margin-right: 0;
    margin-left: -38px;
  }

  .quest-poi-label strong {
    display: none;
  }

  .quest-poi-label small {
    margin: 0;
    padding: 5px 7px;
    border: 1px solid rgba(239, 65, 54, 0.78);
    color: var(--paper);
    background: rgba(11, 42, 91, 0.95);
    box-shadow: 0 4px 12px rgba(11, 42, 91, 0.24);
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .quest-poi-label--start small {
    color: #ff8f7e;
  }

  .quest-poi-label--treasure small {
    color: #ffe08a;
  }

  .quest-visual__caption {
    right: 20px;
    bottom: 24px;
    left: 20px;
    gap: 13px;
  }

  .quest-visual__number {
    font-size: 66px;
  }

  .quest-visual__caption strong {
    font-size: 30px;
  }

  .quest-dossier {
    padding: 26px 22px 30px;
  }

  .quest-tabs {
    gap: 20px;
  }

  .quest-tab {
    font-size: 11px;
  }

  .quest-panel {
    min-height: 520px;
    padding-top: 28px;
  }

  .quest-panel h3 {
    font-size: 40px;
  }

  .quest-panel__story {
    font-size: 13px;
  }

  .final-cta h2 {
    font-size: clamp(54px, 15vw, 78px);
  }

  .final-cta__action .button {
    width: 100%;
  }

  .final-cta__mark {
    display: none;
  }

  .site-footer {
    padding: 50px 20px 26px;
  }

  .site-footer__top {
    gap: 22px;
    padding-bottom: 32px;
  }

  .site-footer__top > p {
    width: 100%;
  }

  .site-footer__top nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 4px 22px;
  }

  .site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 68px;
  }

  .brand {
    font-size: 25px;
  }

  .map-legend__route,
  .map-legend a {
    font-size: 10px;
  }

  .map-legend__states > span {
    font-size: 8px;
  }

  .quest-tabs {
    gap: 14px;
  }

  .quest-tab {
    font-size: 10px;
  }
}

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

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

  .concept-figure img {
    transform: none !important;
    will-change: auto;
  }
}
