@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --sand-50: #f9f6ef;
    --sand-100: #f3ecdf;
    --sand-150: #ece0cf;
    --sand-200: #dccbb4;
    --sand-300: #c5ad8f;
    --stone-800: #203136;
    --stone-700: #31464d;
    --stone-600: #4d646e;
    --stone-500: #657c86;
    --moss-600: #0f6861;
    --moss-700: #0b504b;
    --moss-100: #dcedea;
    --copper-500: #b1712d;
    --copper-100: #f5e6d1;
    --surface: #ffffff;
    --line: #d9ceb8;
    --line-strong: #c5b79f;
    --shadow-soft: 0 12px 28px rgba(28, 41, 44, 0.11);
    --shadow-lg: 0 24px 48px rgba(24, 37, 39, 0.17);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --content-width: 1260px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    line-height: 1.62;
    color: var(--stone-800);
    background:
        radial-gradient(circle at 10% -8%, rgba(177, 113, 45, 0.2), transparent 34%),
        radial-gradient(circle at 108% 8%, rgba(15, 104, 97, 0.18), transparent 30%),
        linear-gradient(180deg, #f8f5ee 0%, #f2ede2 46%, #f7f4ec 100%);
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.55rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.06;
    letter-spacing: 0.01em;
    color: #15252a;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.8rem);
}

h3 {
    font-size: clamp(1.26rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

p {
    margin: 0 0 0.82rem;
}

a {
    color: var(--moss-700);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover,
a:focus {
    color: var(--moss-600);
}

.wrap {
    width: min(var(--content-width), calc(100% - 2.4rem));
    margin: 0 auto;
}

.site-main {
    padding: 1.4rem 0 3.2rem;
}

.muted {
    color: var(--stone-600);
    font-size: 0.92rem;
}

.kicker {
    margin: 0 0 0.32rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    color: #cde2df;
}

.ssl-warning {
    background: #fff1d7;
    color: #90511f;
    text-align: center;
    font-weight: 700;
    padding: 0.52rem 1rem;
    border-bottom: 1px solid #efce99;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 95;
    backdrop-filter: blur(11px);
    background: rgba(250, 248, 243, 0.92);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.72rem 0;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand-lockup {
    width: clamp(180px, 22vw, 260px);
    height: auto;
    filter: drop-shadow(0 12px 18px rgba(16, 58, 54, 0.16));
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
}

.top-nav a {
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--stone-700);
    border-radius: 999px;
    padding: 0.46rem 0.82rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.top-nav a:hover,
.top-nav a:focus {
    background: #f2e8d8;
    color: #182a30;
}

.top-nav .top-cta {
    background: linear-gradient(135deg, var(--moss-600), var(--moss-700));
    color: #f3f9f8;
    box-shadow: 0 10px 18px rgba(15, 104, 97, 0.24);
}

.top-nav .top-cta:hover,
.top-nav .top-cta:focus {
    background: linear-gradient(135deg, #13827a, #0f6861);
    color: #ffffff;
}

.hero {
    margin-bottom: 1.7rem;
}

.hero-image-wrap,
.location-hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
}

.hero-image,
.location-hero-photo {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    filter: saturate(1.04) contrast(1.02);
}

.hero-overlay,
.location-hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.35rem 1.45rem 1.55rem;
    background: linear-gradient(to top, rgba(8, 16, 18, 0.89), rgba(8, 16, 18, 0.2));
    color: #f2faf8;
}

.hero h1,
.state-hero h1,
.location-hero-image h1 {
    color: #f8fdfc;
    margin-bottom: 0.12rem;
}

.hero-copy {
    margin-top: 0.72rem;
    max-width: 68ch;
    font-size: 1rem;
    color: #e7f2ef;
}

.hero-pills {
    margin-top: 0.84rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(19, 35, 38, 0.52);
    color: #edf8f5;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.32rem 0.66rem;
}

.hero-actions,
.quick-actions,
.directory-actions,
.quick-link-row,
.metric-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
}

.hero-actions,
.quick-actions,
.directory-actions,
.quick-link-row {
    margin-top: 0.86rem;
}

.hero-btn,
.action-btn,
.quick-link-chip,
.metric-link-btn,
.hub-link-inline,
.button-link,
.inline-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 104, 97, 0.42);
    background: rgba(15, 104, 97, 0.11);
    color: var(--moss-700);
    text-decoration: none;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0.36rem 0.78rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-btn {
    border-color: rgba(255, 255, 255, 0.42);
    color: #eaf7f4;
    background: rgba(17, 30, 34, 0.45);
}

.hero-btn.primary {
    background: linear-gradient(135deg, #17847a, #0c5650);
    border-color: rgba(22, 167, 154, 0.45);
    color: #f5fffd;
}

.hero-btn:hover,
.hero-btn:focus {
    color: #ffffff;
    transform: translateY(-1px);
}

.hero-btn.primary:hover,
.hero-btn.primary:focus {
    background: linear-gradient(135deg, #1b8e84, #0d615a);
}

.action-btn:hover,
.quick-link-chip:hover,
.metric-link-btn:hover,
.hub-link-inline:hover,
.button-link:hover,
.inline-cta:hover,
.action-btn:focus,
.quick-link-chip:focus,
.metric-link-btn:focus,
.hub-link-inline:focus,
.button-link:focus,
.inline-cta:focus {
    background: rgba(15, 104, 97, 0.2);
    border-color: rgba(15, 104, 97, 0.7);
    color: var(--moss-700);
    transform: translateY(-1px);
}

.explorer-shell,
.map-shell,
.controls-shell,
.feed-shell,
.directory-shell,
.continue-shell,
.hub-shell,
.gallery-shell,
.editorial-shell,
.resources-shell,
.state-insight-shell,
.state-controls-shell,
.state-related-shell,
.policy-grid,
.legal-shell,
.not-found-shell {
    margin-bottom: 1.9rem;
}

.explorer-card,
.map-canvas-card,
.map-focus-card,
.controls-shell,
.feed-item,
.loading-card,
.metric-card,
.directory-card,
.highlight-card,
.resource-card,
.policy-card,
.legal-section,
.editorial-card,
.gallery-item,
.ad-slot,
.snapshot-card,
.hub-link-card,
.state-filter-grid,
.not-found-shell,
.empty-state-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.explorer-card,
.map-canvas-card,
.map-focus-card,
.controls-shell,
.feed-item,
.loading-card,
.metric-card,
.directory-card,
.highlight-card,
.resource-card,
.policy-card,
.legal-section,
.editorial-card,
.gallery-item,
.ad-slot,
.snapshot-card,
.hub-link-card,
.state-filter-grid,
.not-found-shell,
.empty-state-card {
    padding: 1.06rem;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 0.88rem;
}

.section-title-row h1,
.section-title-row h2,
.section-title-row h3 {
    margin-bottom: 0;
}

.explorer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.explorer-card {
    background: linear-gradient(150deg, #fffdf8, #f7efe1);
}

.inline-cta {
    margin-top: 0.18rem;
}

.map-shell-grid {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 1rem;
}

.map-canvas-card {
    background: linear-gradient(160deg, #fbfaf4, #f2ebdf);
    padding: 1rem;
}

.us-state-map {
    width: 100%;
    height: auto;
    display: block;
}

.map-state-link {
    cursor: pointer;
    outline: none;
}

.map-state-link rect {
    fill: #f5efe2;
    stroke: #cebca0;
    stroke-width: 1.1;
    transition: fill 0.2s ease, stroke-color 0.2s ease, transform 0.2s ease;
}

.map-state-link .map-state-code {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    fill: #274047;
}

.map-state-link .map-count-dot {
    fill: #0d7168;
    stroke: #f0f7f6;
    stroke-width: 1;
}

.map-state-link .map-count-text {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 9px;
    font-weight: 800;
    fill: #f3fdfa;
}

.map-state-link.has-caves rect {
    fill: #e7f0ed;
    stroke: #75aba4;
}

.map-state-link:hover rect,
.map-state-link:focus rect,
.map-state-link.active rect {
    fill: #e5d5bf;
    stroke: #b17634;
}

.map-state-link.no-caves {
    opacity: 0.74;
}

.map-focus-card {
    background: linear-gradient(160deg, #fffdf8, #f8efe0);
    display: grid;
    gap: 0.72rem;
}

.state-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
}

.state-chip {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border-radius: 12px;
    border: 1px solid #d2c2a9;
    background: #fffdf8;
    color: #214047;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.46rem 0.58rem;
}

.state-chip strong {
    background: #e5f2ef;
    color: var(--moss-700);
    border-radius: 999px;
    font-size: 0.76rem;
    padding: 0.1rem 0.42rem;
}

.state-chip:hover,
.state-chip:focus {
    border-color: #ab8a5f;
    background: #f9f0e1;
    color: #182d34;
}

.controls-shell {
    background: linear-gradient(145deg, #fffdf8, #f5ecdd);
}

.controls-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.4fr) minmax(300px, 1.7fr) repeat(3, minmax(150px, 1fr));
    gap: 0.86rem;
}

.controls-grid fieldset {
    margin: 0;
    border: 1px solid #d2c7b2;
    border-radius: var(--radius-sm);
    background: #fffefb;
    padding: 0.68rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.82rem;
}

.controls-grid label,
.controls-grid legend,
.state-filter-grid label {
    color: #2e444b;
    font-size: 0.9rem;
    font-weight: 700;
}

.controls-grid input[type='search'],
.controls-grid select,
.state-filter-grid input,
.state-filter-grid select {
    width: 100%;
    margin-top: 0.34rem;
    border-radius: 10px;
    border: 1px solid #cfc2aa;
    background: #ffffff;
    color: var(--stone-800);
    font: inherit;
    font-size: 0.9rem;
    padding: 0.57rem 0.63rem;
}

.controls-grid input[type='search']:focus,
.controls-grid select:focus,
.state-filter-grid input:focus,
.state-filter-grid select:focus {
    outline: 2px solid rgba(15, 104, 97, 0.26);
    outline-offset: 1px;
    border-color: #8ab3ad;
}

.feed-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-grid[data-density='compact'] {
    gap: 0.72rem;
}

.metric-stream {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1rem;
}

.feed-item,
.directory-card,
.highlight-card,
.resource-card,
.snapshot-card,
.hub-link-card,
.policy-card,
.legal-section,
.editorial-card,
.metric-card,
.gallery-item,
.loading-card,
.state-filter-grid,
.explorer-card,
.map-canvas-card,
.map-focus-card,
.empty-state-card {
    animation: revealUp 0.38s ease both;
}

.feed-thumb,
.directory-photo,
.gallery-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ddd1bd;
}

.feed-thumb,
.directory-photo {
    height: 210px;
    margin-bottom: 0.74rem;
}

.feed-story .feed-thumb,
.directory-row .directory-photo {
    height: 100%;
    min-height: 220px;
    margin-bottom: 0;
}

.gallery-item img {
    height: 230px;
    margin-bottom: 0.58rem;
}

.directory-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlights-grid,
.resources-grid,
.policy-grid,
.gallery-grid,
.snapshot-grid,
.hub-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 1rem;
}

.feed-story {
    display: grid;
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    background: linear-gradient(145deg, #fffdf9, #f6ece0);
}

.feed-story-media,
.directory-media {
    display: block;
    height: 100%;
    text-decoration: none;
}

.feed-story-body,
.directory-body {
    display: grid;
    align-content: start;
    gap: 0.56rem;
}

.feed-story-meta {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 800;
    color: #4c676f;
}

.feed-story-title,
.directory-body h3 {
    margin: 0;
}

.feed-story-summary,
.directory-summary {
    margin: 0;
}

.feed-story .quick-link-row,
.directory-body .directory-actions {
    margin-top: 0.18rem;
}

.feed-story .metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 0.2rem;
}

.feed-grid[data-density='compact'] .feed-story {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    padding: 0.86rem;
}

.feed-grid[data-density='compact'] .feed-story .feed-story-media {
    min-height: 180px;
}

.directory-row {
    display: grid;
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    background: linear-gradient(145deg, #ffffff, #f8f0e4);
}

.metric-stream .metric-card {
    height: 100%;
}

.card-meta {
    font-weight: 600;
    margin-top: 0.55rem;
}

.continue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.continue-column h3 {
    margin-bottom: 0.62rem;
}

.hub-core-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hub-core-card {
    position: relative;
    padding-top: 2.7rem;
    border-color: #cce0d8;
    background: linear-gradient(155deg, #ffffff, #f2faf8);
}

.hub-core-card::before {
    content: 'GO';
    position: absolute;
    left: 1rem;
    top: 0.88rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(15, 104, 97, 0.28);
    background: #dff1ed;
    color: var(--moss-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hub-core-card[data-hub-key='official']::before {
    content: 'OF';
}

.hub-core-card[data-hub-key='hotels']::before {
    content: 'HT';
}

.hub-core-card[data-hub-key='cars']::before {
    content: 'CR';
}

.hub-core-card[data-hub-key='reviews']::before {
    content: 'RV';
}

.hub-core-card[data-hub-key='weather']::before {
    content: 'WX';
}

.hub-core-card[data-hub-key='map']::before {
    content: 'MP';
}

.hub-core-card[data-hub-key='notes']::before {
    content: 'NT';
}

.metric-grid {
    display: grid;
    gap: 0.64rem;
    margin-top: 0.74rem;
}

.metric-card {
    background: #fffaef;
    border-color: #e5d6b8;
}

.metric-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.metric-head h4 {
    margin: 0;
}

.metric-value {
    margin: 0.34rem 0 0.28rem;
    font-size: 1rem;
    font-weight: 800;
    color: #81440f;
}

.metric-summary {
    margin: 0 0 0.48rem;
    color: #42565f;
    font-size: 0.92rem;
}

.metric-trust {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.54rem;
    font-size: 0.74rem;
    color: #5f727a;
}

.badge {
    border-radius: 999px;
    background: #dff2ef;
    color: #0c5a53;
    font-size: 0.71rem;
    font-weight: 800;
    padding: 0.19rem 0.5rem;
}

.badge.stale {
    background: #f3dfc4;
    color: #7f460f;
}

.news-list {
    margin: 0.48rem 0 0;
    padding-left: 1rem;
}

.news-list li {
    margin-bottom: 0.38rem;
}

.tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.08rem;
    height: 1.08rem;
    border-radius: 999px;
    border: 1px solid var(--moss-700);
    color: var(--moss-700);
    font-size: 0.68rem;
    font-weight: 800;
    cursor: help;
}

.tip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(290px, 72vw);
    border-radius: 8px;
    border: 1px solid #355058;
    background: #1d2f35;
    color: #e8f2ef;
    font-size: 0.74rem;
    line-height: 1.34;
    padding: 0.4rem 0.48rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease;
    z-index: 30;
}

.tip:hover::after,
.tip:focus::after {
    opacity: 1;
}

.snapshot-list {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.44rem;
}

.snapshot-list strong {
    color: #20363d;
}

.state-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.state-filter-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 280px);
    gap: 0.85rem;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #fffef8, #f8f1e3);
}

.state-directory-grid {
    margin-top: 0;
}

.empty-state-card {
    background: #fffaf2;
}

.ad-slot {
    border-style: dashed;
    border-color: #ccb48f;
    background: #fffaf1;
}

.page-policy .wrap > h1,
.page-legal .legal-shell > h1,
.page-not-found .not-found-shell > h1 {
    margin-bottom: 0.36rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(155deg, #e9deca, #e1d2b9);
    color: #2a4047;
    padding: 2rem 0 2.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.footer-brand h2 {
    margin: 0 0 0.32rem;
}

.footer-brand p,
.footer-note {
    margin: 0;
}

.footer-note {
    margin-top: 0.82rem;
    color: #5a6f76;
    font-size: 0.9rem;
}

.footer-heading {
    margin: 0 0 0.5rem;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4e646a;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.footer-links a {
    text-decoration: none;
    color: #2f4850;
}

.footer-links a:hover,
.footer-links a:focus {
    text-decoration: underline;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1160px) {
    .map-shell-grid {
        grid-template-columns: 1fr;
    }

    .explorer-grid,
    .continue-grid,
    .state-insight-grid {
        grid-template-columns: 1fr;
    }

    .controls-grid {
        grid-template-columns: 1fr 1fr;
    }

    .controls-grid fieldset {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .wrap {
        width: min(var(--content-width), calc(100% - 1.2rem));
    }

    .site-main {
        padding-top: 1rem;
    }

    .nav-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-image,
    .location-hero-photo {
        height: 410px;
    }

    .hero-overlay,
    .location-hero-overlay {
        padding: 1rem 1rem 1.1rem;
    }

    .controls-grid,
    .state-filter-grid {
        grid-template-columns: 1fr;
    }

    .controls-grid fieldset {
        grid-template-columns: 1fr;
    }

    .section-title-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.66rem;
    }

    .highlights-grid,
    .resources-grid,
    .policy-grid,
    .gallery-grid,
    .snapshot-grid,
    .hub-links-grid,
    .state-chip-grid,
    .metric-stream {
        grid-template-columns: 1fr;
    }

    .feed-story,
    .directory-row,
    .feed-grid[data-density='compact'] .feed-story {
        grid-template-columns: 1fr;
    }

    .feed-story .feed-story-media,
    .directory-row .directory-media,
    .feed-grid[data-density='compact'] .feed-story .feed-story-media {
        min-height: 180px;
    }

    .brand-lockup {
        width: 210px;
    }

    .map-canvas-card {
        padding: 0.65rem;
        overflow-x: auto;
    }

    .us-state-map {
        min-width: 940px;
    }
}

@media (min-width: 1800px) {
    body {
        font-size: 1.06rem;
    }

    .wrap {
        width: min(1560px, calc(100% - 4rem));
    }
}


/* --- Layout Refresh: Narrative Flow (March 2026) --- */
.hero-image-wrap,
.location-hero-image {
    border-radius: 32px;
    border-color: rgba(197, 183, 159, 0.82);
    box-shadow: 0 28px 54px rgba(24, 37, 39, 0.2);
}

.hero-image,
.location-hero-photo {
    height: clamp(420px, 58vh, 660px);
}

.hero-overlay,
.location-hero-overlay {
    padding: 1.7rem 1.8rem 1.9rem;
    background: linear-gradient(to top, rgba(7, 15, 18, 0.9), rgba(7, 15, 18, 0.16));
}

.expedition-shell,
.state-brief-shell {
    border-radius: 28px;
    border: 1px solid rgba(199, 181, 153, 0.66);
    background: linear-gradient(145deg, rgba(255, 252, 245, 0.92), rgba(243, 235, 222, 0.9));
    box-shadow: 0 18px 42px rgba(24, 38, 42, 0.1);
    padding: 1.35rem;
}

.expedition-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.3rem;
    align-items: start;
}

.journey-path {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.journey-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(198, 181, 151, 0.72);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.9rem 1rem;
}

.journey-index,
.planning-path-marker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(17, 84, 77, 0.45);
    background: rgba(15, 104, 97, 0.13);
    color: var(--moss-700);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-shell-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 1.1rem;
}

.map-canvas-card,
.map-focus-card,
.controls-shell,
.feed-item,
.loading-card,
.metric-card,
.directory-card,
.editorial-card,
.gallery-item,
.snapshot-card,
.hub-link-card,
.state-filter-grid,
.empty-state-card,
.continuation-panel,
.trip-brief-panel {
    border-color: rgba(202, 188, 163, 0.75);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 28px rgba(23, 35, 39, 0.08);
}

.map-canvas-card,
.map-focus-card {
    padding: 1.1rem;
}

.planning-console {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
    gap: 1rem;
    align-items: start;
    padding: 1.15rem;
}

.planning-console-copy {
    padding: 0.2rem 0.2rem 0;
}

.controls-shell.planning-console .controls-grid {
    grid-template-columns: minmax(220px, 1.35fr) minmax(280px, 1.55fr) repeat(3, minmax(145px, 1fr));
}

.controls-grid fieldset {
    background: rgba(255, 255, 255, 0.92);
}

.feed-grid {
    gap: 1.15rem;
}

.feed-story,
.directory-row,
.cave-itinerary-row {
    border-radius: 22px;
    border: 1px solid rgba(204, 191, 165, 0.74);
    box-shadow: 0 16px 34px rgba(22, 36, 39, 0.08);
}

.cave-spotlight {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.cave-spotlight + .cave-spotlight {
    border-top: 1px solid rgba(188, 169, 137, 0.58);
    padding-top: 1.2rem;
}

.spotlight-media,
.directory-media {
    border-radius: 18px;
    overflow: hidden;
}

.directory-photo {
    border-color: rgba(205, 186, 152, 0.82);
}

.spotlight-step {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #4c666f;
}

.directory-actions {
    gap: 0.44rem;
}

.quick-link-chip {
    border-color: rgba(17, 90, 82, 0.38);
    background: rgba(15, 104, 97, 0.08);
}

.continuation-stream {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.continuation-panel {
    border-radius: 22px;
    padding: 1.05rem 1.12rem;
}

.reference-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.88rem;
}

.reference-list li {
    border-bottom: 1px solid rgba(198, 181, 151, 0.65);
    padding-bottom: 0.86rem;
}

.reference-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.reference-list li p:last-child {
    margin-bottom: 0;
}

.briefing-stack {
    display: grid;
    gap: 0.84rem;
}

.briefing-stack article {
    border-radius: 14px;
    border: 1px solid rgba(202, 187, 157, 0.72);
    background: rgba(255, 255, 255, 0.75);
    padding: 0.8rem 0.86rem;
}

.path-shell .planning-path-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.72rem;
}

.path-shell .planning-path-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(198, 183, 154, 0.74);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.88rem 1rem;
}

.path-shell .planning-path-step h3 {
    margin-bottom: 0.35rem;
}

.trip-brief-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.trip-brief-panel {
    border-radius: 22px;
    padding: 1.05rem;
}

.resource-strip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
}

.resource-strip li {
    border-radius: 16px;
    border: 1px solid rgba(201, 184, 153, 0.72);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.85rem 0.9rem;
}

.resource-strip li h3 {
    margin-bottom: 0.28rem;
}

.gallery-rail {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x proximity;
}

.gallery-rail-item {
    margin: 0;
    flex: 0 0 min(440px, 86vw);
    scroll-snap-align: start;
}

.gallery-rail-item img {
    height: 260px;
}

.gallery-rail-item figcaption {
    margin: 0;
}

.state-brief-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.state-stats {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.state-stats div {
    border-radius: 14px;
    border: 1px solid rgba(197, 180, 149, 0.72);
    background: rgba(255, 255, 255, 0.84);
    padding: 0.78rem 0.82rem;
}

.state-stats dt {
    margin: 0 0 0.2rem;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    color: #4c666f;
}

.state-stats dd {
    margin: 0;
    font-weight: 700;
}

.state-filter-grid {
    border-radius: 18px;
    margin-bottom: 1rem;
}

.itinerary-stream {
    gap: 1.2rem;
}

.cave-itinerary-row {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 241, 230, 0.88));
}

.ad-slot {
    border-style: dashed;
    border-color: rgba(167, 137, 93, 0.72);
    background: rgba(255, 249, 239, 0.8);
}

@media (max-width: 1160px) {
    .expedition-shell,
    .planning-console,
    .state-brief-shell,
    .continuation-stream,
    .trip-brief-grid {
        grid-template-columns: 1fr;
    }

    .controls-shell.planning-console .controls-grid {
        grid-template-columns: 1fr 1fr;
    }

    .controls-shell.planning-console .controls-grid fieldset {
        grid-column: 1 / -1;
    }

    .cave-spotlight,
    .directory-row,
    .cave-itinerary-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .hero-overlay,
    .location-hero-overlay {
        padding: 1.05rem 1rem 1.2rem;
    }

    .journey-step,
    .path-shell .planning-path-step {
        grid-template-columns: 1fr;
    }

    .state-stats {
        grid-template-columns: 1fr;
    }

    .controls-shell.planning-console .controls-grid {
        grid-template-columns: 1fr;
    }

    .controls-shell.planning-console .controls-grid fieldset {
        grid-column: auto;
    }

    .gallery-rail-item {
        flex-basis: 88vw;
    }

    .gallery-rail-item img,
    .directory-photo,
    .feed-thumb {
        height: 210px;
    }
}
