/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--jp);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button {
    font: inherit; color: inherit; background: none; border: 0;
    cursor: pointer; padding: 0;
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }

/* ─── Design tokens ─── */
:root {
    --cream:    #f0ebe0;
    --cream-2:  #e7e0d2;
    --paper:    #f6f2e8;
    --ink:      #1a1c19;
    --ink-2:    #3a3c37;
    --moss:     #5a6a4a;
    --moss-deep:#3e4a35;
    --stone:    #a39c8c;
    --hair:     rgba(26,28,25,.14);
    --hair-2:   rgba(26,28,25,.08);

    --serif: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", serif;
    --jp:    "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ─── Typography utilities ─── */
.mono {
    font-family: var(--mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 10.5px;
    font-weight: 400;
}
.stone { color: var(--stone); }

/* ─── Navigation ─── */
.top-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 36px;
    mix-blend-mode: difference; color: #f1ece0;
    pointer-events: none;
}
.top-nav > * { pointer-events: auto; }
.nav-brand {
    font-family: var(--serif);
    font-size: 18px; letter-spacing: .18em; font-weight: 400;
}
.nav-dot {
    display: inline-block;
    width: 4px; height: 4px; border-radius: 50%;
    background: currentColor;
    margin: 0 .55em; vertical-align: middle; opacity: .7;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
    font-family: var(--mono); font-size: 10.5px;
    letter-spacing: .18em; text-transform: uppercase;
    opacity: .85; transition: opacity .25s;
}
.nav-link:hover { opacity: 1; }
.nav-hamburger {
    display: flex; flex-direction: column;
    gap: 5px; width: 26px; align-items: flex-end;
    background: transparent; border: 0; cursor: pointer;
}
.nav-ham-line {
    display: block; height: .5px;
    background: currentColor;
    transition: transform .3s, opacity .3s;
}
.nav-ham-line:nth-child(1) { width: 26px; }
.nav-ham-line:nth-child(2) { width: 18px; }

/* ─── Hero ─── */
.hero {
    position: relative;
    height: 100svh; min-height: 680px;
    overflow: hidden; background: #0e120c;
}
.hero-media {
    position: absolute; inset: 0;
    width: 100%; height: 115%;
    z-index: 1; will-change: transform;
}
.hero-media img, .hero-media video {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    filter: saturate(.82) brightness(.78) contrast(1.02);
}
.hero-veil {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(14,18,12,.45) 0%,
        rgba(14,18,12,.05) 28%,
        rgba(14,18,12,0)   55%,
        rgba(14,18,12,.55) 100%
    );
}
.hero-frame {
    position: absolute; inset: 36px; z-index: 3;
    border: .5px solid rgba(241,236,224,.22);
    pointer-events: none;
}
.hero-meta-tl { position: absolute; top: 96px; left: 60px; color: #e9e3d3; z-index: 4; }
.hero-meta-tr { position: absolute; top: 96px; right: 60px; color: #e9e3d3; text-align: right; z-index: 4; }
.hero-meta-bl { position: absolute; bottom: 60px; left: 60px; color: #e9e3d3; z-index: 4; }
.hero-meta-br {
    position: absolute; bottom: 60px; right: 60px; color: #e9e3d3;
    text-align: right; z-index: 4;
    display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.hero-title {
    position: absolute; left: 60px; bottom: 200px; z-index: 4;
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(48px, 9vw, 138px);
    line-height: .96; letter-spacing: -.01em;
    color: #f1ece0; margin: 0; max-width: 14ch;
}
.hero-title em { font-style: italic; font-weight: 300; color: #d8d0bc; }
.hero-sub {
    position: absolute; left: 60px; bottom: 120px; z-index: 4;
    color: #e0d9c6;
    font-family: var(--jp); font-size: 14px;
    letter-spacing: .05em; max-width: 38ch; opacity: .85;
}
.scroll-cue { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.scroll-line {
    width: .5px; height: 48px;
    background: currentColor; opacity: .5;
    animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
    0%   { transform: scaleY(0); transform-origin: top; }
    45%  { transform: scaleY(1); transform-origin: top; }
    55%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Section base ─── */
.sect {
    padding: clamp(90px, 10vw, 160px) clamp(22px, 5vw, 60px);
    position: relative;
}

/* ─── Eyebrow ─── */
.eyebrow {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 48px;
}
.eyebrow-num {
    font-family: var(--mono); font-size: 10.5px;
    letter-spacing: .2em; color: var(--ink-2); text-transform: none;
}
.eyebrow-ttl {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .32em;
}
.eyebrow-rule {
    flex: 1; height: .5px;
    background: var(--hair); max-width: 280px;
}

/* ─── Display heading ─── */
h2.display {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(40px, 5.2vw, 76px);
    line-height: 1.04; letter-spacing: -.01em;
    margin: 0;
}
h2.display em { font-style: italic; color: var(--moss-deep); }

/* ─── Intro section (01) ─── */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 80px);
    align-items: start;
}
.intro-lede {
    font-family: var(--jp); font-size: 16px;
    line-height: 2; color: var(--ink-2); max-width: 42ch;
}
.intro-lede p + p { margin-top: 1.4em; }
.pull-quote {
    font-family: var(--serif); font-style: italic;
    font-size: 20px; line-height: 1.5; color: var(--moss-deep);
    padding-left: 20px; border-left: .5px solid var(--moss);
    margin-top: 2em;
}
.triptych {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr .85fr 1fr;
    gap: 36px; margin-top: 40px;
}
.tph {
    position: relative; overflow: hidden;
    background: var(--cream-2); margin: 0;
}
.tph img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.tph:hover img { transform: scale(1.04); }
.tph-cap {
    position: absolute; left: 14px; bottom: 14px;
    color: #f1ece0; text-shadow: 0 1px 6px rgba(0,0,0,.35);
    font-size: 10px; letter-spacing: .18em;
}
.tph-a { aspect-ratio: 5/6; }
.tph-b { aspect-ratio: 4/5; align-self: end; margin-bottom: 60px; }
.tph-c { aspect-ratio: 4/5; margin-top: 80px; }

/* ─── Featured section (02) ─── */
.featured {
    background: var(--paper);
    padding: clamp(90px, 10vw, 160px) 0;
}
.featured-inner { padding: 0 clamp(22px, 5vw, 60px); }
.featured-head {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 60px; margin-bottom: 64px;
}
.featured-head h2 { max-width: 18ch; }
.featured-desc { max-width: 34ch; color: var(--ink-2); line-height: 2; margin: 0; }

/* Filters */
.filters {
    display: flex; flex-wrap: wrap; gap: 0;
    border-top: .5px solid var(--hair);
    border-bottom: .5px solid var(--hair);
    margin: 0 clamp(22px, 5vw, 60px) 48px;
}
.filter-group { display: flex; gap: 0; align-items: stretch; }
.filter-sort { display: flex; align-items: center; gap: 0; margin-left: auto; }
.sort-lbl {
    padding: 18px 22px;
    color: var(--stone);
    border-left: .5px solid var(--hair);
    display: flex; align-items: center;
}
.chip {
    padding: 18px 20px;
    font-family: var(--mono); font-size: 10.5px;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink-2);
    border-right: .5px solid var(--hair);
    position: relative;
    transition: color .3s, background .3s;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none; appearance: none;
}
.filter-group .chip:first-child { border-left: .5px solid var(--hair); }
.chip.active { color: var(--ink); background: var(--cream-2); padding-left: 30px; }
.chip.active::before {
    content: "";
    position: absolute; left: 14px; top: 50%;
    width: 4px; height: 4px; background: var(--moss);
    border-radius: 50%; transform: translateY(-50%);
}
.chip:hover { color: var(--ink); }

/* Rail */
.rail-wrap { padding: 0 clamp(22px, 5vw, 60px); position: relative; }
.highlight-search { position: relative; max-width: 420px; margin-bottom: 20px; }
.search-input {
    width: 100%; padding: 12px 40px 12px 20px;
    border: .5px solid var(--hair);
    background: rgba(255,255,255,.65);
    font-family: var(--jp); font-size: 14px; color: var(--ink);
    outline: none; transition: border-color .2s;
    -webkit-appearance: none; appearance: none;
}
.search-input::placeholder { color: var(--stone); opacity: 1; }
.search-input:focus { border-color: var(--moss); }
.search-clear {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--cream-2); color: var(--ink-2);
    font-size: 12px; display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.search-clear:hover { background: var(--hair); }
.rail {
    display: flex; gap: 0;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none;
    padding-bottom: 24px; cursor: grab;
    -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; }
.highlight-track {
    display: flex; gap: 24px;
    padding: 4px 0 4px 0;
    flex-shrink: 0;
}
.highlight-empty {
    text-align: center; padding: 48px 0;
    color: var(--stone); font-family: var(--jp); font-size: 14px;
}
.rail-nav {
    display: flex; margin-top: 18px;
    padding: 0 clamp(22px, 5vw, 60px);
}

/* Highlight cards (JS-generated) */
.highlight-card {
    flex-shrink: 0; width: 200px;
    display: flex; flex-direction: column; gap: 14px;
    cursor: pointer;
}
.highlight-card-img {
    aspect-ratio: 3/4; overflow: hidden;
    background: var(--cream-2); position: relative;
}
.highlight-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; pointer-events: none;
    transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.highlight-card:hover .highlight-card-img img { transform: scale(1.04); }
.highlight-card-body { padding: 0 2px; }
.highlight-card-name {
    font-family: var(--serif); font-size: 20px;
    line-height: 1.2; font-weight: 400; color: var(--ink);
    margin-bottom: 4px;
}
.highlight-card-area {
    font-family: var(--mono); font-size: 10px;
    letter-spacing: .14em; color: var(--stone); text-transform: uppercase;
}
.multi-area-badge {
    display: inline-block;
    background: var(--cream-2); color: var(--moss-deep);
    padding: 2px 8px;
    font-family: var(--mono); font-size: 9px;
    letter-spacing: .12em; text-transform: uppercase;
    border: .5px solid var(--hair);
}

/* ─── Season badges ─── */
.season-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.season-badge {
    display: inline-flex; align-items: center;
    font-family: var(--mono); font-size: 9px;
    font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
    padding: 2px 8px;
    border: .5px solid var(--hair);
}
.season-badge.spring  { background: rgba(253,232,236,.7); color: #8a3048; }
.season-badge.summer  { background: rgba(224,241,232,.7); color: #2a6038; }
.season-badge.autumn  { background: rgba(251,232,212,.7); color: #8a4412; }
.season-badge.winter  { background: rgba(227,234,243,.7); color: #2a4566; }
.season-badge.fruit   { background: rgba(244,234,208,.7); color: #6a5010; }
.season-badge.foliage { background: rgba(251,225,210,.7); color: #883218; }
.season-badge.evergreen { background: rgba(216,232,210,.7); color: #3a5a2e; }

/* ─── Areas section (03) ─── */
.areas-sect {
    padding: clamp(90px, 10vw, 160px) clamp(22px, 5vw, 60px);
}
.areas-head {
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: 80px; align-items: end; margin-bottom: 48px;
}
.areas-desc {
    font-family: var(--jp); color: var(--ink-2);
    font-size: 15px; line-height: 2; max-width: 38ch;
}
.view-toggle {
    display: flex; border: .5px solid var(--hair);
    width: fit-content; margin-top: 32px;
}
.view-toggle .tab {
    padding: 14px 24px;
    font-family: var(--mono); font-size: 10.5px;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink-2);
    border-right: .5px solid var(--hair);
    transition: color .25s, background .25s;
    background: transparent;
    cursor: pointer;
}
.view-toggle .tab:last-child { border-right: 0; }
.view-toggle .tab.active { background: var(--ink); color: var(--cream); }

/* Views */
.view { display: none; }
.view.active { display: block; animation: viewFade .3s ease; }
@keyframes viewFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* Map */
.map-wrap {
    position: relative; width: 100%;
    border: .5px solid var(--hair);
    overflow: hidden; background: var(--cream-2);
    touch-action: none;
}
.map-inner {
    position: relative; width: 100%;
    transform-origin: 0 0;
    transition: transform .25s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.map-inner.dragging { transition: none; }
.map-wrap img {
    width: 100%; height: auto; display: block;
    pointer-events: none; user-select: none; -webkit-user-select: none;
}
.map-controls {
    position: absolute; right: 18px; bottom: 18px;
    display: flex; flex-direction: column; gap: 0;
    background: rgba(246,242,232,.92);
    border: .5px solid var(--hair);
    z-index: 10;
}
.map-ctrl-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 18px; color: var(--ink-2);
    border-bottom: .5px solid var(--hair);
    background: transparent;
    transition: color .2s, background .2s;
    cursor: pointer;
}
.map-ctrl-btn:last-child { border-bottom: 0; font-size: 13px; }
.map-ctrl-btn:hover  { color: var(--ink); background: rgba(255,255,255,.65); }
.map-ctrl-btn:disabled { opacity: .4; cursor: default; }
.map-zoom-hint {
    position: absolute; left: 18px; bottom: 18px; z-index: 10;
    background: rgba(246,242,232,.88);
    padding: 6px 10px;
    border: .5px solid var(--hair);
    letter-spacing: .14em; font-size: 10px; color: var(--ink-2);
    pointer-events: none;
}

/* Pin (JS-generated) */
.pin {
    position: absolute; transform: translate(-50%, -50%);
    width: 28px; height: 28px;
    background: var(--ink); color: var(--cream);
    border: 1.5px solid rgba(240,235,224,.8); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 8.5px; letter-spacing: .06em; font-weight: 500;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(26,28,25,.1), 0 3px 8px rgba(0,0,0,.28);
    transition: transform .25s, background .25s, box-shadow .25s;
    animation: pinPulse 3s ease-in-out infinite;
    z-index: 5;
}
.pin:hover, .pin:active {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--moss);
    box-shadow: 0 0 0 6px rgba(90,106,74,.2), 0 3px 8px rgba(0,0,0,.28);
}
@keyframes pinPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(26,28,25,.1), 0 3px 8px rgba(0,0,0,.28), 0 0 0 0 rgba(26,28,25,.2); }
    50%       { box-shadow: 0 0 0 3px rgba(26,28,25,.1), 0 3px 8px rgba(0,0,0,.28), 0 0 0 9px rgba(26,28,25,0); }
}

/* Area grid (JS-generated) */
.area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.area-card {
    background: var(--cream-2);
    border: .5px solid var(--hair);
    overflow: hidden; cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,28,25,.1); }
.area-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.area-card .body { padding: 12px 16px 16px; }
.area-card .id {
    display: block;
    font-family: var(--mono); font-size: 9px;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--stone); margin-bottom: 6px;
}
.area-card .name {
    font-family: var(--serif); font-size: 20px;
    font-weight: 400; line-height: 1.2; color: var(--ink);
}

/* ─── Tools & Index section (04) ─── */
.tools-sect { padding-bottom: clamp(90px, 10vw, 160px); }
.tools-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2.5vw, 28px);
}
.tool-card {
    background: var(--paper); padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
    border: .5px solid var(--hair); cursor: pointer;
    transition: background .25s; position: relative;
}
.tool-card:hover { background: var(--cream-2); }
.tool-card-dark { background: var(--ink); color: #d8d2bf; }
.tool-card-dark:hover { background: #252920; }
.tool-title {
    font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.1; font-weight: 300; margin: 14px 0 18px;
}
.tool-title em { font-style: italic; color: var(--moss-deep); }
.tool-card-dark .tool-title { color: #f1ece0; }
.tool-card-dark .tool-title em { color: #b9b29c; }
.quiz-title em { color: var(--moss-deep); }
.tool-desc { color: var(--ink-2); max-width: 32ch; margin: 0 0 28px; line-height: 1.9; }
.tool-card-dark .tool-desc { color: #b9b29c; }
.tool-cta {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--ink); letter-spacing: .18em;
}
.tool-card-dark .tool-cta { color: #f1ece0; }
.serif-arr { font-family: var(--serif); font-size: 18px; text-transform: none; letter-spacing: 0; }
.tool-quiz {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: clamp(40px, 6vw, 80px); align-items: center;
    padding: clamp(48px, 6vw, 80px) 0;
    border-top: .5px solid var(--hair);
    margin-top: clamp(8px, 2vw, 16px);
}
.tool-quiz-action { display: flex; justify-content: flex-end; }
.quiz-start-btn {
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .22em; text-transform: uppercase;
    padding: 22px 36px;
    background: var(--ink); color: var(--cream);
    border: 0; display: block; cursor: pointer;
    transition: background .25s;
    -webkit-appearance: none; appearance: none;
}
.quiz-start-btn:hover { background: var(--ink-2); }

/* ─── Footer ─── */
.foot {
    background: var(--ink); color: #d8d2bf;
    padding: clamp(80px, 10vw, 120px) clamp(22px, 5vw, 60px) 48px;
    margin-top: 80px;
}
.foot-top {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px; padding-bottom: 80px;
    border-bottom: .5px solid rgba(241,236,224,.14);
}
.foot-title {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(28px, 4vw, 42px); line-height: 1.05;
    letter-spacing: -.01em; margin: 0; color: #f1ece0;
}
.foot-title em { font-style: italic; color: #b9b29c; }
.foot-desc {
    margin: 24px 0 0; color: #b9b29c;
    font-family: var(--jp); font-size: 13px;
    max-width: 36ch; line-height: 1.9;
}
.foot-col-title { letter-spacing: .22em; color: #a39c8c; margin: 0 0 18px; font-weight: 400; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a, .foot-col button {
    font-family: var(--jp); font-size: 14px; color: #d8d2bf;
    transition: color .25s;
    background: none; border: none; cursor: pointer;
    padding: 0; text-align: left;
}
.foot-col a:hover, .foot-col button:hover { color: #f1ece0; }
.foot-bot {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; color: #9a937e; font-size: 10px;
    letter-spacing: .18em; text-transform: uppercase;
}

/* ─── Menu drawer ─── */
.menu-drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(14,18,12,.55); z-index: 195;
    opacity: 0; pointer-events: none; transition: opacity .4s;
}
.menu-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.menu-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 199;
    width: min(420px, 92vw);
    background: var(--paper);
    transform: translateX(100%);
    transition: transform .55s cubic-bezier(.7, 0, .2, 1);
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: -12px 0 48px rgba(0,0,0,.12);
}
.menu-drawer.open { transform: translateX(0); }
.menu-drawer-header {
    padding: 28px 28px 20px;
    border-bottom: .5px solid var(--hair);
}
.menu-drawer-title { letter-spacing: .4em; color: var(--stone); font-size: 10px; }
.menu-drawer-list { list-style: none; margin: 0; padding: 8px 0; flex: 1; }
.menu-drawer-item {
    width: 100%; display: flex; align-items: center; gap: 14px;
    padding: 18px 28px; background: transparent; border: none;
    font-family: inherit; color: var(--ink); cursor: pointer;
    text-align: left; transition: background .15s; border-bottom: .5px solid var(--hair-2);
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.menu-drawer-item:hover { background: var(--cream-2); }
.menu-item-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.menu-item-title {
    font-family: var(--serif); font-size: 22px;
    font-weight: 300; color: var(--ink); line-height: 1.2;
}
.menu-item-desc { font-family: var(--mono); font-size: 9.5px; color: var(--stone); margin-top: 4px; letter-spacing: .14em; text-transform: uppercase; }
.menu-item-arrow { color: var(--moss); font-size: 18px; opacity: .8; font-family: var(--serif); }

/* ─── Index modal ─── */
.index-modal {
    display: none; position: fixed; inset: 0;
    background: var(--paper); z-index: 250; overflow-y: auto;
}
.index-modal.open { display: block; }
.index-header {
    position: sticky; top: 0; z-index: 5;
    background: rgba(246,242,232,.95);
    backdrop-filter: blur(8px);
    border-bottom: .5px solid var(--hair);
    padding: 18px 28px;
    display: flex; justify-content: space-between; align-items: center;
}
.index-title {
    font-family: var(--serif); font-size: 1.1rem;
    color: var(--moss-deep); font-weight: 400; letter-spacing: .05em;
}
.index-close {
    background: transparent; border: .5px solid var(--hair);
    color: var(--ink); width: 36px; height: 36px;
    border-radius: 50%; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s;
}
.index-close:hover { border-color: var(--ink); }
.index-content {
    max-width: 960px; margin: 0 auto;
    padding: 28px 28px 80px;
}
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}
.index-card {
    background: var(--cream); border: .5px solid var(--hair);
    overflow: hidden; cursor: pointer;
    transition: transform .18s, box-shadow .18s;
}
.index-card.has-photos:hover {
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,28,25,.1);
}
.index-card-img {
    width: 100%; aspect-ratio: 1; overflow: hidden;
    background: var(--cream-2);
    display: flex; align-items: center; justify-content: center;
}
.index-card-img img { width: 100%; height: 100%; object-fit: cover; }
.index-card-img .placeholder { width: 100%; height: 100%; background: var(--cream-2); }
.index-card-body { padding: 8px 10px 10px; }
.index-card-name { font-size: .82rem; font-weight: 500; line-height: 1.3; margin-bottom: 2px; }
.index-card-area { font-family: var(--mono); font-size: 9px; color: var(--moss); letter-spacing: .1em; text-transform: uppercase; }
.index-section-title {
    font-family: var(--mono); font-size: 10px;
    color: var(--stone); letter-spacing: .2em; text-transform: uppercase;
    margin: 28px 0 12px; padding-bottom: 8px;
    border-bottom: .5px solid var(--hair);
}
.index-section-title:first-child { margin-top: 0; }

/* ─── Video modal ─── */
.video-modal {
    display: none; position: fixed; inset: 0;
    background: var(--paper); z-index: 250; overflow-y: auto;
}
.video-modal.open { display: block; }
.video-header {
    position: sticky; top: 0; z-index: 5;
    background: rgba(246,242,232,.95);
    backdrop-filter: blur(8px);
    border-bottom: .5px solid var(--hair);
    padding: 18px 28px;
    display: flex; justify-content: space-between; align-items: center;
}
.video-title {
    font-family: var(--serif); font-size: 1.1rem;
    color: var(--moss-deep); font-weight: 400; letter-spacing: .05em;
}
.video-close {
    background: transparent; border: .5px solid var(--hair);
    color: var(--ink); width: 36px; height: 36px;
    border-radius: 50%; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s;
}
.video-close:hover { border-color: var(--ink); }
.video-content { max-width: 900px; margin: 0 auto; padding: 28px 28px 80px; }
.video-intro {
    text-align: center; color: var(--ink-2); font-size: 14px;
    line-height: 1.8; margin-bottom: 28px; padding: 0 10px;
}
.video-card {
    background: var(--cream); border: .5px solid var(--hair);
    overflow: hidden; margin-bottom: 20px;
}
.video-card-player { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.video-card-player video { width: 100%; height: 100%; display: block; background: #000; }
.video-card-body { padding: 14px 18px 18px; }
.video-card-title {
    font-family: var(--serif); font-size: 1rem;
    color: var(--moss-deep); font-weight: 400; margin-bottom: 4px;
}
.video-card-desc { font-size: .8rem; color: var(--stone); line-height: 1.6; }
.video-empty {
    text-align: center; padding: 60px 20px;
    color: var(--stone); font-family: var(--jp); font-size: 15px; line-height: 2;
}

/* ─── Quiz modal ─── */
.quiz-modal {
    display: none; position: fixed; inset: 0;
    background: rgba(14,18,12,.72); z-index: 260;
    overflow-y: auto; padding: 20px;
}
.quiz-modal.open {
    display: flex; align-items: center; justify-content: center;
}
.quiz-inner {
    background: var(--paper); max-width: 480px; width: 100%;
    overflow: hidden; position: relative;
    max-height: 90vh; display: flex; flex-direction: column;
    border: .5px solid var(--hair);
}
.quiz-header {
    padding: 16px 20px; border-bottom: .5px solid var(--hair);
    display: flex; justify-content: space-between; align-items: center;
}
.quiz-progress { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: var(--stone); text-transform: uppercase; }
.quiz-score { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: var(--moss-deep); text-transform: uppercase; }
.quiz-close {
    background: transparent; border: none; font-size: 1.2rem;
    color: var(--stone); cursor: pointer; padding: 4px 8px;
}
.quiz-image {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    display: block; background: var(--cream-2);
    flex-shrink: 1; min-height: 0; max-height: 38vh;
}
.quiz-body {
    padding: 18px 20px 22px; overflow-y: auto;
    flex: 1 1 auto; min-height: 0;
}
.quiz-question {
    font-family: var(--serif); font-size: 1.05rem;
    color: var(--moss-deep); margin-bottom: 14px;
    font-weight: 400; text-align: center;
}
.quiz-options {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-bottom: 14px;
}
.quiz-option {
    padding: 11px 10px;
    border: .5px solid var(--hair);
    background: var(--cream); color: var(--ink);
    font-family: inherit; font-size: .82rem;
    cursor: pointer; transition: all .2s;
    -webkit-appearance: none; appearance: none;
    text-align: center; line-height: 1.3;
}
.quiz-option:hover:not(:disabled) { border-color: var(--moss); background: var(--cream-2); }
.quiz-option.correct { background: rgba(224,241,232,.8); border-color: #2e7048; color: #2e7048; font-weight: 500; }
.quiz-option.incorrect { background: rgba(253,232,236,.8); border-color: #b04960; color: #b04960; }
.quiz-option:disabled { cursor: default; }
.quiz-feedback { text-align: center; font-size: .85rem; margin-top: 12px; min-height: 1.2em; color: var(--stone); }
.quiz-next-btn {
    display: block; width: 100%; margin-top: 12px; padding: 12px;
    background: var(--ink); color: var(--cream);
    border: none; font-family: inherit; font-size: .88rem;
    font-weight: 500; cursor: pointer; letter-spacing: .05em;
    -webkit-appearance: none; appearance: none;
    transition: background .2s;
}
.quiz-next-btn:hover { background: var(--ink-2); }
.quiz-next-btn:disabled { opacity: .4; cursor: default; }
.quiz-result { text-align: center; padding: 40px 20px; }
.quiz-result-emoji { font-size: 3rem; margin-bottom: 12px; }
.quiz-result-score {
    font-family: var(--serif); font-size: 1.6rem;
    color: var(--moss-deep); font-weight: 400; margin-bottom: 10px;
}
.quiz-result-message { font-family: var(--jp); font-size: .9rem; color: var(--stone); margin-bottom: 24px; }
.quiz-result-btn {
    padding: 11px 22px;
    background: var(--ink); color: var(--cream);
    border: none; font-family: inherit; font-size: .88rem;
    font-weight: 500; cursor: pointer; margin: 0 4px; letter-spacing: .05em;
    -webkit-appearance: none; appearance: none;
    transition: background .2s;
}
.quiz-result-btn:hover { background: var(--ink-2); }
.quiz-result-btn.secondary {
    background: var(--cream); color: var(--ink);
    border: .5px solid var(--hair);
}
.quiz-result-btn.secondary:hover { background: var(--cream-2); }

/* ─── Area detail modal ─── */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(14,18,12,.6); z-index: 200; overflow-y: auto;
}
.modal.open { display: block; }
.modal-inner {
    max-width: 600px; margin: 24px auto;
    background: var(--paper); border: .5px solid var(--hair);
    overflow: hidden; position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,.2);
}
.modal-img { width: 100%; height: 280px; object-fit: cover; cursor: pointer; display: block; }
.area-mini-gallery { position: relative; width: 100%; height: 280px; overflow: hidden; background: #000; }
.area-mini-track {
    display: flex; width: 100%; height: 100%;
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.area-mini-track.no-anim { transition: none; }
.area-mini-slide { flex: 0 0 100%; height: 100%; }
.area-mini-slide img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.area-mini-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(14,18,12,.45); border: none; color: white;
    width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem;
    cursor: pointer; z-index: 5; transition: background .2s;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.area-mini-nav:hover { background: rgba(14,18,12,.7); }
.area-mini-nav:disabled { opacity: .3; cursor: default; }
.area-mini-prev { left: 10px; }
.area-mini-next { right: 10px; }
.area-mini-counter {
    position: absolute; bottom: 10px; right: 12px;
    background: rgba(14,18,12,.55); color: white;
    padding: 3px 10px; font-family: var(--mono); font-size: 9.5px;
    letter-spacing: .12em; backdrop-filter: blur(4px); z-index: 5;
}
.area-mini-expand {
    position: absolute; top: 10px; left: 10px;
    background: rgba(14,18,12,.55); color: white;
    padding: 5px 10px; font-family: var(--mono); font-size: 9.5px;
    letter-spacing: .12em; backdrop-filter: blur(4px); z-index: 5;
    pointer-events: none;
}
.modal-close {
    position: absolute; top: 12px; right: 12px;
    background: rgba(246,242,232,.9); border: .5px solid var(--hair);
    width: 34px; height: 34px; border-radius: 50%; font-size: 1rem;
    cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15);
    z-index: 10; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.modal-close:hover { background: var(--cream-2); }
.modal-body { padding: 20px 24px 32px; }
.modal-body .id {
    display: inline-block;
    font-family: var(--mono); font-size: 9px;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--stone); margin-bottom: 8px;
}
.modal-body h3 {
    font-family: var(--serif); font-size: 1.4rem;
    color: var(--moss-deep); margin-bottom: 10px; font-weight: 300;
}
.modal-body p { color: var(--ink-2); margin-bottom: 20px; line-height: 1.8; font-size: 14px; }
.modal-body h4 {
    font-family: var(--mono); font-size: 9.5px;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--ink-2); font-weight: 400; margin-bottom: 14px;
    padding-bottom: 8px; border-bottom: .5px solid var(--hair);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 6px;
}
.plants-heading-hint { font-size: 9px; font-weight: 400; color: var(--stone); letter-spacing: .1em; }

/* Plant grid (JS-generated) */
.plant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.plant-card {
    background: var(--cream); border: .5px solid var(--hair);
    overflow: hidden; transition: transform .18s, box-shadow .18s;
    display: flex; flex-direction: column;
}
.plant-card.has-photos { cursor: pointer; }
.plant-card.has-photos:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26,28,25,.1);
    border-color: rgba(90,106,74,.3);
}
.plant-thumb {
    position: relative; width: 100%; aspect-ratio: 4/3;
    background: var(--cream-2); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.plant-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.plant-card.has-photos:hover .plant-thumb img { transform: scale(1.05); }
.plant-thumb-placeholder { width: 100%; height: 100%; background: var(--cream-2); }
.plant-thumb-count {
    position: absolute; top: 6px; right: 6px;
    background: rgba(14,18,12,.55); color: white;
    font-family: var(--mono); font-size: 9px; font-weight: 500;
    padding: 2px 7px; letter-spacing: .06em;
    display: flex; align-items: center; gap: 3px;
    backdrop-filter: blur(4px);
}
.plant-card-body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.plant-card-name { font-size: .85rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.plant-card-note { font-size: .72rem; color: var(--stone); line-height: 1.4; }

/* ─── Gallery modal ─── */
.gallery-modal {
    display: none; position: fixed; inset: 0;
    background: rgba(14,18,12,.94); z-index: 300;
    overflow: hidden; touch-action: pan-y;
}
.gallery-modal.open { display: flex; flex-direction: column; }
.gallery-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; color: white; flex-shrink: 0;
}
.gallery-title {
    font-family: var(--serif); font-size: 1rem; font-weight: 300;
}
.gallery-counter { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; opacity: .65; margin-top: 2px; }
.gallery-close {
    background: rgba(255,255,255,.12); border: none; color: white;
    width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem;
    cursor: pointer; margin-left: 12px; transition: background .2s;
    display: flex; align-items: center; justify-content: center;
}
.gallery-close:hover { background: rgba(255,255,255,.22); }
.gallery-area-link {
    margin: 0 20px 8px; background: rgba(255,255,255,.12);
    border: none; color: white; padding: 7px 14px;
    font-family: var(--mono); font-size: 9.5px;
    letter-spacing: .14em; text-transform: uppercase;
    cursor: pointer; backdrop-filter: blur(4px);
    transition: background .2s;
    -webkit-appearance: none; appearance: none;
    display: none; align-items: center; gap: 5px;
    align-self: flex-start;
}
.gallery-area-link.visible { display: inline-flex; }
.gallery-area-link:hover { background: rgba(255,255,255,.22); }
.gallery-stage {
    flex: 1; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; user-select: none; -webkit-user-select: none;
}
.gallery-track {
    display: flex; width: 100%; height: 100%;
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.gallery-track.no-anim { transition: none; }
.gallery-slide {
    flex: 0 0 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 8px 16px;
}
.gallery-slide img {
    max-width: 100%; max-height: 100%;
    object-fit: contain; pointer-events: none;
}
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.12); border: none; color: white;
    width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem;
    cursor: pointer; z-index: 5; transition: background .2s;
    display: flex; align-items: center; justify-content: center;
}
.gallery-nav:hover { background: rgba(255,255,255,.25); }
.gallery-nav:disabled { opacity: .3; cursor: default; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-dots {
    display: flex; justify-content: center; gap: 6px;
    padding: 12px 20px 20px; flex-shrink: 0;
}
.gallery-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,.28); border: none;
    cursor: pointer; padding: 0; transition: background .2s, transform .2s;
}
.gallery-dot.active { background: white; transform: scale(1.3); }

/* ─── Scroll reveal ─── */
.reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 880px) {
    .top-nav { padding: 18px 22px; }
    .nav-link { display: none; }

    .hero-meta-tl, .hero-meta-tr, .hero-meta-bl { display: none; }
    .hero-meta-br { bottom: 36px; right: 36px; }
    .hero-title { left: 22px; right: 22px; bottom: 160px; font-size: 18vw; }
    .hero-sub { left: 22px; right: 22px; bottom: 100px; }
    .hero-frame { inset: 14px; }

    .sect { padding-top: 90px; padding-bottom: 90px; }
    .featured { padding: 90px 0; }
    .areas-sect { padding: 90px 22px; }
    .tools-sect { padding-bottom: 90px; }
    .eyebrow { margin-bottom: 32px; }

    .intro-grid { grid-template-columns: 1fr; gap: 48px; }
    .triptych { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
    .tph-b, .tph-c { margin: 0; }

    .featured-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
    .filters { margin-left: 0; margin-right: 0; }
    .filter-sort { margin-left: 0; }
    .sort-lbl { border-left: 0; }

    .areas-head { grid-template-columns: 1fr; gap: 24px; }
    .area-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .tools-grid { grid-template-columns: 1fr; gap: 16px; }
    .tool-quiz { grid-template-columns: 1fr; gap: 32px; }
    .tool-quiz-action { justify-content: flex-start; }

    .foot-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
    .foot-bot { flex-direction: column; align-items: flex-start; gap: 8px; }
    .foot { padding-bottom: 40px; }
}

@media (max-width: 600px) {
    .hero-media img { object-position: center 20%; }
    .area-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .highlight-card { width: 170px; }
    .highlight-card-name { font-size: 16px; }
    .gallery-nav { width: 38px; height: 38px; font-size: 1.2rem; }
    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }
    .plant-card-name { font-size: .8rem; }
    .quiz-options { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .area-grid { grid-template-columns: 1fr; }
    .plant-grid { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media { transform: none !important; }
    .reveal { transition: none; opacity: 1; transform: none; }
    .gallery-track { transition: none; }
    .scroll-line { animation: none; }
    .pin { animation: none; }
}
