/* =================================================================
   transactology.com — The Study of Exchange
   Brutalist concrete + botanical reclamation
   ================================================================= */

:root {
    --c-carbon: #1A1A1A;
    --c-vellum: #E8DCC8;
    --c-forest: #2D5016;
    --c-sage: #7A8B5C;
    --c-stone: #A89279;
    --c-leather: #5C3A1E;
    --c-umber: #3A3228;
    --c-warm: #6B5D4F;
    --c-brass: #C4A85A;
    --c-peat: #0E0D0B;
    --c-peat-2: #15140F;
    --c-bg: #1A1A1A;

    --f-display: 'Playfair Display', 'Source Serif 4', Georgia, serif;
    --f-body: 'Source Serif 4', Georgia, serif;
    --f-accent: 'Space Grotesk', 'Inter', system-ui, sans-serif;

    --shadow-slab: 8px 8px 0 rgba(26, 26, 26, 0.20);
    --shadow-slab-strong: 12px 12px 0 rgba(26, 26, 26, 0.28);

    --ease-magnet: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-organic: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-rise: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--f-body);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.72;
    letter-spacing: 0.005em;
    color: var(--c-umber);
    background: var(--c-vellum);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ------------- Leather grain texture (universal) ------------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 7% 13%, rgba(92, 58, 30, 0.08) 0.8px, transparent 1.6px),
        radial-gradient(circle at 23% 47%, rgba(92, 58, 30, 0.06) 0.5px, transparent 1.2px),
        radial-gradient(circle at 41% 81%, rgba(92, 58, 30, 0.07) 1px, transparent 2px),
        radial-gradient(circle at 67% 19%, rgba(92, 58, 30, 0.05) 0.7px, transparent 1.4px),
        radial-gradient(circle at 89% 63%, rgba(92, 58, 30, 0.08) 1.2px, transparent 2px),
        radial-gradient(circle at 53% 97%, rgba(92, 58, 30, 0.04) 0.6px, transparent 1.4px);
    background-size: 47px 47px, 31px 31px, 71px 71px, 23px 23px, 89px 89px, 41px 41px;
    mix-blend-mode: multiply;
    opacity: 0.85;
}

/* ------------- Monogram (top-left, fixed) ------------- */
.monogram {
    position: fixed;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: var(--c-carbon);
    color: var(--c-vellum);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-leather);
    box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.4);
    overflow: hidden;
}

.monogram::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(232, 220, 200, 0.06) 0.8px, transparent 1.6px),
        radial-gradient(circle at 70% 70%, rgba(232, 220, 200, 0.04) 0.6px, transparent 1.2px);
    background-size: 9px 9px, 13px 13px;
    pointer-events: none;
}

.monogram-text {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.05em;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* ------------- Waypoints (left margin) ------------- */
.waypoints {
    position: fixed;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.waypoint {
    color: var(--c-forest);
    opacity: 0.4;
    transition: opacity 0.4s var(--ease-magnet), transform 0.4s var(--ease-magnet);
    display: flex;
    text-decoration: none;
}

.waypoint.is-active {
    opacity: 1;
    animation: pulse-leaf 2.4s ease-in-out infinite;
    transform: scale(1.1);
}

@keyframes pulse-leaf {
    0%, 100% { opacity: 1; transform: scale(1.1) translateY(0); }
    50% { opacity: 0.75; transform: scale(1.18) translateY(-2px); }
}

@media (max-width: 900px) {
    .waypoints { display: none; }
}

/* ------------- Glyphs watermark layer ------------- */
.glyphs-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    color: var(--c-stone);
}

.glyph {
    position: absolute;
    opacity: 0.06;
    width: 80px;
    height: 80px;
}

.glyph-handshake { top: 12vh; right: 4vw; transform: rotate(-12deg); }
.glyph-scale    { top: 38vh; left: 6vw; transform: rotate(8deg); width: 70px; height: 70px; }
.glyph-contract { top: 64vh; right: 8vw; transform: rotate(-4deg); width: 90px; height: 90px; }
.glyph-coin     { top: 88vh; left: 4vw; transform: rotate(20deg); width: 60px; height: 60px; }
.glyph.glyph-2.glyph-handshake { top: 132vh; right: 10vw; transform: rotate(15deg); width: 70px; height: 70px; }
.glyph.glyph-2.glyph-scale    { top: 172vh; left: 8vw; transform: rotate(-10deg); width: 80px; height: 80px; }
.glyph.glyph-2.glyph-coin     { top: 218vh; right: 6vw; transform: rotate(5deg); width: 75px; height: 75px; }
.glyph.glyph-2.glyph-contract { top: 258vh; left: 5vw; transform: rotate(-18deg); width: 85px; height: 85px; }

/* ================== PAGE LAYOUT ================== */
.page {
    position: relative;
    z-index: 2;
}

.section {
    position: relative;
    padding: 12vh clamp(64px, 8vw, 140px) 14vh;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(auto-fill, minmax(60px, auto));
    column-gap: 16px;
    row-gap: 24px;
    min-height: 100vh;
}

.section-label {
    position: absolute;
    top: 32px;
    right: clamp(64px, 8vw, 140px);
    font-family: var(--f-accent);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-sage);
    z-index: 5;
}

/* ============================================================
   OPENING SECTION
   ============================================================ */
.section-opening {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.vellum-bg {
    position: absolute;
    inset: 0;
    background: var(--c-vellum);
    z-index: -1;
}

.opening-crack {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: var(--c-carbon);
    z-index: 1;
    transition: height 1.2s var(--ease-magnet);
}

.opening-crack.is-drawn {
    height: 70vh;
}

.opening-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    transform: translateY(0);
}

.opening-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-family: var(--f-accent);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-sage);
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.9s ease, transform 0.9s var(--ease-rise);
    transition-delay: 0.4s;
}

.opening-eyebrow.is-in {
    opacity: 1;
    transform: translateY(0);
}

.eyebrow-line {
    width: 56px;
    height: 1px;
    background: var(--c-sage);
    opacity: 0.7;
}

.opening-title {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: var(--c-carbon);
    text-shadow: 4px 4px 0 rgba(93, 58, 30, 0.15);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.opening-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s var(--ease-rise);
}

.opening-title.is-in .char {
    opacity: 1;
    transform: translateY(0);
}

.opening-subtitle {
    margin-top: 30px;
    font-family: var(--f-accent);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-sage);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 1s ease, transform 1s var(--ease-rise);
    transition-delay: 1.2s;
}

.opening-subtitle.is-in {
    opacity: 1;
    transform: translateY(0);
}

.opening-deck {
    margin: 38px auto 0;
    max-width: 620px;
    font-family: var(--f-body);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    line-height: 1.65;
    color: var(--c-warm);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 1s ease, transform 1s var(--ease-rise);
    transition-delay: 1.5s;
}

.opening-deck.is-in {
    opacity: 1;
    transform: translateY(0);
}

.opening-leaf {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--c-forest);
    opacity: 0.4;
    z-index: 4;
    animation: leaf-bob 4s ease-in-out infinite;
}

@keyframes leaf-bob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -6px); }
}

.opening-label {
    top: 32px;
    left: 92px;
    right: auto;
    color: var(--c-warm);
}

/* ============================================================
   FOUNDATION SECTION (concrete dominant)
   ============================================================ */
.section-foundation {
    background: var(--c-vellum);
    position: relative;
}

/* Slab base style */
.slab {
    position: relative;
    background: #F2E6CF;
    border: 3px solid var(--c-carbon);
    box-shadow: var(--shadow-slab);
    padding: clamp(28px, 3.2vw, 48px);
    z-index: 3;
    transform: translateY(30px) rotate(0.5deg);
    opacity: 0;
    transition:
        opacity 0.6s ease,
        transform 0.8s var(--ease-magnet),
        box-shadow 0.8s var(--ease-magnet);
    will-change: transform;
    --block-rotation: 0deg;
    --magnet-x: 0px;
    --cursor-x: 0px;
    --cursor-y: 0px;
}

.slab.is-in {
    opacity: 1;
    transform: translate(calc(var(--magnet-x) + var(--cursor-x)), calc(var(--cursor-y))) rotate(var(--block-rotation));
}

.slab::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 17% 23%, rgba(92, 58, 30, 0.10) 1px, transparent 2px),
        radial-gradient(circle at 53% 67%, rgba(92, 58, 30, 0.07) 0.6px, transparent 1.4px),
        radial-gradient(circle at 81% 41%, rgba(92, 58, 30, 0.09) 0.9px, transparent 1.8px);
    background-size: 41px 41px, 23px 23px, 67px 67px;
    mix-blend-mode: multiply;
    opacity: 0.7;
}

.slab::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(92, 58, 30, 0.06) 0%, transparent 40%, transparent 60%, rgba(92, 58, 30, 0.04) 100%);
}

.slab-label {
    display: inline-block;
    font-family: var(--f-accent);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-sage);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.slab-title {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 0.96;
    letter-spacing: -0.025em;
    color: var(--c-carbon);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: block;
}

.slab-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.9s ease, transform 0.9s var(--ease-rise);
}

.slab.is-in .slab-title .char {
    opacity: 1;
    transform: translateY(0);
}

.slab-body {
    font-family: var(--f-body);
    font-weight: 400;
    color: var(--c-umber);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    max-width: 65ch;
}

.slab-body em {
    color: var(--c-leather);
    font-style: italic;
    font-weight: 500;
}

.slab-body-mute {
    color: var(--c-warm);
    font-weight: 300;
    font-style: italic;
}

/* Slab placement (broken grid) */
.slab-1 {
    grid-column: 2 / span 7;
    grid-row: 2 / span 5;
    margin-top: 40px;
    --block-rotation: -0.6deg;
}

.slab-2 {
    grid-column: 8 / span 6;
    grid-row: 4 / span 4;
    margin-top: -40px;
    --block-rotation: 0.4deg;
    background: #ECDFC4;
}

.slab-quote {
    grid-column: 4 / span 8;
    grid-row: 9 / span 3;
    margin-top: 60px;
    --block-rotation: -0.3deg;
    background: var(--c-carbon);
    color: var(--c-vellum);
    border-color: var(--c-leather);
    box-shadow: 8px 8px 0 rgba(45, 80, 22, 0.4);
}

.slab-quote::before {
    background-image:
        radial-gradient(circle at 17% 23%, rgba(232, 220, 200, 0.05) 1px, transparent 2px),
        radial-gradient(circle at 53% 67%, rgba(232, 220, 200, 0.03) 0.6px, transparent 1.4px);
    background-size: 47px 47px, 31px 31px;
    mix-blend-mode: screen;
}

.slab-quote::after {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.12) 0%, transparent 50%);
}

.slab-quote blockquote {
    font-family: var(--f-display);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    line-height: 1.18;
    color: var(--c-vellum);
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.quote-mark {
    color: var(--c-brass);
    font-style: normal;
    font-size: 1.3em;
    line-height: 0;
    vertical-align: -0.18em;
    margin: 0 0.04em;
}

.quote-attr {
    font-family: var(--f-accent);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-sage);
    position: relative;
    z-index: 1;
}

/* Vines */
.vine {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

.vine svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.vine-path {
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.vine.is-in .vine-path {
    stroke-dashoffset: 0;
}

.vine-leaves path {
    transform-origin: center;
    transform: rotate(-90deg) scale(0);
    opacity: 0;
    transition: transform 0.4s var(--ease-organic), opacity 0.4s ease;
}

.vine.is-in .vine-leaves path:nth-child(1) { transition-delay: 0.9s; transform: rotate(0) scale(1); opacity: 1; }
.vine.is-in .vine-leaves path:nth-child(2) { transition-delay: 1.4s; transform: rotate(0) scale(1); opacity: 1; }
.vine.is-in .vine-leaves path:nth-child(3) { transition-delay: 1.9s; transform: rotate(0) scale(1); opacity: 1; }
.vine.is-in .vine-leaves path:nth-child(4) { transition-delay: 2.3s; transform: rotate(0) scale(1); opacity: 1; }
.vine.is-in .vine-leaves path:nth-child(5) { transition-delay: 2.7s; transform: rotate(0) scale(1); opacity: 1; }

.vine-foundation {
    top: 5%;
    left: -3%;
    width: 50vw;
    height: 60vh;
    opacity: 0.7;
}

.vine-foundation-2 {
    top: 35%;
    right: -5%;
    width: 45vw;
    height: 55vh;
    opacity: 0.6;
}

/* ============================================================
   CRACKS SECTION (transition zone)
   ============================================================ */
.section-cracks {
    background:
        linear-gradient(180deg,
            var(--c-vellum) 0%,
            #E2D6BC 60%,
            #DDD0B4 100%);
    position: relative;
    overflow: hidden;
}

.slab-cracks-1 {
    grid-column: 3 / span 7;
    grid-row: 2 / span 4;
    --block-rotation: 0.7deg;
    background: #ECDFC4;
}

.taxonomy-grid {
    grid-column: 2 / span 12;
    grid-row: 7 / span 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
    z-index: 4;
}

.tax-cell {
    position: relative;
    background: var(--c-vellum);
    border: 2px solid var(--c-carbon);
    box-shadow: 6px 6px 0 rgba(26, 26, 26, 0.18);
    padding: 24px 20px;
    text-align: center;
    color: var(--c-leather);
    transform: translateY(20px) rotate(0deg);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.7s var(--ease-magnet), box-shadow 0.4s var(--ease-magnet);
    --block-rotation: 0deg;
    --magnet-x: 0px;
    --cursor-x: 0px;
    --cursor-y: 0px;
    will-change: transform;
}

.tax-cell.is-in {
    opacity: 1;
    transform: translate(calc(var(--magnet-x) + var(--cursor-x)), var(--cursor-y)) rotate(var(--block-rotation));
}

.tax-cell:hover {
    box-shadow: 10px 10px 0 rgba(45, 80, 22, 0.3);
    color: var(--c-forest);
}

.tax-glyph {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0 auto 14px;
    transition: color 0.4s ease;
}

.tax-name {
    display: block;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--c-carbon);
    margin-bottom: 6px;
}

.tax-meta {
    display: block;
    font-family: var(--f-accent);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-sage);
}

.slab-cracks-2 {
    grid-column: 5 / span 8;
    grid-row: 11 / span 3;
    margin-top: 60px;
    --block-rotation: -0.5deg;
    background: var(--c-carbon);
    color: var(--c-vellum);
    border-color: var(--c-forest);
}

.slab-cracks-2 .slab-title {
    color: var(--c-vellum);
}

.slab-cracks-2 .slab-body {
    color: #C9BCA1;
}

.slab-cracks-2 .slab-label {
    color: var(--c-brass);
}

.slab-cracks-2::before {
    background-image:
        radial-gradient(circle at 22% 31%, rgba(232, 220, 200, 0.06) 1px, transparent 2px),
        radial-gradient(circle at 67% 73%, rgba(232, 220, 200, 0.04) 0.5px, transparent 1.2px);
    background-size: 53px 53px, 29px 29px;
    mix-blend-mode: screen;
}

.slab-cracks-2::after {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.15) 0%, transparent 60%);
}

.vine-cracks {
    bottom: -2%;
    left: 0;
    width: 100%;
    height: 40vh;
    opacity: 0.85;
}

/* Emergence leaves (clip-path) */
.emergence {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    color: var(--c-forest);
    mix-blend-mode: multiply;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.emergence svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.emergence.is-in {
    clip-path: inset(0 0 0 0);
}

.emergence-1 {
    top: 8%;
    right: -8%;
    width: 32vw;
    height: 60vh;
    opacity: 0.55;
    transform: rotate(15deg);
}

/* ============================================================
   OVERGROWTH SECTION
   ============================================================ */
.section-overgrowth {
    background:
        linear-gradient(180deg,
            #DDD0B4 0%,
            #C9BB9A 50%,
            #B5AC85 100%);
    position: relative;
    overflow: hidden;
}

.section-overgrowth::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 80, 22, 0) 0%, rgba(45, 80, 22, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
}

.slab-over-1 {
    grid-column: 2 / span 8;
    grid-row: 2 / span 4;
    margin-top: 50px;
    --block-rotation: -0.7deg;
    background: #E2D6BC;
}

.slab-over-2 {
    grid-column: 9 / span 5;
    grid-row: 4 / span 3;
    margin-top: -30px;
    --block-rotation: 0.5deg;
    background: #ECDFC4;
}

.slab-over-3 {
    grid-column: 4 / span 7;
    grid-row: 8 / span 3;
    margin-top: 40px;
    --block-rotation: -0.4deg;
    background: #E2D6BC;
}

.slab-over-4 {
    grid-column: 6 / span 8;
    grid-row: 13 / span 4;
    margin-top: 80px;
    --block-rotation: 0.6deg;
    background: var(--c-leather);
    color: var(--c-vellum);
    border-color: var(--c-carbon);
}

.slab-over-4 .slab-title {
    color: var(--c-vellum);
}

.slab-over-4 .slab-body {
    color: #E8DCC8;
    opacity: 0.92;
}

.slab-over-4 .slab-label {
    color: var(--c-brass);
}

.slab-over-4::before {
    background-image:
        radial-gradient(circle at 22% 31%, rgba(0, 0, 0, 0.10) 1px, transparent 2px),
        radial-gradient(circle at 67% 73%, rgba(0, 0, 0, 0.08) 0.6px, transparent 1.4px),
        radial-gradient(circle at 41% 53%, rgba(0, 0, 0, 0.07) 0.8px, transparent 1.6px);
    background-size: 53px 53px, 29px 29px, 71px 71px;
    mix-blend-mode: multiply;
}

.emergence-2 {
    top: 18%;
    left: -10%;
    width: 38vw;
    height: 75vh;
    opacity: 0.55;
    transform: rotate(-12deg);
}

.emergence-3 {
    bottom: -5%;
    right: -5%;
    width: 36vw;
    height: 70vh;
    opacity: 0.6;
    transform: rotate(8deg);
}

.vine-over {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
}

/* ============================================================
   GREENHOUSE SECTION (final dark)
   ============================================================ */
.section-greenhouse {
    background: var(--c-peat);
    color: var(--c-vellum);
    min-height: 110vh;
    padding: 16vh clamp(64px, 8vw, 140px) 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

.section-greenhouse::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 80%, rgba(45, 80, 22, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(122, 139, 92, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.board-formed-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(87deg,
            var(--c-peat) 0px,
            var(--c-peat) 2px,
            var(--c-peat-2) 2px,
            var(--c-peat-2) 4px,
            var(--c-peat) 4px,
            var(--c-peat) 9px,
            var(--c-peat-2) 9px,
            var(--c-peat-2) 11px),
        repeating-linear-gradient(87deg,
            transparent 0px,
            transparent 80px,
            rgba(232, 220, 200, 0.02) 80px,
            rgba(232, 220, 200, 0.02) 81px);
    opacity: 0.85;
    z-index: 0;
}

.section-greenhouse::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 17% 23%, rgba(92, 58, 30, 0.18) 1.2px, transparent 2.4px),
        radial-gradient(circle at 53% 67%, rgba(92, 58, 30, 0.12) 0.8px, transparent 1.6px),
        radial-gradient(circle at 81% 41%, rgba(92, 58, 30, 0.15) 1px, transparent 2px);
    background-size: 41px 41px, 23px 23px, 67px 67px;
    mix-blend-mode: overlay;
    opacity: 0.6;
    z-index: 1;
}

.greenhouse-intro {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 760px;
    margin-bottom: 40px;
}

.slab-label-light {
    color: var(--c-brass);
}

.greenhouse-title {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
    color: var(--c-vellum);
    margin: 18px 0 30px;
    text-shadow: 4px 4px 0 rgba(45, 80, 22, 0.35);
    overflow: hidden;
}

.greenhouse-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.9s ease, transform 0.9s var(--ease-rise);
}

.section-greenhouse.is-in .greenhouse-title .char {
    opacity: 1;
    transform: translateY(0);
}

.greenhouse-body {
    font-family: var(--f-body);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    line-height: 1.72;
    color: #C9BCA1;
    max-width: 600px;
    margin: 0 auto;
}

.tree-composition {
    position: relative;
    z-index: 3;
    width: min(80vw, 700px);
    height: auto;
    aspect-ratio: 8 / 9;
    margin: 60px auto 60px;
    color: var(--c-sage);
    opacity: 0.92;
}

.tree-composition svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tree-composition path,
.tree-composition rect,
.tree-composition circle,
.tree-composition line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tree-composition.is-in path,
.tree-composition.is-in rect,
.tree-composition.is-in circle,
.tree-composition.is-in line {
    stroke-dashoffset: 0;
}

.tree-canopy { opacity: 0.6; }
.tree-fruit circle { transition-delay: 3.4s; }
.tree-fruit line { transition-delay: 3.6s; }

.greenhouse-statement {
    position: relative;
    z-index: 4;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--c-vellum);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s var(--ease-rise);
    transition-delay: 0.8s;
    margin-top: 12px;
}

.section-greenhouse.is-in .greenhouse-statement {
    opacity: 1;
    transform: translateY(0);
}

.greenhouse-footer {
    position: relative;
    z-index: 4;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-family: var(--f-accent);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-sage);
    opacity: 0.7;
}

.footer-marker {
    color: var(--c-brass);
}

.section-label-greenhouse {
    color: var(--c-brass);
    top: 32px;
    right: clamp(64px, 8vw, 140px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .section {
        padding: 10vh 24px 12vh;
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .slab,
    .slab-1, .slab-2, .slab-quote,
    .slab-cracks-1, .slab-cracks-2,
    .slab-over-1, .slab-over-2, .slab-over-3, .slab-over-4 {
        grid-column: 1;
        grid-row: auto !important;
        margin-top: 24px;
    }

    .taxonomy-grid {
        grid-column: 1;
        grid-template-columns: repeat(2, 1fr);
    }

    .section-label {
        right: 24px;
        font-size: 0.62rem;
    }

    .opening-label {
        left: 80px;
    }

    .vine-foundation, .vine-foundation-2,
    .emergence-1, .emergence-2, .emergence-3 {
        opacity: 0.35;
    }
}

@media (max-width: 540px) {
    .taxonomy-grid {
        grid-template-columns: 1fr;
    }
    .opening-eyebrow {
        font-size: 0.6rem;
        gap: 10px;
    }
    .eyebrow-line {
        width: 30px;
    }
    .monogram {
        width: 40px;
        height: 40px;
    }
    .monogram-text {
        font-size: 18px;
    }
}
