:root {
    --bg: #f7f4ee;
    --text: #172121;
    --muted: #60706f;
    --line: rgba(23, 33, 33, 0.14);
    --surface: #ffffff;
    --ice: #d9eef0;
    --pine: #12423f;
    --amber: #c98a3a;
    --clay: #7f4f3d;
    --shadow: 0 24px 80px rgba(20, 38, 42, 0.18);
}

/* Refreshed visual theme */
:root {
    --bg: #f3f8f6;
    --text: #102027;
    --muted: #5d6f78;
    --line: rgba(16, 32, 39, 0.14);
    --surface: #ffffff;
    --ice: #cdeef4;
    --ice-strong: #84d8e8;
    --pine: #0f4a4f;
    --river: #126b7a;
    --amber: #f0a83a;
    --sun: #ffd166;
    --berry: #9b3d57;
    --clay: #9c5c3d;
    --shadow: 0 24px 80px rgba(16, 45, 55, 0.18);
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(132, 216, 232, 0.25), transparent 28%),
        linear-gradient(180deg, #fbfdfc 0%, var(--bg) 38%, #eef5f2 100%);
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(248, 251, 250, 0.94);
    box-shadow: 0 10px 34px rgba(16, 45, 55, 0.14);
}

.brand {
    gap: 14px;
    letter-spacing: 0;
}

.brand-mark {
    position: relative;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(132, 216, 232, 0.34), rgba(15, 74, 79, 0.32));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    color: transparent;
    font-size: 0;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
    border-color: rgba(18, 107, 122, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(205, 238, 244, 0.76)),
        linear-gradient(135deg, var(--ice), rgba(255, 209, 102, 0.28));
}

.brand-mark::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 9px;
    height: 24px;
    background: linear-gradient(135deg, #ffffff 0 38%, #aee7f0 39% 62%, #ffffff 63%);
    clip-path: polygon(0 100%, 24% 38%, 43% 68%, 64% 18%, 100% 100%);
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 9px;
    height: 12px;
    border-radius: 50% 50% 0 0;
    background: #0f4a4f;
    box-shadow: 0 -10px 18px rgba(255, 255, 255, 0.26);
}

.main-nav a {
    font-weight: 800;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(240, 168, 58, 0.18);
    color: var(--sun);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.is-active,
.site-header.is-open .main-nav a:hover,
.site-header.is-open .main-nav a.is-active {
    background: rgba(18, 107, 122, 0.12);
    color: var(--river);
}

.hero {
    background-image:
        linear-gradient(90deg, rgba(5, 22, 28, 0.9), rgba(9, 60, 70, 0.42) 54%, rgba(6, 24, 31, 0.78)),
        radial-gradient(circle at 82% 22%, rgba(240, 168, 58, 0.24), transparent 32%),
        var(--hero-image);
}

.hero-lead {
    color: rgba(245, 252, 252, 0.9);
}

.button-primary {
    background: linear-gradient(135deg, var(--sun), var(--amber));
    border-color: var(--sun);
    color: #241707;
    box-shadow: 0 14px 34px rgba(240, 168, 58, 0.28);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-panel {
    border-top: 4px solid var(--ice-strong);
    background: rgba(255, 255, 255, 0.96);
}

.hero-panel span,
.stat span {
    color: var(--river);
}

.page-hero {
    background: linear-gradient(90deg, rgba(205, 238, 244, 0.52), rgba(255, 209, 102, 0.14), transparent);
    border-radius: 0 0 8px 8px;
}

.page-hero a,
details,
.guide-links a,
.feature-list li,
.source-link {
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 36px rgba(16, 45, 55, 0.07);
}

.page-hero a {
    color: var(--river);
}

.stats-band {
    background: rgba(255, 255, 255, 0.58);
}

.routes,
.routes-page .route-card {
    background:
        linear-gradient(135deg, rgba(15, 74, 79, 0.98), rgba(18, 107, 122, 0.94)),
        linear-gradient(90deg, rgba(255, 209, 102, 0.18), transparent);
}

.route-card {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 54px rgba(5, 22, 28, 0.16);
}

.route-meta,
.site-footer a {
    color: var(--sun);
}

.gallery-item {
    background: #0b252b;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 22, 28, 0.78));
    pointer-events: none;
}

.gallery-item span {
    z-index: 1;
}

.guide-links a {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guide-links a:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 107, 122, 0.34);
    box-shadow: 0 18px 48px rgba(16, 45, 55, 0.14);
}

.legacy-article a {
    color: var(--river);
    text-decoration-color: rgba(18, 107, 122, 0.28);
}

.site-footer {
    background: linear-gradient(135deg, #102027, #0f4a4f);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 14px clamp(18px, 4vw, 56px);
    color: #fff;
    transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(247, 244, 238, 0.96);
    color: var(--text);
    box-shadow: 0 8px 32px rgba(20, 38, 42, 0.12);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-size: 13px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    color: currentColor;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(217, 238, 240, 0.36);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    padding: 130px clamp(20px, 6vw, 82px) 42px;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(7, 18, 20, 0.82), rgba(7, 18, 20, 0.36) 58%, rgba(7, 18, 20, 0.68)),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 820px;
    padding-bottom: 78px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--amber);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.gallery-section h2 {
    margin: 0;
    line-height: 1.02;
}

.hero h1 {
    max-width: 920px;
    font-size: clamp(3.2rem, 10vw, 8.6rem);
}

.hero-lead {
    max-width: 680px;
    margin: 24px 0 0;
    font-size: clamp(1.06rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 900;
}

.button-primary {
    background: var(--amber);
    border-color: var(--amber);
    color: #1d1308;
}

.button-secondary {
    color: #fff;
}

.hero-panel {
    position: absolute;
    right: clamp(20px, 6vw, 82px);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    width: min(680px, calc(100% - 40px));
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    box-shadow: var(--shadow);
}

.hero-panel div,
.stat {
    padding: 22px;
}

.hero-panel strong,
.stat strong {
    display: block;
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    line-height: 1.05;
}

.hero-panel span,
.stat span {
    color: var(--muted);
    font-weight: 800;
}

.section,
.gallery-section,
.stats-band {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section,
.gallery-section {
    padding: 96px 0;
}

.page-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 150px 0 58px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 5.8rem);
    line-height: 1.03;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 22px 0 0;
    color: #32403f;
    font-size: 1.12rem;
}

.page-hero a {
    display: inline-flex;
    margin-top: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--pine);
    font-weight: 900;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 36px;
}

.section h2,
.gallery-section h2 {
    font-size: clamp(2rem, 5vw, 4.4rem);
}

.intro {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(28px, 6vw, 80px);
}

.intro-copy {
    color: #32403f;
    font-size: 1.08rem;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat + .stat {
    border-left: 1px solid var(--line);
}

.stat p {
    margin: 12px 0 0;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
    gap: clamp(32px, 6vw, 86px);
    align-items: center;
}

.media-stack {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 16px;
    align-items: end;
}

.media-stack img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
}

.media-stack img:last-child {
    aspect-ratio: 4 / 5;
    transform: translateY(36px);
}

.story p,
.visit p {
    color: #32403f;
    font-size: 1.06rem;
}

.notice {
    border-left: 4px solid var(--clay);
    padding: 16px 18px;
    background: rgba(127, 79, 61, 0.1);
    color: #332421;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    border-left: 4px solid var(--amber);
    padding: 12px 0 12px 18px;
    background: rgba(255, 255, 255, 0.48);
}

.routes {
    width: 100%;
    max-width: none;
    padding: 96px max(20px, calc((100vw - 1180px) / 2));
    background: var(--pine);
    color: #fff;
}

.routes .eyebrow {
    color: #f0b967;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.route-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.route-card h3 {
    margin: 26px 0 12px;
    font-size: 1.55rem;
}

.route-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.route-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #f4c985;
    font-weight: 900;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(2) {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item:nth-child(n+3) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.gallery-item span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    font-weight: 900;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.visit {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
    gap: clamp(28px, 6vw, 78px);
}

.guide-layout {
    display: grid;
    gap: 34px;
}

.guide-group {
    display: grid;
    grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.guide-group h2 {
    position: sticky;
    top: 96px;
    margin: 0;
    color: var(--pine);
    font-size: 1.3rem;
}

.guide-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.guide-links a {
    display: block;
    min-height: 150px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.68);
}

.guide-links span {
    display: block;
    color: var(--text);
    font-weight: 900;
}

.guide-links small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.legacy-article {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 100px;
    color: #263534;
    font-size: 1.08rem;
    line-height: 1.72;
}

.legacy-article h1,
.legacy-article h2,
.legacy-article h3,
.legacy-article h4 {
    margin: 42px 0 16px;
    color: var(--text);
    line-height: 1.14;
}

.legacy-article h2 {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.legacy-article h3 {
    font-size: 1.45rem;
}

.legacy-article p {
    margin: 0 0 20px;
}

.legacy-article a {
    color: var(--pine);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(18, 66, 63, 0.28);
    text-underline-offset: 3px;
}

.legacy-article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.legacy-article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.legacy-article td,
.legacy-article th {
    border: 1px solid var(--line);
    padding: 10px 12px;
}

.legacy-article ul,
.legacy-article ol {
    padding-left: 22px;
}

.routes-page .route-card {
    background: var(--pine);
    color: #fff;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.source-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.source-link {
    display: block;
    min-height: 168px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.62);
}

.source-link span {
    display: block;
    font-weight: 900;
    color: var(--pine);
}

.source-link p {
    margin: 12px 0 0;
    color: var(--muted);
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

details p {
    margin: 12px 0 0;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px clamp(20px, 6vw, 82px);
    background: #172121;
    color: #fff;
}

.site-footer p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
    color: #f4c985;
    font-weight: 900;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 44px 20px;
    background: rgba(7, 18, 20, 0.9);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-height: min(78vh, 820px);
    width: min(1080px, 100%);
    object-fit: contain;
}

.lightbox p {
    margin: 16px 0 0;
    color: #fff;
    font-weight: 900;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 21px;
    height: 2px;
    background: currentColor;
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 74px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px;
        border-radius: 8px;
        background: rgba(247, 244, 238, 0.98);
        color: var(--text);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero {
        min-height: 860px;
    }

    .hero-panel,
    .intro,
    .split,
    .visit,
    .guide-group,
    .source-list {
        grid-template-columns: 1fr;
    }

    .guide-group h2 {
        position: static;
    }

    .guide-links {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        left: 20px;
        right: 20px;
    }

    .stats-band,
    .route-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat + .stat {
        border-left: 0;
    }

    .stat:nth-child(2n) {
        border-left: 1px solid var(--line);
    }

    .stat:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 66px;
        padding: 10px 14px;
    }

    .brand span:last-child {
        max-width: 170px;
        line-height: 1.12;
    }

    .main-nav {
        top: 66px;
    }

    .hero {
        min-height: 820px;
        padding: 104px 20px 28px;
    }

    .hero-content {
        padding-bottom: 220px;
    }

    .hero-panel,
    .stats-band,
    .route-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel div {
        padding: 16px 18px;
    }

    .stats-band {
        width: 100%;
    }

    .stat,
    .stat:nth-child(2n),
    .stat:nth-child(n+3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .section,
    .gallery-section {
        padding: 72px 0;
    }

    .page-hero {
        padding: 120px 0 42px;
    }

    .legacy-article {
        padding: 42px 0 72px;
        font-size: 1rem;
    }

    .media-stack {
        grid-template-columns: 1fr;
    }

    .media-stack img:last-child {
        transform: none;
    }

    .gallery-grid {
        grid-auto-rows: 250px;
    }

    .site-footer {
        display: block;
    }

    .site-footer a {
        display: inline-block;
        margin-top: 18px;
    }
}

/* Final theme overrides */
body {
    background:
        radial-gradient(circle at 12% 0%, rgba(132, 216, 232, 0.25), transparent 28%),
        linear-gradient(180deg, #fbfdfc 0%, var(--bg) 38%, #eef5f2 100%);
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(248, 251, 250, 0.94);
    box-shadow: 0 10px 34px rgba(16, 45, 55, 0.14);
}

.brand-mark {
    position: relative;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(132, 216, 232, 0.34), rgba(15, 74, 79, 0.32));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    color: transparent;
    font-size: 0;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
    border-color: rgba(18, 107, 122, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(205, 238, 244, 0.76)),
        linear-gradient(135deg, var(--ice), rgba(255, 209, 102, 0.28));
}

.brand-mark::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 9px;
    height: 24px;
    background: linear-gradient(135deg, #ffffff 0 38%, #aee7f0 39% 62%, #ffffff 63%);
    clip-path: polygon(0 100%, 24% 38%, 43% 68%, 64% 18%, 100% 100%);
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 9px;
    height: 12px;
    border-radius: 50% 50% 0 0;
    background: #0f4a4f;
    box-shadow: 0 -10px 18px rgba(255, 255, 255, 0.26);
}

.main-nav a {
    font-weight: 800;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(240, 168, 58, 0.18);
    color: var(--sun);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.is-active,
.site-header.is-open .main-nav a:hover,
.site-header.is-open .main-nav a.is-active {
    background: rgba(18, 107, 122, 0.12);
    color: var(--river);
}

.hero {
    background-image:
        linear-gradient(90deg, rgba(5, 22, 28, 0.9), rgba(9, 60, 70, 0.42) 54%, rgba(6, 24, 31, 0.78)),
        radial-gradient(circle at 82% 22%, rgba(240, 168, 58, 0.24), transparent 32%),
        var(--hero-image);
}

.button-primary {
    background: linear-gradient(135deg, var(--sun), var(--amber));
    border-color: var(--sun);
    color: #241707;
    box-shadow: 0 14px 34px rgba(240, 168, 58, 0.28);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-panel {
    border-top: 4px solid var(--ice-strong);
    background: rgba(255, 255, 255, 0.96);
}

.hero-panel span,
.stat span {
    color: var(--river);
}

.page-hero {
    background: linear-gradient(90deg, rgba(205, 238, 244, 0.52), rgba(255, 209, 102, 0.14), transparent);
    border-radius: 0 0 8px 8px;
}

.page-hero a,
details,
.guide-links a,
.feature-list li,
.source-link {
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 36px rgba(16, 45, 55, 0.07);
}

.stats-band {
    background: rgba(255, 255, 255, 0.58);
}

.routes,
.routes-page .route-card {
    background:
        linear-gradient(135deg, rgba(15, 74, 79, 0.98), rgba(18, 107, 122, 0.94)),
        linear-gradient(90deg, rgba(255, 209, 102, 0.18), transparent);
}

.route-card {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 54px rgba(5, 22, 28, 0.16);
}

.route-meta,
.site-footer a {
    color: var(--sun);
}

.gallery-item {
    background: #0b252b;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 22, 28, 0.78));
    pointer-events: none;
}

.gallery-item span {
    z-index: 1;
}

.guide-links a {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guide-links a:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 107, 122, 0.34);
    box-shadow: 0 18px 48px rgba(16, 45, 55, 0.14);
}

.legacy-article a {
    color: var(--river);
    text-decoration-color: rgba(18, 107, 122, 0.28);
}

.site-footer {
    background: linear-gradient(135deg, #102027, #0f4a4f);
}
