/* ============================================================
   PPUZZL.win (v2) — Zen Circuitry Reading Garden
   Palette: Cypress Black, Forest Slate, Rice Paper, Jade Mint,
            Copper Trace, Lantern Yellow
   Type:    Big Shoulders Display (kinetic), Inter (body)
   ============================================================ */

:root {
    --cypress: #0F1A14;
    --forest: #1B2D24;
    --rice: #E8DDC9;
    --jade: #9DC4A8;
    --copper: #C97A4B;
    --lantern: #FFCB6B;

    --rice-50: rgba(232, 221, 201, 0.5);
    --rice-70: rgba(232, 221, 201, 0.7);
    --rice-30: rgba(232, 221, 201, 0.3);
    --rice-15: rgba(232, 221, 201, 0.15);
    --copper-30: rgba(201, 122, 75, 0.3);
    --copper-50: rgba(201, 122, 75, 0.5);
    --copper-15: rgba(201, 122, 75, 0.15);
    --jade-40: rgba(157, 196, 168, 0.4);
    --lantern-40: rgba(255, 203, 107, 0.4);
    --cypress-90: rgba(15, 26, 20, 0.9);
    --cypress-70: rgba(15, 26, 20, 0.7);
    --forest-80: rgba(27, 45, 36, 0.8);

    --font-kinetic: "Big Shoulders Display", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-mono: "Space Mono", "Inter", monospace;
}

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

html {
    scroll-behavior: smooth;
    background: var(--cypress);
}

body {
    background: var(--cypress);
    color: var(--rice);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--copper);
    color: var(--cypress);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    width: 36px;
    height: 36px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out;
    will-change: transform;
    mix-blend-mode: normal;
}
.cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--copper);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 1px solid var(--copper);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    animation: cursorBreathe 12s ease-in-out infinite;
}
@keyframes cursorBreathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50%      { transform: translate(-50%, -50%) scale(1.4); opacity: 0.35; }
}
.cursor.is-hover .cursor-ring {
    width: 44px;
    height: 44px;
    border-color: var(--lantern);
}
.cursor.is-hover .cursor-dot {
    background: var(--lantern);
}

@media (hover: none) {
    body { cursor: auto; }
    .cursor { display: none; }
}

/* ============================================================
   LANTERN RAIL (right side indicator)
   ============================================================ */
.lantern-rail {
    position: fixed;
    top: 0;
    right: 3vw;
    height: 100vh;
    width: 60px;
    z-index: 60;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lantern-line {
    position: absolute;
    top: 12vh;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--copper-30) 8%,
        var(--copper-30) 92%,
        transparent 100%
    );
}
.lantern-stops {
    position: absolute;
    top: 12vh;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}
.lantern-stop {
    width: 10px;
    height: 10px;
    border: 1px solid var(--copper-50);
    border-radius: 50%;
    background: var(--cypress);
    cursor: none;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    position: relative;
}
.lantern-stop::before {
    content: attr(data-label);
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--rice-30);
    opacity: 0;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}
.lantern-stop:hover::before { opacity: 1; }
.lantern-stop.is-active {
    background: var(--copper);
    border-color: var(--copper);
    transform: scale(1.3);
}

.lantern {
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translate(-50%, 0);
    width: 36px;
    height: 48px;
    pointer-events: auto;
    cursor: none;
    transform-origin: top center;
    will-change: transform, top;
    transition: top 0.6s cubic-bezier(.4, 0, .2, 1);
}
.lantern-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 6px var(--lantern-40));
    animation: lanternSway 4s ease-in-out infinite;
}
@keyframes lanternSway {
    0%, 100% { transform: rotate(-2deg); }
    50%      { transform: rotate(2deg); }
}

/* ============================================================
   GARDEN HEADER (top fixed)
   ============================================================ */
.garden-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 5vw;
    background: linear-gradient(180deg, var(--cypress) 0%, rgba(15, 26, 20, 0.85) 60%, transparent 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.5s cubic-bezier(.7, 0, .2, 1);
}
.garden-header__brand {
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: 20px;
    color: var(--rice);
    letter-spacing: 0.02em;
    text-transform: lowercase;
}
.garden-header__brand .brand-dot {
    color: var(--copper);
}
.garden-header__nav {
    display: flex;
    gap: 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.04em;
}
.garden-header__nav a {
    color: var(--rice-70);
    transition: color 0.4s ease;
    position: relative;
    padding: 6px 0;
}
.garden-header__nav a .num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--copper);
    margin-right: 6px;
    letter-spacing: 0.15em;
}
.garden-header__nav a:hover {
    color: var(--rice);
}
.garden-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--copper);
    transition: width 0.4s ease;
}
.garden-header__nav a:hover::after { width: 100%; }

/* ============================================================
   MAIN — Reading Garden
   ============================================================ */
.reading-garden {
    position: relative;
}

.section {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}
.section--approach { min-height: 100vh; padding: 0 5vw; }
.section--hall     { min-height: 100vh; padding: 12vh 5vw; }
.section--stones   { min-height: 130vh; padding: 16vh 5vw; }
.section--long     { padding: 16vh 5vw; }
.section--garden   { min-height: 80vh; padding: 14vh 5vw 10vh; }

/* ============================================================
   PARALLAX LAYERS
   ============================================================ */
.parallax-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
}
.parallax-layer--bg   { z-index: 0; }
.parallax-layer--mid  { z-index: 2; }
.parallax-layer--fore { z-index: 3; position: relative; }

/* Photographs — duotone-styled CSS gradient stand-ins */
.photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    will-change: transform;
    animation: photoZoom 240s linear infinite;
}
@keyframes photoZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.12); }
}
.photo--stone {
    background:
        radial-gradient(ellipse 60% 40% at 50% 65%, var(--forest) 0%, var(--cypress) 60%, transparent 100%),
        radial-gradient(circle at 50% 60%, var(--copper) 0%, transparent 25%),
        radial-gradient(circle at 50% 55%, var(--rice-30) 0%, transparent 8%),
        radial-gradient(circle at 50% 56%, var(--cypress) 0%, transparent 18%),
        repeating-radial-gradient(circle at 50% 65%, var(--cypress) 0px, var(--forest) 1px, var(--cypress) 2px, var(--cypress) 28px),
        linear-gradient(180deg, var(--cypress) 0%, #0a130f 50%, var(--cypress) 100%);
}
.photo--cypress {
    background:
        repeating-linear-gradient(90deg, transparent 0px, transparent 38px, rgba(201, 122, 75, 0.06) 38px, rgba(201, 122, 75, 0.06) 42px),
        repeating-linear-gradient(0deg, var(--cypress) 0px, var(--cypress) 80px, var(--forest) 80px, var(--forest) 84px),
        linear-gradient(135deg, #1a2a20 0%, var(--cypress) 50%, #0a130f 100%);
}
.photo--sand {
    background:
        radial-gradient(ellipse 35% 25% at 70% 35%, var(--forest) 0%, transparent 60%),
        radial-gradient(ellipse 25% 20% at 25% 75%, var(--forest) 0%, transparent 60%),
        radial-gradient(circle at 70% 35%, rgba(201, 122, 75, 0.15) 0%, transparent 15%),
        linear-gradient(150deg, #16241c 0%, var(--cypress) 50%, #0a130f 100%);
}
.photo--koi {
    background:
        radial-gradient(ellipse 40% 30% at 30% 60%, rgba(201, 122, 75, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 25% 18% at 75% 40%, rgba(157, 196, 168, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 50% 50%, var(--forest) 0%, var(--cypress) 80%),
        linear-gradient(0deg, var(--cypress) 0%, #1a2a20 50%, var(--cypress) 100%);
}

.duotone-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 26, 20, 0.6) 0%, rgba(15, 26, 20, 0.4) 50%, rgba(15, 26, 20, 0.85) 100%),
        radial-gradient(ellipse at center, transparent 0%, var(--cypress) 130%);
    mix-blend-mode: multiply;
}
.duotone-veil--soft {
    background: linear-gradient(180deg, rgba(15, 26, 20, 0.5) 0%, rgba(15, 26, 20, 0.2) 50%, rgba(15, 26, 20, 0.9) 100%);
}

/* Floor traces on Hall section */
.floor-traces {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
    mix-blend-mode: screen;
}

/* Bamboo shadows for Long section */
.bamboo-shadow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.bamboo {
    position: absolute;
    top: -10%;
    width: 3px;
    height: 120%;
    background: linear-gradient(180deg, transparent 0%, var(--cypress-90) 20%, var(--cypress-90) 80%, transparent 100%);
    opacity: 0.35;
    transform-origin: top center;
    animation: bambooSway 12s ease-in-out infinite;
}
.bamboo--1 { left: 8%;  animation-delay: 0s;    transform: rotate(-2deg); }
.bamboo--2 { left: 22%; animation-delay: -2s;   transform: rotate(1deg);  width: 4px; }
.bamboo--3 { left: 38%; animation-delay: -4s;   transform: rotate(-1deg); }
.bamboo--4 { left: 64%; animation-delay: -6s;   transform: rotate(2deg);  width: 5px; }
.bamboo--5 { left: 78%; animation-delay: -8s;   transform: rotate(-1.5deg); }
.bamboo--6 { left: 92%; animation-delay: -10s;  transform: rotate(1.5deg); width: 4px; }
@keyframes bambooSway {
    0%, 100% { transform: rotate(-2deg) translateX(-4px); }
    50%      { transform: rotate(2deg)  translateX(4px);  }
}

/* Ripples in Garden section */
.ripples {
    position: absolute;
    inset: 0;
}
.ripple {
    position: absolute;
    top: 60%;
    left: 30%;
    width: 80px;
    height: 80px;
    border: 1px solid var(--jade-40);
    border-radius: 50%;
    opacity: 0;
    animation: rippleOut 8s ease-out infinite;
}
.ripple--2 { top: 45%; left: 70%; animation-delay: -2.5s; }
.ripple--3 { top: 75%; left: 50%; animation-delay: -5s;   }
@keyframes rippleOut {
    0%   { transform: scale(0.2); opacity: 0.7; }
    100% { transform: scale(5);   opacity: 0;   }
}

/* Rake lines on Stones section */
.rake-lines {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 14px,
            rgba(232, 221, 201, 0.04) 14px,
            rgba(232, 221, 201, 0.04) 15px
        );
    opacity: 0.6;
}

/* Kanji background glyph */
.kanji-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: 60vw;
    line-height: 1;
    color: var(--rice);
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
    transition: opacity 1.2s ease;
}
.section.is-visible .kanji-bg {
    opacity: 0.06;
}

/* ============================================================
   SECTION 0 — APPROACH
   ============================================================ */
.section--approach {
    display: flex;
    align-items: center;
    justify-content: center;
}

.circuit-mandala {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75vmin;
    height: 75vmin;
    opacity: 0.55;
}
.circuit-mandala svg {
    width: 100%;
    height: 100%;
    animation: mandalaSpin 360s linear infinite;
}
@keyframes mandalaSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.approach-content {
    position: relative;
    z-index: 5;
    text-align: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

.section-marker {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 36px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
}
.section-marker--left { justify-content: flex-start; }
.marker-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-30) 40%, var(--copper-30) 60%, transparent);
    max-width: 200px;
}
.section-marker--left .marker-line:first-child { display: none; }
.section-marker--left .marker-line {
    max-width: 60px;
    margin-left: 16px;
}
.marker-num {
    white-space: nowrap;
}

.wordmark {
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: clamp(56px, 9vw, 160px);
    line-height: 0.95;
    color: var(--rice);
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
}
.wm-letter {
    display: inline-block;
    transform: translateY(60px) scaleY(0.6);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(.2, 1.2, .3, 1),
                opacity 0.6s ease;
    will-change: transform, opacity, letter-spacing;
    transform-origin: center center;
}
.wordmark.is-loaded .wm-letter {
    transform: translateY(0) scaleY(1);
    opacity: 1;
}
.wordmark.is-breathing .wm-letter {
    animation: letterBreathe 12s ease-in-out infinite;
}
@keyframes letterBreathe {
    0%, 100% { transform: scaleX(1) translateY(0); letter-spacing: 0.02em; }
    50%      { transform: scaleX(1.08) translateY(-2px); letter-spacing: 0.06em; }
}
.wm-letter--dot {
    color: var(--copper);
}

.approach-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.4vw, 19px);
    color: var(--rice-70);
    letter-spacing: 0.04em;
    margin-top: 8px;
    min-height: 1.5em;
}
.approach-subtitle-source { display: none; }
.approach-subtitle::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 1em;
    margin-left: 4px;
    background: var(--copper);
    vertical-align: middle;
    animation: caretBlink 1s steps(2, start) infinite;
}
.approach-subtitle.is-done::after { display: none; }
@keyframes caretBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.approach-glyph {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: 32vw;
    color: var(--rice);
    opacity: 0.025;
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.scroll-cue {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rice-50);
    z-index: 5;
}
.scroll-cue__line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--copper) 0%, transparent 100%);
    animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(1.3); }
}

/* ============================================================
   SECTION 1 — HALL OF TRACES
   ============================================================ */
.section--hall {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel {
    position: relative;
    z-index: 5;
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(27, 45, 36, 0.92) 0%, rgba(15, 26, 20, 0.96) 100%);
    border: 1px solid var(--copper-30);
    padding: 56px 56px 48px;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.panel::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 24px;
    height: 24px;
    border-top: 1px solid var(--copper);
    border-left: 1px solid var(--copper);
}
.panel::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 24px;
    height: 24px;
    border-bottom: 1px solid var(--copper);
    border-right: 1px solid var(--copper);
}

.kinetic-head {
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
    color: var(--rice);
    letter-spacing: 0.02em;
    margin: 18px 0 32px;
    text-transform: uppercase;
}
.kinetic-head span {
    display: inline-block;
    will-change: transform, letter-spacing;
    animation: headBreathe 12s ease-in-out infinite;
}
@keyframes headBreathe {
    0%, 100% { transform: scaleX(1); letter-spacing: 0.02em; }
    50%      { transform: scaleX(1.04); letter-spacing: 0.05em; }
}

.settle-text p {
    color: var(--rice);
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.75;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.7, 0, .2, 1);
    transition-delay: calc(var(--li, 0) * 100ms);
}
.section.is-visible .settle-text p {
    opacity: 1;
    transform: translateY(0);
}
.settle-text p:last-of-type { margin-bottom: 0; }

.panel-meta {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--copper-30);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rice-50);
}
.meta-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
}
.meta-divider {
    color: var(--rice-30);
    margin: 0 6px;
}

/* ============================================================
   SECTION 2 — STONE INDEX
   ============================================================ */
.stones-head {
    text-align: center;
    margin: 0 auto 56px;
    max-width: 720px;
    position: relative;
    z-index: 5;
}
.stones-sub {
    font-style: italic;
    color: var(--rice-70);
    max-width: 56ch;
    margin: 0 auto;
}

.stones-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 4vw;
}

.stone {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(157, 196, 168, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(201, 122, 75, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, var(--forest) 0%, var(--cypress) 100%);
    border: 1px solid var(--copper-30);
    padding: 38px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
    overflow: hidden;
    cursor: none;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}
.stone.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s ease,
                transform 0.8s cubic-bezier(.2, 1, .3, 1),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
    transition-delay: calc(var(--si, 0) * 80ms);
}

.stone-trace {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px dashed var(--copper-30);
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.6;
}
.stone-trace::before,
.stone-trace::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copper);
    opacity: 0.6;
}
.stone-trace::before { top: 8%; left: 50%; transform: translate(-50%, -50%); }
.stone-trace::after { bottom: 8%; left: 50%; transform: translate(-50%, 50%); }

.stone-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.stone-title {
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: clamp(20px, 1.8vw, 26px);
    color: var(--rice);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.stone-text {
    color: var(--rice-70);
    font-size: 14px;
    line-height: 1.6;
    max-width: 22ch;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.stone-glyph {
    position: absolute;
    bottom: 16%;
    right: 14%;
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: 56px;
    color: var(--rice);
    opacity: 0.08;
    line-height: 1;
    transition: opacity 0.5s ease, transform 0.6s ease;
    pointer-events: none;
}

.stone:hover {
    transform: translateY(-12px) rotate(-2deg) !important;
    border-color: var(--copper);
    box-shadow:
        0 24px 60px -20px rgba(201, 122, 75, 0.4),
        0 0 0 1px var(--copper-30),
        inset 0 0 40px rgba(201, 122, 75, 0.08);
}
.stone:hover .stone-trace {
    transform: rotate(8deg) scale(1.06);
    opacity: 1;
}
.stone:hover .stone-glyph {
    opacity: 0.3;
    transform: scale(1.1);
}

/* halo painted on sand below */
.stone::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: 50%;
    width: 120%;
    height: 60%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center top, rgba(201, 122, 75, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: -1;
}
.stone:hover::after { opacity: 1; }

/* ============================================================
   SECTION 3 — LONG READING
   ============================================================ */
.section--long {
    background: var(--cypress);
}

.long-wrap {
    position: relative;
    z-index: 5;
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 48px;
    align-items: start;
}

.long-essay {
    background: var(--forest-80);
    border-left: 1px solid var(--copper-30);
    padding: 64px 56px;
    max-width: 64ch;
}

.long-head {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--copper-30);
}
.long-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 12px;
}
.long-h1 {
    font-family: var(--font-kinetic);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.05;
    color: var(--rice);
    letter-spacing: 0.02em;
    text-transform: none;
    margin: 0 0 16px;
}
.long-byline {
    font-style: italic;
    color: var(--rice-50);
    font-size: 14px;
}

.long-lead {
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.6;
    color: var(--rice);
    font-style: italic;
    margin-bottom: 28px;
    padding-left: 16px;
    border-left: 2px solid var(--copper);
}
.long-essay p {
    color: var(--rice);
    margin-bottom: 22px;
    line-height: 1.8;
}
.long-essay em { color: var(--jade); font-style: italic; }

.long-quote {
    margin: 40px 0;
    padding: 32px 28px;
    background: var(--cypress-70);
    border: 1px solid var(--copper-30);
    position: relative;
    font-family: var(--font-kinetic);
    font-weight: 700;
}
.long-quote p {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.5;
    color: var(--rice);
    margin-bottom: 16px;
    position: relative;
    display: inline;
    background: linear-gradient(transparent 92%, var(--copper-50) 92%) no-repeat;
    background-size: 0% 100%;
    transition: background-size 1.6s ease;
    padding-bottom: 2px;
}
.long-quote.is-visible p {
    background-size: 100% 100%;
}
.long-quote cite {
    display: block;
    margin-top: 18px;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
}
.long-quote-underline { display: none; }

.fn-mark {
    color: var(--copper);
    font-family: var(--font-mono);
    font-size: 0.75em;
    cursor: none;
    transition: color 0.3s ease;
    padding: 0 2px;
}
.fn-mark:hover { color: var(--lantern); }

.long-foot {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--copper-30);
}

.marginalia {
    position: sticky;
    top: 14vh;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 92px;
}
.margin-note {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
    color: var(--rice-50);
    padding: 14px 16px;
    border-left: 1px solid var(--copper-30);
    background: rgba(15, 26, 20, 0.4);
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    cursor: none;
}
.margin-note:hover {
    background: rgba(255, 203, 107, 0.06);
    color: var(--lantern);
    border-color: var(--lantern);
}
.margin-num {
    color: var(--copper);
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-right: 4px;
}

/* ============================================================
   SECTION 4 — GARDEN DEPARTURE
   ============================================================ */
.garden-wrap {
    position: relative;
    z-index: 5;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}
.garden-sub {
    color: var(--rice-70);
    font-style: italic;
    max-width: 56ch;
    margin: 0 auto 56px;
}

.stepping-stones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    margin: 0 auto 80px;
    max-width: 900px;
}
.stepping-stone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: rgba(27, 45, 36, 0.6);
    border: 1px solid var(--copper-30);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--rice);
    cursor: none;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1),
                border-color 0.4s ease,
                background 0.4s ease,
                color 0.4s ease,
                box-shadow 0.4s ease;
}
.stepping-stone:hover {
    transform: translateY(-4px);
    border-color: var(--copper);
    background: rgba(201, 122, 75, 0.08);
    color: var(--rice);
    box-shadow: 0 10px 24px -16px rgba(201, 122, 75, 0.5);
}
.ss-num {
    color: var(--copper);
    font-family: var(--font-mono);
    font-size: 14px;
}
.stepping-stone--accent {
    background: rgba(255, 203, 107, 0.08);
    border-color: var(--lantern-40);
    color: var(--lantern);
}
.stepping-stone--accent:hover {
    background: rgba(255, 203, 107, 0.14);
    border-color: var(--lantern);
    color: var(--lantern);
    box-shadow: 0 10px 24px -16px rgba(255, 203, 107, 0.5);
}
.stepping-stone--accent .ss-num { color: var(--lantern); }

.garden-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    border-top: 1px solid var(--copper-30);
    padding-top: 36px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}
.gf-col p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--rice-70);
    line-height: 1.6;
    max-width: 38ch;
}

/* ============================================================
   FOOTNOTE EXPANDED CARD
   ============================================================ */
.fn-card {
    position: fixed;
    top: 50%;
    right: 5vw;
    transform: translate(120%, -50%);
    width: min(360px, 90vw);
    background: var(--rice);
    color: var(--cypress);
    border: 1px solid var(--copper);
    padding: 28px 28px 26px;
    z-index: 200;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}
.fn-card.is-open {
    transform: translate(0, -50%);
    opacity: 1;
    pointer-events: auto;
}
.fn-card .meta-label { color: var(--copper); }
.fn-card__body {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--cypress);
}
.fn-card__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--cypress);
    cursor: none;
    line-height: 1;
    padding: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .long-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .marginalia {
        position: relative;
        top: 0;
        padding-top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    .margin-note { flex: 1 1 260px; }
    .garden-header__nav { display: none; }
    .panel { padding: 40px 28px 32px; }
    .long-essay { padding: 40px 28px; }
    .lantern-rail { right: 1.5vw; width: 40px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .section--approach { min-height: 100vh; padding: 0 5vw; }
    .stones-grid { grid-template-columns: 1fr; gap: 32px; padding: 0; }
    .stone { max-width: 320px; margin: 0 auto; }
    .wordmark { font-size: clamp(48px, 16vw, 80px); }
    .kinetic-head { font-size: clamp(28px, 8vw, 44px); }
    .long-h1 { font-size: clamp(28px, 8vw, 40px); }
    .garden-header__nav { display: none; }
    .lantern-rail { display: none; }
    body { cursor: auto; }
    .cursor { display: none; }
    .stepping-stones { gap: 8px; }
    .stepping-stone { font-size: 12px; padding: 10px 16px; }
}
