/* Top State Parks — hand-written stylesheet (no build step).
   Typography: Fraunces (display/serif) + Inter (body), loaded via Google Fonts. */

:root {
    --ink: #1c2a21;
    --ink-soft: #40514a;
    --muted: #6b7c73;
    --line: #dfe5df;
    --paper: #fbfaf6;
    --card: #ffffff;
    --forest: #2f5d3a;
    --forest-deep: #214229;
    --forest-light: #e7f0e6;
    --clay: #b4552d;
    --sun: #e0a93b;
    --focus: #2f5d3a;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(28, 42, 33, .06), 0 8px 24px rgba(28, 42, 33, .06);
    --wrap: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    color: var(--ink);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}

a { color: var(--forest); text-decoration-color: color-mix(in srgb, var(--forest) 35%, transparent); text-underline-offset: 2px; }
a:hover { color: var(--forest-deep); }

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

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--forest); color: #fff;
    padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header / navbar ---------- */
.site-header {
    border-bottom: 1px solid transparent;
    background: rgba(251, 250, 246, .72);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    position: sticky; top: 0; z-index: 50;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
/* Border + faint shadow appear only once the page is scrolled (set via JS). */
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(251, 250, 246, .9);
    box-shadow: 0 1px 12px rgba(28, 42, 33, .05);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand .mark { width: 30px; height: 30px; flex: none; transition: transform .18s ease; }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.brand__ridge { width: 150px; height: 10px; overflow: visible; display: block; }
.brand__ridge-fill { fill: rgba(224,169,59,0); transition: fill .2s ease; }
.brand__ridge-stroke { stroke: var(--clay); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.brand:hover { color: var(--forest-deep); }
.brand:hover .mark { transform: translateY(-1px) rotate(-3deg); }
.brand:hover .brand__ridge-fill { fill: rgba(224,169,59,.55); }
@media (prefers-reduced-motion: reduce) { .brand:hover .mark { transform: none; } .brand__ridge-fill, .brand .mark { transition: none; } }
@media (max-width: 640px) { .brand__ridge { display: none; } }

.nav { display: flex; align-items: center; gap: 26px; font-size: .96rem; }
.nav a { position: relative; color: var(--ink-soft); text-decoration: none; padding: 6px 1px; transition: color .12s ease; }
.nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--forest); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .16s ease;
}
.nav a:hover { color: var(--forest-deep); }
.nav a:hover::after { transform: scaleX(1); }
.nav a:focus-visible { color: var(--forest-deep); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Search trigger — a compact pill that opens the command-palette overlay. */
.search-trigger {
    display: inline-flex; align-items: center; gap: 8px;
    font: inherit; font-size: .9rem; color: var(--muted);
    background: var(--card); border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 12px; cursor: pointer;
    transition: border-color .12s ease, color .12s ease, box-shadow .12s ease;
}
.search-trigger:hover { color: var(--ink); border-color: color-mix(in srgb, var(--forest) 35%, var(--line)); box-shadow: var(--shadow); }
.search-trigger svg { width: 16px; height: 16px; flex: none; }
.search-trigger kbd {
    font: 600 .72rem 'Inter', sans-serif; color: var(--muted);
    background: var(--paper); border: 1px solid var(--line); border-radius: 5px;
    padding: 1px 6px; line-height: 1.4;
}

/* Hamburger — hidden on desktop, shown under the mobile breakpoint. */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle__bars::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Search overlay (command palette) ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(20, 30, 24, .32); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: search-fade .14s ease; }
.search-panel {
    position: relative; width: min(620px, calc(100vw - 32px)); margin-top: 10vh;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 20px 60px rgba(28, 42, 33, .22); overflow: hidden;
    animation: search-pop .16s ease;
}
@keyframes search-fade { from { opacity: 0; } }
@keyframes search-pop { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
    .search-overlay__backdrop, .search-panel { animation: none; }
}

.search-box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-box__icon { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search-box__input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 1.1rem; color: var(--ink); min-width: 0; }
.search-box__input::placeholder { color: var(--muted); }
.search-box__close { background: none; border: 0; cursor: pointer; padding: 0; }
.search-box__close kbd {
    font: 600 .72rem 'Inter', sans-serif; color: var(--muted);
    background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px;
}

.search-results { max-height: min(56vh, 460px); overflow-y: auto; overscroll-behavior: contain; }
.search-group__label {
    font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
    padding: 12px 16px 6px; margin: 0;
}
.search-option {
    display: flex; align-items: center; gap: 12px; padding: 9px 16px; cursor: pointer;
    text-decoration: none; color: var(--ink); border-left: 3px solid transparent;
}
.search-option:hover, .search-option.is-active { background: var(--forest-light); border-left-color: var(--forest); color: var(--ink); }
.search-option[aria-disabled="true"] { cursor: default; color: var(--muted); }
.search-option[aria-disabled="true"]:hover, .search-option[aria-disabled="true"].is-active { background: #f4f3ee; border-left-color: var(--line); }
.search-option mark { background: color-mix(in srgb, var(--sun) 40%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

.search-option__thumb { width: 42px; height: 32px; flex: none; border-radius: 6px; object-fit: cover; background: var(--forest-light); }
.search-option__flag {
    width: 32px; height: 32px; flex: none; border-radius: 6px; display: grid; place-items: center;
    background: var(--forest-light); color: var(--forest-deep); font: 600 .8rem 'Inter', sans-serif;
}
.search-option__body { min-width: 0; flex: 1; }
.search-option__title { font-weight: 500; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-option__sub { font-size: .8rem; color: var(--muted); }
.search-option__tag { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: #9aa89d; flex: none; }

.search-empty, .search-error { padding: 28px 16px; text-align: center; color: var(--muted); font-size: .95rem; }
.search-error { color: var(--clay); }
.search-hint { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.search-hint kbd { font: 600 .7rem 'Inter', sans-serif; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin: 0 1px; }
.search-hint[hidden] { display: none; }

body.search-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; background: #fff; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 48px; color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(900px 400px at 12% -10%, color-mix(in srgb, var(--forest) 18%, transparent), transparent 60%),
        linear-gradient(180deg, var(--forest-deep), var(--forest));
    color: #f3f7f1;
    padding: 72px 0 64px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 16ch; }
.hero p { color: #d8e5d6; font-size: 1.15rem; max-width: 60ch; margin: 0; }
.hero .kicker { color: var(--sun); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .88rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest-deep); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 10px 0 24px; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: 1.9rem; margin-bottom: 6px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head__sub { color: var(--muted); margin: 0; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }

.eyebrow { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; color: var(--clay); margin: 0 0 6px; }
.eyebrow--light { color: var(--sun); }
.seelink { font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.seelink:hover { text-decoration: underline; }

/* ---------- State grid (home, demoted SEO surface) ---------- */
.states-section { border-top: 1px solid var(--line); background: #fff; }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.state-grid > li { display: flex; }
.state-cell {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1;
    padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--card);
    font-weight: 500; color: var(--muted); min-height: 50px; font-size: .95rem;
}
.state-cell__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.state-cell.live { color: var(--ink); border-color: color-mix(in srgb, var(--forest) 30%, var(--line)); text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.state-cell.live:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--forest); }
.state-cell.live .count { background: var(--forest-light); color: var(--forest-deep); font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.state-cell.soon { background: #f4f3ee; }
.state-cell.soon .tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #9aa89d; }

/* ---------- Park cards ---------- */
.park-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.park-card {
    display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
    transition: transform .14s ease, box-shadow .14s ease;
}
.park-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.park-card .thumb { aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--forest-light), #d8e4d4); position: relative; overflow: hidden; }
.park-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.park-card .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--forest); opacity: .5; }
.park-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.park-card h3 { font-size: 1.22rem; margin: 0; }
.park-card .loc { color: var(--muted); font-size: .9rem; }
.park-card .tags { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }

.chip { display: inline-block; font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--forest-light); color: var(--forest-deep); border: 1px solid color-mix(in srgb, var(--forest) 18%, transparent); }
.chip.clay { background: #f6e5db; color: #8a3c1d; border-color: #eccdbd; }
.chip.neutral { background: #eef0ec; color: var(--ink-soft); border-color: var(--line); }

/* ---------- Park detail ---------- */
.detail-hero { padding: 28px 0 0; }
.detail-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 8px; }
.detail-hero .loc { color: var(--muted); font-size: 1.02rem; }
.detail-hero__media { position: relative; aspect-ratio: 3 / 2; margin: 20px 0 8px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--forest-light), #d8e4d4); }
.detail-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery { display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; margin: 22px 0 8px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery .lead { grid-row: span 2; }
.gallery.single { grid-template-columns: 1fr; grid-auto-rows: auto; }
.gallery.single img { aspect-ratio: 16/7; }

.layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; margin-top: 36px; }
.prose p { margin: 0 0 1.1em; color: var(--ink-soft); }
.prose h2 { font-size: 1.55rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose a { font-weight: 500; }

.block { margin: 34px 0; }
.block > h2 { font-size: 1.45rem; margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.amenity-group { margin: 0 0 18px; }
.amenity-group:last-child { margin-bottom: 0; }
.amenity-group__title { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 9px; }

table.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
table.hours th, table.hours td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--line); }
table.hours th { font-weight: 500; color: var(--ink-soft); width: 42%; font-family: inherit; }
table.hours tr:last-child th, table.hours tr:last-child td { border-bottom: none; }
table.hours .today th, table.hours .today td { background: var(--forest-light); }

/* Sidebar */
.sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.fact { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fact:last-child { border-bottom: none; }
.fact .k { color: var(--muted); flex: none; width: 92px; }
.fact .v { color: var(--ink); overflow-wrap: anywhere; }
.fact .v a { overflow-wrap: anywhere; }

.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    background: var(--forest); color: #fff; text-decoration: none; font-weight: 600;
    padding: 12px 18px; border-radius: 10px; width: 100%; font-size: .98rem;
    transition: background .12s ease;
}
.btn:hover { background: var(--forest-deep); color: #fff; }
.btn.secondary { background: #fff; color: var(--forest-deep); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--forest-light); }

.rate { font-family: 'Fraunces', serif; font-size: 1.9rem; color: var(--forest-deep); }
.rate small { font-family: 'Inter', sans-serif; font-size: .85rem; color: var(--muted); font-weight: 400; }

.map-embed { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: 10px; }

/* ---------- Article ---------- */
.article-hero { padding: 56px 0 10px; }
.article-hero .kicker { color: var(--clay); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.article-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); max-width: 20ch; margin-top: 10px; }
.article-hero .meta { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.article-body { font-size: 1.08rem; }
.article-body .rank { display: flex; align-items: baseline; gap: 14px; margin: 1.8em 0 .3em; }
.article-body .rank .num { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--sun); line-height: 1; flex: none; }
.article-body .rank h2 { margin: 0; font-size: 1.5rem; }
.article-body .rank h2 a { color: var(--ink); text-decoration: none; }
.article-body .rank h2 a:hover { color: var(--forest-deep); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }
.notfound h1 { font-size: 4rem; color: var(--forest); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
    .gallery .lead { grid-column: span 2; grid-row: auto; aspect-ratio: 16/8; }
}
/* Collapse primary nav into a toggle menu on narrow viewports. */
@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none;
        position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--card); border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); padding: 8px 0;
    }
    .site-header.nav-open .nav { display: flex; }
    .nav a { padding: 12px 20px; font-size: 1rem; border-radius: 0; }
    .nav a:hover { background: var(--forest-light); }
    .nav a::after { display: none; }
    .search-trigger__label, .search-trigger kbd { display: none; }
    .search-trigger { padding: 9px; }
}

@media (max-width: 560px) {
    .hero { padding: 52px 0 46px; }
    .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .gallery img { aspect-ratio: 16/9; }
    .search-panel { margin-top: 0; width: 100vw; height: 100%; border-radius: 0; border: 0; }
    .search-results { max-height: calc(100vh - 118px); }
}

/* ========================================================================
   Homepage — hero, featured strip, editorial teaser (magazine landing).
   Reuses the tokens and patterns above; no new fonts or frameworks.
   ======================================================================== */

/* ---------- Decorative scene (CSS/SVG fallback artwork, no network) ---------- */
.scene { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--forest), var(--forest-deep)); }
.scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene__sun { fill: rgba(255, 255, 255, .5); transition: fill .14s ease; }
.scene__ridge { fill: rgba(255, 255, 255, .10); }
.scene__ridge--mid { fill: rgba(255, 255, 255, .15); }
.scene__ridge--near { fill: rgba(0, 0, 0, .14); }

/* Per-scene gradient tints — the only thing that varies between cards. */
.scene--forest { background: linear-gradient(165deg, #3a6b46, #1c3a26); }
.scene--falls { background: linear-gradient(165deg, #2f7d78, #16463f); }
.scene--granite { background: linear-gradient(165deg, #9a6a4a, #5a3826); }
.scene--lake { background: linear-gradient(165deg, #3f7fa6, #214a63); }
.scene--bluff { background: linear-gradient(165deg, #b06a3e, #6e3a22); }
.scene--mesa { background: linear-gradient(165deg, #6b5b86, #3a2f52); }
.scene--dusk { background: linear-gradient(135deg, #2f5d3a 0%, #214229 55%, #3a2f52 100%); }

/* ---------- Hero ---------- */
.home-hero { position: relative; isolation: isolate; color: #f4f8f2; overflow: hidden; }
.home-hero__bg { position: absolute; inset: 0; z-index: -1; }
.home-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(18, 32, 22, .55) 0%, rgba(18, 32, 22, .35) 40%, rgba(18, 32, 22, .72) 100%);
}
.home-hero__inner { position: relative; padding: 96px 20px 92px; max-width: var(--wrap); }
.home-hero .kicker { color: var(--sun); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin: 0 0 14px; }
.home-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 3.9rem); max-width: 15ch; margin: 0 0 .35em; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.home-hero__lead { color: #e6efe3; font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 54ch; margin: 0 0 32px; }

.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-search {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    font: inherit; font-size: 1rem; color: var(--ink-soft);
    background: rgba(255, 255, 255, .95); border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 999px; padding: 12px 18px; min-width: min(360px, 78vw);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18); transition: background .14s ease, transform .14s ease, box-shadow .14s ease;
}
.hero-search:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.hero-search svg { width: 18px; height: 18px; flex: none; color: var(--forest); }
.hero-search span { flex: 1; text-align: left; color: var(--muted); }
.hero-search kbd { font: 600 .72rem 'Inter', sans-serif; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; }
.hero-cta { width: auto; padding: 13px 22px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.home-hero .hero-cta { background: var(--sun); color: #3a2a08; }
.home-hero .hero-cta:hover { background: #ecb94f; color: #3a2a08; }

/* ---------- Featured strip ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.feat-card {
    display: flex; flex-direction: column; height: 100%;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; text-decoration: none; color: inherit;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--forest) 30%, var(--line)); }
.feat-card__media { aspect-ratio: 3 / 2; }
.feat-card:hover .feat-card__media .scene__sun { fill: rgba(255, 255, 255, .7); }
.feat-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.feat-card__body h3 { font-size: 1.24rem; margin: 0; }
.feat-card__loc { color: var(--muted); font-size: .86rem; margin: 0; }
.feat-card__tag { color: var(--ink-soft); font-size: .94rem; margin: 4px 0 0; }

/* ---------- Editorial teaser ---------- */
.editorial {
    position: relative; display: grid; grid-template-columns: 300px 1fr; align-items: stretch;
    border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #f3f7f1;
    min-height: 260px; box-shadow: var(--shadow);
    transition: transform .14s ease, box-shadow .14s ease;
}
.editorial:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(28, 42, 33, .18); color: #f3f7f1; }
.editorial__art { position: relative; overflow: hidden; }
.editorial__body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.editorial__body h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 10px; max-width: 24ch; }
.editorial__quote { font-family: 'Fraunces', Georgia, serif; font-size: 1.12rem; line-height: 1.45; color: #eef5ec; margin: 0 0 12px; max-width: 60ch; }
.editorial__meta { color: #cfe0cb; font-size: .95rem; margin: 0 0 16px; max-width: 62ch; }
.editorial__cta { font-weight: 600; color: var(--sun); font-size: 1rem; }

/* ---------- Homepage responsive ---------- */
@media (max-width: 900px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .editorial { grid-template-columns: 1fr; }
    .editorial__art { min-height: 150px; }
}
@media (max-width: 760px) {
    .home-hero__inner { padding: 72px 20px 64px; }
}
@media (max-width: 560px) {
    .feat-grid { grid-template-columns: 1fr; gap: 16px; }
    .home-hero__inner { padding: 56px 20px 52px; }
    .hero-search { min-width: 0; width: 100%; }
    .hero-cta { width: 100%; }
    .editorial__body { padding: 26px 24px; }
    .state-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .feat-card, .editorial, .hero-search, .state-cell.live { transition: none; }
}
