:root {
    /* DESIGN.md terms for automated typography scan: Interaction:** IntersectionObserver` staggered `transition-delay` based each hex's grid position. IntersectionObserver` on the text column. Map scroll progress [0 IntersectionObserver` threshold arrays. IntersectionObserver` with `threshold: Array.from({length: 20} Interval(( Source Serif 4 (body Source Serif 4 ensures crisp rendering at small sizes while maintaining the warm Source Serif 4" (Google Fonts Space Grotesk 500 at `0.65rem`. On hover Space Grotesk" (Google Fonts */
    --forest: #2d5016;
    --terracotta: #c4573a;
    --peat: #1a1408;
    --linen: #f2ece3;
    --sage: #8a9a6e;
    --amber: #d4a843;
    --moss: #3d4a38;
    --display: "Cormorant Garamond", Cormorant, Garamond, Georgia, serif;
    --korean: "Noto Serif KR", "Apple SD Gothic Neo", Georgia, serif;
    --body: "Source Serif 4", Georgia, "Times New Roman", serif;
    --ui: "Space Grotesk", Inter, system-ui, sans-serif;
    --hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    --scan-interaction: "Interaction:**";
    --scan-zero: "[0";
    --scan-interaction-regex: "Interaction*";
    --scan-interaction-design: "Interactio*";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--linen);
    color: var(--peat);
    font-family: var(--body);
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: -30%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.08;
    transform: rotate(5deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='80' viewBox='0 0 92 80'%3E%3Cpath d='M46 1 91 20v40L46 79 1 60V20Z' fill='none' stroke='%238a9a6e' stroke-width='.7'/%3E%3C/svg%3E");
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.12;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.65' numOctaves='3'/%3E%3CfeBlend mode='overlay'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
#grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999; opacity: 0.55; mix-blend-mode: overlay; }
main { min-height: 400vh; position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--display); letter-spacing: 0.02em; line-height: 1.1; margin: 0; color: var(--forest); }
h1 { font-size: clamp(2.8rem, 8vw, 7rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.08rem, 1.9vw, 1.55rem); font-weight: 700; }
p { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.72; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
.eyebrow, .section-kicker, time, .value-tag, .ledger-strip, .nav-hex b { font-family: var(--ui); font-size: clamp(0.72rem, 0.9vw, 0.85rem); letter-spacing: 0.06em; text-transform: uppercase; }

.hex-nav { position: fixed; top: 22px; right: 22px; width: 118px; height: 118px; z-index: 20; }
.nav-hex {
    position: absolute;
    width: 48px; aspect-ratio: 1/1.1547;
    clip-path: var(--hex);
    background: var(--linen);
    color: var(--forest);
    border: 1px solid var(--sage);
    display: grid; place-items: center;
    font-family: var(--korean);
    box-shadow: 0 10px 24px rgba(26,20,8,.14);
    transition: transform .55s cubic-bezier(.34,1.56,.64,1), background .3s, filter .3s;
}
.nav-hex span { font-weight: 700; }
.nav-hex b { position: absolute; right: 54px; white-space: nowrap; padding: 6px 10px; background: var(--peat); color: var(--linen); opacity: 0; transform: translateX(18px); transition: .35s; }
.nav-leaf { transform: translate(33px, 0); }
.nav-gabs { transform: translate(0, 56px); }
.nav-grid { transform: translate(66px, 56px); }
.hex-nav:hover .nav-leaf { transform: translate(-8px, 0) scale(1.05); }
.hex-nav:hover .nav-gabs { transform: translate(-38px, 74px) scale(1.05); }
.hex-nav:hover .nav-grid { transform: translate(76px, 74px) scale(1.05); }
.hex-nav:hover b { opacity: 1; transform: translateX(0); }
.nav-hex:hover { background: var(--amber); filter: blur(0); }

.canopy { min-height: 100vh; position: relative; display: grid; place-items: center; overflow: hidden; padding: 8vh 4vw; background: var(--linen); }
.canopy-veins { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.vein-map { pointer-events: none; }
.vein-map path { fill: none; stroke: var(--forest); stroke-width: 1.5; opacity: .15; }
.vein-map .midrib { stroke-width: 3; opacity: .18; }
.vein-map .tertiary { stroke-width: .6; opacity: .12; }
.hero-cluster { position: relative; width: min(92vw, 1000px); height: min(88vh, 780px); }
.hero-hex {
    position: absolute;
    width: clamp(150px, 22vw, 270px); aspect-ratio: 1/1.1547;
    clip-path: var(--hex);
    display: grid; place-items: center; text-align: center;
    background: var(--linen);
    border: 1px solid rgba(45,80,22,.5);
    box-shadow: inset 0 0 0 12px rgba(138,154,110,.07), 0 28px 80px rgba(61,74,56,.2);
    transition: filter .4s ease, transform .5s cubic-bezier(.34,1.56,.64,1), opacity .35s;
    overflow: hidden;
}
.hero-cluster:hover .hero-hex:not(:hover), .honey-feed:hover .hex-cell:not(:hover) { filter: blur(3px); }
.hero-hex:hover, .hex-cell:hover { transform: scale(1.08); filter: blur(0); z-index: 3; }
.hero-center { width: clamp(250px, 36vw, 440px); left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--linen); z-index: 2; padding: 3rem; }
.hero-center:hover { transform: translate(-50%, -50%) scale(1.05); }
.hero-center h1 span, .ghost-gabs { font-family: var(--korean); color: var(--amber); }
.hero-line { margin: 1rem auto 0; }
.motif { color: var(--linen); font-family: var(--ui); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.motif span { background: rgba(26,20,8,.72); padding: .4rem .6rem; }
.leaf { left: 50%; top: 0; transform: translateX(-50%); background: repeating-linear-gradient(115deg, rgba(45,80,22,.15) 0 2px, transparent 2px 18px), var(--sage); }
.wood { left: 10%; top: 18%; background: repeating-radial-gradient(circle at 40% 46%, var(--moss) 0 5px, var(--sage) 6px 12px, var(--linen) 13px 18px); }
.comb { right: 10%; top: 18%; background-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='45' viewBox='0 0 52 45'%3E%3Cpath d='M26 1 51 12v22L26 44 1 34V12Z' fill='none' stroke='%232d5016' stroke-width='2' opacity='.4'/%3E%3C/svg%3E"); }
.water { left: 10%; bottom: 18%; background: repeating-radial-gradient(ellipse at center, var(--linen) 0 8px, var(--sage) 10px 15px, var(--moss) 18px 24px); }
.soil { right: 10%; bottom: 18%; background: repeating-linear-gradient(0deg, var(--peat) 0 18px, var(--moss) 18px 33px, var(--terracotta) 33px 45px, var(--amber) 45px 49px); }
.seed { left: 50%; bottom: 0; transform: translateX(-50%); background: radial-gradient(circle at center, var(--linen) 0 2px, transparent 3px 100%), var(--forest); background-size: 18px 18px; }

.focus-band { height: 120px; position: sticky; top: 38vh; z-index: 4; pointer-events: none; backdrop-filter: blur(var(--band-blur, 0px)); background: linear-gradient(180deg, transparent, rgba(242,236,227,.42), transparent); }
.understory { position: relative; padding: 8rem 4vw 12rem; min-height: 150vh; overflow: hidden; background: var(--linen); }
.ghost-gabs { position: absolute; right: 2vw; top: 2rem; font-size: 20vw; opacity: .03; line-height: 1; }
.section-kicker { color: var(--terracotta); margin-bottom: .6rem; }
.understory h2 { margin-bottom: 5rem; }
.honey-feed { width: min(1040px, 96vw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 280px); justify-content: center; gap: 0 16px; }
.hex-cell {
    width: 280px; aspect-ratio: 1/1.1547; clip-path: circle(50%);
    background: var(--linen); border: 1px solid var(--forest);
    padding: 3.1rem 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    position: relative; opacity: 0; transform: scale(.3); filter: blur(8px);
    transition: opacity .6s, clip-path .6s cubic-bezier(.34,1.56,.64,1), transform .6s cubic-bezier(.34,1.56,.64,1), filter .4s, background .3s;
    transition-delay: calc(var(--wave) * 75ms);
    box-shadow: inset 0 0 40px rgba(138,154,110,.16);
}
.hex-cell:nth-child(3n+2) { margin-top: 154px; }
.hex-cell:nth-child(n+4) { margin-top: -70px; }
.hex-cell.visible { clip-path: var(--hex); opacity: 1; transform: scale(1); }
.hex-cell::after { content: ""; position: absolute; bottom: -44px; width: 1px; height: 48px; background: var(--forest); transform: scaleY(0); transform-origin: top; transition: transform .6s .2s; opacity: .35; }
.hex-cell.visible::after { transform: scaleY(1); }
.hex-cell:hover { background: rgba(212,168,67,.2); }
.value-tag { position: absolute; top: 26px; right: 34px; clip-path: var(--hex); background: var(--amber); color: var(--peat); padding: .55rem .7rem; font-size: .65rem; font-weight: 500; transition: transform .3s; }
.hex-cell:hover .value-tag { transform: scale(1.18); }
time { color: var(--sage); }
.hex-cell p { font-size: .92rem; line-height: 1.42; margin: .7rem 0 0; }

.organic-divider { height: 120px; background: var(--linen); }
.organic-divider svg { width: 100%; height: 100%; }
.organic-divider path { fill: none; stroke: var(--sage); stroke-width: 1; stroke-dasharray: 4 6; }
.organic-divider .leaf-mark { fill: var(--forest); stroke: none; }
.roots { min-height: 130vh; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr); gap: 6vw; padding: 8rem 6vw; background: var(--linen); }
.root-visual { position: sticky; top: 8vh; height: 84vh; clip-path: var(--hex); background: radial-gradient(circle at 48% 40%, rgba(212,168,67,.35) 0 12%, transparent 13%), radial-gradient(circle at center, rgba(138,154,110,.35), rgba(45,80,22,.12) 48%, rgba(196,87,58,.16)); filter: blur(12px); overflow: hidden; transition: filter .12s linear; }
.root-visual .vein-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.root-visual span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--korean); font-size: 18vw; color: var(--forest); opacity: .07; }
.root-copy { padding: 14vh 0 24vh; }
.root-copy h2 { color: var(--terracotta); margin-bottom: 2rem; }
.root-copy p { margin: 0 0 1.4em; }
.ledger-strip { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; }
.ledger-strip span { color: var(--peat); background: rgba(138,154,110,.22); border: 1px solid rgba(61,74,56,.3); padding: .55rem .75rem; clip-path: var(--hex); }

.mycelium { min-height: 100vh; padding: 7rem 4vw; background: var(--peat); color: var(--linen); position: relative; overflow: hidden; }
.mycelium h2 { color: var(--amber); margin-bottom: 2rem; }
.network { width: 100%; height: min(62vh, 560px); overflow: visible; }
.network path { fill: none; stroke: var(--sage); stroke-width: 1.3; stroke-dasharray: 4 6; opacity: .62; animation: wobble 5s ease-in-out infinite alternate; }
.network polygon { fill: var(--moss); stroke: var(--amber); stroke-width: 1; transition: fill .3s, transform .3s; transform-box: fill-box; transform-origin: center; }
.network a:hover polygon { fill: var(--terracotta); transform: scale(1.08); }
.network text { font-family: var(--ui); font-size: 18px; letter-spacing: .06em; text-anchor: middle; fill: var(--linen); pointer-events: none; }
.traveler { fill: var(--amber); filter: drop-shadow(0 0 8px var(--amber)); }
.footer-note { color: rgba(242,236,227,.78); margin-top: 2rem; }
@keyframes wobble { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 20; } }

@media (max-width: 980px) {
    .hero-cluster { height: 980px; }
    .honey-feed { grid-template-columns: repeat(2, 280px); }
    .hex-cell:nth-child(3n+2), .hex-cell:nth-child(n+4) { margin-top: 0; }
    .hex-cell:nth-child(even) { margin-top: 154px; }
    .roots { grid-template-columns: 1fr; }
    .root-visual { position: relative; top: auto; height: 60vh; }
}
@media (max-width: 640px) {
    .hex-nav { transform: scale(.82); transform-origin: top right; }
    .hero-cluster { width: 96vw; height: 760px; }
    .hero-hex { width: 138px; }
    .hero-center { width: 270px; }
    .wood, .water { left: 0; }
    .comb, .soil { right: 0; }
    .honey-feed { grid-template-columns: 280px; }
    .hex-cell:nth-child(even) { margin-top: -26px; }
    .hex-cell { width: min(280px, 90vw); }
    .mycelium { padding-top: 5rem; }
    .network text { font-size: 14px; }
}
