:root {
  color-scheme: light dark;
  --paper: #f5f4ee;
  --panel: #fffefa;
  --ink: #172b29;
  --muted: #465955;
  --line: #cdd7cf;
  --field: #e8eee6;
  --accent: #285746;
  font-family: system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131d1d;
    --panel: #192626;
    --ink: #eff6ef;
    --muted: #bacdc6;
    --line: #3a514c;
    --field: #20332d;
    --accent: #a9dbc0;
  }
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .14em; }
button { font: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .5rem; z-index: 3; padding: .6rem; background: var(--panel); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { position: relative; z-index: 2; background: #152322; color: white; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding-block: .85rem; }
.bar nav { display: flex; flex-wrap: wrap; gap: .3rem clamp(.8rem, 3vw, 1.8rem); align-items: center; }
.bar nav a { font-size: .875rem; font-weight: 620; padding-block: .35rem; }
.wordmark { font-size: 1.15rem; font-weight: 850; text-decoration: none; letter-spacing: -.045em; }
.locale { text-decoration: none; border: 1px solid #9faeaa; padding-inline: .55rem; border-radius: 4px; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(26rem, 73svh, 48rem); background: #263c3b; color: white; }
.hero picture, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero picture img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 53%; display: block; }
.hero::after { content: ""; background: linear-gradient(90deg, #101e1df5 0%, #101e1dbc 32%, #101e1d29 77%), linear-gradient(0deg, #131e1ddd, transparent 30%); }
.hero-copy { padding-block: 3rem 4rem; }
.hero h1 { font-size: clamp(4rem, 13vw, 9rem); line-height: .94; letter-spacing: -.082em; margin: 0 0 .85rem; }
.hero-copy > p { font-size: clamp(1.1rem, 3vw, 1.55rem); font-weight: 560; max-width: 29rem; margin: 0; }
.hero-foot { position: absolute; inset: auto 0 1rem; text-align: right; }
.hero-location { font-size: .875rem; font-weight: 720; }
.hero-placeholder { position: absolute; right: 1rem; bottom: 1rem; }
.store { margin-top: 1.5rem; min-height: 4.15rem; display: flex; align-items: center; }
.store span { padding: .55rem .85rem; border-radius: 4px; background: #152322; color: #fff; border: 1px solid #a9b3af; font-weight: 650; }
.store a { display: inline-flex; padding: 11px; margin-left: -11px; }
.store img { display: block; width: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .875rem; color: var(--accent); font-weight: 760; margin: 0 0 .4rem; }
h2 { font-size: clamp(2rem, 5vw, 3.9rem); letter-spacing: -.065em; line-height: 1.05; margin: 0 0 1.65rem; }
h3 { font-size: 1.19rem; line-height: 1.2; margin: 0 0 .45rem; }
.terrain { display: grid; gap: 1rem; background: var(--field); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.15rem, 3.2vw, 2rem); margin-bottom: 1rem; }
.terrain p, .cards p { color: var(--muted); margin: 0; }
.terrain ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-content: center; }
.terrain li { border: 1px solid var(--line); background: var(--panel); border-radius: 1rem; padding: .18rem .65rem; font-size: .875rem; font-weight: 650; }
.cards, .gallery { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.cards article { padding: clamp(1.1rem, 3vw, 1.65rem); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.cards svg { width: 1.65rem; height: 1.65rem; margin-bottom: .65rem; stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gallery-section { background: var(--field); border-block: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.15rem; }
.filters button, dialog button { cursor: pointer; padding: .45rem .9rem; min-height: 44px; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--panel); color: var(--ink); font-weight: 650; }
.filters button[aria-pressed="true"], .action { background: var(--ink); color: var(--paper); border-color: var(--ink); }
figure { margin: 0; min-width: 0; }
figure a { display: block; }
figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; display: block; background: var(--panel); }
figcaption { padding: .45rem .1rem .65rem; color: var(--muted); font-size: .9rem; }
dialog { width: min(70rem, 94vw); max-height: 94dvh; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); padding: .7rem; }
dialog::backdrop { background: #071211de; }
dialog img { display: block; width: 100%; max-height: 66dvh; object-fit: contain; }
dialog p { text-align: center; margin: .45rem; }
.view-top { display: flex; justify-content: flex-end; margin-bottom: .5rem; }
.view-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
footer { background: #152322; color: #fff; }
footer .bar { padding-block: 1.4rem; }
.inner { min-height: 100vh; display: flex; flex-direction: column; }
.inner main { flex: 1; }
.prose { max-width: 48rem; }
.prose h1 { margin: 0 0 1rem; font-size: clamp(2.4rem, 7vw, 4.25rem); letter-spacing: -.06em; line-height: 1.04; }
.prose h2 { font-size: 1.65rem; letter-spacing: -.03em; margin: 2rem 0 .75rem; }
.prose p, .prose li { overflow-wrap: anywhere; }
.credits { padding-left: 1.2rem; }
.credits li { margin-bottom: .7rem; }
.action { display: inline-block; border-radius: 5px; font-weight: 700; padding: .65rem .9rem; }
@media (min-width: 40rem) {
  .wrap { width: min(100% - 3rem, 70rem); }
  .cards, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terrain { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
@media (min-width: 60rem) {
  .cards, .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 39.99rem) {
  .hero::after { background: linear-gradient(0deg, #101e1dfa, #101e1dbb 46%, #101e1d22 100%); }
  .hero { align-items: end; }
}
