:root {
  color-scheme: dark;
  --deep: #101e22;
  --surface: #192e2f;
  --cream: #f6edd7;
  --muted: #ccd3c5;
  --gold: #e6bd81;
  --line: #47615b;
  --display: "Instrument Serif", Georgia, serif;
  --text: "Work Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--deep); color: var(--cream); font: 1rem/1.65 var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:where(a, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
p, h1, h2, h3, dd { margin: 0; }
p, dd { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .99; }
h2 { font-size: clamp(2.6rem, 5.2vw, 5rem); }
h3 { font-size: clamp(2rem, 3.1vw, 3.2rem); }
.frame { width: min(1152px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(52px, 7.2vw, 88px); }
.skip { position: fixed; z-index: 5; inset: 12px auto auto 12px; padding: 10px 16px; transform: translateY(-160%); background: var(--gold); color: var(--deep); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #3e544e; }
.header-content, .footer-content { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 11px; font: 2rem/.95 var(--display); }
.brand-mark { position: relative; width: 31px; height: 31px; border: 1px solid #a4784e; border-radius: 6px; background: #1e3335; }
.brand-mark::before { content: ""; position: absolute; width: 11px; height: 13px; left: 8px; top: 6px; border: 1px solid var(--gold); border-radius: 7px 7px 2px 2px; transform: perspective(8px) rotateX(13deg); }
.brand-mark::after { content: ""; position: absolute; left: 13px; bottom: 6px; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
nav { display: flex; flex-wrap: wrap; gap: 14px clamp(15px, 2.8vw, 39px); font-size: .87rem; }
nav a { color: var(--muted); white-space: nowrap; }
nav a:hover, nav a:last-child { color: var(--gold); }

.hero {
  display: grid;
  align-items: center;
  min-height: clamp(510px, 50vw, 660px);
  background:
    linear-gradient(90deg, #101e22 3%, #13262ce3 35%, #13262c38 79%),
    var(--hero-art, none) center 14% / cover no-repeat,
    radial-gradient(ellipse at 78% 23%, #7d583e, #284547 38%, #13272c 71%);
  border-bottom: 1px solid #607068;
}
.hero-content { padding-block: 78px 88px; }
.hero h1 { margin-block: 19px 24px; font-size: clamp(4rem, 8.5vw, 7.6rem); line-height: .88; letter-spacing: -.025em; }
.hero em { color: #f0ca92; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: .74rem; font-weight: 700; }
.hero-summary { max-width: 44ch; color: #f5eee0; font-size: 1.09rem; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 47px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.3;
}
.primary { background: var(--gold); color: #151b1a; }
.primary:hover { background: #f5d5a4; }
.secondary { background: #111e22c5; border-color: #9aa494; color: var(--cream); }
.secondary:hover { background: #223c3c; border-color: var(--gold); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 0; border-bottom: 1px solid var(--line); }
.facts div { padding: 24px 15px 24px 0; }
.facts div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.facts dt { color: var(--gold); font: 2rem/1 var(--display); }
.facts dd { margin-top: 6px; font-size: .83rem; }
.catalogue-intro { margin-top: 12px; max-width: 65ch; }
.catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.catalogue article { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.catalogue-art { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }
.catalogue-copy { flex: 1; display: flex; flex-direction: column; padding: clamp(17px, 2.25vw, 29px); }
.catalogue h3 { margin: 13px 0 15px; }
.purchase { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 18px; }
.catalogue-copy .purchase { margin-top: auto; }
.purchase strong { color: var(--gold); font: 1.8rem/1 var(--display); white-space: nowrap; }
.purchase .availability { margin: 0; color: var(--muted); font-size: .78rem; }
.bundle-offer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 26px; margin-top: 22px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); }
.bundle-offer h3 { margin-bottom: 8px; }
.bundle-offer .purchase { padding-top: 0; }

.quay-section { background: var(--surface); border-block: 1px solid var(--line); }
.map-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(30px, 5.5vw, 83px); }
.map-copy p { margin-top: 13px; }
.map-caption { min-height: 110px; margin-top: 28px; padding-left: 15px; border-left: 2px solid var(--gold); }
.map-caption h3 { font-size: 2.2rem; }
.map-caption p { font-size: .9rem; }
.map { position: relative; overflow: hidden; border: 1px solid #84907b; box-shadow: 0 12px 30px #0b1a1d76; }
canvas { display: block; width: 100%; height: auto; }
.map-buttons { position: absolute; inset: 0; }
.map-buttons button {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border: 2px solid #f9d4a0;
  border-radius: 50%;
  background: #16292bf2;
  color: var(--cream);
  box-shadow: 0 2px 10px var(--deep);
  font-weight: 700;
  cursor: pointer;
}
.map-buttons button:is(:hover, [aria-pressed="true"]) { background: var(--gold); color: var(--deep); }
.free { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.free p:not(.eyebrow) { margin-top: 13px; }
.free .eyebrow { margin-bottom: 10px; }
.free .button { flex: none; }
.site-footer { border-top: 1px solid var(--line); }
.footer-content { min-height: 88px; font-size: .85rem; }
.footer-content .brand { font-size: 1.65rem; }

.encounter { width: min(760px, calc(100% - 48px)); padding-block: 48px; }
.encounter h1 { margin: 15px 0 13px; font-size: clamp(3.3rem, 7.65vw, 5.75rem); }
.encounter h2 { margin: 26px 0 8px; font-size: 2.3rem; }
.encounter blockquote { margin: 23px 0; padding: 14px 18px; border-left: 2px solid var(--gold); background: var(--surface); }
.encounter p + p, .encounter li + li { margin-top: 9px; }
.encounter li { color: var(--muted); }
.player-map { margin: 29px 0 0; break-inside: avoid; }
.player-map figcaption { padding-top: 6px; font-size: .85rem; }

@media (max-width: 860px) {
  .frame { width: min(1152px, calc(100% - 60px)); }
  .catalogue { gap: 12px; }
}
@media (max-width: 690px) {
  .frame { width: calc(100% - 40px); }
  .header-content, .footer-content { flex-wrap: wrap; gap: 10px 15px; padding-block: 13px; }
  .brand { font-size: 1.7rem; }
  nav { font-size: .79rem; }
  .hero-content { padding-block: 73px 55px; }
  .hero h1 { font-size: clamp(3.55rem, 12vw, 5.7rem); }
  .facts div, .facts div + div { padding: 17px 8px; }
  .facts div:first-child { padding-left: 0; }
  .facts dt { font-size: 1.35rem; }
  .facts dd { line-height: 1.35; font-size: .73rem; }
  .catalogue, .map-layout { grid-template-columns: 1fr; }
  .free { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  :root { color-scheme: light; }
  body, .encounter blockquote { background: white; }
  .no-print { display: none !important; }
  .encounter { width: 100%; padding: 0; }
  .encounter h1 { font-size: 28pt; }
  .encounter h2 { font-size: 18pt; break-after: avoid; }
  .encounter :where(p, h1, h2, blockquote, li, figcaption) { color: #192e2f; }
  .player-map { max-width: 165mm; }
  canvas { print-color-adjust: exact; }
}
