:root {
  color-scheme: dark;
  font-family: "Inter", system-ui, sans-serif;
  background: #071e19;
  color: #f3f7ef;
  --muted: #bfcebf;
  --gold: #efd08a;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background: radial-gradient(ellipse at 80% 35%, #184c38, transparent 58%), #071e19; }
button, a { font: inherit; color: inherit }
button { cursor: pointer; touch-action: manipulation }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px }
.bar, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 5vw, 5rem); }
.bar { border-bottom: 1px solid #ffffff24; flex-wrap: wrap }
footer { border-top: 1px solid #ffffff24; color: var(--muted); flex-wrap: wrap }
nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap }
nav a, nav button, .back, footer button { min-height: 44px; display: inline-flex; align-items: center; padding: .5rem .8rem; border-radius: .6rem; border: 1px solid transparent; background: transparent; text-decoration: none }
nav a[aria-current], nav button, footer button { border-color: #ffffff38 }
.brand { background: none; border: 0; display: flex; align-items: center; gap: .75rem; text-align: left; font-weight: 700; padding: 0 }
.monogram { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: Georgia, serif }
main { display: grid; align-items: center; width: min(100%, 110rem); margin: auto; padding: clamp(1.25rem, 5vw, 5rem) }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.4rem, 6vw, 6.75rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 .25em; text-wrap: balance }
p { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.5rem); line-height: 1.5; max-width: 38ch }
.welcome { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: clamp(1rem, 4vw, 5rem) }
.map svg { width: 100%; filter: drop-shadow(0 1rem 2rem #0005) }
.map path { fill: #427d5e; stroke: #a9c6a4; stroke-width: .65; animation: glow 7s var(--delay) ease-in-out infinite }
.map p { margin: .7rem 0 0 auto; text-align: right; font-size: .9rem; color: var(--gold) }
@keyframes glow { 0%, 72%, 100% { fill: #427d5e } 18% { fill: #98b985 } }
.primary { min-height: 60px; padding: .85rem 1.35rem; border-radius: .7rem; border: 0; background: var(--gold); color: #192619; font-weight: 750; font-size: clamp(1.05rem, 1.6vw, 1.4rem); margin-top: 1.2rem }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .85rem; margin-top: 2rem }
.tile { position: relative; display: block; min-height: 120px; padding: 1.2rem 2.7rem 1.2rem 1.2rem; border: 1px solid #ffffff35; border-radius: .9rem; background: #123a2e; color: #f3f7ef; text-align: left; font-size: clamp(1.12rem, 1.8vw, 1.65rem); font-weight: 650 }
.tile span { position: absolute; right: 1rem; top: 1rem; color: var(--gold) }
.tile small { display: block; margin-top: .6rem; font-size: 1rem; line-height: 1.45; color: var(--muted); font-weight: 400 }
.tile.featured, button.tile:hover { border-color: var(--gold) }
.back { margin-bottom: 1rem; color: var(--gold); padding-left: 0 }
.handoff { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem }
#qr { background: #fff; padding: 26px; border-radius: 1rem; max-width: 100%; width: fit-content }
#qr canvas { display: block; max-width: 100%; height: auto }
#destination { overflow-wrap: anywhere }
@media (max-width: 720px) {
  .welcome, .handoff { grid-template-columns: 1fr }
  .tile { min-height: 86px }
  .map { margin-top: 1rem }
}
@media (prefers-reduced-motion: reduce) { .map path { animation: none } }
