:root {
    color-scheme: light;
    font: 1rem/1.6 system-ui, sans-serif;
    color: #27382e;
    background: #faf6ed;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #2d573e; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid #a05232; outline-offset: 4px; }
.masthead, .park-intro, .story { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.masthead {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid #ded4c0;
}
.masthead a:first-child { text-decoration: none; }
.park-intro {
    display: grid; gap: clamp(1.25rem, 4vw, 4rem); align-items: center;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    padding-block: clamp(2rem, 5vw, 5rem);
}
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.12; text-wrap: balance; }
h1 { margin: .3em 0; font-size: clamp(2.35rem, 6.8vw, 5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: .3em 0 .5em; }
h3 { font-size: clamp(1.24rem, 2.6vw, 1.55rem); }
.eyebrow { color: #765136; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.primary-link {
    display: inline-block; margin-top: .6rem; padding: .65rem 1rem;
    background: #2d573e; color: #fff; border-radius: .5rem; font-weight: 700;
    text-decoration: none;
}
.map-card { min-width: 0; background: #ece3d3; border: 1px solid #ded4c0; border-radius: 1rem; overflow: hidden; }
#park-scene { display: block; width: 100%; aspect-ratio: 1; border: 0; }
.map-card p { margin: 0; padding: .65rem .85rem; font-size: .9rem; }
.story { padding: clamp(1rem, 4vw, 3rem); background: #fffdf8; border: 1px solid #ded4c0; border-radius: 1.2rem; margin-bottom: 3rem; }
.story, .story section { scroll-margin-top: .85rem; }
.story .lede { font-size: 1.2rem; }
.story p { max-width: 75ch; }
.story section { padding-top: 2rem; margin-top: 2.3rem; border-top: 1px solid #ded4c0; }
.story-nav { display: flex; flex-wrap: wrap; gap: .45rem; padding-block: .85rem; }
.story-nav a { background: #f1efe4; border-radius: 1rem; padding: .27rem .7rem; font-size: .9rem; }
figure { margin: 1.35rem auto; text-align: left; max-width: 52rem; }
figure a { display: block; }
figure img { display: block; width: 100%; height: auto; border-radius: .65rem; }
figure.portrait { max-width: 32rem; }
figcaption { margin-top: .45rem; font-size: .88rem; color: #5b665b; }
.story-gallery, .field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.story-gallery figure { margin: 0; }
.field-pair > div, .field-note { border-radius: .65rem; background: #f1efe4; padding: .85rem 1rem; }
.field-pair h3 { margin-top: .2rem; }
.back-link { display: inline-block; margin-top: 1.4rem; }
.image-viewer { border: 0; padding: .65rem; max-width: min(98vw, 90rem); max-height: 97dvh; background: #fffdf8; }
.image-viewer::backdrop { background: #101712d9; }
.image-viewer img { display: block; max-width: 100%; max-height: 84dvh; margin-inline: auto; }
.image-viewer button { display: block; margin: 0 0 .5rem auto; padding: .35rem .7rem; }
@media (max-width: 43rem) {
    .park-intro { grid-template-columns: 1fr; padding-block: 1.5rem; }
    .story-gallery, .field-pair { grid-template-columns: 1fr; }
}
