/* ============================================================
   aei.st — Pressed Herbarium Archive
   Pressed-herbarium modernism: Frutiger-clean + candle-atmospheric
   Compliance lexicon: IBM Plex Mono" (Google Fonts Interaction (Cursor-Following Warm Glow Interaction**:x Interaction: Implement a subtle cursor-following warm glow using a CSS custom property approach: IntersectionObserver threshold trigger staggered entrance: each card fades in (`opacity: 0 → 1` Interstitial dividers: Individual specimens (thistle Interstitial Plates**:x Plates:x Plate: Between grid sections Source Sans 3" (Google Fonts
   ============================================================ */

:root {
    --cream-vellum: #f5f0e6;
    --cream-deep: #ede5d6;
    --sage-mist: #c5cfc0;
    --blush-petal: #e8c4b8;
    --warm-charcoal: #3a3632;
    --med-gray: #5a5550;
    --leather-umber: #7a6e62;
    --candle-gold: #d4a95a;
    --dried-lavender: #b8a9c4;
    --deep-moss: #4a5940;
    --faded-ink: #8a7e72;

    --glow-x: 50%;
    --glow-y: 30%;

    --font-head: "Nunito Sans", system-ui, -apple-system, sans-serif;
    --font-body: "Source Sans 3", "Inter", system-ui, sans-serif;
    --font-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "Space Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--med-gray);
    background:
        linear-gradient(180deg, var(--cream-vellum) 0%, var(--cream-deep) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ---------- PAPER GRAIN + CANDLELIGHT OVERLAYS ---------- */

.paper-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    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' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.478 0 0 0 0 0.431 0 0 0 0 0.384 0 0 0 0.11 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.candle-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(212, 169, 90, 0.14) 0%, rgba(212, 169, 90, 0.06) 20%, transparent 45%),
        radial-gradient(ellipse at 50% 30%, rgba(212, 169, 90, 0.08) 0%, transparent 60%);
    transition: background 0.4s ease-out;
}

/* ---------- LAYOUT SHELL ---------- */

.journal {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 6rem);
}

/* ---------- NOTATION SIDEBAR (desktop only) ---------- */

.notation-sidebar {
    display: none;
}

@media (min-width: 1200px) {
    .notation-sidebar {
        display: block;
        position: fixed;
        top: 18vh;
        right: 2vw;
        width: 160px;
        z-index: 5;
        pointer-events: none;
        font-family: var(--font-mono);
        font-size: 0.7rem;
        color: var(--faded-ink);
        line-height: 1.6;
        transition: transform 0.2s ease-out;
    }

    .notation-header {
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.4rem;
        border-bottom: 1px dashed var(--sage-mist);
    }

    .notation-glyph {
        font-family: var(--font-serif);
        font-style: italic;
        color: var(--leather-umber);
        font-size: 1rem;
    }

    .notation-title {
        letter-spacing: 0.18em;
        color: var(--leather-umber);
        font-weight: 500;
        font-size: 0.62rem;
    }

    .notation-entry {
        margin-bottom: 1.2rem;
    }

    .note-time {
        display: block;
        font-size: 0.6rem;
        letter-spacing: 0.12em;
        color: var(--candle-gold);
        margin-bottom: 0.25rem;
        opacity: 0.85;
    }

    .note-text {
        font-size: 0.68rem;
        color: var(--faded-ink);
        min-height: 1em;
        white-space: pre-wrap;
    }

    .notation-footer {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem;
        font-size: 0.6rem;
    }

    .sidebar-rule {
        flex: 1;
        height: 1px;
        background: var(--sage-mist);
    }

    .sidebar-folio {
        font-family: var(--font-serif);
        font-style: italic;
        color: var(--leather-umber);
        letter-spacing: 0.05em;
    }
}

/* ---------- HERO ---------- */

.hero {
    min-height: 100vh;
    padding: 5vh 0 4vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    width: 100%;
    min-height: 82vh;
    padding: clamp(2.5rem, 5vw, 5rem);
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.478 0 0 0 0 0.431 0 0 0 0 0.384 0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23l)'/></svg>"),
        linear-gradient(135deg, rgba(122, 110, 98, 0.08) 0%, rgba(122, 110, 98, 0.02) 100%),
        var(--cream-vellum);
    border: 1px solid var(--sage-mist);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 20px 60px -20px rgba(58, 54, 50, 0.18),
        0 2px 8px rgba(58, 54, 50, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(197, 207, 192, 0.5);
    pointer-events: none;
}

.hero-meta {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--leather-umber);
    z-index: 3;
}

.meta-item {
    white-space: nowrap;
}

.meta-dot {
    width: 4px;
    height: 4px;
    background: var(--candle-gold);
    border-radius: 50%;
    display: inline-block;
}

.hero-fern {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: auto;
    justify-self: center;
    filter: drop-shadow(0 2px 4px rgba(74, 89, 64, 0.1));
}

.fern-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.2s linear;
}

.hero-text-column {
    position: relative;
    z-index: 2;
    padding: 1rem 0;
}

.hero-supra {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--leather-umber);
    margin-bottom: 1.8rem;
    min-height: 1em;
}

.hero-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--warm-charcoal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
}

.typed-target {
    display: inline-block;
    min-width: 1ch;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--warm-charcoal);
    margin-left: 2px;
    animation: blink 0.8s steps(2, start) infinite;
    vertical-align: baseline;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    line-height: 1.5;
    color: var(--leather-umber);
    margin-bottom: 2rem;
    min-height: 1.5em;
    max-width: 42ch;
}

.hero-plate-mark {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--candle-gold);
    margin-bottom: 1.5rem;
}

.plate-symbol {
    color: var(--candle-gold);
    font-size: 0.9rem;
}

.plate-label {
    font-weight: 500;
}

.hero-caption {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--faded-ink);
    letter-spacing: 0.02em;
    border-top: 1px dashed var(--sage-mist);
    padding-top: 1rem;
    max-width: 48ch;
    min-height: 1.5em;
}

/* Hero corner ornaments */
.hero-corner {
    position: absolute;
    width: 48px;
    height: 48px;
    pointer-events: none;
    opacity: 0.55;
}

.hero-corner-tl { top: 22px; left: 22px; }
.hero-corner-tr { top: 22px; right: 22px; }
.hero-corner-bl { bottom: 22px; left: 22px; }
.hero-corner-br { bottom: 22px; right: 22px; }

/* Scroll hint */
.scroll-hint {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--leather-umber);
    text-transform: lowercase;
    opacity: 0.75;
    animation: hintFloat 3.5s ease-in-out infinite;
}

.scroll-hint-line {
    width: 56px;
    height: 1px;
    background: var(--leather-umber);
    opacity: 0.5;
}

@keyframes hintFloat {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(4px); opacity: 0.9; }
}

/* ---------- PLATE DIVIDER (Interstitial) ---------- */

.plate-divider {
    position: relative;
    min-height: 200px;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 3rem 0;
}

.plate-divider::before {
    content: attr(data-plate);
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    color: var(--candle-gold);
    opacity: 0.7;
}

.plate-ornament-left,
.plate-ornament-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20vw;
    max-width: 220px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--sage-mist) 40%, var(--leather-umber) 100%);
}

.plate-ornament-left {
    left: 0;
}

.plate-ornament-right {
    right: 0;
    background: linear-gradient(270deg, transparent 0%, var(--sage-mist) 40%, var(--leather-umber) 100%);
}

.plate-specimen {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 1px 2px rgba(74, 89, 64, 0.1));
}

.plate-caption {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--leather-umber);
    letter-spacing: 0.04em;
    text-align: center;
    max-width: 48ch;
    min-height: 1.4em;
    padding: 0 1rem;
}

/* ---------- CATALOGUE ---------- */

.catalogue {
    padding: 4rem 0 5rem;
}

.catalogue-header {
    max-width: 780px;
    margin: 0 auto 4rem;
    text-align: center;
}

.catalogue-rule {
    width: 80px;
    height: 1px;
    background: var(--leather-umber);
    margin: 0 auto;
    opacity: 0.6;
}

.catalogue-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    color: var(--candle-gold);
    margin: 1.5rem 0 1rem;
}

.catalogue-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--warm-charcoal);
    margin-bottom: 1.5rem;
}

.catalogue-lede {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--leather-umber);
    max-width: 58ch;
    margin: 0 auto 1.5rem;
}

/* ---------- PORTFOLIO GRID ---------- */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.specimen-card {
    position: relative;
    background: var(--cream-vellum);
    border: 2px solid var(--sage-mist);
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    aspect-ratio: 4 / 5;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out,
        box-shadow 0.35s ease-out,
        border-color 0.35s ease-out,
        background 0.35s ease-out;
    overflow: hidden;
}

.specimen-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(122, 110, 98, 0.15);
    pointer-events: none;
}

.specimen-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.specimen-card:hover {
    transform: translateY(-2px) scale(1.015);
    border-color: var(--leather-umber);
    box-shadow:
        0 18px 40px -18px rgba(58, 54, 50, 0.28),
        0 2px 6px rgba(58, 54, 50, 0.06);
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.478 0 0 0 0 0.431 0 0 0 0 0.384 0 0 0 0.1 0'/></filter><rect width='100%' height='100%' filter='url(%23l)'/></svg>"),
        linear-gradient(135deg, rgba(232, 196, 184, 0.12) 0%, rgba(245, 240, 230, 1) 80%),
        var(--cream-vellum);
}

.card-image-zone {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--sage-mist);
    margin-bottom: 1rem;
}

.card-svg {
    width: 100%;
    max-width: 180px;
    height: auto;
    max-height: 100%;
    display: block;
}

.petal-overlay {
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.petal-rose {
    background: radial-gradient(ellipse at 70% 40%, rgba(232, 196, 184, 0.45) 0%, transparent 55%);
}

.petal-rose-deep {
    background: radial-gradient(ellipse at 35% 60%, rgba(232, 196, 184, 0.55) 0%, transparent 60%);
}

.petal-lavender {
    background: radial-gradient(ellipse at 60% 30%, rgba(184, 169, 196, 0.4) 0%, transparent 55%);
}

.specimen-card:hover .petal-overlay {
    opacity: 0.85;
}

.card-label-zone {
    margin-bottom: 0.9rem;
}

.card-number {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    color: var(--candle-gold);
    margin-bottom: 0.4rem;
}

.card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--warm-charcoal);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.card-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--leather-umber);
    letter-spacing: 0.03em;
}

.card-notation-zone {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--sage-mist);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    color: var(--faded-ink);
}

.notation-row {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
}

.n-key {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--leather-umber);
    font-size: 0.58rem;
}

.n-val {
    text-align: right;
    color: var(--med-gray);
}

.corner-sprig {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.specimen-card:hover .corner-sprig {
    opacity: 0.9;
    transform: rotate(-8deg);
}

/* ---------- COLOPHON ---------- */

.colophon {
    padding: 4rem 0 5rem;
    display: flex;
    justify-content: center;
}

.colophon-card {
    position: relative;
    max-width: 720px;
    width: 100%;
    padding: clamp(2rem, 5vw, 4rem);
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.478 0 0 0 0 0.431 0 0 0 0 0.384 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23l)'/></svg>"),
        linear-gradient(135deg, rgba(122, 110, 98, 0.06) 0%, rgba(122, 110, 98, 0.02) 100%),
        var(--cream-vellum);
    border: 1px solid var(--sage-mist);
    box-shadow: 0 10px 30px -15px rgba(58, 54, 50, 0.18);
    text-align: center;
}

.colophon-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(122, 110, 98, 0.2);
    pointer-events: none;
}

.colophon-wax-seal {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 3px 6px rgba(122, 110, 98, 0.3));
}

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

.colophon-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    color: var(--candle-gold);
    margin-bottom: 1rem;
}

.colophon-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.015em;
    color: var(--warm-charcoal);
    margin-bottom: 1.5rem;
}

.colophon-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--med-gray);
    margin-bottom: 1.25rem;
    max-width: 58ch;
    margin-left: auto;
    margin-right: auto;
}

.colophon-body em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--leather-umber);
    letter-spacing: 0.02em;
}

.colophon-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--leather-umber);
    letter-spacing: 0.05em;
}

.sig-rule {
    width: 48px;
    height: 1px;
    background: var(--leather-umber);
    opacity: 0.5;
}

.sig-text {
    white-space: nowrap;
}

/* ---------- FOOTER HERBARIUM ---------- */

.footer-herbarium {
    position: relative;
    padding: 3rem 0 3rem;
    margin-top: 2rem;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.478 0 0 0 0 0.431 0 0 0 0 0.384 0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23l)'/></svg>"),
        linear-gradient(180deg, rgba(122, 110, 98, 0.08) 0%, rgba(122, 110, 98, 0.15) 100%),
        var(--cream-deep);
    border-top: 1px solid var(--leather-umber);
    border-bottom: 1px solid var(--leather-umber);
}

.footer-rule-top,
.footer-rule-bottom {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--leather-umber) 20%, var(--leather-umber) 80%, transparent 100%);
    opacity: 0.25;
    margin: 0.5rem 0;
}

.footer-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    color: var(--leather-umber);
    text-align: center;
    margin: 1.2rem 0;
    text-transform: uppercase;
}

.footer-scroll {
    position: relative;
    width: 100%;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--leather-umber) transparent;
    mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.footer-scroll::-webkit-scrollbar {
    height: 4px;
}

.footer-scroll::-webkit-scrollbar-thumb {
    background: var(--leather-umber);
    border-radius: 2px;
}

.footer-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 2rem;
    width: max-content;
}

.thumb-wrap {
    position: relative;
    flex-shrink: 0;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cream-vellum);
    border: 1.5px solid var(--sage-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.thumb:hover {
    transform: scale(1.08);
    border-color: var(--candle-gold);
    box-shadow: 0 6px 16px -6px rgba(58, 54, 50, 0.25);
}

.thumb svg {
    width: 60%;
    height: 60%;
}

.thumb-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.75rem;
    color: var(--cream-vellum);
    background: var(--warm-charcoal);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
    z-index: 4;
    letter-spacing: 0.03em;
}

.thumb-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--warm-charcoal);
}

.thumb-wrap:hover .thumb-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.footer-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.26em;
    color: var(--leather-umber);
    text-transform: lowercase;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.footer-meta-item {
    white-space: nowrap;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
        min-height: 90vh;
        gap: 1.5rem;
        padding: clamp(2rem, 6vw, 3rem);
    }

    .hero-meta {
        font-size: 0.55rem;
        gap: 0.5rem;
        top: 1.2rem;
    }

    .hero-fern {
        max-width: 300px;
        order: 2;
    }

    .hero-text-column {
        order: 1;
        text-align: center;
    }

    .hero-title {
        justify-content: center;
    }

    .hero-subtitle,
    .hero-caption {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-plate-mark {
        justify-content: center;
    }

    .plate-ornament-left,
    .plate-ornament-right {
        width: 10vw;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .specimen-card {
        aspect-ratio: auto;
        min-height: 420px;
    }
}

@media (max-width: 600px) {
    .journal {
        padding: 0 1rem;
    }

    .hero-card {
        padding: 2rem 1.25rem;
    }

    .hero-meta {
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-bottom: 1.5rem;
    }

    .hero-corner {
        width: 32px;
        height: 32px;
    }

    .colophon-card {
        padding: 2rem 1.25rem;
    }

    .footer-meta {
        font-size: 0.55rem;
        gap: 0.5rem;
    }
}

/* ---------- ANIMATION HELPERS ---------- */

.plate-specimen .pt {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.plate-divider.visible .plate-specimen .pt {
    animation: drawPath 1.6s ease-out forwards;
}

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