:root {
  color-scheme: dark;
  --bg: #10191d;
  --header: #111e24;
  --panel: #18282e;
  --panel-raised: #24363a;
  --ink: #edf0e9;
  --muted: #b7c8c6;
  --gold: #e4bc70;
  --gold-light: #ffe4a4;
  --green: #93dabf;
  --line: #415759;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: wait; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
.skip {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 5;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg);
}
.skip:focus { top: 12px; }
.topbar {
  min-height: 70px;
  padding: 12px max(5%, calc((100% - 1312px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--header);
  border-bottom: 1px solid var(--line);
}
.brand { display: grid; line-height: 1.3; flex: 0 0 auto; }
.brand strong, .footer-logo { color: var(--gold); font-weight: 900; letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .13em; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); color: var(--muted); font-size: .85rem; font-weight: 750; }
nav a:hover, .hero-bottom a:hover, footer a:hover { color: var(--gold-light); }
.nav-play {
  color: var(--gold-light);
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-raised);
  white-space: nowrap;
}
.nav-play span { margin-left: 5px; font-size: .72em; }
.section { width: min(90%, 1312px); margin-inline: auto; padding-block: clamp(36px, 6vw, 88px); }
.hero { padding-block: 26px 0; }
.objective {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px 13px;
  overflow: hidden;
  border: 1px solid #49665e;
  border-radius: 10px;
  background: #203731;
  color: var(--gold-light);
}
.objective::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: #82cc8c; }
.objective small, .objective strong { display: block; }
.objective small { color: var(--green); }
.objective strong { font-size: 1.03rem; }
.eyebrow, .objective small, .objective-location, .intake-art figcaption, .map-meta, .map-frame figcaption, .shot-tag {
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.objective-location { color: #c0dbd3; text-align: right; }
.objective-location i, .intake-art i, .map-meta i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: var(--green); }
.intake {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  overflow: hidden;
  margin-top: 12px;
  background: linear-gradient(145deg, #22353b, #152329 75%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 44px #0004;
}
.hero-content { align-self: center; padding: clamp(20px, 3.3vw, 54px); }
.eyebrow { color: var(--gold); margin: 0; }
h1 {
  color: var(--gold-light);
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 950;
  line-height: .94;
  letter-spacing: -.055em;
  margin: 14px 0 17px;
}
.hero-tag { margin: 0 0 10px; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 800; line-height: 1.2; }
.hero-copy, .fine { color: var(--muted); }
.hero-copy { margin: 0; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #65756c;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 800;
}
.primary { background: var(--gold); border-color: var(--gold); color: #142126; }
.primary:hover { background: var(--gold-light); }
.secondary { background: #26363a; color: var(--ink); }
.secondary:hover { background: #34494d; }
.fine { margin: 14px 0 0; font-size: .74rem; }
.intake-art { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; background: var(--header); border-left: 1px solid var(--line); }
.intake-art img { height: 100%; max-height: 560px; min-height: 370px; object-fit: cover; object-position: center; }
.intake-art figcaption, .map-meta, .map-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  color: var(--muted);
}
.hero-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 11px; }
.hero-bottom a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); font-size: .75rem; font-weight: 800; background: var(--header); }
.hero-bottom a span { color: var(--ink); margin-inline: .45em; }
.compound, .inside, .download { border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; }
.section-index { color: var(--green); font: 800 .8rem system-ui, sans-serif; }
.map-heading, .inside-heading, .download-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px 40px; margin-block: 8px 24px; }
h2 { margin: 0; font-size: clamp(1.9rem, 4.5vw, 3.6rem); font-weight: 900; line-height: 1.04; letter-spacing: -.05em; }
.map-heading p, .inside-heading p, .download-heading p { color: var(--muted); margin: 0; max-width: 46ch; font-size: .95rem; }
.map-frame, .scene-grid figure, .play-option, .faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.map-frame button, .scene-grid button { display: block; width: 100%; border: 0; padding: 0; position: relative; background: var(--header); }
.map-frame img { max-height: 560px; object-fit: contain; background: #2d4037; }
.enlarge, .shot-tag { position: absolute; right: 12px; bottom: 12px; color: var(--gold-light); padding: 7px 10px; background: #111e24f2; border: 1px solid var(--line); border-radius: 6px; font-size: .71rem; }
:where(.map-frame, .scene-grid) button:hover :is(.enlarge, .shot-tag) { background: var(--gold); color: var(--bg); }
.map-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.map-points > div { display: flex; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--header); }
.map-points b, .number { color: var(--green); font-size: .78rem; }
.map-points span { font-weight: 750; }
.map-points small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.scene-grid, .play-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scene-grid figcaption { padding: 18px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin: 5px 0; }
.scene-grid p, .play-option p:not(.eyebrow), .play-option ol, .faq p { color: var(--muted); }
.scene-grid p { margin-bottom: 0; }
.play-option { padding: clamp(18px, 3vw, 28px); }
.option-icon { color: var(--green); font-size: 1.25rem; float: right; }
.play-option ol { padding-left: 1.2rem; }
.zip-link, .download-note, .download-status { display: block; margin-top: 13px; font-size: .84rem; color: var(--muted); }
.zip-link { color: var(--gold-light); text-decoration: underline; }
.download-status:empty { display: none; }
.faq { margin-top: 26px; }
.faq details { padding: 13px 16px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin-bottom: 4px; }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 24px 5%; color: var(--muted); font-size: .8rem; }
footer p { margin: 0; }
footer a:last-child { margin-left: auto; }
dialog { max-width: min(92vw, 1200px); max-height: 92dvh; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
dialog::backdrop { background: #080f13e8; }
dialog img { max-height: 73dvh; object-fit: contain; }
dialog button { display: block; margin: 0 0 10px auto; padding: 6px 10px; border-radius: 6px; color: var(--ink); background: var(--panel-raised); border: 1px solid var(--line); }
dialog p { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.noscript { padding: 14px 5%; }
.noscript a { text-decoration: underline; }
@media (max-width: 900px) {
  .intake { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .section { width: 92%; }
  .topbar { padding-inline: 4%; }
  nav a:not(.nav-play) { display: none; }
  .hero { padding-top: 14px; }
  .intake { grid-template-columns: minmax(0, 1fr); }
  .intake-art { grid-row: 1; border-left: 0; border-bottom: 1px solid var(--line); }
  .intake-art img { min-height: 0; height: auto; aspect-ratio: 2 / 1; }
  .intake-art figcaption { padding-block: 6px; }
  .hero-bottom { gap: 6px; }
  .hero-bottom a { padding: 8px 6px; text-align: center; font-size: .7rem; }
  .hero-bottom a span { margin-inline: .12em; }
  .map-heading, .inside-heading, .download-heading { display: grid; }
  .scene-grid, .play-options, .map-points { grid-template-columns: minmax(0, 1fr); }
  .map-frame figcaption { flex-direction: column; }
  footer a:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
