/* ===========================================================
   lrx.wiki  —  watercolor naturalist folio under aurora
   Palette (eight earth tones, pure black forbidden):
     #F2E7D2 parchment-cream
     #D9C3A1 deeper-folio
     #7A4A2B umber
     #3F2A1A iron-gall  (default text)
     #2E2218 deep-loam
     #5C7A4A moss-pigment
     #9F4A6B garnet-bloom
     #3E5A8A northern-indigo
   =========================================================== */

:root {
    --parchment: #F2E7D2;
    --folio: #D9C3A1;
    --umber: #7A4A2B;
    --iron: #3F2A1A;
    --loam: #2E2218;
    --moss: #5C7A4A;
    --garnet: #9F4A6B;
    --indigo: #3E5A8A;

    --strip-w: 220px;

    --ease-punch: cubic-bezier(0.32, 0, 0.18, 1);
    --ease-settle: cubic-bezier(0.4, 0, 0.2, 1);

    --display-font: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    --plate-font: "Fraunces", "Source Serif 4", Georgia, serif;
    --body-font: "Source Serif 4", Georgia, "Times New Roman", serif;
    --hand-font: "Caveat", "Bricolage Grotesque", cursive;
    --mono-font: "IBM Plex Mono", ui-monospace, monospace;
}

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

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

body {
    font-family: var(--body-font);
    font-size: 18.5px;
    line-height: 1.62;
    color: var(--iron);
    background: var(--parchment);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: default;
    position: relative;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ---------------- Aurora layer (fixed) ---------------- */

.aurora-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.34;
    will-change: transform;
}

.aurora-conic {
    position: absolute;
    inset: -25%;
    border-radius: 50%;
    filter: blur(58px) saturate(110%);
    transform-origin: 50% 50%;
}

.aurora-conic.conic-1 {
    background: conic-gradient(from 0deg, transparent 0deg, var(--moss) 70deg, transparent 160deg, var(--moss) 250deg, transparent 360deg);
    animation: aurora-spin-a 24s linear infinite;
    opacity: 0.86;
}

.aurora-conic.conic-2 {
    background: conic-gradient(from 90deg, transparent 0deg, var(--garnet) 80deg, transparent 200deg, var(--garnet) 280deg, transparent 360deg);
    animation: aurora-spin-b 41s linear infinite;
    opacity: 0.78;
    inset: -35%;
}

.aurora-conic.conic-3 {
    background: conic-gradient(from 180deg, transparent 0deg, var(--indigo) 90deg, transparent 220deg, var(--indigo) 320deg, transparent 360deg);
    animation: aurora-spin-c 67s linear infinite;
    opacity: 0.74;
    inset: -45%;
}

@keyframes aurora-spin-a { from { transform: rotate(0deg) translateY(0); } to { transform: rotate(360deg) translateY(0); } }
@keyframes aurora-spin-b { from { transform: rotate(0deg) translateY(0); } to { transform: rotate(-360deg) translateY(0); } }
@keyframes aurora-spin-c { from { transform: rotate(0deg) translateY(0); } to { transform: rotate(360deg) translateY(0); } }

.aurora-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    mix-blend-mode: overlay;
}

/* ---------------- Parchment layer ---------------- */

.parchment-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    animation: parchment-breath 14s ease-in-out infinite;
    will-change: transform;
}

.parchment-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.92;
    mix-blend-mode: multiply;
}

@keyframes parchment-breath {
    0%, 100% { transform: scale(1.000); }
    50%      { transform: scale(1.004); }
}

/* ---------------- Bloom cursor ---------------- */

.bloom-cursor {
    position: fixed;
    z-index: 2;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(159, 74, 107, 0.36) 0%, rgba(159, 74, 107, 0.18) 35%, rgba(159, 74, 107, 0) 70%);
    filter: url(#bloom-feather) blur(8px);
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 240ms var(--ease-settle), transform 480ms var(--ease-settle);
    will-change: transform, opacity, left, top;
}

.bloom-cursor.is-active {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
}

.bloom-cursor.is-down {
    transform: translate(-50%, -50%) scale(1.6);
}

/* ---------------- Foxing field (rust dots) ---------------- */

.foxing-field {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.55;
}

.foxing-field .foxing-dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--umber) 0%, rgba(122, 74, 43, 0.35) 65%, rgba(122, 74, 43, 0) 100%);
    filter: blur(0.6px);
}

/* ---------------- Aurora-strip (sticky right rail) ---------------- */

.aurora-strip {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--strip-w);
    z-index: 5;
    background:
        linear-gradient(180deg, rgba(217, 195, 161, 0.74) 0%, rgba(217, 195, 161, 0.92) 28%, rgba(217, 195, 161, 0.74) 60%, rgba(217, 195, 161, 0.92) 100%),
        radial-gradient(120% 60% at 50% 12%, rgba(62, 90, 138, 0.42), transparent 60%),
        radial-gradient(120% 60% at 50% 50%, rgba(159, 74, 107, 0.38), transparent 60%),
        radial-gradient(120% 60% at 50% 88%, rgba(92, 122, 74, 0.40), transparent 60%);
    background-blend-mode: multiply;
    border-left: 1.25px solid var(--umber);
    box-shadow: inset 16px 0 32px -16px rgba(63, 42, 26, 0.22), -4px 0 18px -8px rgba(63, 42, 26, 0.14);
    overflow: hidden;
}

.aurora-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(180deg, rgba(63, 42, 26, 0.045) 0px, rgba(63, 42, 26, 0.045) 1px, transparent 1px, transparent 8px);
    pointer-events: none;
    mix-blend-mode: multiply;
}

.aurora-strip::after {
    content: "";
    position: absolute;
    inset: -10%;
    background: radial-gradient(60% 40% at 30% 30%, var(--moss) 0%, transparent 60%),
                radial-gradient(50% 50% at 70% 60%, var(--garnet) 0%, transparent 65%),
                radial-gradient(70% 50% at 50% 90%, var(--indigo) 0%, transparent 60%);
    opacity: 0.55;
    mix-blend-mode: multiply;
    animation: strip-bloom 22s ease-in-out infinite;
    filter: blur(28px);
    pointer-events: none;
}

@keyframes strip-bloom {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(8px, -16px); }
    66% { transform: translate(-12px, 12px); }
}

.strip-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 0 22px;
}

.chapter-list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.chapter {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--display-font);
    font-weight: 700;
    font-size: clamp(64px, 6.4vw, 112px);
    line-height: 0.86;
    letter-spacing: -0.04em;
    text-transform: lowercase;
    color: var(--umber);
    transition: color 600ms var(--ease-settle), letter-spacing 600ms var(--ease-settle), transform 600ms var(--ease-settle);
    cursor: pointer;
    padding: 18px 0;
    position: relative;
}

.chapter .chapter-num {
    font-family: var(--mono-font);
    font-size: 12px;
    color: var(--iron);
    letter-spacing: 0.06em;
    margin-right: 8px;
    text-transform: uppercase;
    writing-mode: horizontal-tb;
    transform: rotate(-90deg);
    display: inline-block;
    vertical-align: middle;
    opacity: 0.72;
}

.chapter .chapter-name {
    display: inline-block;
}

.chapter.is-active {
    color: var(--garnet);
    letter-spacing: -0.045em;
    transform: rotate(180deg) scale(1.04);
}

.chapter.is-active::before {
    content: "";
    position: absolute;
    inset: -8px -12px;
    background: radial-gradient(circle, rgba(159, 74, 107, 0.22) 0%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}

.strip-footer {
    font-family: var(--mono-font);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--umber);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.4;
    opacity: 0.78;
}

.aurora-clock {
    color: var(--garnet);
}

/* ---------------- Folio (broken-grid main) ---------------- */

.folio {
    position: relative;
    z-index: 3;
    margin-right: var(--strip-w);
    padding: 96px 64px 96px 88px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(40px, auto);
    gap: 48px 26px;
    max-width: none;
}

/* ---------------- Plate (pinned watercolor card) ---------------- */

.plate {
    grid-column: var(--col-start) / var(--col-end);
    transform: rotate(var(--rotate, 0deg));
    background:
        linear-gradient(180deg, rgba(242, 231, 210, 0.96), rgba(217, 195, 161, 0.62)),
        radial-gradient(120% 80% at 30% 20%, rgba(122, 74, 43, 0.06), transparent 55%);
    background-blend-mode: multiply;
    border: 1.25px solid var(--umber);
    border-radius: 2px;
    padding: 28px 30px 32px;
    position: relative;
    box-shadow:
        0 1px 0 rgba(63, 42, 26, 0.06),
        2px 4px 18px -8px rgba(63, 42, 26, 0.32),
        12px 18px 38px -22px rgba(63, 42, 26, 0.42);
    transition: transform 600ms var(--ease-punch), filter 720ms var(--ease-settle), box-shadow 480ms var(--ease-settle);
    will-change: transform, filter, opacity;
    opacity: 0;
    isolation: isolate;
    filter: blur(1.4px);
}

.plate::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 22% 78%, rgba(122, 74, 43, 0.18) 0%, transparent 1.2%),
        radial-gradient(circle at 64% 18%, rgba(122, 74, 43, 0.16) 0%, transparent 0.8%),
        radial-gradient(circle at 84% 62%, rgba(122, 74, 43, 0.12) 0%, transparent 0.6%),
        radial-gradient(circle at 14% 42%, rgba(122, 74, 43, 0.16) 0%, transparent 0.9%),
        radial-gradient(circle at 48% 92%, rgba(122, 74, 43, 0.10) 0%, transparent 0.5%);
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.85;
    z-index: 1;
}

.plate::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: inset 0 0 24px -8px rgba(159, 74, 107, 0.28);
    pointer-events: none;
    opacity: 0;
    transition: opacity 480ms var(--ease-settle);
    z-index: 1;
}

.plate.is-revealed {
    opacity: 1;
    filter: blur(0px);
}

.plate.is-focal {
    filter: blur(0px);
    box-shadow:
        0 1px 0 rgba(63, 42, 26, 0.08),
        4px 8px 22px -8px rgba(63, 42, 26, 0.36),
        18px 26px 56px -28px rgba(63, 42, 26, 0.46);
}

.plate.is-near {
    filter: blur(0.6px);
}

.plate.is-far {
    filter: blur(2.2px);
}

.plate:hover {
    transform: rotate(calc(var(--rotate) + 0.6deg));
    z-index: 4;
}

.plate:hover::after {
    opacity: 1;
}

.plate--small  { grid-column: span 4; }
.plate--medium { grid-column: span 6; }
.plate--wide   { grid-column: span 8; }
.plate--title  { grid-column: 1 / 8; }

/* Title plate */

.plate--title {
    padding: 56px 44px 64px;
    background:
        linear-gradient(135deg, rgba(242, 231, 210, 0.98), rgba(217, 195, 161, 0.72) 55%, rgba(159, 74, 107, 0.10)),
        radial-gradient(140% 90% at 20% 30%, rgba(62, 90, 138, 0.10), transparent 55%);
    background-blend-mode: multiply;
}

.plate-eyebrow {
    font-family: var(--mono-font);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--umber);
    margin-bottom: 22px;
    opacity: 0.78;
}

.display-title {
    font-family: var(--display-font);
    font-weight: 800;
    font-size: clamp(96px, 16vw, 184px);
    line-height: 0.84;
    letter-spacing: -0.045em;
    text-transform: lowercase;
    color: var(--iron);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
    text-shadow: 0.6px 0 0 rgba(159, 74, 107, 0.18), -0.4px 0 0 rgba(62, 90, 138, 0.12);
}

.title-dot {
    color: var(--garnet);
    display: inline-block;
    transform: translateY(-0.05em) scale(1.1);
}

.plate-sub {
    font-family: var(--body-font);
    font-size: 22px;
    line-height: 1.42;
    color: var(--loam);
    max-width: 64ch;
    margin-bottom: 28px;
}

.plate-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-family: var(--mono-font);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--umber);
}

.meta-sep {
    color: var(--garnet);
    opacity: 0.7;
}

/* Plate head */

.plate-head {
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.taxonomic-id {
    display: inline-block;
    font-family: var(--mono-font);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--umber);
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(122, 74, 43, 0.34);
    padding-bottom: 4px;
}

.plate-title {
    font-family: var(--plate-font);
    font-style: italic;
    font-weight: 600;
    font-variation-settings: "SOFT" 80, "opsz" 100;
    font-size: clamp(40px, 4.4vw, 60px);
    line-height: 0.96;
    letter-spacing: -0.01em;
    color: var(--iron);
}

.plate--wide .plate-title { font-size: clamp(48px, 5.4vw, 72px); }
.plate--small .plate-title { font-size: clamp(34px, 3.6vw, 46px); }

/* Plate body */

.plate-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.plate-body p {
    color: var(--loam);
    max-width: 56ch;
}

/* Specimen icon container */

.specimen-icon {
    width: 132px;
    height: 132px;
    position: relative;
    margin-bottom: 4px;
    filter: drop-shadow(2px 4px 0px rgba(63, 42, 26, 0.16));
}

.plate--small .specimen-icon { width: 96px; height: 96px; }
.plate--wide .specimen-icon  { width: 160px; height: 160px; }

.specimen-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Infobox */

.infobox {
    background: rgba(217, 195, 161, 0.62);
    border: 1px solid rgba(122, 74, 43, 0.42);
    border-left-width: 3px;
    border-left-color: var(--umber);
    padding: 12px 16px;
    max-width: 36ch;
    box-shadow: 0 0 0 1px rgba(242, 231, 210, 0.5) inset;
    position: relative;
}

.infobox::after {
    content: "";
    position: absolute;
    inset: -1px;
    background-image: radial-gradient(circle at 10% 90%, rgba(159, 74, 107, 0.10), transparent 30%),
                      radial-gradient(circle at 90% 10%, rgba(92, 122, 74, 0.10), transparent 30%);
    pointer-events: none;
    mix-blend-mode: multiply;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(122, 74, 43, 0.28);
    font-size: 14.5px;
}

.info-row:last-child { border-bottom: none; }

.info-key {
    font-family: var(--mono-font);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--umber);
    flex-shrink: 0;
}

.info-val {
    font-family: var(--body-font);
    color: var(--iron);
    text-align: right;
    font-style: italic;
}

/* See-also tags */

.see-also {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 6px;
}

.see-tag {
    font-family: var(--hand-font);
    font-size: 19px;
    font-weight: 500;
    color: var(--umber);
    border-bottom: 1px dashed rgba(122, 74, 43, 0.5);
    padding: 0 2px 2px;
    cursor: pointer;
    transition: color 320ms var(--ease-punch), transform 320ms var(--ease-punch);
    display: inline-block;
}

.see-tag:nth-child(1) { transform: rotate(-1.4deg); }
.see-tag:nth-child(2) { transform: rotate(0.8deg); }
.see-tag:nth-child(3) { transform: rotate(-0.6deg); }

.see-tag:hover {
    color: var(--garnet);
    transform: rotate(0deg) scale(1.06);
    border-bottom-color: var(--garnet);
}

/* Marginalia (handwritten captions) */

.marginalia {
    position: absolute;
    font-family: var(--hand-font);
    font-size: clamp(18px, 1.4vw, 24px);
    font-weight: 500;
    color: var(--umber);
    z-index: 3;
    max-width: 24ch;
    line-height: 1.16;
    pointer-events: none;
    opacity: 0;
    transition: opacity 720ms var(--ease-settle);
}

.plate.is-revealed .marginalia { opacity: 0.92; }

.marg-1 {
    top: 18px;
    right: -150px;
    transform: rotate(2.6deg);
    color: var(--iron);
}

.marg-2 {
    bottom: -28px;
    left: -22px;
    transform: rotate(-3.2deg);
    color: var(--garnet);
}

.plate--title .marg-1 { right: 18px; top: 22px; transform: rotate(-2deg); color: var(--garnet); font-size: 26px; }
.plate--title .marg-2 { bottom: 18px; right: 36px; left: auto; transform: rotate(1.2deg); color: var(--umber); }

/* Brass tack */

.brass-tack {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, #E6C47A 0%, #B68940 38%, #6E4A1C 78%, #3F2A1A 100%);
    box-shadow:
        0 0 0 1px rgba(63, 42, 26, 0.5),
        2px 3px 6px -1px rgba(63, 42, 26, 0.5),
        inset 1px 1px 1.5px rgba(255, 240, 200, 0.6);
    transform: rotate(var(--tack-rot, 0deg));
    z-index: 4;
    transition: transform 480ms var(--ease-punch);
    opacity: 0;
}

.brass-tack::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 42, 26, 0.28) 0%, transparent 70%);
    z-index: -1;
}

.plate.is-revealed .brass-tack {
    opacity: 1;
    animation: tack-drop 540ms var(--ease-punch) 220ms forwards;
}

@keyframes tack-drop {
    0%   { transform: rotate(var(--tack-rot, 0deg)) translateY(-18px) scale(0.6); opacity: 0; }
    60%  { transform: rotate(var(--tack-rot, 0deg)) translateY(2px) scale(1.08); opacity: 1; }
    100% { transform: rotate(var(--tack-rot, 0deg)) translateY(0) scale(1); opacity: 1; }
}

/* ---------------- Marginalia arrows (overlay svg) ---------------- */

.marginalia-arrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.ink-arrow {
    fill: none;
    stroke: var(--iron);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.62;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 900ms var(--ease-settle);
}

.ink-arrow.is-drawn {
    stroke-dashoffset: 0;
}

/* ---------------- Index plate (footer) ---------------- */

.index-plate {
    position: relative;
    z-index: 3;
    margin: 80px var(--strip-w) 60px 32px;
    margin-right: calc(var(--strip-w) + 32px);
    padding: 56px 64px 72px;
    background:
        linear-gradient(180deg, rgba(217, 195, 161, 0.92), rgba(242, 231, 210, 0.92)),
        radial-gradient(80% 100% at 50% 0%, rgba(159, 74, 107, 0.12), transparent 60%);
    background-blend-mode: multiply;
    border: 1.25px solid var(--umber);
    border-radius: 2px;
    transform: rotate(-0.8deg);
    box-shadow:
        2px 6px 22px -10px rgba(63, 42, 26, 0.34),
        14px 22px 56px -28px rgba(63, 42, 26, 0.42);
}

.index-plate::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 70%, rgba(122, 74, 43, 0.16) 0%, transparent 0.7%),
        radial-gradient(circle at 84% 24%, rgba(122, 74, 43, 0.14) 0%, transparent 0.5%),
        radial-gradient(circle at 56% 92%, rgba(122, 74, 43, 0.12) 0%, transparent 0.4%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.index-title {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: clamp(56px, 7vw, 96px);
    letter-spacing: -0.04em;
    text-transform: lowercase;
    color: var(--iron);
    line-height: 0.9;
    margin-bottom: 14px;
}

.index-sub {
    font-family: var(--hand-font);
    font-size: 24px;
    color: var(--umber);
    margin-bottom: 36px;
    transform: rotate(-0.6deg);
    display: inline-block;
}

.index-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 22px;
    margin-bottom: 36px;
}

.index-slip {
    background: rgba(242, 231, 210, 0.96);
    border: 1px solid var(--umber);
    border-radius: 1px;
    padding: 12px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: rotate(var(--slip-rot, 0deg));
    box-shadow:
        2px 3px 8px -3px rgba(63, 42, 26, 0.28),
        inset 0 0 0 1px rgba(242, 231, 210, 0.4);
    cursor: pointer;
    transition: transform 320ms var(--ease-punch), background 320ms var(--ease-punch);
    position: relative;
    clip-path: polygon(2% 0, 98% 1%, 100% 96%, 96% 100%, 4% 99%, 0 4%);
}

.index-slip:hover {
    transform: rotate(0deg) scale(1.05) translateY(-2px);
    background: rgba(217, 195, 161, 0.96);
}

.slip-id {
    font-family: var(--mono-font);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--umber);
}

.slip-name {
    font-family: var(--plate-font);
    font-style: italic;
    font-weight: 600;
    font-size: 19px;
    color: var(--iron);
}

.index-colophon {
    display: flex;
    gap: 18px;
    align-items: center;
    font-family: var(--mono-font);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--umber);
    border-top: 1px solid rgba(122, 74, 43, 0.36);
    padding-top: 18px;
}

.cph-mark {
    color: var(--garnet);
    font-size: 14px;
}

/* ---------------- Watercolor wash on icon (svg-based) ---------------- */

.specimen-icon .iso-stroke {
    fill: none;
    stroke: var(--iron);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.specimen-icon .iso-wash {
    filter: url(#watercolor-bleed);
    mix-blend-mode: multiply;
    opacity: 0.78;
}

/* ---------------- Animated bleeds on hover plates ---------------- */

.plate:hover .specimen-icon .iso-wash {
    animation: pigment-pulse 1.4s ease-in-out infinite;
}

@keyframes pigment-pulse {
    0%, 100% { opacity: 0.78; transform: translate(0, 0); }
    50%      { opacity: 0.92; transform: translate(0.6px, -0.4px); }
}

/* ---------------- Mobile / small viewports ---------------- */

@media (max-width: 1024px) {
    .aurora-strip {
        position: fixed;
        top: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 96px;
        border-left: none;
        border-bottom: 1.25px solid var(--umber);
        z-index: 6;
    }

    .strip-inner {
        flex-direction: row;
        padding: 12px 16px;
        gap: 12px;
        height: 100%;
    }

    .chapter-list {
        flex-direction: row;
        flex: 1;
        justify-content: space-between;
        gap: 4px;
    }

    .chapter {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: clamp(20px, 4vw, 32px);
        padding: 0;
    }

    .chapter.is-active {
        transform: none;
    }

    .chapter .chapter-num {
        transform: none;
        margin-right: 4px;
    }

    .strip-footer {
        align-items: flex-end;
        justify-content: center;
        font-size: 9px;
    }

    .folio {
        margin-right: 0;
        margin-top: 96px;
        padding: 36px 24px;
        gap: 64px 16px;
    }

    .plate--title { grid-column: 1 / -1; padding: 36px 28px 44px; }
    .plate { grid-column: 1 / -1 !important; }

    .display-title { font-size: clamp(72px, 18vw, 120px); }

    .marg-1 { right: -8px; top: -28px; }
    .marg-2 { left: -8px; bottom: -28px; }

    .index-plate {
        margin: 64px 16px 32px;
        padding: 40px 24px 52px;
    }

    .bloom-cursor { display: none; }
}

@media (max-width: 600px) {
    .folio { padding: 24px 16px; gap: 48px 0; }
    .plate { padding: 22px 20px 26px; }
    .plate-sub { font-size: 18px; }
    .plate-title { font-size: clamp(28px, 8vw, 38px) !important; }
    .display-title { font-size: clamp(54px, 22vw, 88px); }
    .specimen-icon { width: 84px; height: 84px; }
    .index-list { gap: 12px; }
    .index-slip { padding: 8px 12px; }
}

/* ---------------- Reduced-motion safety ---------------- */

@media (prefers-reduced-motion: reduce) {
    .aurora-conic, .parchment-layer, .aurora-strip::after, .specimen-icon .iso-wash {
        animation: none !important;
    }
    .plate { transition: none; opacity: 1; filter: none; }
    .plate.is-revealed .brass-tack { animation: none; }
}

/* ---------------- Accessibility-omitted (per design) ---------------- */
