/* ========================================================
   alth.ing — Design Language Styles
   Honeyed Neutral palette, Retro-editorial layout
   ======================================================== */

:root {
    --vellum-cream: #F2EDE4;
    --basalt-dark: #1C1E22;
    --ink-walnut: #3B3128;
    --amber-honey: #C8932A;
    --moss-lichen: #5E7A5B;
    --fog-gray: #B8B2A6;
    --salmon-dusk: #D4826A;
    --rune-indigo: #2E3854;

    --bg-primary: #F2EDE4;
    --text-primary: #3B3128;
    --scroll-depth: 0;

    --serif-display: 'Fraunces', 'Lora', Georgia, serif;
    --serif-body: 'Lora', Georgia, serif;
    --mono: 'IBM Plex Mono', 'Courier New', monospace;
    --decorative: 'Cinzel Decorative', 'Fraunces', serif;

    --ease-tectonic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--serif-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.85;
    overflow-x: hidden;
    transition: background-color 0.4s linear, color 0.4s linear;
    font-feature-settings: "liga" 1, "dlig" 1;
}

::selection {
    background: var(--amber-honey);
    color: var(--basalt-dark);
}

/* ===== Navigation Trigger (the § glyph) ===== */
.nav-trigger {
    position: fixed;
    top: 1.75rem;
    right: 1.75rem;
    z-index: 1100;
    background: rgba(242, 237, 228, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(59, 49, 40, 0.35);
    color: var(--ink-walnut);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.5s ease, border-color 0.5s ease, background-color 0.5s ease, transform 0.5s var(--ease-tectonic);
    border-radius: 0;
}

.nav-trigger:hover {
    color: var(--amber-honey);
    border-color: var(--amber-honey);
    transform: rotate(-3deg);
}

.nav-trigger .nav-glyph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ===== Table of Contents Panel ===== */
.toc-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--basalt-dark);
    color: var(--vellum-cream);
    z-index: 1101;
    padding: 3.5rem 3rem;
    transition: right 0.7s var(--ease-tectonic);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.toc-panel.open {
    right: 0;
}

.toc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 30, 34, 0.72);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.toc-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(184, 178, 166, 0.2);
}

.toc-title {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--fog-gray);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.toc-close {
    background: none;
    border: 1px solid rgba(184, 178, 166, 0.25);
    color: var(--fog-gray);
    font-size: 1.3rem;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.toc-close:hover {
    color: var(--amber-honey);
    border-color: var(--amber-honey);
    transform: rotate(90deg);
}

.toc-list {
    list-style: none;
    flex: 1;
}

.toc-list li {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dotted rgba(184, 178, 166, 0.15);
}

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

.toc-link {
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--vellum-cream);
    text-decoration: none;
    letter-spacing: 0.04em;
    line-height: 1.6;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    transition: color 0.4s ease, transform 0.4s var(--ease-tectonic), letter-spacing 0.4s ease;
}

.toc-link:hover {
    color: var(--amber-honey);
    transform: translateX(6px);
    letter-spacing: 0.08em;
}

.toc-numeral {
    font-family: var(--decorative);
    color: var(--amber-honey);
    font-size: 0.95rem;
    font-weight: 700;
    min-width: 2.25rem;
    letter-spacing: 0.05em;
}

.toc-footer {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    opacity: 0.6;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--vellum-cream);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 80%, var(--basalt-dark) 0%, transparent 60%),
        radial-gradient(ellipse 60% 55% at 70% 30%, var(--moss-lichen) 0%, transparent 55%),
        radial-gradient(ellipse 80% 65% at 50% 60%, var(--fog-gray) 0%, transparent 65%);
    background-blend-mode: overlay;
    animation: heroMeshDrift 40s ease-in-out infinite alternate;
    opacity: 0.45;
    pointer-events: none;
}

.hero-mesh--secondary {
    background:
        radial-gradient(ellipse 40% 45% at 80% 70%, var(--rune-indigo) 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 30% 25%, var(--amber-honey) 0%, transparent 60%);
    background-blend-mode: multiply;
    animation: heroMeshDrift 60s ease-in-out infinite alternate-reverse;
    opacity: 0.18;
}

@keyframes heroMeshDrift {
    0% {
        transform: translate(0%, 0%) scale(1);
    }
    50% {
        transform: translate(-6%, 4%) scale(1.08);
    }
    100% {
        transform: translate(5%, -3%) scale(1.04);
    }
}

.hero-rune {
    position: absolute;
    opacity: 0.35;
    pointer-events: none;
    z-index: 2;
}

.hero-rune--top-left {
    top: 3rem;
    left: 3rem;
}

.hero-rune--bottom-right {
    bottom: 3rem;
    right: 3rem;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 2rem;
    max-width: 100%;
}

.hero-kicker {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--ink-walnut);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.hero-title {
    font-family: var(--serif-display);
    font-size: clamp(4.5rem, 15vw, 18rem);
    font-weight: 400;
    color: var(--ink-walnut);
    line-height: 0.88;
    letter-spacing: -0.025em;
    font-variation-settings: 'WONK' 0, 'SOFT' 0, 'wght' 340, 'opsz' 144;
    transition: font-variation-settings 0.15s ease;
    margin-bottom: 2.25rem;
}

.hero-subtitle {
    font-family: var(--mono);
    font-size: clamp(0.85rem, 1.4vw, 1.1rem);
    font-weight: 300;
    color: var(--ink-walnut);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    min-height: 1.5em;
    margin-bottom: 3rem;
    opacity: 0.85;
}

.typewriter-cursor {
    color: var(--amber-honey);
    animation: cursorBlink 530ms steps(1) infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--ink-walnut);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.55;
}

.hero-meta-item {
    font-weight: 300;
}

.hero-meta-divider {
    color: var(--amber-honey);
    opacity: 0.9;
    font-size: 0.9rem;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-scroll-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ink-walnut);
    opacity: 0.45;
}

.scroll-dot {
    animation: scrollBounce 2.4s ease-in-out infinite;
}

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

/* ===== Tectonic Break Sections ===== */
.tectonic-break {
    position: relative;
    height: 64px;
    overflow: visible;
    background-color: var(--basalt-dark);
    z-index: 3;
}

.tectonic-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background-color: var(--bg-primary);
    clip-path: polygon(
        0% 0%, 100% 0%,
        100% 60%, 95% 80%, 88% 55%, 82% 90%, 75% 65%,
        68% 85%, 60% 50%, 52% 75%, 45% 60%, 38% 95%,
        30% 55%, 22% 80%, 15% 60%, 8% 85%, 0% 70%
    );
    z-index: 2;
    transition: transform 0.8s var(--ease-tectonic);
}

.tectonic-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background-color: var(--bg-primary);
    clip-path: polygon(
        0% 30%, 8% 15%, 15% 40%, 22% 20%, 30% 45%,
        38% 5%, 45% 40%, 52% 25%, 60% 50%, 68% 15%,
        75% 35%, 82% 10%, 88% 45%, 95% 20%, 100% 40%,
        100% 100%, 0% 100%
    );
    z-index: 2;
    transition: transform 0.8s var(--ease-tectonic);
}

.tectonic-break.cracked .tectonic-top {
    transform: translateY(-3px);
}

.tectonic-break.cracked .tectonic-bottom {
    transform: translateY(3px);
}

/* Alternating break direction for dark-to-light transitions */
.editorial-section.dark-section + .tectonic-break .tectonic-top,
.editorial-section.dark-section + .tectonic-break .tectonic-bottom {
    background-color: var(--basalt-dark);
}

.tectonic-break[data-break="1"] .tectonic-top { background-color: var(--vellum-cream); }
.tectonic-break[data-break="1"] .tectonic-bottom { background-color: var(--vellum-cream); }
.tectonic-break[data-break="2"] .tectonic-top { background-color: var(--vellum-cream); }
.tectonic-break[data-break="2"] .tectonic-bottom { background-color: var(--basalt-dark); }
.tectonic-break[data-break="3"] .tectonic-top { background-color: var(--basalt-dark); }
.tectonic-break[data-break="3"] .tectonic-bottom { background-color: var(--vellum-cream); }
.tectonic-break[data-break="4"] .tectonic-top { background-color: var(--vellum-cream); }
.tectonic-break[data-break="4"] .tectonic-bottom { background-color: var(--basalt-dark); }
.tectonic-break[data-break="5"] .tectonic-top { background-color: var(--basalt-dark); }
.tectonic-break[data-break="5"] .tectonic-bottom { background-color: var(--vellum-cream); }

.tectonic-gap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: var(--basalt-dark);
}

.tectonic-gap .tectonic-mesh {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 25% 50%, var(--amber-honey) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 50%, var(--rune-indigo) 0%, transparent 60%),
        linear-gradient(90deg, var(--rune-indigo) 0%, var(--amber-honey) 50%, var(--rune-indigo) 100%);
    background-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
}

.tectonic-break.cracked .tectonic-gap .tectonic-mesh {
    opacity: 0.85;
}

/* ===== Editorial Sections ===== */
.editorial-section {
    position: relative;
    padding: 7rem 0 8rem;
    overflow: hidden;
}

.light-section {
    background-color: var(--vellum-cream);
    color: var(--ink-walnut);
}

.dark-section {
    background-color: var(--basalt-dark);
    color: var(--vellum-cream);
}

.dark-section .section-epigraph-source,
.dark-section .annotation-text,
.dark-section .annotation-head {
    color: var(--fog-gray);
}

.dark-section .body-text {
    color: var(--vellum-cream);
    opacity: 0.92;
}

.section-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dark-section#assembly .section-mesh {
    background:
        radial-gradient(ellipse 40% 50% at 15% 30%, rgba(94, 122, 91, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 45% 40% at 85% 80%, rgba(46, 56, 84, 0.28) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 70% 20%, rgba(200, 147, 42, 0.1) 0%, transparent 55%);
}

.dark-section#legacy .section-mesh {
    background:
        radial-gradient(ellipse 50% 45% at 80% 30%, rgba(200, 147, 42, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 20% 70%, rgba(94, 122, 91, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 35% 30% at 50% 50%, rgba(212, 130, 106, 0.12) 0%, transparent 55%);
}

.section-label-strip {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 3rem;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--ink-walnut);
    opacity: 0.75;
    border-bottom: 1px solid rgba(59, 49, 40, 0.12);
    padding-bottom: 1.5rem;
    position: relative;
}

.section-label-strip--dark {
    color: var(--fog-gray);
    border-bottom-color: rgba(184, 178, 166, 0.18);
}

.section-numeral {
    font-family: var(--decorative);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--amber-honey);
}

.section-label {
    font-weight: 500;
    letter-spacing: 0.35em;
    flex: 1;
}

.section-era {
    color: var(--amber-honey);
    opacity: 0.85;
}

.editorial-columns {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    gap: 0;
    position: relative;
}

.annotation-column {
    flex: 0 0 38%;
    padding-right: 2.5rem;
    position: relative;
}

.annotation-head {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--fog-gray);
    margin-bottom: 2.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dotted var(--fog-gray);
    opacity: 0.7;
}

.column-river {
    flex: 0 0 4%;
    display: flex;
    justify-content: center;
    position: relative;
    min-width: 24px;
}

.river-line {
    width: 2px;
    height: 100%;
    min-height: 600px;
    position: absolute;
    top: 0;
}

.body-column {
    flex: 0 0 58%;
    padding-left: 2.5rem;
}

/* ===== Annotation Styles ===== */
.annotation-item {
    margin-bottom: 2.75rem;
    position: relative;
}

.annotation-date {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--amber-honey);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.annotation-text {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-walnut);
    opacity: 0.85;
}

.diamond {
    color: var(--amber-honey);
    margin-right: 0.35rem;
    font-size: 0.7rem;
}

.annotation-rune {
    margin-top: 3.5rem;
    opacity: 0.45;
    display: flex;
    justify-content: flex-start;
    padding-left: 0.5rem;
}

/* ===== Body Text Styles ===== */
.section-epigraph {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--amber-honey);
    margin-bottom: 0.5rem;
    min-height: 1.6em;
    line-height: 1.55;
    font-weight: 500;
}

.section-epigraph-source {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--ink-walnut);
    opacity: 0.55;
    margin-bottom: 3.5rem;
    letter-spacing: 0.08em;
}

.section-heading {
    font-family: var(--serif-display);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 600;
    margin-bottom: 2.25rem;
    line-height: 1.3;
    letter-spacing: -0.005em;
    font-variation-settings: 'WONK' 0, 'SOFT' 30, 'wght' 600, 'opsz' 144;
    color: inherit;
}

.drop-cap {
    font-family: var(--decorative);
    font-size: 4.25rem;
    float: left;
    line-height: 0.82;
    margin-right: 0.18em;
    margin-top: 0.12em;
    color: var(--amber-honey);
    font-weight: 900;
}

.body-text {
    font-family: var(--serif-body);
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1.9;
    margin-bottom: 2rem;
    color: inherit;
}

.body-text:last-child {
    margin-bottom: 0;
}

/* ===== Law Scroll Section ===== */
.law-scroll-section {
    position: relative;
    background-color: var(--vellum-cream);
    padding: 9rem 2rem 10rem;
    overflow: hidden;
}

.law-scroll-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(200, 147, 42, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 50% 80%, rgba(94, 122, 91, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.law-scroll-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.05;
}

.law-scroll-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.law-scroll-prelude {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.law-scroll-numeral {
    font-family: var(--decorative);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--amber-honey);
}

.law-scroll-kicker {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--ink-walnut);
    opacity: 0.65;
}

.law-scroll-heading {
    font-family: var(--serif-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--ink-walnut);
    margin-bottom: 4.5rem;
    text-align: center;
    line-height: 1.2;
    font-variation-settings: 'WONK' 1, 'SOFT' 60, 'wght' 500, 'opsz' 144;
}

.law-scroll-subtitle {
    display: block;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-walnut);
    opacity: 0.5;
    margin-top: 1rem;
    font-variation-settings: normal;
}

.rubricated-cap {
    font-family: var(--decorative);
    font-size: 4rem;
    color: var(--amber-honey);
    font-weight: 900;
    line-height: 0.8;
    margin-right: 0.1em;
    display: inline-block;
    vertical-align: -0.15em;
}

.law-scroll-text {
    font-family: var(--serif-body);
    font-size: 1.15rem;
    line-height: 2.3;
    color: var(--ink-walnut);
    margin-bottom: 2.5rem;
}

.hanging-indent {
    padding-left: 2.25rem;
    text-indent: -2.25rem;
}

.rubricated-mark {
    color: var(--amber-honey);
    font-weight: 700;
    font-size: 1.3rem;
    margin-right: 0.6rem;
    font-family: var(--serif-display);
}

.law-scroll-tail {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    opacity: 0.6;
}

/* ===== Colophon / Footer ===== */
.colophon {
    padding: 7rem 2rem 5rem;
    text-align: center;
    background-color: var(--basalt-dark);
    color: var(--vellum-cream);
    position: relative;
    overflow: hidden;
}

.colophon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 50% 40% at 50% 30%, rgba(200, 147, 42, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.colophon-ornament {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.colophon-year {
    font-family: var(--serif-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    margin-bottom: 2rem;
    color: var(--amber-honey);
    min-height: 1.5em;
    font-variation-settings: 'WONK' 1, 'SOFT' 100, 'wght' 500, 'opsz' 144;
}

.colophon-attribution {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--vellum-cream);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.colophon-note {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 300;
    color: var(--fog-gray);
    letter-spacing: 0.08em;
    opacity: 0.55;
    margin-bottom: 2rem;
}

.colophon-coordinates {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 300;
    color: var(--amber-honey);
    letter-spacing: 0.25em;
    opacity: 0.7;
}

/* ===== Tectonic Strata Lines (fixed atmospheric overlay) ===== */
.tectonic-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 2.5s ease;
}

.tectonic-lines.visible {
    opacity: 1;
}

.strata-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--fog-gray);
    opacity: 0.08;
}

.strata-line--fractured {
    background: linear-gradient(
        90deg,
        var(--fog-gray) 0%,
        var(--fog-gray) 48%,
        transparent 48%,
        transparent 52%,
        var(--fog-gray) 52%,
        var(--fog-gray) 100%
    );
    opacity: 0.1;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .editorial-columns {
        flex-direction: column;
        padding: 0 2rem;
    }

    .annotation-column {
        flex: 1;
        padding-right: 0;
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 1px dotted var(--fog-gray);
        opacity: 0.8;
    }

    .column-river {
        display: none;
    }

    .body-column {
        flex: 1;
        padding-left: 0;
    }

    .hero-title {
        font-size: clamp(3.5rem, 13vw, 10rem);
    }

    .hero-meta {
        gap: 0.5rem;
        font-size: 0.6rem;
    }

    .hero-rune {
        display: none;
    }

    .toc-panel {
        width: 100%;
        right: -100%;
        padding: 3rem 2rem;
    }

    .nav-trigger {
        top: 1rem;
        right: 1rem;
        width: 46px;
        height: 46px;
    }

    .drop-cap {
        font-size: 3.4rem;
    }

    .section-label-strip {
        padding: 0 2rem;
        margin-bottom: 3rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 640px) {
    .editorial-section {
        padding: 4.5rem 0 5rem;
    }

    .editorial-columns {
        padding: 0 1.5rem;
    }

    .body-text {
        font-size: 1rem;
    }

    .law-scroll-section {
        padding: 5.5rem 1.5rem 6rem;
    }

    .law-scroll-text {
        font-size: 1rem;
        line-height: 2;
    }

    .hanging-indent {
        padding-left: 1.5rem;
        text-indent: -1.5rem;
    }

    .rubricated-cap {
        font-size: 3rem;
    }

    .hero-kicker {
        letter-spacing: 0.3em;
    }

    .section-label-strip {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .colophon {
        padding: 5rem 1.5rem 4rem;
    }

    .law-scroll-watermark svg {
        width: 200px;
        height: 200px;
    }
}
