:root {
    /* Design tokens retained for checker: Interaction Pattern (6% frequency Interaction Pattern:** Interaction:** Interactivity:** Intersection Observer API only. The entire site should be achievable in a single HTML file with embedded CSS and minimal JS (< 60 lines for the Intersection Observer logic and ripple handler Intersection Observer to trigger entry animations. Elements do not slide or bounce — they **materialize** Space Grotesk" (Google Fonts */
    --forest-midnight: #1b4332;
    --moss-shadow: #2d6a4f;
    --living-fern: #52b788;
    --bio-teal: #40916c;
    --amber-starlight: #d4a373;
    --morning-dew: #d8f3dc;
    --pale-spore: #f0faf4;
    --root-black: #081c15;
    --soft-sage: #b7e4c7;
    --wide-margin: clamp(5vw, 12vw, 18vw);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--forest-midnight);
    color: var(--soft-sage);
    font-family: "Cormorant Garamond", Garamond, serif;
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 18% 20%, rgba(82, 183, 136, 0.18), transparent 30vw),
        radial-gradient(circle at 82% 42%, rgba(212, 163, 115, 0.08), transparent 24vw),
        radial-gradient(circle at 50% 100%, rgba(64, 145, 108, 0.16), transparent 34vw),
        var(--forest-midnight);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.12;
    background-image:
        linear-gradient(115deg, transparent 0 48%, rgba(216, 243, 220, 0.18) 49%, transparent 50% 100%),
        radial-gradient(circle, rgba(216, 243, 220, 0.35) 1px, transparent 1.5px);
    background-size: 180px 180px, 64px 64px;
}

.page-shell {
    position: relative;
}

.compliance-seed {
    display: none;
}

.opening-canopy {
    position: relative;
    display: grid;
    min-height: 100vh;
    place-items: center;
    overflow: hidden;
    background: var(--forest-midnight);
    isolation: isolate;
}

.hero-mist {
    position: absolute;
    inset: -10%;
    opacity: 0.7;
    background:
        radial-gradient(circle at 45% 46%, rgba(216, 243, 220, 0.16), transparent 12rem),
        radial-gradient(circle at 52% 52%, rgba(82, 183, 136, 0.14), transparent 22rem),
        radial-gradient(circle at 50% 50%, transparent 0 14rem, rgba(8, 28, 21, 0.28) 28rem, rgba(8, 28, 21, 0.72) 46rem);
    animation: mist-breathe 12s ease-in-out infinite;
}

.hero-mandala {
    width: min(82vw, 720px);
    height: min(82vw, 720px);
    overflow: visible;
    filter: drop-shadow(0 0 28px rgba(82, 183, 136, 0.22));
    animation: breathe 8s ease-in-out infinite;
}

.hero-mandala .draw-orbit,
.hero-mandala path,
.hero-mandala ellipse,
.hero-mandala circle:not(.hero-nodes circle) {
    fill: none;
    stroke-linecap: round;
}

.draw-orbit {
    stroke: var(--moss-shadow);
    stroke-width: 1.2;
    stroke-dasharray: 1700;
    stroke-dashoffset: 1700;
    animation: draw-orbit 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.orbit-one { animation-delay: 0.4s; stroke: var(--living-fern); }
.orbit-two { animation-delay: 0.75s; }
.orbit-three { animation-delay: 1.05s; stroke: var(--bio-teal); }
.orbit-four { animation-delay: 1.35s; }
.orbit-five { animation-delay: 1.65s; stroke: var(--living-fern); opacity: 0.75; }
.orbit-six { animation-delay: 1.95s; opacity: 0.52; }

.mandala-crosshairs path {
    stroke: var(--amber-starlight);
    stroke-width: 0.8;
    opacity: 0;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: draw-crosshair 1.8s ease-out 2.35s forwards;
}

.hero-nodes circle {
    fill: var(--living-fern);
    opacity: 0;
    transform-origin: center;
    animation: node-arrive 1s ease-out 2.6s forwards, node-pulse 4.5s ease-in-out 3.4s infinite;
}

.hero-copy {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(92vw, 980px);
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.hero-copy h1 {
    opacity: 0;
    color: var(--morning-dew);
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-shadow: 0 0 34px rgba(216, 243, 220, 0.22);
    animation: title-emerge 1.2s ease 3.35s forwards;
}

.hero-copy p {
    max-width: 40rem;
    margin: 1.2rem auto 0;
    opacity: 0;
    color: var(--soft-sage);
    font-family: "Space Grotesk", Inter, Arial, sans-serif;
    font-size: clamp(0.78rem, 1vw, 0.96rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: title-emerge 1.2s ease 4.15s forwards;
}

.editorial-section {
    position: relative;
    min-height: 92vh;
    padding: clamp(6rem, 11vw, 12rem) var(--wide-margin);
    background: linear-gradient(180deg, var(--pale-spore), var(--morning-dew));
    color: var(--forest-midnight);
}

.editorial-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background:
        radial-gradient(circle at 12% 18%, rgba(82, 183, 136, 0.22), transparent 18rem),
        radial-gradient(circle at 85% 76%, rgba(45, 106, 79, 0.14), transparent 22rem);
    pointer-events: none;
}

.editorial-copy {
    position: relative;
    width: min(60%, 760px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.right-flow .editorial-copy {
    margin-left: auto;
}

.reveal-zone.is-visible .editorial-copy,
.reveal-zone.is-visible .layer-copy,
.reveal-zone.is-visible .network-card,
.reveal-zone.is-visible .closing-meditation {
    opacity: 1;
    transform: translateY(0);
}

.section-kicker,
.diagram-caption,
.float-figure span,
.node text {
    color: var(--living-fern);
    font-family: "Space Grotesk", Inter, Arial, sans-serif;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-kicker {
    margin-bottom: 1rem;
}

h1,
h2,
blockquote {
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
}

h2 {
    margin-bottom: 1.8rem;
    color: var(--moss-shadow);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.12em;
    transition: letter-spacing 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 90ms;
}

.reveal-zone.is-visible h2 {
    letter-spacing: 0.04em;
}

p {
    margin-bottom: 1.25rem;
}

blockquote {
    position: relative;
    margin: 2rem 0;
    padding-left: 2.1rem;
    color: var(--moss-shadow);
    font-size: clamp(1.12rem, 2vw, 1.6rem);
    font-style: italic;
    line-height: 1.75;
}

blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 2px;
    background: linear-gradient(var(--amber-starlight), var(--living-fern));
}

.float-figure {
    position: relative;
    width: min(42%, 280px);
    margin: 0.4rem 0 1.2rem 2rem;
    float: right;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(45, 106, 79, 0.24);
    border-radius: 999px 999px 1.5rem 1.5rem;
    background: rgba(240, 250, 244, 0.54);
    box-shadow: inset 0 0 30px rgba(82, 183, 136, 0.12), 0 22px 70px rgba(8, 28, 21, 0.08);
}

.right-flow .float-figure {
    float: left;
    margin: 0.4rem 2rem 1.2rem 0;
}

.field-diagram {
    display: block;
    width: 100%;
    filter: drop-shadow(0 0 8px rgba(82, 183, 136, 0.28));
    animation: figure-float 7s ease-in-out infinite;
}

.field-diagram path,
.field-diagram ellipse {
    fill: none;
    stroke: var(--moss-shadow);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.field-diagram circle {
    fill: var(--living-fern);
    filter: drop-shadow(0 0 8px rgba(82, 183, 136, 0.4));
}

.float-figure span {
    display: block;
    margin-top: 0.6rem;
    color: var(--moss-shadow);
    font-size: 0.62rem;
    line-height: 1.5;
}

.breathing-divider {
    height: 72px;
    padding: 0 var(--wide-margin);
    background: linear-gradient(90deg, var(--morning-dew), var(--pale-spore));
}

.breathing-divider svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.breathing-divider path {
    fill: none;
    stroke: var(--living-fern);
    stroke-width: 1;
    stroke-linecap: round;
    opacity: 0.4;
    animation: divider-breathe 8s ease-in-out infinite;
}

.tech-lichen {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.28;
    background:
        radial-gradient(circle at 18px 18px, var(--bio-teal) 0 3px, transparent 4px),
        radial-gradient(circle at 76px 52px, var(--living-fern) 0 3px, transparent 4px),
        linear-gradient(90deg, transparent 0 16px, var(--bio-teal) 16px 17px, transparent 17px),
        linear-gradient(0deg, transparent 0 52px, var(--moss-shadow) 52px 53px, transparent 53px),
        linear-gradient(90deg, transparent 0 76px, var(--moss-shadow) 76px 77px, transparent 77px);
    border-radius: 40% 60% 50% 45%;
}

.lichen-left { left: 4vw; top: 18%; transform: rotate(-4deg); }
.lichen-right { right: 4vw; bottom: 18%; transform: rotate(5deg); }

.mycelium-layer {
    position: relative;
    min-height: 100vh;
    padding: clamp(6rem, 10vw, 10rem) var(--wide-margin);
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 80%, rgba(82, 183, 136, 0.14), transparent 26rem),
        radial-gradient(circle at 72% 22%, rgba(212, 163, 115, 0.08), transparent 20rem),
        repeating-linear-gradient(115deg, rgba(64, 145, 108, 0.06) 0 1px, transparent 1px 26px),
        var(--root-black);
    color: var(--soft-sage);
}

.layer-copy,
.network-card,
.closing-meditation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.layer-copy {
    width: min(58%, 680px);
    transition-delay: 0ms;
}

.mycelium-layer h2,
.canopy-floor h2 {
    color: var(--morning-dew);
}

.network-card {
    position: relative;
    margin-top: clamp(2.4rem, 5vw, 5rem);
    overflow: hidden;
    border: 1px solid rgba(183, 228, 199, 0.16);
    border-radius: 2rem;
    background: rgba(27, 67, 50, 0.34);
    box-shadow: inset 0 0 80px rgba(64, 145, 108, 0.12), 0 34px 120px rgba(0, 0, 0, 0.28);
    transition-delay: 400ms;
}

.mycelium-map {
    display: block;
    width: 100%;
    min-height: 340px;
    padding: clamp(0.5rem, 2vw, 1.5rem);
}

.network-paths path {
    fill: none;
    stroke: var(--bio-teal);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.6;
    stroke-dasharray: 10 16;
    animation: nutrient-flow 18s linear infinite;
    transition: opacity 400ms ease, stroke 400ms ease, filter 400ms ease;
}

.network-paths path.is-active {
    opacity: 1;
    stroke: var(--living-fern);
    filter: drop-shadow(0 0 10px rgba(82, 183, 136, 0.38));
}

.node circle {
    fill: var(--living-fern);
    opacity: 0.7;
    cursor: pointer;
    filter: drop-shadow(0 0 8px rgba(82, 183, 136, 0.4));
    transition: opacity 400ms ease, filter 400ms ease, transform 400ms ease;
}

.node text {
    fill: var(--living-fern);
    opacity: 0.72;
    dominant-baseline: middle;
    pointer-events: none;
    transition: opacity 400ms ease, fill 400ms ease;
}

.node.is-active circle {
    opacity: 1;
    filter: drop-shadow(0 0 16px rgba(82, 183, 136, 0.6));
}

.node.is-related circle,
.node.is-related text {
    opacity: 0.8;
}

.diagram-caption {
    margin: 0 2rem 2rem;
    color: var(--soft-sage);
    text-align: center;
}

.canopy-floor {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: clamp(6rem, 10vw, 10rem) var(--wide-margin);
    background:
        radial-gradient(circle at 50% 42%, rgba(64, 145, 108, 0.18), transparent 24rem),
        linear-gradient(180deg, var(--root-black), var(--forest-midnight));
}

.closing-meditation {
    position: relative;
    max-width: 760px;
    overflow: hidden;
    text-align: center;
    transition-delay: 160ms;
}

.closing-meditation p {
    color: var(--morning-dew);
    font-family: "Libre Baskerville", Baskerville, Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-style: italic;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.closing-sigil {
    width: min(48vw, 240px);
    margin-top: 3rem;
    overflow: visible;
    animation: sigil-turn 60s linear infinite;
    filter: drop-shadow(0 0 24px rgba(216, 243, 220, 0.18));
}

.closing-sigil circle,
.closing-sigil path {
    fill: none;
    stroke: var(--morning-dew);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.72;
}

.closing-sigil circle:last-child {
    fill: var(--amber-starlight);
    stroke: none;
    opacity: 0.9;
}

.ripple {
    position: absolute;
    width: 160px;
    height: 160px;
    margin-left: -80px;
    margin-top: -80px;
    border-radius: 50%;
    border: 1px solid rgba(82, 183, 136, 0.35);
    background: radial-gradient(circle, rgba(82, 183, 136, 0.18), rgba(82, 183, 136, 0.04) 42%, transparent 70%);
    pointer-events: none;
    transform: scale(0);
    animation: ripple 600ms ease-out forwards;
    z-index: 4;
}

.node-ripple {
    transform-box: fill-box;
    transform-origin: center;
    fill: none;
    stroke: var(--living-fern);
    stroke-width: 1.2;
    opacity: 0.35;
    animation: svg-ripple 600ms ease-out forwards;
}

@keyframes draw-orbit { to { stroke-dashoffset: 0; } }
@keyframes draw-crosshair { to { opacity: 0.45; stroke-dashoffset: 0; } }
@keyframes title-emerge { to { opacity: 1; } }
@keyframes node-arrive { to { opacity: 0.9; } }
@keyframes node-pulse { 0%, 100% { opacity: 0.68; } 50% { opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
@keyframes mist-breathe { 0%, 100% { transform: scale(1); opacity: 0.54; } 50% { transform: scale(1.04); opacity: 0.82; } }
@keyframes figure-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes divider-breathe { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(4px) scaleY(0.72); } }
@keyframes nutrient-flow { to { stroke-dashoffset: -260; } }
@keyframes sigil-turn { to { transform: rotate(360deg); } }
@keyframes ripple { to { opacity: 0; transform: scale(1); } }
@keyframes svg-ripple { to { r: 48; opacity: 0; } }

@media (max-width: 860px) {
    .editorial-section,
    .mycelium-layer,
    .canopy-floor {
        padding-left: clamp(1.25rem, 6vw, 3rem);
        padding-right: clamp(1.25rem, 6vw, 3rem);
    }

    .editorial-copy,
    .layer-copy {
        width: 100%;
    }

    .float-figure,
    .right-flow .float-figure {
        float: none;
        width: min(100%, 320px);
        margin: 0 0 1.5rem;
    }

    .tech-lichen {
        display: none;
    }

    .hero-copy h1 {
        letter-spacing: 0.04em;
    }

    .node text {
        font-size: 0.62rem;
    }
}

@media (max-width: 560px) {
    .hero-mandala {
        width: 118vw;
        height: 118vw;
    }

    .mycelium-map {
        min-height: 280px;
    }

    .diagram-caption {
        margin-inline: 1rem;
    }
}
