:root {
    --ink: #13201c;
    --muted: #62736d;
    --paper: #fbfaf5;
    --mist: #e7f0ec;
    --river: #0c7c86;
    --moss: #5d7a39;
    --sun: #e9b44c;
    --line: rgba(19, 32, 28, .14);
    --shadow: 0 24px 70px rgba(19, 32, 28, .14);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
a { color: inherit; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(18px, 5vw, 68px);
    background: rgba(251, 250, 245, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.brand { font-size: 24px; font-weight: 900; text-decoration: none; }
nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); font-weight: 700; }
.walk-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 4px;
    border-radius: 999px;
    background: var(--river);
    color: white;
    font-size: 12px;
}
.hero {
    min-height: 76vh;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: end;
    padding: clamp(36px, 8vw, 92px) clamp(18px, 5vw, 68px);
    background:
        linear-gradient(125deg, rgba(19, 32, 28, .78), rgba(12, 124, 134, .44)),
        url("https://images.unsplash.com/photo-1433086966358-54859d0ed716?auto=format&fit=crop&w=1800&q=82") center/cover;
    color: white;
}
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(46px, 8vw, 112px); line-height: .92; letter-spacing: 0; }
.hero p { max-width: 720px; font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.86); }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; color: var(--river); font-size: 12px; }
.hero .eyebrow { color: var(--sun); }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--sun);
    color: #1d261c;
    text-decoration: none;
    font-weight: 900;
    border: 0;
}
.button.ghost { background: rgba(255,255,255,.13); color: white; border: 1px solid rgba(255,255,255,.34); }
.button.ghost.dark { background: #13201c; color: white; border-color: #13201c; }
.share-button { background: var(--river); color: white; }
.walk-button { background: var(--moss); color: white; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(12px);
}
.hero-stats div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.22); padding: 12px 0; }
.hero-stats strong { font-size: 34px; }
.map-band, .waterfall-grid, .detail, .narrow { padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 68px); }
.section-head { max-width: 760px; margin-bottom: 22px; }
h2 { font-size: clamp(28px, 4vw, 52px); margin: 0 0 14px; letter-spacing: 0; }
.map-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.filters {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 18px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
}
label { display: grid; gap: 8px; font-weight: 800; color: var(--ink); }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 13px;
    font: inherit;
    background: white;
}
.check { grid-template-columns: auto 1fr; align-items: center; }
.check input { width: auto; }
.map { min-height: 620px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--mist); }
.map.single { min-height: 420px; margin-top: 28px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.waterfall-card {
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(19,32,28,.07);
}
.waterfall-card h2, .waterfall-card h3 { margin: 8px 0 10px; font-size: 24px; }
.waterfall-card a { text-decoration: none; }
.waterfall-card p { color: var(--muted); line-height: 1.6; }
.card-kicker { color: var(--river); font-weight: 900; font-size: 13px; }
dl { display: grid; gap: 10px; margin: 16px 0 0; }
dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 900; }
.narrow { max-width: 980px; }
.page-title h1, .detail h1 { font-size: clamp(44px, 7vw, 96px); margin: 0 0 16px; line-height: .98; }
.detail-head p { max-width: 840px; color: var(--muted); font-size: 20px; line-height: 1.65; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
.waterfall-hero-detail { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.star-rating { display: flex; align-items: center; gap: 4px; margin-top: 14px; flex-wrap: wrap; }
.star-rating button { border: 0; background: transparent; color: #d9a127; font-size: 30px; line-height: 1; cursor: pointer; }
.star-rating button:hover, .star-rating button:hover ~ button { color: var(--sun); }
.star-rating span { margin-left: 8px; color: var(--muted); font-weight: 800; }
.status-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e6f4ee;
    color: #17633d;
    font-weight: 900;
}
.sticky-facts { position: sticky; top: 86px; }
.detail-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 22px; margin-top: 30px; align-items: start; }
.detail-grid p { line-height: 1.75; color: #33433e; }
.rich-copy { line-height: 1.75; color: #33433e; }
.rich-copy p { margin: 0 0 14px; }
.rich-copy ul, .rich-copy ol { padding-left: 22px; }
.rich-copy a { color: var(--river); font-weight: 800; }
.facts { display: grid; gap: 12px; align-content: start; }
.facts div { padding: 16px; background: var(--mist); border-radius: 8px; display: grid; gap: 4px; }
.facts strong { font-size: 26px; }
.facts span { color: var(--muted); }
.notice-inline {
    margin: 24px 0;
    padding: 14px 16px;
    border: 1px solid rgba(12,124,134,.25);
    border-radius: 8px;
    background: var(--mist);
    font-weight: 800;
}
.info-table, .weather-box, .visitor-actions, .stats-list, .contribute-panel {
    margin-top: 28px;
}
.info-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.info-table th, .info-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.info-table th { width: 220px; color: var(--muted); }
.table-link { color: var(--river); font-weight: 900; text-decoration: none; }
.weather-box iframe {
    width: 100%;
    min-height: 460px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.contribute-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: 20px;
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.contribute-panel form { display: grid; gap: 12px; }
.visitor-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(19,32,28,.72);
}
.modal[hidden] { display: none; }
.modal-panel {
    width: min(540px, 100%);
    position: relative;
    padding: 24px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.modal-panel form { display: grid; gap: 14px; }
.modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}
.visitor-actions form {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.stat-row {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 12px;
    padding: 16px clamp(18px, 5vw, 68px);
}
.stat-row strong { display: block; font-size: 20px; }
.stat-row span { color: var(--muted); }
.stat-row meter { width: 100%; height: 20px; }
.gallery { margin-top: 24px; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 12px; }
.gallery-item { border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.gallery-item:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; display: block; }
.gallery-item:first-child img { height: 532px; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(19,32,28,.88);
}
.lightbox img { max-width: min(1100px, 96vw); max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow); }
.walk-planner {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 18px;
    padding: 0 clamp(18px, 5vw, 68px) clamp(34px, 6vw, 76px);
}
.walk-panel {
    display: grid;
    gap: 14px;
    align-content: start;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.walk-actions { display: grid; gap: 10px; }
.walk-list { display: grid; gap: 10px; }
.walk-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}
.walk-item strong { display: block; }
.walk-item span { color: var(--muted); font-size: 14px; }
.walk-item button { border: 0; background: transparent; color: #a3332b; font-weight: 900; cursor: pointer; }
.map-popup { display: grid; gap: 7px; min-width: 190px; }
.map-popup strong { font-size: 16px; }
.map-popup span, .map-popup small { color: #52625d; }
.map-popup a, .map-popup button {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 8px 10px;
    background: #0c7c86;
    color: white;
    text-align: center;
    text-decoration: none;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.map-popup a:nth-of-type(2) { background: #13201c; }
.map-popup a:last-child { background: #e9b44c; color: #13201c; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px clamp(18px, 5vw, 68px); background: #13201c; color: white; }
.notice { min-height: 60vh; }
@media (max-width: 900px) {
    .hero, .map-layout, .detail-grid, .detail-two, .walk-planner, .visitor-actions, .stat-row, .contribute-panel { grid-template-columns: 1fr; }
    .sticky-facts { position: static; }
    .cards, .gallery { grid-template-columns: 1fr 1fr; }
    .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
    .gallery-item:first-child img { height: 360px; }
    .map { min-height: 520px; }
}
@media (max-width: 620px) {
    .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
    .hero { min-height: 84vh; }
    .hero p { font-size: 17px; }
    .detail-actions .button { width: 100%; }
    .star-rating { justify-content: center; }
    .cards, .gallery { grid-template-columns: 1fr; }
    .gallery-item:first-child { grid-column: auto; }
    .gallery-item:first-child img, .gallery img { height: 260px; }
    .map { min-height: 460px; }
}
