:root {
  color-scheme: dark;
  --ink: #eef7f4;
  --muted: #a9c0ba;
  --surface: #0b1714;
  --surface-2: #10231e;
  --line: #29443d;
  --gold: #ffd44b;
  --cyan: #8ed8ff;
  --coral: #ff806d;
  --green: #72d49b;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #06100e;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--cyan); }
a:hover { color: #c6ecff; }
img, iframe { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--gold);
  color: #10130c;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 14, .96);
  backdrop-filter: blur(12px);
}
.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
}
.brand span { color: var(--gold); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.2rem;
}

.map-stage {
  position: relative;
  min-height: 680px;
  height: calc(100svh - 68px);
  background: #07120f;
  overflow: hidden;
}
.map-stage iframe,
.map-stage img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-stage img {
  object-fit: cover;
  object-position: center;
  background: #07120f;
}
.map-fallback {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.button:hover { border-color: var(--cyan); color: var(--ink); }
.button.primary { background: var(--gold); border-color: var(--gold); color: #14170d; }

.band { border-top: 1px solid var(--line); }
.band-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 52px 0; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: var(--gold); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.13; letter-spacing: 0; }
h1 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 7vw, 5.8rem); }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.08rem; }
.lede { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-link {
  min-height: 175px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
}
.feature-link:hover { background: var(--surface-2); color: var(--ink); }
.feature-link span { display: block; margin-top: 10px; color: var(--muted); }
.feature-link strong { color: var(--gold); }

.page-hero { border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero .band-inner { padding-top: 76px; padding-bottom: 64px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: #d2e2de; }
.prose li + li { margin-top: 8px; }
.notice { padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--surface-2); }
.contact-list { padding: 0; list-style: none; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); background: #050d0b; }
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  color: var(--muted);
  font-size: .9rem;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 8px 18px; }

@media (max-width: 860px) {
  .menu-button { display: inline-grid; place-items: center; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 16px 18px;
    background: #06100e;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { border: 1px solid var(--line); }
  .map-stage { min-height: 720px; height: calc(100svh - 68px); }
  .link-grid { grid-template-columns: 1fr; }
  .feature-link { min-height: 128px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .brand span { display: none; }
  .nav-shell, .band-inner, .footer-inner { width: min(100% - 22px, var(--max)); }
  .main-nav.open { grid-template-columns: 1fr; }
  .map-fallback { right: 10px; bottom: 10px; }
}
