/* =========================================================
   SocialDebug.Org — Cottagecore Apothecary Workshop
   Broken-grid · magnetic · icon-heavy · honeyed-neutral
   Compliance terms: Mono" (Google Interaction Pattern* Pattern:** hovering causes (`#d4a944` `threshold: 0.15`. Elements `opacity: → 1` `translateY(30px
   ========================================================= */

:root {
    /* Honeyed-neutral palette */
    --parchment: #faf6ed;
    --oat-milk: #f0e8d4;
    --linen: #f5eed8;
    --charcoal-earth: #2e2a24;
    --tobacco: #6b5d4f;
    --honey-amber: #d4a944;
    --dried-rose: #b87b6a;
    --loam: #3b2f1e;
    --sage: #7a9a6d;
    --vintage-border: #c4a97d;
    --rose-deep: #8b5e4f;

    /* Type */
    --font-display: 'Josefin Sans', 'Futura', 'Century Gothic', sans-serif;
    --font-body: 'Crimson Pro', 'IBM Plex Serif', Georgia, serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

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

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

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.75;
    color: var(--charcoal-earth);
    background:
        linear-gradient(180deg, var(--parchment) 0%, var(--oat-milk) 40%, var(--linen) 70%, var(--oat-milk) 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Paper grain texture using inline SVG turbulence */
.paper-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Typography helpers
   ========================================================= */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--charcoal-earth);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.eyebrow {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
    color: var(--tobacco);
    margin-bottom: 1.2rem;
}

code, .mono {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    background: var(--linen);
    padding: 0.22em 0.5em;
    border-radius: 3px;
    color: var(--loam);
}

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

/* =========================================================
   Section layout (full-viewport narrative)
   ========================================================= */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: clamp(5rem, 10vh, 9rem) clamp(1.5rem, 5vw, 6rem);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    z-index: 2;
}

.section--weeds,
.section--pruning,
.section--bloom {
    align-items: start;
}

/* =========================================================
   Garden Path — vertical trail navigation
   ========================================================= */
.garden-path {
    position: fixed;
    top: 50%;
    right: clamp(1rem, 2.2vw, 2.4rem);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 50;
    padding: 1rem 0.6rem;
    border-left: 1px dashed rgba(180, 150, 90, 0.35);
}

.path-node {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tobacco);
    background: rgba(250, 246, 237, 0.55);
    border: 1px solid rgba(196, 169, 125, 0.4);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease,
                color 0.4s ease,
                background 0.4s ease;
}

.path-node:hover,
.path-node.is-active {
    transform: scale(1.18);
    color: var(--loam);
    background: var(--linen);
    box-shadow: 0 0 14px rgba(212, 169, 68, 0.55), inset 0 0 0 1px var(--honey-amber);
}

.path-icon {
    width: 24px;
    height: 24px;
}

.path-label {
    position: absolute;
    right: calc(100% + 0.7rem);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.68rem;
    color: var(--tobacco);
    background: var(--parchment);
    padding: 0.15rem 0.55rem;
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(196, 169, 125, 0.4);
}

.path-node:hover .path-label,
.path-node.is-active .path-label {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

/* =========================================================
   Section 1: The Meadow (hero)
   ========================================================= */
.section--meadow {
    overflow: hidden;
    grid-template-rows: 1fr;
    align-content: end;
    padding-bottom: clamp(4rem, 10vh, 8rem);
}

.vine-tangle {
    position: absolute;
    width: clamp(320px, 45vw, 620px);
    height: clamp(320px, 45vw, 620px);
    pointer-events: none;
    z-index: 1;
}
.vine-tangle--tl { top: -4%; left: -6%; animation: sway 8s ease-in-out infinite; }
.vine-tangle--tr { top: -8%; right: -8%; animation: sway 7s ease-in-out infinite 0.8s; transform-origin: top right; }
.vine-tangle--bl { bottom: -10%; left: -8%; animation: sway 9s ease-in-out infinite 0.4s; transform-origin: bottom left; }
.vine-tangle--br { bottom: -6%; right: -6%; animation: sway 10s ease-in-out infinite 1.2s; transform-origin: bottom right; }

@keyframes sway {
    0%, 100% { transform: rotate(-2deg) translate(0, 0); }
    50%      { transform: rotate(2deg) translate(0, -6px); }
}

/* Vine draw-in animation on load */
.vine-path {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: vineGrow 2.6s ease-out forwards;
}
.vine-tangle--tl .vine-path:nth-child(1) { animation-delay: 0.1s; }
.vine-tangle--tl .vine-path:nth-child(2) { animation-delay: 0.3s; }
.vine-tangle--tr .vine-path:nth-child(1) { animation-delay: 0.2s; }
.vine-tangle--tr .vine-path:nth-child(2) { animation-delay: 0.5s; }
.vine-tangle--bl .vine-path:nth-child(1) { animation-delay: 0.8s; }
.vine-tangle--br .vine-path:nth-child(1) { animation-delay: 1.0s; }

@keyframes vineGrow {
    to { stroke-dashoffset: 0; }
}

.pressed-flower {
    position: absolute;
    pointer-events: none;
    opacity: 0.055;
    mix-blend-mode: multiply;
    z-index: 1;
}

.pressed-flower--hero {
    width: clamp(300px, 50vw, 640px);
    height: clamp(300px, 50vw, 640px);
    top: 5%;
    right: 6%;
    transform: rotate(7deg);
    animation: sway 14s ease-in-out infinite;
}

.meadow-content {
    position: relative;
    z-index: 3;
    grid-column: 2 / span 7;
    align-self: end;
    padding-left: clamp(0rem, 2vw, 3rem);
}

.eyebrow--hero {
    display: inline-block;
    padding: 0.3rem 0.9rem 0.3rem 0;
    border-bottom: 1px solid var(--vintage-border);
    margin-bottom: 2.2rem;
    color: var(--tobacco);
}

.wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3.4rem, 11vw, 8.4rem);
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-transform: lowercase;
    color: var(--charcoal-earth);
    margin-bottom: 2.2rem;
}

.wordmark-line {
    display: block;
    opacity: 0;
    transform: translateY(26px);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    animation: wordmarkReveal 1.2s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}
.wordmark-line--1 { animation-delay: 0.5s; }
.wordmark-line--2 {
    color: var(--honey-amber);
    padding-left: clamp(1.2rem, 4vw, 3.2rem);
    animation-delay: 0.85s;
    font-style: italic;
}
.wordmark-line--2 em {
    font-style: italic;
    font-weight: 600;
}
.wordmark-line--3 {
    color: var(--tobacco);
    font-weight: 300;
    font-size: 0.52em;
    letter-spacing: 0.12em;
    padding-left: clamp(0.3rem, 2vw, 1.2rem);
    animation-delay: 1.15s;
}

@keyframes wordmarkReveal {
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.lede {
    max-width: 44ch;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.65;
    color: var(--charcoal-earth);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}

.specimen-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.7rem;
    background: var(--linen);
    border: 1px solid var(--vintage-border);
    color: var(--loam);
    text-transform: uppercase;
    margin-bottom: 2.4rem;
    transform: rotate(-0.8deg);
    opacity: 0;
    animation: fadeIn 1s ease 1.6s forwards;
}

.specimen-label__key { color: var(--honey-amber); font-weight: 500; }

.seed-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--loam);
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
}

.seed-icon {
    width: 34px;
    height: 70px;
    color: var(--honey-amber);
    animation: seedFall 3.2s ease-in-out infinite;
}

@keyframes seedFall {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(10px); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* =========================================================
   Dotted divider
   ========================================================= */
.dotted-divider {
    position: relative;
    height: 4rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(212, 169, 68, 0.45) 2.2px, transparent 2.6px);
    background-size: 26px 26px;
    background-position: 0 50%;
    background-repeat: repeat-x;
    margin: 0 auto;
    width: min(82vw, 1000px);
    z-index: 2;
}

.dotted-divider::before,
.dotted-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 42px;
    height: 1px;
    background: var(--vintage-border);
}
.dotted-divider::before { left: -52px; }
.dotted-divider::after { right: -52px; }

/* =========================================================
   Section 2: Naming the Weeds
   ========================================================= */
.section--weeds {
    background:
        linear-gradient(180deg, rgba(240, 232, 212, 0) 0%, rgba(240, 232, 212, 0.5) 40%, rgba(240, 232, 212, 0) 100%);
    padding-top: clamp(4rem, 8vh, 7rem);
}

.pressed-flower--weeds {
    width: 420px;
    height: 420px;
    top: 8%;
    right: 3%;
    transform: rotate(-6deg);
    animation: sway 16s ease-in-out infinite;
}

.section-header {
    grid-column: 2 / span 7;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    position: relative;
    z-index: 3;
}

.section-header--weeds {
    grid-column: 2 / span 7;
    transform: translateX(clamp(0rem, 2vw, 3rem));
}

.section-title {
    font-size: clamp(2.2rem, 5.4vw, 4.4rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    color: var(--charcoal-earth);
}

.section-title__soft {
    font-weight: 300;
    font-style: italic;
    color: var(--tobacco);
    letter-spacing: 0.04em;
}

.section-intro {
    max-width: 56ch;
    color: var(--tobacco);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
}

/* Specimen cards — broken grid */
.specimen-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    row-gap: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    z-index: 3;
}

.specimen-card {
    position: relative;
    padding: 2.2rem 2rem 1.8rem;
    background:
        linear-gradient(180deg, var(--parchment) 0%, #fdf9ef 100%);
    border: 2px solid var(--vintage-border);
    border-radius: 12px;
    box-shadow:
        0 8px 28px -14px rgba(59, 47, 30, 0.3),
        inset 0 0 0 1px rgba(250, 246, 237, 0.8);
    color: var(--charcoal-earth);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease;
    will-change: transform;
}

.specimen-card--01 { grid-column: 2 / span 5; transform: rotate(-1.2deg); margin-top: 0.6rem; }
.specimen-card--02 { grid-column: 7 / span 5; transform: rotate(1.6deg); margin-top: 4.6rem; }
.specimen-card--03 { grid-column: 3 / span 5; transform: rotate(-1.8deg); margin-top: -2rem; }
.specimen-card--04 { grid-column: 8 / span 4; transform: rotate(1.1deg); margin-top: 1.4rem; }

.specimen-card:hover {
    box-shadow:
        0 14px 38px -12px rgba(59, 47, 30, 0.35),
        inset 0 0 0 1px var(--honey-amber);
}

/* Corner flourishes */
.card-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
}
.card-corner--tl { top: 6px; left: 6px; border-top: 1.5px solid var(--honey-amber); border-left: 1.5px solid var(--honey-amber); clip-path: polygon(0 0, 100% 0, 80% 20%, 20% 20%, 20% 80%, 0 100%); }
.card-corner--tr { top: 6px; right: 6px; border-top: 1.5px solid var(--honey-amber); border-right: 1.5px solid var(--honey-amber); clip-path: polygon(0 0, 100% 0, 100% 100%, 80% 80%, 80% 20%, 20% 20%); }
.card-corner--bl { bottom: 6px; left: 6px; border-bottom: 1.5px solid var(--honey-amber); border-left: 1.5px solid var(--honey-amber); clip-path: polygon(0 0, 20% 20%, 20% 80%, 80% 80%, 100% 100%, 0 100%); }
.card-corner--br { bottom: 6px; right: 6px; border-bottom: 1.5px solid var(--honey-amber); border-right: 1.5px solid var(--honey-amber); clip-path: polygon(20% 80%, 80% 80%, 80% 20%, 100% 0, 100% 100%, 0 100%); }

.card-icon {
    width: 60px;
    height: 60px;
    color: var(--tobacco);
    margin-bottom: 1.2rem;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.specimen-card:hover .card-icon {
    color: var(--honey-amber);
    transform: scale(1.08);
}
.card-icon svg { width: 100%; height: 100%; }

.card-genus {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--honey-amber);
    margin-bottom: 0.4rem;
}

.card-name {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 600;
    margin-bottom: 0.9rem;
    color: var(--charcoal-earth);
}

.card-body {
    margin-bottom: 1.2rem;
    color: var(--charcoal-earth);
    line-height: 1.7;
}

.card-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    background: var(--linen);
    padding: 0.3rem 0.6rem;
    color: var(--loam);
    letter-spacing: 0.04em;
    border-left: 2px solid var(--honey-amber);
}

/* =========================================================
   Section 3: The Pruning
   ========================================================= */
.section--pruning {
    background:
        linear-gradient(180deg, rgba(245, 238, 216, 0) 0%, rgba(245, 238, 216, 0.45) 50%, rgba(245, 238, 216, 0) 100%);
}

.pressed-flower--prune {
    width: 360px;
    height: 360px;
    top: 14%;
    left: -4%;
    transform: rotate(5deg);
    animation: sway 18s ease-in-out infinite 0.6s;
}

.section-header--prune {
    grid-column: 3 / span 7;
    transform: translateX(clamp(-2rem, -1vw, 0rem));
}

.pruning-scene {
    grid-column: 1 / -1;
    position: relative;
    display: grid;
    grid-template-columns: 1fr clamp(260px, 26vw, 340px);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    padding: 0 clamp(0rem, 2vw, 2rem);
    margin-bottom: 3rem;
}

.prune-svg {
    width: 100%;
    height: auto;
    max-height: 560px;
    background:
        radial-gradient(ellipse at 40% 40%, rgba(212, 169, 68, 0.08) 0%, rgba(122, 154, 109, 0.05) 40%, transparent 75%);
    border: 2px solid var(--vintage-border);
    border-radius: 16px;
    padding: 1rem;
}

.prune-vine {
    fill: none;
    stroke: #8b7a5a;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.55;
    transition: stroke 0.5s ease, stroke-width 0.5s ease, opacity 0.5s ease, d 0.6s ease;
}

.prune-vine.is-hot {
    stroke: var(--honey-amber);
    stroke-width: 2.4;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(212, 169, 68, 0.5));
}
.prune-vine.is-resolved {
    stroke: var(--sage);
    stroke-width: 2;
    opacity: 0.95;
}

.prune-node {
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.prune-node:hover { transform-box: fill-box; }

.node-halo {
    fill: rgba(245, 238, 216, 0.8);
    stroke: var(--vintage-border);
    stroke-width: 1;
    transition: fill 0.4s ease, stroke 0.4s ease;
}

.prune-node:hover .node-halo {
    fill: rgba(212, 169, 68, 0.22);
    stroke: var(--honey-amber);
}
.prune-node.is-selected .node-halo {
    fill: rgba(212, 169, 68, 0.35);
    stroke: var(--honey-amber);
    stroke-width: 1.4;
}

.prune-node.is-selected .node-bloom {
    stroke: var(--honey-amber);
}

.node-bloom {
    transition: stroke 0.3s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.node-label {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: 11px;
    fill: var(--tobacco);
    text-anchor: middle;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Readout aside */
.prune-readout {
    align-self: start;
    padding: 1.6rem 1.4rem;
    background: var(--parchment);
    border: 2px solid var(--vintage-border);
    border-radius: 12px;
    position: relative;
    transform: rotate(0.6deg);
    box-shadow: 0 10px 24px -14px rgba(59, 47, 30, 0.25);
}

.readout-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--honey-amber);
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}

.readout-line {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--charcoal-earth);
    margin-bottom: 1.2rem;
    min-height: 3em;
}

.readout-list {
    list-style: none;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--loam);
    border-top: 1px dashed var(--vintage-border);
    padding-top: 0.9rem;
}
.readout-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem 0;
}
.readout-list em {
    font-style: italic;
    color: var(--charcoal-earth);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.dot--amber { background: var(--honey-amber); box-shadow: 0 0 6px rgba(212, 169, 68, 0.55); }
.dot--sage { background: var(--sage); box-shadow: 0 0 6px rgba(122, 154, 109, 0.4); }

/* Tool rail */
.tool-rail {
    grid-column: 3 / span 8;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    background: var(--linen);
    padding: 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--vintage-border);
    width: fit-content;
    justify-self: center;
    box-shadow: inset 0 1px 0 rgba(250, 246, 237, 0.6);
}

.tool {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    color: var(--tobacco);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.84rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.tool:hover {
    color: var(--loam);
    background: rgba(250, 246, 237, 0.7);
}
.tool.is-active {
    background: var(--parchment);
    color: var(--loam);
    border-color: var(--honey-amber);
    box-shadow: inset 0 0 0 1px var(--honey-amber), 0 0 14px -4px rgba(212, 169, 68, 0.4);
}
.tool-icon { width: 20px; height: 20px; }

/* =========================================================
   Section 4: The Bloom
   ========================================================= */
.section--bloom {
    background: linear-gradient(135deg, #faf6ed 0%, rgba(245, 238, 216, 0.55) 50%, rgba(212, 169, 68, 0.14) 100%);
    background-size: 200% 200%;
    animation: bloomSweep 10s ease-in-out infinite alternate;
    padding-bottom: clamp(5rem, 10vh, 9rem);
}

@keyframes bloomSweep {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.pressed-flower--bloom {
    width: 460px;
    height: 460px;
    top: 6%;
    right: -4%;
    transform: rotate(10deg);
    animation: sway 20s ease-in-out infinite;
}

.section-header--bloom {
    grid-column: 2 / span 8;
    transform: translateX(clamp(0rem, 2vw, 3rem));
}

.bloom-layout {
    grid-column: 2 / span 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    position: relative;
    z-index: 3;
}

.seal-group {
    text-align: center;
    position: relative;
}
.seal-group:nth-child(1) { transform: translateY(0); }
.seal-group:nth-child(2) { transform: translateY(clamp(1.4rem, 3vw, 3rem)); }
.seal-group:nth-child(3) { transform: translateY(clamp(-0.6rem, -1vw, -1.5rem)); }

.wax-seal {
    position: relative;
    width: clamp(120px, 14vw, 170px);
    height: clamp(120px, 14vw, 170px);
    margin: 0 auto 1.2rem;
    filter: drop-shadow(0 10px 22px rgba(59, 47, 30, 0.28));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}
.wax-seal--1 { transform: rotate(-6deg); }
.wax-seal--2 { transform: rotate(2deg); }
.wax-seal--3 { transform: rotate(-3deg); }

.wax-seal:hover { transform: scale(1.04) rotate(0); }

.seal-svg {
    width: 100%;
    height: 100%;
}

.seal-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--parchment);
    font-family: var(--font-display);
    text-align: center;
    gap: 0.1rem;
    pointer-events: none;
}
.seal-content--dark {
    color: var(--loam);
}

.seal-num {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    opacity: 0.8;
}
.seal-label {
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    font-style: italic;
}

.seal-caption {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--tobacco);
    line-height: 1.6;
}

/* Quote block */
.garden-quote {
    grid-column: 2 / span 10;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    line-height: 1.4;
    color: var(--charcoal-earth);
    padding: 2.6rem 1rem;
    margin: 0 auto clamp(3rem, 5vw, 4rem);
    position: relative;
    max-width: 920px;
    transform: rotate(-0.6deg);
}
.garden-quote::before,
.garden-quote::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--vintage-border);
}
.garden-quote::before { top: 0; }
.garden-quote::after  { bottom: 0; }

.garden-quote cite {
    display: block;
    margin-top: 1.4rem;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--honey-amber);
    font-style: normal;
    font-weight: 500;
}

/* Ritual panel */
.ritual-panel {
    grid-column: 3 / span 8;
    background: var(--parchment);
    border: 2px solid var(--vintage-border);
    border-radius: 14px;
    padding: clamp(2rem, 3.5vw, 3rem);
    position: relative;
    transform: rotate(-0.4deg);
    box-shadow: 0 16px 40px -18px rgba(59, 47, 30, 0.3);
}
.ritual-panel::before,
.ritual-panel::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid var(--honey-amber);
    opacity: 0.5;
}
.ritual-panel::before { top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 14px; }
.ritual-panel::after  { bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 14px; }

.ritual-panel__head {
    margin-bottom: 2rem;
    border-bottom: 1px dashed var(--vintage-border);
    padding-bottom: 1.2rem;
}

.ritual-title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--charcoal-earth);
    font-weight: 600;
}

.ritual-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.4rem);
}

.ritual-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem 1rem;
    align-items: start;
}

.ritual-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--honey-amber);
    padding: 0.25rem 0.55rem;
    background: var(--linen);
    border: 1px solid var(--vintage-border);
    border-radius: 3px;
    letter-spacing: 0.08em;
    align-self: start;
}

.ritual-item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--charcoal-earth);
    letter-spacing: 0.02em;
}
.ritual-item p {
    color: var(--tobacco);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================================
   Section 5: Root System (footer)
   ========================================================= */
.section--roots {
    background: var(--loam);
    color: #e7dcc2;
    padding: clamp(4rem, 8vh, 6rem) clamp(1.5rem, 5vw, 6rem) 3rem;
    grid-template-columns: repeat(12, 1fr);
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.root-weave {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.9;
}

.roots-content {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    z-index: 3;
    margin-bottom: 3rem;
}

.roots-brand {
    padding-right: 2rem;
    border-right: 1px dashed rgba(196, 169, 125, 0.25);
}

.roots-wordmark {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    font-weight: 600;
    color: var(--linen);
    text-transform: lowercase;
    letter-spacing: 0.01em;
    margin-bottom: 0.8rem;
}
.roots-wordmark em {
    color: var(--honey-amber);
    font-style: italic;
}

.roots-motto {
    font-family: var(--font-body);
    color: rgba(231, 220, 194, 0.75);
    font-style: italic;
    max-width: 32ch;
    line-height: 1.6;
}

.roots-head {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--honey-amber);
    margin-bottom: 1rem;
}

.roots-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.roots-col a {
    font-family: var(--font-body);
    color: rgba(231, 220, 194, 0.88);
    font-size: 0.96rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
}
.roots-col a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--honey-amber);
    opacity: 0;
    margin-right: 0.5rem;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.roots-col a:hover {
    color: var(--linen);
}
.roots-col a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.roots-strip {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: space-between;
    padding-top: 1.6rem;
    border-top: 1px dashed rgba(196, 169, 125, 0.3);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(231, 220, 194, 0.55);
    position: relative;
    z-index: 3;
}

/* =========================================================
   Reveal animations (Intersection Observer driven)
   ========================================================= */
.specimen-card,
.section-header,
.wax-seal,
.ritual-panel,
.garden-quote,
.prune-readout,
.tool-rail {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.25, 1),
                transform 0.8s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.specimen-card--01.is-visible,
.specimen-card--03.is-visible { transform: translate(0, 0) rotate(var(--tilt-from, -1.2deg)); }
.specimen-card--02.is-visible,
.specimen-card--04.is-visible { transform: translate(0, 0) rotate(var(--tilt-from, 1.2deg)); }

.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}
.specimen-card--01.is-visible { transform: translate(0, 0) rotate(-1.2deg) !important; }
.specimen-card--02.is-visible { transform: translate(0, 0) rotate(1.6deg) !important; }
.specimen-card--03.is-visible { transform: translate(0, 0) rotate(-1.8deg) !important; }
.specimen-card--04.is-visible { transform: translate(0, 0) rotate(1.1deg) !important; }

/* Pre-reveal lateral offsets for broken-grid reveal (odd from left, even from right) */
.specimen-card--01 { transform: translate(-40px, 30px) rotate(-1.2deg); }
.specimen-card--02 { transform: translate(40px, 30px) rotate(1.6deg); }
.specimen-card--03 { transform: translate(-40px, 30px) rotate(-1.8deg); }
.specimen-card--04 { transform: translate(40px, 30px) rotate(1.1deg); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
    .garden-path {
        right: 0.6rem;
        gap: 0.9rem;
        padding: 0.6rem 0.3rem;
    }
    .path-node { width: 36px; height: 36px; }
    .path-icon { width: 18px; height: 18px; }
    .path-label { display: none; }

    .meadow-content { grid-column: 1 / -1; }
    .section-header,
    .section-header--weeds,
    .section-header--prune,
    .section-header--bloom { grid-column: 1 / -1; transform: none; }

    .specimen-card { grid-column: 1 / -1 !important; margin-top: 0 !important; }

    .pruning-scene { grid-template-columns: 1fr; }
    .tool-rail { grid-column: 1 / -1; }

    .bloom-layout { grid-template-columns: 1fr; grid-column: 1 / -1; gap: 2.5rem; }
    .seal-group { transform: none !important; }

    .ritual-panel { grid-column: 1 / -1; }

    .roots-content { grid-template-columns: 1fr 1fr; }
    .roots-brand { grid-column: 1 / -1; border-right: none; padding-right: 0; border-bottom: 1px dashed rgba(196, 169, 125, 0.25); padding-bottom: 1.2rem; }

    .garden-quote { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .section { padding: 4rem 1.2rem; }
    .wordmark { font-size: clamp(2.8rem, 14vw, 4.6rem); }
    .roots-content { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
    .vine-path { stroke-dashoffset: 0 !important; }
    .wordmark-line { opacity: 1; transform: none; clip-path: none; }
    .lede, .specimen-label, .seed-cta { opacity: 1; }
}
