/* =====================================================
   political.day // Brutalist Split-Screen Civic Record
   ===================================================== */

:root {
    /* Section pastels */
    --pastel-1: #C8E6C9; /* Institutional Mint - foundation */
    --pastel-2: #D1C4E9; /* Bureau Lavender - structure */
    --pastel-3: #F8BBD0; /* Filing Pink - tension */
    --pastel-4: #FFF9C4; /* Archive Yellow - resolution */
    --pastel-5: #BBDEFB; /* Permit Blue - record */

    /* Pastel-dark counterparts */
    --pastel-1-dark: #2E7D32;
    --pastel-2-dark: #4527A0;
    --pastel-3-dark: #AD1457;
    --pastel-4-dark: #9E8A1A;
    --pastel-5-dark: #1565C0;

    /* Structural */
    --content-bg: #F2F0EC;
    --graphite: #2A2A2A;
    --concrete: #9E9E9E;
    --concrete-light: #E0E0E0;
    --concrete-mid: #BDBDBD;
    --brutalist-red: #D32F2F;

    /* Active palette (changes per section) */
    --active-pastel: var(--pastel-1);
    --active-dark: var(--pastel-1-dark);

    --col-w: 38vw;

    --bezier-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Albert Sans', 'Inter', sans-serif;
    background: var(--content-bg);
    color: var(--graphite);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.noise-svg {
    position: fixed;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ============================================================
   ANNOTATION COLUMN (LEFT, 38vw, position: fixed)
   ============================================================ */
.annotation-column {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--col-w);
    height: 100vh;
    background: var(--active-pastel);
    transition: background-color 0s linear;
    overflow: hidden;
    z-index: 5;
    border-right: 2px solid var(--graphite);
    display: flex;
    flex-direction: column;
    padding: 32px 40px 28px 40px;
}

.annotation-column::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 0;
}

.annotation-column > * {
    position: relative;
    z-index: 1;
}

/* Header */
.annotation-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1.5px solid var(--graphite);
}

.document-mark {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'Space Grotesk', 'Space', monospace;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--active-dark);
    transition: color 0s linear;
}

.mark-label {
    opacity: 0.72;
}

.mark-value {
    font-weight: 600;
    color: var(--graphite);
}

/* Body */
.annotation-body {
    flex: 1;
    position: relative;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
}

/* Section watermark */
.section-watermark {
    position: absolute;
    top: 4px;
    right: -14px;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 300;
    font-size: clamp(96px, 12vw, 168px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--active-dark);
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: opacity 0.4s ease, color 0s linear, transform 0.6s var(--bezier-bounce);
}

.watermark-prefix {
    font-size: 0.5em;
    vertical-align: top;
    margin-right: 6px;
    opacity: 0.7;
}

.section-watermark.is-shifting {
    transform: translateX(-40px);
    opacity: 0;
}

/* Title block */
.annotation-title-block {
    position: relative;
    z-index: 2;
}

.annotation-eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--active-dark);
    padding: 4px 8px;
    border: 1.5px solid var(--graphite);
    background: var(--content-bg);
    margin-bottom: 14px;
    transition: color 0s linear;
}

.annotation-title {
    font-family: 'Instrument Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--graphite);
    max-width: 22ch;
}

/* Fish stage */
.fish-stage {
    position: relative;
    width: 130px;
    height: 110px;
    margin: 0;
    z-index: 2;
}

.fish {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.45s ease, transform 0.55s var(--bezier-bounce);
    pointer-events: none;
}

.fish.is-active {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* --- Angelfish (triangular) --- */
.fish-angel .fish-body {
    position: absolute;
    left: 18px;
    top: 14px;
    width: 70px;
    height: 80px;
    background: var(--pastel-1-dark);
    clip-path: polygon(0% 50%, 60% 0%, 100% 35%, 100% 65%, 60% 100%);
}
.fish-angel .fish-fin-top {
    position: absolute;
    left: 50px;
    top: -2px;
    width: 24px;
    height: 36px;
    background: var(--pastel-1-dark);
    clip-path: polygon(0% 100%, 80% 0%, 100% 100%);
    opacity: 0.85;
}
.fish-angel .fish-fin-bottom {
    position: absolute;
    left: 50px;
    bottom: 4px;
    width: 24px;
    height: 32px;
    background: var(--pastel-1-dark);
    clip-path: polygon(0% 0%, 80% 100%, 100% 0%);
    opacity: 0.85;
}
.fish-angel .fish-tail {
    position: absolute;
    right: 4px;
    top: 30px;
    width: 28px;
    height: 50px;
    background: var(--pastel-1-dark);
    clip-path: polygon(0% 30%, 100% 0%, 80% 50%, 100% 100%, 0% 70%);
}
.fish-angel .fish-eye {
    position: absolute;
    left: 32px;
    top: 46px;
    width: 6px;
    height: 6px;
    background: var(--content-bg);
    border-radius: 50%;
}

/* --- Pufferfish (round, spiked) --- */
.fish-puffer .fish-body {
    position: absolute;
    left: 28px;
    top: 18px;
    width: 70px;
    height: 70px;
    background: var(--pastel-2-dark);
    border-radius: 48% 52% 50% 50% / 50% 50% 52% 48%;
}
.fish-puffer .fish-spike {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--pastel-2-dark);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    transform-origin: 50% 100%;
}
.fish-puffer .fish-spike.s1 { left: 56px; top: 4px;  transform: rotate(0deg); }
.fish-puffer .fish-spike.s2 { left: 78px; top: 12px; transform: rotate(45deg); }
.fish-puffer .fish-spike.s3 { left: 94px; top: 30px; transform: rotate(90deg); }
.fish-puffer .fish-spike.s4 { left: 88px; top: 56px; transform: rotate(135deg); }
.fish-puffer .fish-spike.s5 { left: 64px; top: 76px; transform: rotate(180deg); }
.fish-puffer .fish-spike.s6 { left: 34px; top: 76px; transform: rotate(200deg); }
.fish-puffer .fish-spike.s7 { left: 14px; top: 50px; transform: rotate(270deg); }
.fish-puffer .fish-spike.s8 { left: 30px; top: 14px; transform: rotate(325deg); }
.fish-puffer .fish-tail {
    position: absolute;
    right: 4px;
    top: 38px;
    width: 18px;
    height: 30px;
    background: var(--pastel-2-dark);
    clip-path: polygon(0% 30%, 100% 0%, 70% 50%, 100% 100%, 0% 70%);
}
.fish-puffer .fish-eye {
    position: absolute;
    left: 50px;
    top: 44px;
    width: 6px;
    height: 6px;
    background: var(--content-bg);
    border-radius: 50%;
}

/* --- Swordfish (streamlined, long bill) --- */
.fish-sword .fish-bill {
    position: absolute;
    left: -8px;
    top: 50px;
    width: 60px;
    height: 4px;
    background: var(--pastel-3-dark);
}
.fish-sword .fish-body {
    position: absolute;
    left: 42px;
    top: 38px;
    width: 70px;
    height: 28px;
    background: var(--pastel-3-dark);
    border-radius: 50% 30% 30% 50% / 50%;
}
.fish-sword .fish-fin-top {
    position: absolute;
    left: 60px;
    top: 22px;
    width: 26px;
    height: 18px;
    background: var(--pastel-3-dark);
    clip-path: polygon(0% 100%, 60% 0%, 100% 100%);
}
.fish-sword .fish-fin-bottom {
    position: absolute;
    left: 64px;
    top: 64px;
    width: 22px;
    height: 14px;
    background: var(--pastel-3-dark);
    clip-path: polygon(0% 0%, 60% 100%, 100% 0%);
}
.fish-sword .fish-tail {
    position: absolute;
    right: 0px;
    top: 30px;
    width: 24px;
    height: 44px;
    background: var(--pastel-3-dark);
    clip-path: polygon(0% 40%, 100% 0%, 70% 50%, 100% 100%, 0% 60%);
}
.fish-sword .fish-eye {
    position: absolute;
    left: 56px;
    top: 46px;
    width: 5px;
    height: 5px;
    background: var(--content-bg);
    border-radius: 50%;
}

/* --- Seahorse (vertical, curled) --- */
.fish-seahorse .fish-head {
    position: absolute;
    left: 38px;
    top: 6px;
    width: 28px;
    height: 30px;
    background: var(--pastel-4-dark);
    border-radius: 50% 50% 30% 50%;
}
.fish-seahorse .fish-snout {
    position: absolute;
    left: 30px;
    top: 18px;
    width: 14px;
    height: 8px;
    background: var(--pastel-4-dark);
    border-radius: 4px;
}
.fish-seahorse .fish-body {
    position: absolute;
    left: 44px;
    top: 30px;
    width: 22px;
    height: 50px;
    background: var(--pastel-4-dark);
    border-radius: 30% 40% 50% 50%;
    transform: rotate(-8deg);
}
.fish-seahorse .fish-curl {
    position: absolute;
    left: 30px;
    top: 70px;
    width: 30px;
    height: 30px;
    border: 6px solid var(--pastel-4-dark);
    border-right-color: transparent;
    border-top-color: transparent;
    border-radius: 50%;
    transform: rotate(35deg);
}
.fish-seahorse .fish-fin-top {
    position: absolute;
    left: 60px;
    top: 36px;
    width: 14px;
    height: 22px;
    background: var(--pastel-4-dark);
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}
.fish-seahorse .fish-eye {
    position: absolute;
    left: 50px;
    top: 16px;
    width: 5px;
    height: 5px;
    background: var(--content-bg);
    border-radius: 50%;
}

/* --- Lionfish (elongated, spiny dorsal) --- */
.fish-lion .fish-body {
    position: absolute;
    left: 24px;
    top: 38px;
    width: 70px;
    height: 32px;
    background: var(--pastel-5-dark);
    border-radius: 40% 30% 30% 40% / 50%;
}
.fish-lion .fish-spine {
    position: absolute;
    width: 3px;
    background: var(--pastel-5-dark);
    bottom: 56px;
    transform-origin: 50% 100%;
}
.fish-lion .fish-spine.s1 { left: 28px; height: 26px; transform: rotate(-12deg); }
.fish-lion .fish-spine.s2 { left: 38px; height: 32px; transform: rotate(-6deg); }
.fish-lion .fish-spine.s3 { left: 50px; height: 36px; transform: rotate(0deg); }
.fish-lion .fish-spine.s4 { left: 62px; height: 32px; transform: rotate(6deg); }
.fish-lion .fish-spine.s5 { left: 74px; height: 26px; transform: rotate(12deg); }
.fish-lion .fish-stripe {
    position: absolute;
    width: 3px;
    height: 28px;
    background: var(--content-bg);
}
.fish-lion .fish-stripe.st1 { left: 50px; top: 40px; }
.fish-lion .fish-stripe.st2 { left: 64px; top: 40px; }
.fish-lion .fish-tail {
    position: absolute;
    right: 8px;
    top: 32px;
    width: 22px;
    height: 44px;
    background: var(--pastel-5-dark);
    clip-path: polygon(0% 40%, 100% 0%, 70% 50%, 100% 100%, 0% 60%);
}
.fish-lion .fish-eye {
    position: absolute;
    left: 36px;
    top: 46px;
    width: 5px;
    height: 5px;
    background: var(--content-bg);
    border-radius: 50%;
}

/* Index nav */
.annotation-index {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0 16px 0;
    border-top: 1.5px solid var(--graphite);
    border-bottom: 1.5px solid var(--graphite);
}

.index-label {
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--active-dark);
    transition: color 0s linear;
}

.index-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.index-item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(42, 42, 42, 0.25);
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--graphite);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.25s var(--bezier-bounce);
    position: relative;
}

.index-item:last-child {
    border-bottom: none;
}

.index-item:hover {
    transform: translateX(4px);
    color: var(--brutalist-red);
}

.index-num {
    font-weight: 600;
    color: var(--active-dark);
    transition: color 0s linear;
}

.index-name {
    font-weight: 600;
}

.index-fish {
    font-size: 10px;
    opacity: 0.6;
    letter-spacing: 0.14em;
}

.index-item.is-active {
    color: var(--brutalist-red);
}

.index-item.is-active::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--brutalist-red);
}

.index-item.is-active .index-num {
    color: var(--brutalist-red);
}

/* Meta block */
.annotation-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    font-family: 'Space Grotesk', 'Space', monospace;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px dotted rgba(42, 42, 42, 0.4);
}

.meta-key {
    color: var(--active-dark);
    transition: color 0s linear;
}

.meta-val {
    color: var(--graphite);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.annotation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1.5px solid var(--graphite);
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--graphite);
}

/* Body data-section variants - drive --active-pastel and --active-dark */
body[data-section="1"] { --active-pastel: var(--pastel-1); --active-dark: var(--pastel-1-dark); }
body[data-section="2"] { --active-pastel: var(--pastel-2); --active-dark: var(--pastel-2-dark); }
body[data-section="3"] { --active-pastel: var(--pastel-3); --active-dark: var(--pastel-3-dark); }
body[data-section="4"] { --active-pastel: var(--pastel-4); --active-dark: var(--pastel-4-dark); }
body[data-section="5"] { --active-pastel: var(--pastel-5); --active-dark: var(--pastel-5-dark); }

/* ============================================================
   CONTENT PANE (RIGHT, 62vw)
   ============================================================ */
.content-pane {
    margin-left: var(--col-w);
    width: calc(100vw - var(--col-w));
    background: var(--content-bg);
    position: relative;
    min-height: 100vh;
}

.content-pane::before {
    content: "";
    position: fixed;
    top: 0;
    left: var(--col-w);
    width: calc(100vw - var(--col-w));
    height: 100vh;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.content-pane > * {
    position: relative;
    z-index: 2;
}

/* Sections */
.content-section {
    padding: 96px 64px 80px 64px;
    max-width: 920px;
    position: relative;
}

.content-section + .content-section {
    padding-top: 64px;
}

.section-header {
    margin-bottom: 56px;
    padding-left: 0;
    border-left: 4px solid var(--graphite);
    padding: 4px 0 6px 28px;
}

.section-tag {
    display: block;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brutalist-red);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Instrument Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 4.4vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--graphite);
    margin-bottom: 22px;
    max-width: 18ch;
}

.section-summary {
    font-family: 'Albert Sans', 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.55;
    color: var(--graphite);
    max-width: 52ch;
    margin-bottom: 22px;
}

.section-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--concrete);
    border-top: 1px solid var(--concrete);
    padding-top: 10px;
}

.byline-cell {
    padding-right: 18px;
    border-right: 1px solid var(--concrete);
}
.byline-cell:last-child {
    border-right: none;
    padding-right: 0;
}

/* Prose */
.prose-block {
    margin: 32px 0;
    padding-left: 48px;
}

.prose-graf {
    font-size: 17px;
    line-height: 1.7;
    color: var(--graphite);
    max-width: 60ch;
    margin-bottom: 22px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.55s var(--bezier-bounce);
}

.prose-graf.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.graf-num {
    display: inline-block;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--brutalist-red);
    margin-right: 6px;
    vertical-align: 1px;
}

.prose-graf strong {
    font-weight: 600;
    background: var(--active-pastel);
    padding: 0 4px;
    transition: background-color 0s linear;
}

/* Callouts */
.callout {
    margin: 36px 0;
    margin-left: 0;
    padding: 22px 28px 24px 28px;
    background: var(--content-bg);
    border: 2px solid var(--graphite);
    max-width: 64ch;
    position: relative;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.6s var(--bezier-bounce);
}

.callout.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.callout::before {
    content: "";
    position: absolute;
    left: -8px;
    top: -8px;
    width: 16px;
    height: 16px;
    background: var(--brutalist-red);
}

.callout-tag {
    display: inline-block;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brutalist-red);
    margin-bottom: 12px;
    padding: 3px 7px;
    border: 1.5px solid var(--brutalist-red);
}

.callout p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--graphite);
}

.callout-quote blockquote {
    font-family: 'Instrument Sans', 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--graphite);
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 3px solid var(--brutalist-red);
}

.callout-quote cite {
    font-style: normal;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--concrete);
}

/* Numbered lists */
.numbered-list {
    margin: 40px 0;
    padding-left: 48px;
    max-width: 60ch;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.55s var(--bezier-bounce);
}
.numbered-list.is-visible { opacity: 1; transform: translateY(0); }

.list-label {
    display: block;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brutalist-red);
    border-bottom: 1.5px solid var(--graphite);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.numbered-list ol {
    list-style: none;
    counter-reset: numlist;
}

.numbered-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--concrete);
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--graphite);
}

.numbered-list li:last-child {
    border-bottom: none;
}

.list-num {
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--brutalist-red);
    padding-top: 2px;
}

/* Diagrams */
.diagram-block {
    margin: 48px 0;
    padding: 30px 32px 36px 32px;
    border: 2px solid var(--graphite);
    background: var(--content-bg);
    max-width: 720px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.6s var(--bezier-bounce);
}
.diagram-block.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.diagram-label {
    display: block;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brutalist-red);
    border-bottom: 1.5px solid var(--graphite);
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.diagram {
    position: relative;
    height: 240px;
    width: 100%;
}

.diag-node {
    position: absolute;
    width: 130px;
    height: 56px;
    border: 2px solid var(--graphite);
    background: var(--active-pastel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--graphite);
    transition: background-color 0s linear;
}

.diag-node.n-l { left: 50%; top: 8px; transform: translateX(-50%); }
.diag-node.n-e { left: 4px; bottom: 8px; }
.diag-node.n-j { right: 4px; bottom: 8px; }

.diag-edge {
    position: absolute;
    background: var(--graphite);
    height: 2px;
    transform-origin: 0 50%;
}

.diag-edge.edge-le { left: 38%; top: 38px; width: 36%; transform: rotate(54deg); }
.diag-edge.edge-ej { left: 134px; bottom: 36px; right: 134px; height: 2px; }
.diag-edge.edge-jl { right: 38%; top: 38px; width: 36%; transform: rotate(-54deg); transform-origin: 100% 50%; }

.diag-tag {
    position: absolute;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brutalist-red);
    background: var(--content-bg);
    padding: 2px 6px;
    border: 1px solid var(--brutalist-red);
}
.diag-tag.tag-1 { left: 26%; top: 80px; transform: rotate(-54deg); }
.diag-tag.tag-2 { left: 50%; bottom: 32px; transform: translateX(-50%); }
.diag-tag.tag-3 { right: 26%; top: 80px; transform: rotate(54deg); }

/* Cycle diagram */
.cycle-diagram {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.cycle-step {
    flex: 0 0 auto;
    padding: 12px 18px;
    border: 2px solid var(--graphite);
    background: var(--active-pastel);
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--graphite);
    transition: background-color 0s linear;
}

.cycle-arrow {
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--brutalist-red);
}

/* Concrete dividers */
.concrete-divider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 24px;
    margin: 64px 0 12px 0;
    background:
        radial-gradient(circle at 12% 40%, var(--concrete) 1.4px, transparent 2.2px),
        radial-gradient(circle at 28% 70%, var(--concrete-light) 2.4px, transparent 3px),
        radial-gradient(circle at 45% 30%, var(--concrete-mid) 1.8px, transparent 2.6px),
        radial-gradient(circle at 62% 60%, var(--concrete) 2px, transparent 2.8px),
        radial-gradient(circle at 78% 25%, var(--concrete-light) 2.6px, transparent 3.2px),
        radial-gradient(circle at 92% 70%, var(--concrete-mid) 1.6px, transparent 2.4px),
        repeating-linear-gradient(90deg, var(--concrete-light) 0 2px, transparent 2px 6px),
        var(--content-bg);
    border-top: 1.5px solid var(--graphite);
    border-bottom: 1.5px solid var(--graphite);
    transform: scaleX(0);
    transform-origin: 50% 50%;
    transition: transform 0.6s var(--bezier-bounce);
}

.concrete-divider.is-visible {
    transform: scaleX(1);
}

/* Document end */
.document-end {
    margin-top: 56px;
    padding: 30px 0;
    border-top: 3px double var(--graphite);
    border-bottom: 3px double var(--graphite);
    text-align: center;
}

.end-mark {
    font-family: 'Instrument Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--graphite);
    margin-bottom: 16px;
}

.end-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--concrete);
}

/* ============================================================
   MOBILE BAR (visible <768px)
   ============================================================ */
.mobile-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--active-pastel);
    border-bottom: 2px solid var(--graphite);
    z-index: 30;
    align-items: center;
    padding: 0 18px;
    gap: 14px;
    font-family: 'Space Grotesk', 'Space', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: background-color 0s linear;
}

.mobile-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.mobile-bar > * { position: relative; }

.mobile-num {
    font-size: 22px;
    color: var(--active-dark);
    font-weight: 700;
}

.mobile-name {
    font-size: 12px;
    color: var(--graphite);
}

.mobile-fish {
    font-size: 10px;
    color: var(--active-dark);
    margin-left: auto;
    opacity: 0.85;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    :root { --col-w: 42vw; }
    .content-section { padding: 80px 48px 64px 48px; }
    .prose-block, .numbered-list { padding-left: 32px; }
}

@media (max-width: 768px) {
    .annotation-column {
        display: none;
    }
    .mobile-bar {
        display: flex;
    }
    .content-pane {
        margin-left: 0;
        width: 100%;
        padding-top: 64px;
    }
    .content-section {
        padding: 56px 24px 48px 24px;
    }
    .prose-block, .numbered-list {
        padding-left: 0;
    }
    .section-header { padding-left: 16px; }
    .section-title { font-size: clamp(28px, 7vw, 40px); }
    .diagram { height: auto; min-height: 220px; }
    .diag-node { position: relative; width: 100%; margin-bottom: 12px; }
    .diag-node.n-l, .diag-node.n-e, .diag-node.n-j {
        position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none;
    }
    .diag-edge, .diag-tag { display: none; }
}
