:root {
  color-scheme: light;
  --canvas: #f5f0e3;
  --surface: #fffcf4;
  --surface-strong: #ffffff;
  --ink: #201d1e;
  --muted: #6e685e;
  --border: #d8d0be;
  --rust: #b83205;
  --rust-soft: #f4d4c6;
  --sun: #f4cb47;
  --sun-soft: #faebae;
  --blue: #4b72b0;
  --blue-soft: #dbe4f4;
  --green: #2e9163;
  --green-soft: #d7ebdf;
  --black: #141716;
  --focus: #f4cb47;
  --shadow: 0 18px 55px rgba(41, 31, 19, 0.12);
  --display: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1280px, calc(100vw - 48px));
  --reading: 760px;
  --header-height: 76px;
  --nav-theme: 14 95% 37%;
  --nav-theme-light: 14 86% 56%;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #171b19;
  --surface: #222825;
  --surface-strong: #2a312d;
  --ink: #f8f3e8;
  --muted: #b9b3a8;
  --border: #3d4541;
  --rust: #f06032;
  --rust-soft: #522718;
  --sun: #f4cb47;
  --sun-soft: #4c4326;
  --blue: #7ea1dc;
  --blue-soft: #273a58;
  --green: #57c38d;
  --green-soft: #203e31;
  --black: #101311;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  --nav-theme: 14 88% 58%;
  --nav-theme-light: 14 90% 68%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

::selection {
  background: var(--sun);
  color: #201d1e;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

code {
  padding: 0.14em 0.35em;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.87em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(76px, 9vw, 136px);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-150%);
}

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

.no-js-note {
  margin-block: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--sun-soft);
  color: var(--ink);
  font-size: 0.82rem;
}

html:not(.js-ready) .footer-button,
html:not(.js-ready) .filter-chips button,
html:not(.js-ready) .map-search,
html:not(.js-ready) .reveal-button,
html:not(.js-ready) .text-button,
html:not(.js-ready) .achievement-check,
html:not(.js-ready) [data-major-toggle],
html:not(.js-ready) [data-video-load] {
  display: none;
}

html:not(.js-ready) .header-actions {
  display: none;
}

.video-fallback-link {
  color: var(--paper);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.js-ready .video-fallback-link {
  display: none;
}

.feedback-status {
  min-height: 1.4em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.spoiler-error {
  color: var(--rust-deep);
  font-weight: 700;
}

.analytics-consent {
  position: fixed;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: grid;
  width: min(620px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 60px rgb(21 29 26 / 22%);
  gap: 18px;
}

.analytics-consent strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.analytics-consent p {
  margin: 0;
  color: var(--muted);
}

.analytics-consent a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.analytics-consent__actions .button {
  min-width: 150px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: #a62d0d;
  color: #fffaf1;
}

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

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

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--ink);
}

.proof-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--black);
  color: #f8f3e8;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-bar__inner {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
}

.proof-bar__inner span + span::before {
  content: "•";
  margin-right: min(5vw, 72px);
  color: var(--sun);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
}

.desktop-nav a {
  position: relative;
  padding-block: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 3px;
  background: var(--rust);
  content: "";
  transform: rotate(-1.5deg);
}

.header-actions {
  display: none;
  gap: 8px;
}

.js-ready .header-actions {
  display: flex;
}

.menu-button {
  display: none;
}

.theme-icon--moon {
  display: none;
}

html[data-theme="dark"] .theme-icon--moon {
  display: block;
}

html[data-theme="dark"] .theme-icon--sun {
  display: none;
}

html[data-theme="dark"] .brand img,
html[data-theme="dark"] .hero-brand img {
  filter: brightness(1.7) saturate(0.9);
}

.mobile-nav {
  display: none;
  max-height: calc(100vh - var(--header-height));
  padding: 12px 24px 30px;
  border-top: 1px solid var(--border);
  background: var(--canvas);
  overflow-y: auto;
}

.mobile-nav a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: none;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verified__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.verified--dark {
  margin-top: 26px;
  color: #beb9ae;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease var(--delay, 0ms), transform 600ms ease var(--delay, 0ms);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--late {
  --delay: 120ms;
}

.reveal-delay-0 { --delay: 0ms; }
.reveal-delay-1 { --delay: 70ms; }
.reveal-delay-2 { --delay: 140ms; }
.reveal-delay-3 { --delay: 210ms; }
.reveal-delay-4 { --delay: 280ms; }

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 8vw;
}

.split-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
}

.home-hero {
  position: relative;
  min-height: min(860px, calc(100vh - 108px));
  overflow: hidden;
}

.home-hero__image,
.home-hero__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__image {
  object-fit: cover;
  object-position: 54% center;
}

.home-hero__wash {
  background: rgba(18, 22, 20, 0.14);
}

.home-hero__inner {
  position: relative;
  display: grid;
  min-height: min(860px, calc(100vh - 108px));
  grid-template-columns: minmax(0, 640px) 1fr;
  align-items: center;
  padding-block: 68px 120px;
}

.home-hero__panel {
  position: relative;
  padding: clamp(30px, 5vw, 66px);
  border: 2px solid rgba(32, 29, 30, 0.82);
  background: rgba(255, 252, 244, 0.93);
  box-shadow: 16px 18px 0 rgba(32, 29, 30, 0.9);
  color: #201d1e;
}

.home-hero__panel::after {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sun);
  content: "";
  z-index: -1;
}

.hero-brand img {
  width: 120px;
  height: 86px;
  margin: -24px 0 4px -15px;
  object-fit: contain;
}

.home-hero__panel h1 {
  max-width: 570px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 6vw, 6.3rem);
  letter-spacing: -0.075em;
}

.home-hero__panel > p:not(.eyebrow) {
  max-width: 530px;
  color: #4e4944;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(20, 23, 22, 0.86);
  color: white;
}

.hero-facts span {
  padding: 16px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-facts span:last-child {
  border-right: 0;
}

.hero-facts strong {
  font-family: var(--body);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.start-card {
  position: relative;
  display: grid;
  min-height: 310px;
  grid-column: span 3;
  grid-template-rows: auto 1fr;
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease;
}

.start-card:nth-child(2),
.start-card:nth-child(4) {
  transform: translateY(26px);
}

.start-card:hover {
  box-shadow: 8px 9px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.start-card:nth-child(2):hover,
.start-card:nth-child(4):hover {
  transform: translate(-3px, 22px);
}

.start-card::after {
  position: absolute;
  top: -58px;
  right: -44px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--card-tone);
  content: "";
  opacity: 0.9;
}

.start-card--rust { --card-tone: var(--rust); }
.start-card--blue { --card-tone: var(--blue); }
.start-card--sun { --card-tone: var(--sun); }
.start-card--green { --card-tone: var(--green); }

.start-card__number {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.start-card > div {
  align-self: end;
}

.start-card h3 {
  margin-bottom: 14px;
  font-size: 1.65rem;
}

.start-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 750;
}

.flow-section {
  margin-top: 30px;
  background: var(--sun);
  color: #201d1e;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(600px, 1.35fr);
  align-items: center;
  gap: 7vw;
}

.flow-copy h2 {
  max-width: 480px;
}

.flow-copy p:not(.eyebrow) {
  max-width: 560px;
}

.flow-copy .eyebrow {
  color: #7b2508;
}

.host-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid #201d1e;
  background: #fff5d1;
  box-shadow: 10px 12px 0 #201d1e;
}

.host-flow > div {
  position: relative;
  min-height: 240px;
  padding: 20px;
  border-right: 1px solid #8e7b46;
}

.host-flow > div:last-child {
  border-right: 0;
}

.host-flow > div + div::before {
  position: absolute;
  top: 47px;
  left: -12px;
  width: 22px;
  height: 22px;
  border: 2px solid #201d1e;
  border-radius: 50%;
  background: var(--sun);
  content: "→";
  font-size: 0.75rem;
  line-height: 17px;
  text-align: center;
}

.host-flow span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 64px;
  border-radius: 50%;
  background: #201d1e;
  color: #fff5d1;
  font-family: var(--mono);
}

.host-flow strong,
.host-flow small {
  display: block;
}

.host-flow strong {
  margin-bottom: 7px;
  font-family: var(--display);
  line-height: 1.1;
}

.host-flow small {
  color: #625b4a;
  line-height: 1.4;
}

.communication-split,
.video-grid,
.about-grid,
.two-column-guide,
.travel-grid,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.image-stack {
  position: relative;
}

.image-stack img,
.article-image img,
.two-column-guide img,
.travel-grid img {
  width: 100%;
  border: 2px solid var(--ink);
  object-fit: cover;
  box-shadow: 10px 12px 0 var(--blue);
}

.image-note {
  position: absolute;
  right: -22px;
  bottom: -24px;
  max-width: 250px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  background: var(--sun);
  color: #201d1e;
  font-family: var(--display);
  font-size: 0.92rem;
  transform: rotate(-2deg);
}

.feature-copy h2 {
  max-width: 640px;
}

.feature-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.tick-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.tick-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.tick-list .icon {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: #1f714b;
  color: white;
}

.video-section {
  background: #31558d;
  color: white;
}

.video-grid {
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
}

.video-copy .eyebrow {
  color: var(--sun);
}

.video-copy h2 {
  max-width: 480px;
}

.video-copy p {
  color: #e8edf7;
}

.source-stamp {
  display: inline-block;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.video-frame {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 2px solid white;
  box-shadow: 12px 14px 0 #203b67;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame--consent > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-frame--consent::after {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 16, 0.54);
  content: "";
}

.video-frame--consent > button,
.video-frame--consent > p,
.video-frame--consent > noscript {
  position: relative;
  z-index: 1;
}

.video-frame--consent > p {
  align-self: start;
  margin: -28% 16px 0;
  color: #fff;
  font-size: 0.76rem;
  text-align: center;
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.atlas-card {
  position: relative;
  display: flex;
  min-height: 460px;
  grid-column: span 4;
  align-items: flex-end;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: #fff;
  overflow: hidden;
  text-decoration: none;
}

.atlas-card--wide {
  min-height: 530px;
  grid-column: span 8;
}

.atlas-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.atlas-card::after {
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 17, 0.34);
  content: "";
}

.atlas-card:hover img {
  transform: scale(1.025);
}

.atlas-card > div:not(.achievement-orbit),
.atlas-card__label {
  position: relative;
  z-index: 1;
}

.atlas-card > div:not(.achievement-orbit) {
  padding: 80px 26px 26px;
}

.atlas-card h3 {
  max-width: 560px;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
}

.atlas-card p {
  margin-bottom: 0;
  color: #f0ede5;
}

.atlas-card__label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid white;
  background: rgba(20, 23, 22, 0.78);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.atlas-card--yellow {
  background: var(--sun);
  color: #201d1e;
}

.atlas-card--yellow::after {
  display: none;
}

.atlas-card--yellow p {
  color: #54492b;
}

.achievement-orbit {
  position: absolute;
  top: 42px;
  right: 34px;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  border: 2px solid #201d1e;
  border-radius: 50%;
}

.achievement-orbit span {
  font-family: var(--display);
  font-size: 4rem;
}

.achievement-orbit i {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid #201d1e;
  border-radius: 50%;
  background: var(--rust);
}

.achievement-orbit i:nth-child(2) { top: -7px; left: 28px; }
.achievement-orbit i:nth-child(3) { right: -5px; bottom: 30px; background: var(--blue); }
.achievement-orbit i:nth-child(4) { bottom: 2px; left: 18px; background: var(--green); }

.about-section {
  background: var(--surface);
}

.about-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 2px solid var(--ink);
}

.fact-list div {
  padding: 24px 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fact-list div:nth-child(even) {
  border-right: 0;
}

.fact-list dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
}

.final-cta {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.final-cta > img,
.final-cta__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-cta > img {
  object-fit: cover;
}

.final-cta__shade {
  background: rgba(17, 21, 18, 0.62);
}

.final-cta__content {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: white;
}

.final-cta__content .eyebrow {
  color: var(--sun);
}

.final-cta__content h2 {
  max-width: 760px;
}

.final-cta__content > p:not(.eyebrow) {
  max-width: 620px;
  color: #e6e3dc;
}

.final-cta__content > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-top: clamp(64px, 8vw, 108px);
  padding-bottom: 72px;
}

.guide-hero__copy h1 {
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 6.5vw, 6.7rem);
  letter-spacing: -0.07em;
}

.guide-hero__media {
  position: relative;
  margin: 0;
}

.guide-hero__media::before {
  position: absolute;
  top: -28px;
  left: -28px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: var(--sun);
  content: "";
  z-index: -1;
}

.guide-hero__media img {
  width: 100%;
  min-height: 460px;
  border: 2px solid var(--ink);
  object-fit: cover;
  box-shadow: 13px 15px 0 var(--ink);
}

.guide-hero__media figcaption,
.article-image figcaption,
.two-column-guide figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.76rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--rust);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 22px;
}

.fact-chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, var(--reading));
  justify-content: center;
  gap: clamp(60px, 8vw, 130px);
  border-top: 1px solid var(--border);
}

.toc {
  position: sticky;
  top: 122px;
  align-self: start;
  padding-top: 8px;
}

.toc__title {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  text-decoration: none;
}

.toc a:hover {
  color: var(--rust);
}

.toc-note {
  display: grid;
  gap: 7px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.76rem;
  line-height: 1.45;
}

.toc-note .icon {
  color: var(--rust);
}

.toc-note span {
  color: var(--muted);
}

.article {
  min-width: 0;
}

.article-section {
  padding: 28px 0 76px;
  border-bottom: 1px solid var(--border);
}

.article-section + .article-section {
  padding-top: 76px;
}

.article-section h2 {
  font-size: clamp(2.05rem, 4vw, 3.5rem);
}

.article-section h3 {
  margin-top: 34px;
}

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

.answer-lede {
  color: var(--ink) !important;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin: 32px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--callout-color);
  background: var(--callout-bg);
}

.callout--blue { --callout-color: var(--blue); --callout-bg: var(--blue-soft); }
.callout--green { --callout-color: var(--green); --callout-bg: var(--green-soft); }
.callout--sun { --callout-color: #9b7d14; --callout-bg: var(--sun-soft); }
.callout--rust { --callout-color: var(--rust); --callout-bg: var(--rust-soft); }

.callout__icon {
  color: var(--callout-color);
  font-size: 1.4rem;
}

.callout strong,
.callout p {
  display: block;
}

.callout p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.callout--blue p {
  color: var(--ink);
}

.numbered-list {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.numbered-list li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.numbered-list > li > span {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.numbered-list strong {
  color: var(--ink);
}

.numbered-list p {
  margin: 5px 0 0;
}

.mini-grid,
.signal-grid,
.quick-stat-grid,
.size-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--border);
}

.mini-grid > div,
.signal-grid > div,
.quick-stat-grid > div,
.size-cards > div {
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mini-grid strong,
.mini-grid span,
.signal-grid strong,
.signal-grid p,
.quick-stat-grid strong,
.quick-stat-grid span,
.size-cards strong,
.size-cards span {
  display: block;
}

.mini-grid span,
.quick-stat-grid span,
.size-cards span {
  color: var(--muted);
  font-size: 0.8rem;
}

.article-image {
  margin: 34px 0;
}

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

.signal-grid p {
  margin: 5px 0 0;
  font-size: 0.78rem;
}

.signal-dot {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.signal-dot--rust { background: var(--rust); }
.signal-dot--sun { background: var(--sun); }
.signal-dot--blue { background: var(--blue); }

.field-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.field-list li {
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid var(--border);
}

.field-list li::before {
  float: left;
  width: 18px;
  height: 18px;
  margin: 5px 0 0 -30px;
  border: 2px solid var(--rust);
  border-radius: 50%;
  content: "";
}

.field-list strong {
  color: var(--ink);
}

.setting-paths {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.setting-paths code {
  padding: 14px;
  overflow-x: auto;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  font-family: var(--body);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 42px 22px 0;
}

.next-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px 0 0;
}

.next-guide h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.quick-stat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.quick-stat-grid strong {
  font-family: var(--display);
  font-size: 1.8rem;
}

.procedure-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  margin: 32px calc((var(--reading) - min(1080px, 88vw)) / 2) 0;
  border: 2px solid var(--ink);
  background: var(--surface);
}

.procedure-strip > div {
  min-height: 220px;
  padding: 18px;
  border-right: 1px solid var(--border);
}

.procedure-strip > div:last-child {
  border-right: 0;
}

.procedure-strip span,
.procedure-strip strong {
  display: block;
}

.procedure-strip span {
  margin-bottom: 58px;
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.procedure-strip p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.comparison > div {
  padding: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.comparison__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.comparison h3 {
  margin-bottom: 18px;
}

.comparison ol {
  margin: 0;
  padding-left: 20px;
}

.comparison li {
  padding: 5px 0;
  font-size: 0.86rem;
}

.source-note {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 3px solid var(--sun);
  font-size: 0.82rem;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.platform-row span {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.plain-steps,
.troubleshooting {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.plain-steps li,
.troubleshooting li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 16px;
  padding: 17px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.plain-steps li > span,
.troubleshooting li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.size-cards {
  grid-template-columns: repeat(3, 1fr);
}

.size-cards strong {
  color: var(--rust);
  font-family: var(--display);
  font-size: 3rem;
}

.size-cards p {
  color: var(--muted);
  font-size: 0.8rem;
}

.troubleshooting strong,
.troubleshooting p {
  display: block;
}

.troubleshooting p {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.puzzle-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 9vw;
  border-top: 1px solid var(--border);
}

.puzzle-intro > div:first-child p:not(.eyebrow) {
  color: var(--muted);
}

.route-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.route-strip > span {
  display: grid;
  min-width: 76px;
  min-height: 76px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--display);
  font-size: 0.82rem;
}

.route-strip small {
  flex-basis: 100%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.filter-bar,
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-bar {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filter-bar > span {
  margin-right: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.filter-chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--canvas);
}

.filter-chip--locked {
  border-color: var(--rust);
  color: var(--rust);
}

.puzzle-index > .callout:first-child {
  margin-top: 0;
}

.puzzle-group {
  padding: 86px 0 42px;
}

.puzzle-group__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
  padding: 28px;
  border: 2px solid var(--ink);
  background: var(--group-tone);
  color: var(--group-ink, #201d1e);
}

.puzzle-group__header--sun { --group-tone: var(--sun); --group-ink: #201d1e; }
.puzzle-group__header--rust { --group-tone: #9e2f0b; --group-ink: #fffaf1; }
.puzzle-group__header--blue { --group-tone: #31558d; --group-ink: #fff; }
.puzzle-group__header--green { --group-tone: #1f714b; --group-ink: #fff; }

.puzzle-group__header span {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 1;
}

.callout--rust p {
  color: var(--ink);
}

.puzzle-group__header h2 {
  margin: 9px 0 5px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.puzzle-group__header p {
  margin: 0;
  opacity: 0.82;
}

.puzzle-group__header code {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.puzzle-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.puzzle-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
}

.puzzle-card__top code {
  padding: 0;
  border: 0;
  background: none;
}

.puzzle-card h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.puzzle-level {
  color: var(--muted);
  font-size: 0.76rem;
}

.puzzle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.reveal-button,
.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.reveal-button:hover,
.text-button:hover {
  border-color: var(--ink);
}

.reveal-button--solution {
  border-color: var(--rust);
  color: var(--rust);
}

.hint-panel,
.solution-panel {
  margin-top: 14px;
  padding: 16px;
  border-left: 4px solid var(--sun);
  background: var(--sun-soft);
}

.solution-panel {
  border-left-color: var(--rust);
  background: var(--rust-soft);
}

.hint-panel span,
.solution-panel span {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hint-panel p,
.solution-panel p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.84rem;
}

.access-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.media-callout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 7vw;
  border-top: 2px solid var(--ink);
}

.media-callout img {
  width: 100%;
  border: 2px solid var(--ink);
  box-shadow: 10px 12px 0 var(--sun);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rust);
  font-weight: 750;
}

.nav-principles {
  border-top: 1px solid var(--border);
}

.principle-grid,
.loadout-grid,
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}

.principle-grid article,
.loadout-grid article,
.collection-grid article {
  min-height: 280px;
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.principle-grid article:last-child,
.loadout-grid article:last-child,
.collection-grid article:last-child {
  border-right: 0;
}

.principle-grid span,
.loadout-grid span,
.collection-grid article > span {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.principle-grid h3,
.loadout-grid h3,
.collection-grid h3 {
  margin-top: 80px;
}

.principle-grid p,
.loadout-grid p,
.collection-grid p {
  color: var(--muted);
  font-size: 0.82rem;
}

.map-section {
  background: var(--surface);
}

.map-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.map-search {
  display: flex;
  min-width: 280px;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  background: var(--canvas);
}

.map-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
}

.map-search input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.55fr);
  border: 2px solid var(--ink);
}

.map-canvas {
  position: relative;
  min-height: 680px;
  border-right: 1px solid var(--border);
  background: var(--blue-soft);
  overflow: hidden;
}

.map-canvas > svg {
  width: 100%;
  height: 100%;
  min-height: 680px;
}

.island-shape {
  fill: color-mix(in srgb, var(--green-soft) 70%, var(--surface));
  stroke: var(--green);
  stroke-width: 0.8;
}

.island-path,
.rail-line {
  fill: none;
  stroke: color-mix(in srgb, var(--ink) 48%, transparent);
  stroke-width: 0.35;
  stroke-dasharray: 1.5 1.2;
}

.rail-line {
  stroke: var(--blue);
  stroke-width: 0.55;
  stroke-dasharray: 0.8 0.8;
}

.map-marker {
  color: var(--marker-color);
  cursor: default;
}

.map-marker--rust { --marker-color: var(--rust); }
.map-marker--blue { --marker-color: var(--blue); }
.map-marker--sun { --marker-color: #a57d00; }
.map-marker--green { --marker-color: var(--green); }
.map-marker--ink { --marker-color: var(--ink); }

.map-marker circle:first-child {
  fill: var(--marker-color);
  stroke: var(--surface);
  stroke-width: 0.7;
}

.map-marker__ring {
  fill: transparent;
  stroke: var(--marker-color);
  stroke-width: 0.45;
  opacity: 0;
  transition: opacity 180ms ease;
}

.map-marker:hover .map-marker__ring,
.map-marker:focus .map-marker__ring {
  opacity: 1;
}

.map-marker text {
  fill: var(--ink);
  font-family: var(--body);
  font-size: 2.1px;
  font-weight: 750;
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 0.7px;
  stroke-linejoin: round;
}

.map-marker[hidden] {
  display: none;
}

.map-legend {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--key-color);
}

.map-key--rust { --key-color: var(--rust); }
.map-key--blue { --key-color: var(--blue); }
.map-key--sun { --key-color: var(--sun); }
.map-key--green { --key-color: var(--green); }
.map-key--ink { --key-color: var(--ink); }

.map-list {
  min-height: 680px;
  max-height: 680px;
  padding: 22px;
  background: var(--canvas);
  overflow-y: auto;
}

.map-list__title {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.map-list strong,
.map-list code {
  display: block;
}

.map-list strong {
  font-size: 0.82rem;
}

.map-list code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.61rem;
}

.map-list small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.55rem;
  text-transform: uppercase;
}

.map-empty {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.8rem;
}

.two-column-guide {
  border-top: 1px solid var(--border);
}

.two-column-guide p:not(.eyebrow) {
  color: var(--muted);
}

.travel-band,
.loadout-section,
.optional-collectibles,
.platform-difference {
  background: var(--blue-soft);
}

.travel-grid img {
  box-shadow: 10px 12px 0 var(--blue);
}

.inventory-rule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8vw;
  border-top: 1px solid var(--border);
}

.inventory-rule > div:first-child {
  max-width: 720px;
}

.compact-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 18px;
  padding: 0;
  list-style: none;
}

.compact-steps li {
  display: grid;
  min-height: 112px;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
}

.compact-steps li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.inventory-figure {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inventory-figure span {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--display);
}

.inventory-figure span:nth-child(2) { background: var(--sun); color: #201d1e; transform: translateY(-20px); }
.inventory-figure span:nth-child(3) { background: #31558d; color: white; }

.map-tool-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 7vw;
  border-top: 1px solid var(--border);
}

.map-tool-card {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 28px;
  border: 2px solid var(--ink);
  background: var(--sun-soft);
  text-align: center;
}

.map-tool-card > span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
}

.map-tool-card > span .icon {
  width: 34px;
  height: 34px;
}

.map-tool-card strong {
  font-family: var(--display);
  font-size: 1.55rem;
}

.map-tool-card small {
  color: var(--rust);
  font-family: var(--mono);
}

.map-tool-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.tool-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.tool-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 52px;
}

.tool-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--symbol-bg);
  color: var(--symbol-color);
}

.tool-symbol--communication { --symbol-bg: var(--rust-soft); --symbol-color: var(--rust); }
.tool-symbol--navigation { --symbol-bg: var(--blue-soft); --symbol-color: var(--blue); }
.tool-symbol--storage { --symbol-bg: var(--sun-soft); --symbol-color: #8f6d00; }
.tool-symbol--progression { --symbol-bg: var(--green-soft); --symbol-color: var(--green); }

.evidence-tag {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.tool-card h3 {
  margin-bottom: 12px;
}

.tool-card p {
  color: var(--muted);
  font-size: 0.82rem;
}

.category-label {
  margin-top: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.loadout-grid article {
  min-height: 320px;
}

.system-flow > p {
  max-width: 780px;
  color: var(--muted);
}

.progress-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 28px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.progress-flow span {
  min-width: max-content;
  padding: 15px 18px;
  border: 2px solid var(--ink);
  background: var(--surface);
  font-family: var(--display);
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

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

.progress-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}

.progress-table th,
.progress-table td {
  padding: 18px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.progress-table th:last-child,
.progress-table td:last-child {
  border-right: 0;
}

.progress-table th {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.progress-table td {
  font-size: 0.85rem;
}

.progress-table td strong {
  display: block;
}

.spoiler-label {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--label-bg);
  color: var(--label-color);
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spoiler-label--low { --label-bg: var(--green-soft); --label-color: var(--green); }
.spoiler-label--medium { --label-bg: var(--sun-soft); --label-color: #806100; }
.spoiler-label--major { --label-bg: var(--rust-soft); --label-color: var(--rust); }

.major-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--rust);
  background: var(--rust-soft);
}

.major-gate > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.major-gate strong,
.major-gate small {
  display: block;
}

.major-gate small {
  color: var(--muted);
}

.collection-grid article > strong {
  display: block;
  color: var(--rust);
  font-family: var(--display);
  font-size: 2.2rem;
}

.collection-grid h3 {
  margin-top: 54px;
}

.spoiler-vault {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-top: 2px solid var(--rust);
}

.spoiler-vault > div {
  max-width: 820px;
}

.achievement-dashboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--border);
}

.achievement-dashboard > div:first-child {
  max-width: 760px;
}

.progress-ring {
  --progress: 0;
  position: relative;
  display: grid;
  width: 180px;
  height: 180px;
  flex: 0 0 auto;
  place-items: center;
  border: 14px solid color-mix(in srgb, var(--green) calc(var(--progress) * 1%), var(--border));
  border-radius: 50%;
  background: var(--surface);
}

.progress-ring[data-complete="1"] { --progress: 8; }
.progress-ring[data-complete="2"] { --progress: 17; }
.progress-ring[data-complete="3"] { --progress: 25; }
.progress-ring[data-complete="4"] { --progress: 33; }
.progress-ring[data-complete="5"] { --progress: 42; }
.progress-ring[data-complete="6"] { --progress: 50; }
.progress-ring[data-complete="7"] { --progress: 58; }
.progress-ring[data-complete="8"] { --progress: 67; }
.progress-ring[data-complete="9"] { --progress: 75; }
.progress-ring[data-complete="10"] { --progress: 83; }
.progress-ring[data-complete="11"] { --progress: 92; }
.progress-ring[data-complete="12"] { --progress: 100; }

.progress-ring::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  content: "";
}

.progress-ring span {
  position: relative;
  display: grid;
  text-align: center;
}

.progress-ring strong {
  font-family: var(--display);
  font-size: 2rem;
}

.progress-ring small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.achievement-card {
  position: relative;
  display: grid;
  min-height: 370px;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.achievement-card.is-complete {
  border-color: var(--green);
  background: var(--green-soft);
}

.achievement-check {
  position: relative;
  display: block;
}

.achievement-check input {
  position: absolute;
  opacity: 0;
}

.achievement-check > span:not(.sr-only) {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--border);
  background: var(--canvas);
  color: transparent;
  cursor: pointer;
}

.achievement-check input:checked + span {
  border-color: #1f714b;
  background: #1f714b;
  color: white;
}

.achievement-check input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.achievement-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.achievement-card__top {
  display: flex;
  min-height: 42px;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
}

.achievement-card h3 {
  margin: 24px 0 5px;
  font-size: 1.55rem;
}

.official-desc {
  color: var(--ink);
  font-weight: 700;
}

.achievement-detail p {
  color: var(--muted);
  font-size: 0.78rem;
}

.achievement-detail--major {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.achievement-detail--major .official-desc {
  color: var(--ink);
  font-size: 0.8rem;
}

.achievement-detail--major .rarity {
  margin-top: 18px;
}

.text-button {
  align-self: flex-start;
  margin: 8px 0 18px;
  border-color: var(--rust);
  color: var(--rust);
}

.rarity {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.rarity span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.54rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.rarity strong {
  font-family: var(--display);
  font-size: 1.3rem;
}

.platform-difference {
  margin-top: 30px;
}

.platinum-card {
  display: grid;
  min-height: 300px;
  place-content: center;
  padding: 30px;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 10px 12px 0 var(--blue);
  text-align: center;
}

.platinum-card .icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  color: var(--blue);
}

.platinum-card span,
.platinum-card small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.platinum-card strong {
  margin: 8px 0;
  font-family: var(--display);
  font-size: 2rem;
}

.policy-hero {
  max-width: 980px;
  margin-inline: auto;
  padding-top: 100px;
}

.policy-hero h1 {
  margin-bottom: 20px;
}

.policy-hero > p:last-child {
  color: var(--muted);
}

.not-found {
  min-height: 70vh;
  padding-block: 120px;
}

.not-found > span {
  display: block;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(7rem, 20vw, 18rem);
  line-height: 0.7;
}

.not-found h1 {
  margin: 44px 0 20px;
}

.site-footer {
  padding-top: 82px;
  background: var(--black);
  color: #f8f3e8;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.8fr) repeat(3, minmax(150px, 0.65fr));
  gap: 5vw;
}

.footer-brand img {
  width: 118px;
  height: 88px;
  margin-left: -13px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 480px;
  color: #c6c0b6;
  font-size: 0.82rem;
}

.footer-note {
  font-family: var(--mono);
  font-size: 0.62rem !important;
}

.site-footer h2 {
  margin-bottom: 22px;
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__grid a,
.footer-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #ddd8cf;
  font-size: 0.78rem;
  text-decoration: none;
  cursor: pointer;
}

.site-footer__grid a:hover,
.footer-button:hover {
  color: white;
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding-block: 22px;
  border-top: 1px solid #343a37;
  color: #928d85;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.search-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 60px));
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--canvas);
  color: var(--ink);
  box-shadow: var(--shadow);
  margin-block: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}

.search-dialog::backdrop {
  background: rgba(14, 18, 16, 0.72);
}

.search-dialog__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.search-field {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-field input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.search-hint,
.search-empty {
  padding: 15px 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.search-results {
  max-height: 520px;
  padding: 0 18px 18px;
  overflow-y: auto;
}

.search-results a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.search-results a:hover {
  background: var(--surface);
}

.search-results strong,
.search-results small {
  display: block;
}

.search-results small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.fresh-strip {
  border-bottom: 1px solid var(--border);
  background: var(--sun-soft);
}

.fresh-strip__inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 18px;
}

.fresh-strip__inner p {
  margin: 0;
  font-size: 0.88rem;
}

.fresh-strip__inner a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.fresh-strip__tag {
  padding: 5px 9px;
  border: 1px solid currentColor;
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.answer-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.answer-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: transform 160ms ease;
}

.tool-count {
  margin: 14px 0 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.answer-card:hover {
  border-color: var(--rust);
  box-shadow: 7px 8px 0 var(--rust-soft);
  transform: translate(-2px, -2px);
}

.answer-card > span {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-card h3 {
  margin: auto 0 14px;
}

.answer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.video-links,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 20px;
}

.video-links a,
.inline-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 700;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.moment-card {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}

.moment-card:first-child {
  grid-column: 1 / -1;
}

.moment-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.moment-card figcaption {
  display: grid;
  min-height: 64px;
  gap: 4px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.72rem;
}

.moment-card figcaption strong,
.moment-card figcaption span {
  display: block;
}

.moment-card figcaption strong {
  color: var(--ink);
}

.price-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 28px 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.price-panel > div {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: var(--surface);
}

.price-panel span,
.price-panel small,
.spec-grid span,
.radio-grid small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-panel strong {
  margin: 12px 0 5px;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.9;
}

.price-panel__sale {
  background: var(--green-soft) !important;
}

.price-panel__sale strong {
  color: var(--green);
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.79rem;
}

.fact-table th,
.fact-table td {
  padding: 16px 18px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.fact-table thead th {
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-table tbody th {
  width: 26%;
  font-family: var(--display);
  font-size: 0.93rem;
}

.fact-table tbody tr:nth-child(even) td,
.fact-table tbody tr:nth-child(even) th {
  background: color-mix(in srgb, var(--surface) 82%, var(--blue-soft));
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.spec-grid article {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.spec-grid h3 {
  margin: 60px 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.spec-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.language-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.language-cloud span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.61rem;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.radio-grid article {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.radio-grid article > span {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.radio-grid h3 {
  margin: 54px 0 8px;
  font-size: 1.4rem;
}

.achievement-icon {
  width: 64px;
  height: 64px;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  object-fit: cover;
}

.achievement-icon--locked {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--canvas);
}

.achievement-icon--locked .icon {
  width: 25px;
  height: 25px;
}

/* Expanded puzzle field guide */
.hot-guides {
  border-top: 2px solid var(--ink);
}

.guide-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-link-grid > a {
  display: grid;
  min-height: 270px;
  grid-template-rows: auto 1fr auto auto;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.guide-link-grid > a:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}

.guide-link-grid > a > span,
.route-summary span,
.coordinate-diagram span,
.coordinate-diagram small,
.role-grid article > span,
.prep-grid article > span,
.color-clue > span {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-link-grid h3 {
  margin: 36px 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.guide-link-grid p {
  color: var(--muted);
  font-size: 0.78rem;
}

.guide-link-grid > a > .icon {
  width: 22px;
  height: 22px;
  color: var(--rust);
}

.puzzle-group__route {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.puzzle-group__route a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 750;
}

.puzzle-group__route .icon {
  width: 17px;
  height: 17px;
}

.qa-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  padding: 12px;
  border: 1px dashed var(--rust);
  color: var(--muted);
  font-size: 0.67rem;
}

.qa-note .icon {
  width: 17px;
  min-width: 17px;
  height: 17px;
  color: var(--rust);
}

.puzzle-card__guide {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
}

.route-workflow,
.signal-loop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.route-workflow span,
.signal-loop span {
  display: grid;
  min-height: 74px;
  flex: 1;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--ink);
  background: var(--canvas);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 750;
  text-align: center;
  text-transform: uppercase;
}

.route-workflow > .icon,
.signal-loop > .icon,
.coordinate-diagram > .icon {
  width: 20px;
  min-width: 20px;
  height: 20px;
  color: var(--rust);
}

.route-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border: 2px solid var(--ink);
}

.route-summary > div {
  min-height: 136px;
  padding: 18px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.route-summary > div:last-child {
  border-right: 0;
}

.route-summary span {
  display: block;
  color: var(--muted);
}

.route-summary strong {
  display: block;
  margin-top: 40px;
  font-family: var(--display);
  font-size: 1.45rem;
}

.prep-grid,
.role-grid,
.color-clue-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

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

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

.prep-grid article,
.role-grid article,
.color-clue {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.prep-grid article > span,
.role-grid article > span {
  color: var(--rust);
}

.prep-grid p {
  margin-top: 58px;
  font-family: var(--display);
  font-size: 1.28rem;
}

.role-grid h3,
.color-clue h3 {
  margin: 38px 0 10px;
  font-size: 1.45rem;
}

.role-grid p,
.color-clue p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.single-solution {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.coordinate-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr;
  align-items: stretch;
  gap: 10px;
  margin: 24px 0 0;
}

.coordinate-diagram figcaption {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.coordinate-diagram > div {
  display: flex;
  min-height: 174px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--surface);
}

.coordinate-diagram strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.coordinate-diagram small {
  color: var(--muted);
  line-height: 1.5;
}

.color-clue {
  position: relative;
  overflow: hidden;
}

.color-clue::after {
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border: 16px solid var(--clue-color);
  border-radius: 50%;
  content: "";
  opacity: 0.22;
}

.color-clue--green { --clue-color: var(--green); --clue-label: #1f714b; }
.color-clue--yellow { --clue-color: var(--sun); --clue-label: #765400; }
.color-clue--red { --clue-color: var(--rust); }
.color-clue--blue { --clue-color: var(--blue); }

.color-clue > span {
  color: var(--clue-label, var(--clue-color));
}

html[data-theme="dark"] .color-clue--green { --clue-label: #8de0b5; }
html[data-theme="dark"] .color-clue--yellow { --clue-label: #ffe07a; }

html[data-theme="dark"] .travel-band .eyebrow,
html[data-theme="dark"] .loadout-section .eyebrow {
  color: #ffe39b;
}

.map-list li a {
  color: var(--ink);
  text-decoration-color: var(--rust);
  text-underline-offset: 3px;
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cluster-grid > a {
  display: grid;
  min-height: 155px;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.cluster-grid > a:hover {
  border-color: var(--ink);
}

.cluster-grid h3 {
  margin: 26px 0 8px;
  font-size: 1.35rem;
}

.cluster-grid small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.cluster-grid .icon {
  width: 19px;
  height: 19px;
  color: var(--rust);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 36px, 1040px);
  }

  .desktop-nav {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .mobile-nav {
    display: block;
  }

  .js-ready .mobile-nav {
    display: none;
  }

  .js-ready .mobile-nav.is-open {
    display: block;
  }

  .menu-button {
    display: none;
  }

  .js-ready .menu-button {
    display: inline-grid;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 620px) 1fr;
  }

  .start-card {
    grid-column: span 6;
  }

  .start-card:nth-child(2),
  .start-card:nth-child(4) {
    transform: none;
  }

  .start-card:nth-child(2):hover,
  .start-card:nth-child(4):hover {
    transform: translate(-3px, -3px);
  }

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

  .guide-hero {
    grid-template-columns: 1fr 1fr;
  }

  .procedure-strip {
    grid-template-columns: repeat(3, 1fr);
    margin-inline: 0;
  }

  .procedure-strip > div {
    border-bottom: 1px solid var(--border);
  }

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

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

  .answer-card-grid,
  .moment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .moment-card:first-child {
    grid-column: auto;
  }

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

  .site-footer__grid {
    grid-template-columns: 1.5fr repeat(3, 0.7fr);
  }
}

@media (max-width: 860px) {
  .proof-bar__inner span:nth-child(2) {
    display: none;
  }

  .proof-bar__inner span + span::before {
    margin-right: 20px;
  }

  .home-hero,
  .home-hero__inner {
    min-height: 760px;
  }

  .home-hero__inner {
    display: flex;
    align-items: flex-end;
    padding-bottom: 112px;
  }

  .home-hero__panel {
    width: 100%;
    min-width: 0;
    max-width: 620px;
  }

  .image-note {
    right: 0;
    max-width: min(250px, calc(100% - 8px));
  }

  .home-hero__image {
    object-position: 42% center;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts span:nth-child(2) {
    border-right: 0;
  }

  .hero-facts span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .split-heading,
  .communication-split,
  .video-grid,
  .about-grid,
  .guide-hero,
  .puzzle-intro,
  .media-callout,
  .two-column-guide,
  .travel-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .map-tool-guide {
    grid-template-columns: 1fr;
  }

  .guide-link-grid,
  .route-summary,
  .prep-grid,
  .role-grid,
  .color-clue-grid {
    grid-template-columns: 1fr;
  }

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

  .compact-steps {
    grid-template-columns: 1fr;
  }

  .route-summary > div {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .route-summary > div:last-child {
    border-bottom: 0;
  }

  .coordinate-diagram {
    grid-template-columns: 1fr;
  }

  .coordinate-diagram > .icon {
    margin-left: 18px;
    transform: rotate(90deg);
  }

  .route-workflow,
  .signal-loop {
    align-items: stretch;
    flex-direction: column;
  }

  .route-workflow > .icon,
  .signal-loop > .icon {
    margin-left: 20px;
    transform: rotate(90deg);
  }

  .guide-hero__copy {
    max-width: 720px;
  }

  .guide-hero__media img {
    min-height: 0;
  }

  .article-layout {
    grid-template-columns: minmax(0, var(--reading));
  }

  .toc {
    position: static;
    padding: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
  }

  .toc ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .toc-note {
    display: none;
  }

  .atlas-card,
  .atlas-card--wide {
    grid-column: span 6;
  }

  .atlas-card--wide {
    min-height: 460px;
  }

  .principle-grid,
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .map-search {
    min-width: 0;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    min-height: 560px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .map-canvas > svg {
    min-height: 560px;
  }

  .map-list {
    min-height: 0;
    max-height: 520px;
  }

  .inventory-rule {
    grid-template-columns: 1fr;
  }

  .inventory-figure {
    justify-content: center;
  }

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

  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 36px);
    --header-height: 68px;
  }

  body {
    font-size: 16px;
    overflow-x: clip;
  }

  .section {
    padding-block: 72px;
  }

  .proof-bar__inner {
    justify-content: center;
  }

  .proof-bar__inner span:not(:first-child) {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    display: none;
  }

  .home-hero,
  .home-hero__inner {
    min-height: 720px;
  }

  .home-hero__inner {
    width: calc(100% - 24px);
    padding-bottom: 130px;
  }

  .home-hero__panel {
    min-width: 0;
    max-width: calc(100% - 10px);
    padding: 28px 22px;
    box-shadow: 8px 10px 0 rgba(32, 29, 30, 0.9);
  }

  .home-hero__panel::after {
    right: 0;
  }

  .hero-brand img {
    width: 94px;
    height: 68px;
  }

  .home-hero__panel h1 {
    overflow-wrap: anywhere;
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .hero-actions,
  .final-cta__content > div {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    bottom: 12px;
  }

  .hero-facts span {
    padding: 11px 12px;
  }

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

  .start-card {
    min-height: 270px;
    grid-column: auto;
  }

  .host-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .host-flow > div:nth-child(2) {
    border-right: 0;
  }

  .host-flow > div:nth-child(-n + 2) {
    border-bottom: 1px solid #8e7b46;
  }

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

  .atlas-card,
  .atlas-card--wide {
    min-height: 420px;
    grid-column: auto;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list div,
  .fact-list div:nth-child(even) {
    border-right: 0;
  }

  .guide-hero {
    width: 100%;
    gap: 50px;
    padding-top: 50px;
  }

  .guide-hero__copy {
    width: var(--shell);
    margin-inline: auto;
  }

  .guide-hero__copy h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .guide-hero__media {
    width: calc(100% - 24px);
    margin-left: 0;
  }

  .guide-hero__media img {
    min-height: 340px;
    border-left: 0;
    object-fit: cover;
    box-shadow: 8px 9px 0 var(--ink);
  }

  .guide-hero__media figcaption {
    padding-left: 18px;
  }

  .article-layout {
    width: var(--shell);
    gap: 34px;
  }

  .toc ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-grid,
  .signal-grid,
  .quick-stat-grid,
  .size-cards,
  .comparison,
  .puzzle-grid,
  .loadout-grid,
  .achievement-grid,
  .answer-card-grid,
  .moment-grid,
  .price-panel,
  .spec-grid,
  .radio-grid {
    grid-template-columns: 1fr;
  }

  .fresh-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-block: 16px;
  }

  .fresh-strip__inner a {
    margin-left: 0;
    white-space: normal;
  }

  .answer-card {
    min-height: 210px;
  }

  .moment-card figcaption {
    min-height: 0;
  }

  .image-note {
    right: 0;
    max-width: min(250px, calc(100% - 8px));
  }

  .price-panel > div {
    min-height: 160px;
  }

  .table-wrap {
    overflow-x: auto;
  }

  .fact-table {
    min-width: 720px;
  }

  .procedure-strip {
    grid-template-columns: 1fr;
  }

  .procedure-strip > div {
    min-height: 160px;
    border-right: 0;
  }

  .procedure-strip span {
    margin-bottom: 24px;
  }

  .next-guide,
  .achievement-dashboard,
  .major-gate,
  .spoiler-vault {
    align-items: stretch;
    flex-direction: column;
  }

  .puzzle-group__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .puzzle-group__route {
    justify-items: start;
  }

  .route-strip > span {
    min-width: 58px;
    min-height: 58px;
  }

  .principle-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article,
  .collection-grid article {
    min-height: 230px;
    border-right: 0;
  }

  .principle-grid h3,
  .collection-grid h3 {
    margin-top: 48px;
  }

  .map-canvas,
  .map-canvas > svg {
    min-height: 450px;
  }

  .map-marker text {
    font-size: 2.7px;
  }

  .map-legend {
    left: 10px;
    right: 10px;
  }

  .inventory-figure span {
    width: 90px;
    height: 90px;
  }

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

  .tool-card {
    min-height: 260px;
  }

  .progress-flow {
    align-items: stretch;
    flex-direction: column;
  }

  .progress-flow .icon {
    margin-left: 20px;
    transform: rotate(90deg);
  }

  .progress-ring {
    width: 150px;
    height: 150px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
