/* Marine on St. Croix Village Guide — river, pine, sandstone & rust */
:root {
  --c-bg: #f6f3ec;
  --c-surface: #ffffff;
  --c-surface-2: #efeae0;
  --c-ink: #13211d;
  --c-muted: #5a6964;
  --c-line: #e1dacd;
  --c-river: #1f6f8b;
  --c-river-deep: #173f4a;
  --c-pine: #2f6b4f;
  --c-accent: #b9532c;
  --c-gold: #d39a2c;
  --c-snow: #7aa6c2;
  --c-logo-bg: #173f4a;
  --c-logo-fg: #f1e3c2;
  --c-band: #e8efe9;
  --c-band-alt: #f1e9dc;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(19, 33, 29, .05), 0 10px 30px rgba(19, 33, 29, .07);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #0e1614; --c-surface: #152220; --c-surface-2: #1b2a27; --c-ink: #e7eeea; --c-muted: #9fb2ab;
    --c-line: #263733; --c-river: #5db4d0; --c-river-deep: #0c2b33; --c-pine: #6cc293; --c-accent: #e98a5c;
    --c-gold: #e6b34f; --c-snow: #9cc3dc; --c-logo-bg: #1d4b57; --c-band: #13201d; --c-band-alt: #181f1b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --c-bg: #0e1614; --c-surface: #152220; --c-surface-2: #1b2a27; --c-ink: #e7eeea; --c-muted: #9fb2ab;
  --c-line: #263733; --c-river: #5db4d0; --c-river-deep: #0c2b33; --c-pine: #6cc293; --c-accent: #e98a5c;
  --c-gold: #e6b34f; --c-snow: #9cc3dc; --c-logo-bg: #1d4b57; --c-band: #13201d; --c-band-alt: #181f1b;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 400 17px/1.65 var(--font-body); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-river); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent); }
h1, h2, h3, .h3 { font-family: var(--font-display); font-weight: 650; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .86rem; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--c-surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { margin-block: clamp(2.2rem, 5vw, 3.6rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--c-accent); margin-bottom: .6em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo strong { display: block; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.1; }
.logo small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 11px; border-radius: 999px; color: var(--c-ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--c-surface-2); color: var(--c-river); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--c-ink); margin: 5px 0; border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mobile-nav a { display: block; padding: 10px 12px; border-radius: 10px; background: var(--c-surface); color: var(--c-ink); text-decoration: none; font-weight: 500; }
@media (max-width: 1080px) { .main-nav { display: none; } .menu-btn { display: block; } }

/* hero */
.hero { position: relative; min-height: clamp(380px, 62vh, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--c-river-deep); }
.hero-home { min-height: clamp(460px, 78vh, 760px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 22, .15) 0%, rgba(8, 20, 22, .25) 40%, rgba(8, 20, 22, .82) 100%); }
.hero-inner { position: relative; padding-block: 48px 56px; }
.hero h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.hero .lead { max-width: 60ch; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .92); }
.hero .eyebrow { color: #f3c58e; }
.hero .crumbs a, .hero .crumbs span { color: rgba(255, 255, 255, .85); }
.hero-credit { position: absolute; right: 12px; bottom: 6px; margin: 0; font-size: .7rem; color: rgba(255, 255, 255, .7); max-width: 70%; text-align: right; }
.hero-credit a { color: inherit; }
.hero-home .hero-credit { bottom: auto; top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-head { padding-block: clamp(36px, 6vw, 70px) clamp(20px, 4vw, 36px); background:
  radial-gradient(1200px 300px at 10% -20%, color-mix(in srgb, var(--c-river) 18%, transparent), transparent),
  radial-gradient(900px 260px at 100% 0%, color-mix(in srgb, var(--c-gold) 16%, transparent), transparent); border-bottom: 1px solid var(--c-line); }
.page-head .lead { max-width: 66ch; font-size: 1.15rem; color: var(--c-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .85rem; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--c-muted); text-decoration: none; }

/* buttons, pills */
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--c-accent); color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--c-accent); }
.btn:hover { filter: brightness(1.08); color: #fff; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.hero .btn.ghost { color: #fff; }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--c-surface-2); color: var(--c-ink); margin-right: 4px; }
.pill.normal { background: #d7efe0; color: #1d5a39; }
.pill.below, .pill.much-below { background: #f6e3c8; color: #7a4a10; }
.pill.above { background: #d6e9f4; color: #164e69; }
.pill.much-above { background: #f5d0c4; color: #8a2a12; }
.live-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-pine); font-weight: 700; margin-left: 6px; }
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .live-badge i { animation: none; } html { scroll-behavior: auto; } }

/* live strip */
.live-strip { margin-top: -38px; position: relative; z-index: 2; }
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.live-tile { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; text-decoration: none; color: var(--c-ink); display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--c-line); }
.live-tile:hover { color: var(--c-ink); transform: translateY(-2px); transition: transform .15s; }
.live-tile .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-weight: 600; }
.live-tile b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.live-tile b small { font-size: .9rem; font-family: var(--font-body); }
@media (max-width: 860px) { .live-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .live-tile b { font-size: 1.5rem; } }

/* layout */
.intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-block: 56px; align-items: start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid { display: grid; gap: 18px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.groups { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 860px) { .intro-grid, .two-col, .grid.two { grid-template-columns: 1fr; gap: 24px; } }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.band { background: var(--c-band); padding-block: clamp(36px, 6vw, 64px); }
.band.alt { background: var(--c-band-alt); }
.band .two-col { align-items: start; }

/* cards */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 18px 20px 20px; }
.card-body > :last-child { margin-bottom: 0; }
.link-card { text-decoration: none; color: var(--c-ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.link-card:hover { transform: translateY(-3px); color: var(--c-ink); }
.link-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.link-card h3 { margin-bottom: .3em; }
.link-card p { color: var(--c-muted); font-size: .95rem; }
.tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-accent); font-weight: 700; margin-bottom: .4em; }
.group-card { text-decoration: none; color: var(--c-ink); }
.group-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.group-card p { color: var(--c-muted); font-size: .9rem; margin: 0; }
.facts h2 { font-size: 1.3rem; }
.facts { padding: 22px 24px; }
dl { margin: 0; }
.facts dl, dl.inline { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.facts dt, dl.inline dt { color: var(--c-muted); font-size: .9rem; }
.facts dd, dl.inline dd { margin: 0; font-weight: 500; }
.info-card { max-width: 820px; }
.callout { background: var(--c-surface); border: 1px solid var(--c-line); border-left: 5px solid var(--c-river); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.river-callout { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.river-callout .big { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .3em; }
.k { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-weight: 600; margin-bottom: .5em; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); padding: 16px 18px; display: flex; flex-direction: column; }
.stat b { font-family: var(--font-display); font-size: 1.85rem; line-height: 1.1; color: var(--c-river); }
.stat span { font-weight: 600; font-size: .92rem; }
.stat small { margin-top: 2px; }

/* prose */
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 48px; margin-block: 44px; justify-content: center; }
.article-layout.no-toc { grid-template-columns: minmax(0, 760px); }
.toc { position: sticky; top: 90px; align-self: start; font-size: .9rem; }
.toc p { font-weight: 700; text-transform: uppercase; font-size: .74rem; letter-spacing: .1em; color: var(--c-muted); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--c-line); }
.toc a { display: block; padding: 5px 12px; color: var(--c-muted); text-decoration: none; }
.toc a:hover { color: var(--c-river); }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c-gold); font-family: var(--font-display); font-size: 1.2rem; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--c-line); }
.prose .note { background: var(--c-surface-2); border-radius: var(--radius-s); padding: 14px 18px; font-size: .97rem; }
.updated { margin-top: 2.4em; font-size: .85rem; color: var(--c-muted); border-top: 1px solid var(--c-line); padding-top: 12px; }
.big-sentence { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.4; max-width: 60ch; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius-s); background: var(--c-surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.data th, table.data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--c-line); white-space: nowrap; }
table.data thead th { background: var(--c-surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data tbody th { font-weight: 600; }
table.data tbody th small { display: block; font-weight: 400; }
table.compare td:nth-child(2) { background: color-mix(in srgb, var(--c-river) 7%, transparent); }

/* heat table */
table.heat { border-collapse: separate; border-spacing: 3px; width: 100%; font-size: .85rem; }
table.heat caption { text-align: left; padding: 10px 12px 4px; color: var(--c-muted); font-size: .85rem; }
table.heat th { font-weight: 600; text-align: left; padding: 4px 8px; white-space: nowrap; }
table.heat thead th { text-align: center; color: var(--c-muted); font-size: .75rem; }
table.heat tbody th small { display: block; font-weight: 400; color: var(--c-muted); font-size: .72rem; }
table.heat td { height: 34px; min-width: 30px; border-radius: 6px; }
.h0 { background: var(--c-surface-2); } .h1 { background: color-mix(in srgb, var(--c-pine) 22%, var(--c-surface)); }
.h2 { background: color-mix(in srgb, var(--c-pine) 45%, var(--c-surface)); } .h3 { background: color-mix(in srgb, var(--c-pine) 70%, var(--c-surface)); }
.h4 { background: var(--c-pine); }

/* charts */
.chart-card { padding: 16px 16px 10px; }
.chart { width: 100%; height: auto; font-family: var(--font-body); }
.chart .gl { stroke: var(--c-line); stroke-width: 1; }
.chart .axis { fill: var(--c-muted); font-size: 11px; }
.chart .val { fill: var(--c-ink); font-size: 10.5px; font-weight: 600; }
.chart .val.muted { fill: var(--c-muted); font-weight: 500; }
.chart .temp-band { fill: color-mix(in srgb, var(--c-accent) 70%, var(--c-river)); opacity: .85; }
.chart .freeze { stroke: var(--c-snow); stroke-dasharray: 4 4; stroke-width: 1.5; }
.chart .band { fill: color-mix(in srgb, var(--c-river) 16%, transparent); }
.chart .line { fill: none; stroke: var(--c-river); stroke-width: 2; stroke-linejoin: round; }
.chart .dot { fill: var(--c-accent); stroke: var(--c-surface); stroke-width: 2; }
.chart .warm { fill: color-mix(in srgb, var(--c-accent) 75%, transparent); }
.chart .cool { fill: color-mix(in srgb, var(--c-river) 70%, transparent); }
.chart .avg { stroke: var(--c-muted); stroke-dasharray: 5 4; }
.chart .trend { stroke: var(--c-ink); stroke-width: 1.5; }
.chart-note { font-size: .82rem; color: var(--c-muted); margin: 8px 4px 4px; }

/* river */
.gauge-num { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; margin-bottom: .3em; }
.gauge-num small { font-family: var(--font-body); font-size: 1rem; color: var(--c-muted); }
.stage-meter { position: relative; height: 12px; border-radius: 999px; margin: 18px 0 6px; background: linear-gradient(90deg, #cfe7d8 0%, #cfe7d8 var(--a, 50%), #f6e3c8 var(--a, 50%)); background: linear-gradient(90deg, #cfe7d8, #f5e2b8 60%, #f2b9a3 80%, #e07b5d); }
.stage-meter .zone { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--c-ink); opacity: .35; }
.stage-meter i { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--c-river); border: 3px solid var(--c-surface); transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.meter-legend { display: flex; justify-content: space-between; }
.impacts { list-style: none; padding: 0; display: grid; gap: 8px; }
.impacts li { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); padding: 10px 14px; }
.impacts b { display: inline-block; min-width: 64px; color: var(--c-accent); }

/* weather */
.weather-top { grid-template-columns: 1fr 2fr; }
@media (max-width: 860px) { .weather-top { grid-template-columns: 1fr; } }
.now-temp { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; margin-bottom: .2em; }
.forecast { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.forecast li { background: var(--c-surface-2); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.forecast .ico { font-size: 1.5rem; }
@media (max-width: 560px) { .forecast { grid-template-columns: repeat(4, 1fr); } }
.alert { background: #fde7dc; color: #7b2b10; padding: 10px 14px; border-radius: 10px; }
.nws-line { margin-top: 12px; }

/* nature */
.species-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.species { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); overflow: hidden; display: flex; flex-direction: column; }
.species img, .species .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-surface-2); }
.species-body { padding: 12px 14px 14px; }
.species h3 { font-size: 1.05rem; margin-bottom: 0; }
.species .sci { color: var(--c-muted); font-size: .85rem; margin-bottom: .4em; }
.species .obs { font-size: .85rem; margin-bottom: .5em; }
.species .links { font-size: .82rem; margin: .5em 0 0; }
.species .credit, .credit { display: block; font-size: .7rem; color: var(--c-muted); margin-top: 6px; line-height: 1.35; }
.strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.strip .m { font-size: .62rem; text-align: center; border-radius: 3px; padding: 2px 0; color: var(--c-muted); }
.strip .l0 { background: var(--c-surface-2); } .strip .l1 { background: color-mix(in srgb, var(--c-pine) 25%, var(--c-surface)); }
.strip .l2 { background: color-mix(in srgb, var(--c-pine) 50%, var(--c-surface)); color: var(--c-ink); }
.strip .l3 { background: color-mix(in srgb, var(--c-pine) 75%, var(--c-surface)); color: #fff; } .strip .l4 { background: var(--c-pine); color: #fff; }
.group-h { margin-top: 1.4em; }
.filter-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.filter-bar label { font-weight: 600; }
.filter-bar input { flex: 1 1 240px; max-width: 360px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font: inherit; }
.recent-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.recent { text-decoration: none; color: var(--c-ink); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); overflow: hidden; }
.recent img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.recent span { display: block; padding: 8px 10px; font-size: .85rem; }
.recent small { display: block; }

/* months */
.months-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.month-card { text-decoration: none; color: var(--c-ink); }
.month-card .temps b { font-family: var(--font-display); font-size: 1.6rem; color: var(--c-accent); }
.month-card .good { font-size: .85rem; color: var(--c-pine); font-weight: 600; margin: 0; }
.month-nav { display: flex; justify-content: space-between; gap: 12px; margin-block: 40px; flex-wrap: wrap; }
.month-nav a { padding: 10px 16px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; font-weight: 600; }

/* events & lists */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.event-list li { display: flex; gap: 14px; align-items: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); padding: 10px 14px; }
.event-list time { flex: none; width: 54px; text-align: center; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--c-accent); }
.event-list time b { display: block; font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
.event-list a { font-weight: 600; text-decoration: none; }
.event-list small { display: block; }
.headline-list { list-style: none; padding: 0; margin: 0; }
.headline-list li { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.headline-list a { font-weight: 600; text-decoration: none; color: var(--c-ink); }
.headline-list a:hover { color: var(--c-river); }
.headline-list small { display: block; }
.plain-list { padding-left: 1.2em; }
.place-list { padding-left: 1.1em; }
.place-list.compact { padding-left: 1em; font-size: .93rem; }
.place-list li { margin-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--c-line); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 0 0 22px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--c-accent); border: 3px solid var(--c-bg); }
.timeline time { font-family: var(--font-display); font-size: 1.35rem; color: var(--c-accent); line-height: 1.2; }
.timeline h3 { margin-bottom: .2em; }
.timeline p { margin: 0; }
.timeline.compact li { grid-template-columns: 70px 1fr; padding-bottom: 14px; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }
.tour { counter-reset: stop; list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 20px; }
.tour li { counter-increment: stop; position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); padding: 16px 18px 14px 64px; }
.tour li::before { content: counter(stop); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--c-river); color: #fff; display: grid; place-items: center; font-weight: 700; }
.tour .year { font-family: var(--font-body); font-size: .8rem; color: var(--c-accent); font-weight: 700; margin-left: 6px; }
.nrhp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); font-size: .9rem; font-weight: 500; }
.chip b { color: var(--c-muted); font-weight: 600; margin-left: 4px; }
.grid.places { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.place { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); padding: 14px 16px; }
.place h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; }
.place h3 a { text-decoration: none; color: var(--c-ink); }
.place p { margin: 0 0 4px; }

/* faq */
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.6rem; color: var(--c-river); }
.faq details[open] summary::after { content: "–"; }
.faq summary h2 { margin: 0; font-size: 1.12rem; }
.faq .prose { padding: 0 20px 6px; }

/* photos */
.photo { margin: 1.6em 0; }
.photo img { border-radius: var(--radius-s); }
.photo figcaption { font-size: .85rem; color: var(--c-muted); margin-top: 6px; }
.gallery { columns: 3 320px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin: 0 0 14px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-s); overflow: hidden; }
.gallery figcaption { padding: 10px 12px; font-size: .85rem; }

/* map */
.map { height: 440px; border-radius: var(--radius); border: 1px solid var(--c-line); background: var(--c-surface-2); margin-bottom: 18px; z-index: 0; }
@media (max-width: 560px) { .map { height: 340px; } }
.leaflet-popup-content { font: 500 14px/1.4 var(--font-body); }

/* related */
.related { margin-block: 56px; }

/* footer */
.site-footer { background: var(--c-river-deep); color: #d9e4e1; margin-top: 64px; }
.site-footer a { color: #f1e3c2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 52px 28px; }
.footer-grid h2 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #9fc0bd; margin-top: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .93rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: .4em; }
.footer-logo span { color: #f3c58e; }
.footer-about p { font-size: .93rem; }
.footer-about .small { color: #a9bcb8; }
.months-list { grid-template-columns: repeat(6, auto) !important; justify-content: start; gap: 6px 12px !important; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px 26px; font-size: .82rem; color: #a9bcb8; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media print { .site-header, .site-footer, .map, .hero-img, .related { display: none; } .hero { min-height: 0; color: var(--c-ink); } .hero h1 { color: var(--c-ink); } }
