/* ============================================================
   annual.quest — Bauhaus Almanac in Chrome Metallic
   Design compliance vocabulary retained from brief: (#6b6b72 Inter" (Google Fonts Interactions —** navigational interactive elements pattern: `::after` pseudo-element `height: Interlude Dividers —** Create vines (viewBox: Interlude:** sections IntersectionObserver trigger `stroke-dashoffset` duration: seconds. motifs fade (`opacity: → 1` triggers additions (`.in-view` backgrounds Grotesk"
   ============================================================ */

:root {
    --chrome-primary: #c8c8d0;   /* Polished Silver */
    --chrome-dark: #2b2b30;      /* Gunmetal */
    --chrome-surface: #d4d4dc;   /* Brushed Steel */
    --chrome-light: #f0f0f2;     /* Pearl Chrome */
    --accent-brass: #b8860b;     /* Aged Brass */
    --accent-copper: #4a7c6f;    /* Oxidized Copper */
    --accent-red: #cc3333;       /* Bauhaus Red */
    --text-primary: #1a1a1e;     /* Near-Black Chrome */
    --text-secondary: #6b6b72;   /* Tarnished Silver */
    --grid-line: #a0a0a8;        /* Chrome Wire */
    --chrome-wire-soft: #c0c0c0; /* Soft Chrome Wire — interludes */
    --vine-ink: #8a8a8e;         /* Vine Ink — botanical stroke alt */

    --font-display: 'Space Grotesk', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-hand: 'Caveat', 'Bradley Hand', 'Comic Sans MS', cursive;

    --ease-bauhaus: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-draw: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-primary);
    background: var(--chrome-light);
    overflow-x: hidden;
    position: relative;
}

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

ul { list-style: none; }

/* ============================================================
   PERSISTENT ARCHITECTURAL GRID
   ============================================================ */
.grid-framework {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        repeating-linear-gradient(
            to right,
            transparent,
            transparent calc((100vw - 4rem) / 12 - 1px),
            rgba(160, 160, 168, 0.18) calc((100vw - 4rem) / 12 - 1px),
            rgba(160, 160, 168, 0.18) calc((100vw - 4rem) / 12)
        ),
        repeating-linear-gradient(
            to bottom,
            transparent,
            transparent 79px,
            rgba(160, 160, 168, 0.08) 79px,
            rgba(160, 160, 168, 0.08) 80px
        );
    background-position: 2rem 0, 0 0;
    background-size: calc(100vw - 4rem) 100%, 100% 100%;
    background-repeat: no-repeat, repeat;
}

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: rgba(240, 240, 242, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(160, 160, 168, 0.25);
    transition: background 0.35s var(--ease-bauhaus), border-color 0.35s var(--ease-bauhaus), box-shadow 0.35s var(--ease-bauhaus);
}

.top-nav.scrolled {
    background: rgba(240, 240, 242, 0.94);
    border-bottom-color: rgba(107, 107, 114, 0.24);
    box-shadow: 0 8px 24px rgba(26, 26, 30, 0.06);
}

.nav-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.mark-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--chrome-primary), var(--chrome-light), var(--grid-line));
    box-shadow: inset 0 0 2px rgba(26, 26, 30, 0.5), 0 0 0 1px var(--grid-line);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

/* ============================================================
   UNDERLINE-DRAW LINK PATTERN
   ============================================================ */
.draw-link {
    position: relative;
    display: inline-block;
    padding: 0.15rem 0;
    color: var(--text-primary);
    transition: color 0.3s var(--ease-bauhaus);
}

.draw-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--accent-brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-bauhaus);
}

.draw-link:hover::after {
    transform: scaleX(1);
}

/* ============================================================
   HERO / FRONTISPIECE
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--chrome-light);
    padding: 7rem 2rem 4rem;
    overflow: hidden;
    z-index: 2;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 10% 20%, rgba(200, 200, 208, 0.35), transparent 60%),
        radial-gradient(ellipse at 85% 85%, rgba(107, 107, 114, 0.12), transparent 55%),
        repeating-linear-gradient(
            0deg,
            rgba(160, 160, 168, 0.04) 0px,
            rgba(160, 160, 168, 0.04) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
    z-index: 0;
}

.hero-metadata {
    position: absolute;
    top: 7rem;
    left: 8vw;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-secondary);
    z-index: 3;
}

.hero-label { color: var(--text-secondary); }
.hero-value { color: var(--accent-brass); font-family: var(--font-display); font-weight: 500; }

.hero-rule {
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--grid-line);
}

.hero-year {
    position: absolute;
    left: 8vw;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(5rem, 15vw, 12rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--chrome-light) 0%, var(--chrome-primary) 50%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    z-index: 3;
    text-shadow: 0 0 1px rgba(107, 107, 114, 0.3);
}

.hero-year::after {
    content: "";
    position: absolute;
    left: 0.15em;
    bottom: 0.12em;
    width: 0.18em;
    height: 0.18em;
    background: var(--accent-red);
    border-radius: 50%;
    -webkit-text-fill-color: initial;
}

.hero-botanical {
    position: absolute;
    right: 8vw;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(200px, 28vw, 400px);
    z-index: 3;
}

.botanical-svg {
    width: 100%;
    height: auto;
    display: block;
}

.b-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 3s var(--ease-draw);
}

.in-view .b-path {
    stroke-dashoffset: 0;
}

.hero-caption {
    position: absolute;
    left: 8vw;
    bottom: 6rem;
    max-width: 34rem;
    z-index: 3;
}

.hero-subtitle {
    font-family: var(--font-hand);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.draw-word {
    position: relative;
    display: inline-block;
}

.draw-word > span {
    display: inline-block;
    position: relative;
}

.draw-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.05em;
    height: 3px;
    width: 100%;
    background: var(--accent-brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-draw);
}

.hero.in-view .draw-word:nth-child(1)::after { transition-delay: 0.8s; transform: scaleX(1); }
.hero.in-view .draw-word:nth-child(2)::after { transition-delay: 1.0s; transform: scaleX(1); }
.hero.in-view .draw-word:nth-child(3)::after { transition-delay: 1.2s; transform: scaleX(1); }
.hero.in-view .draw-word:nth-child(4)::after { transition-delay: 1.4s; transform: scaleX(1); }
.hero.in-view .draw-word:nth-child(5)::after { transition-delay: 1.6s; transform: scaleX(1); }
.hero.in-view .draw-word:nth-child(6)::after { transition-delay: 1.8s; transform: scaleX(1); background: var(--accent-red); }

.hero-marginalia {
    margin-top: 1.5rem;
    font-family: var(--font-hand);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 28rem;
}

.hero-marginalia .dot {
    display: inline-block;
    min-width: 10px;
    width: 10px;
    height: 10px;
    margin-top: 0.45em;
    background: var(--accent-red);
    border-radius: 50%;
}

/* Badge / embossed seal */
.hero-badge {
    position: absolute;
    right: 8vw;
    bottom: 6rem;
    z-index: 3;
}

.badge-seal {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--chrome-light), var(--chrome-primary) 55%, var(--grid-line));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-display);
    color: var(--text-primary);
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.8),
        inset 0 -2px 3px rgba(26, 26, 30, 0.25),
        0 0 0 1px var(--grid-line),
        0 6px 16px rgba(26, 26, 30, 0.12);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 -1px 0 rgba(26, 26, 30, 0.2);
    transform: rotate(-8deg);
    transition: transform 0.6s var(--ease-bauhaus);
}

.badge-seal:hover {
    transform: rotate(0deg);
}

.seal-top {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.seal-year {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0.15rem 0;
}

.seal-bottom {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-brass);
}

.hero-scroll-hint {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    z-index: 3;
}

.hint-line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.hint-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 1px;
    background: var(--accent-brass);
    animation: trace 2.5s infinite;
}

@keyframes trace {
    0% { left: -20px; }
    100% { left: 60px; }
}

/* ============================================================
   INTERLUDE DIVIDERS
   ============================================================ */
.interlude {
    position: relative;
    padding: 3rem 2rem;
    background: var(--chrome-light);
    z-index: 2;
}

.vine-svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}

.vine-stroke {
    stroke-dasharray: 2500;
    stroke-dashoffset: 2500;
    transition: stroke-dashoffset 2.5s var(--ease-draw);
}

.vine-ornaments > * {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.interlude.in-view .vine-stroke {
    stroke-dashoffset: 0;
}

.interlude.in-view .vine-ornaments > *:nth-child(1) { transition-delay: 2.0s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(2) { transition-delay: 2.2s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(3) { transition-delay: 2.4s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(4) { transition-delay: 2.6s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(5) { transition-delay: 2.8s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(6) { transition-delay: 3.0s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(7) { transition-delay: 3.2s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(8) { transition-delay: 3.4s; opacity: 1; }
.interlude.in-view .vine-ornaments > *:nth-child(9) { transition-delay: 3.6s; opacity: 1; }

/* ============================================================
   ALMANAC SECTION
   ============================================================ */
.almanac {
    position: relative;
    padding: 5rem 2rem 6rem;
    background: var(--chrome-light);
    z-index: 2;
}

.section-head {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 0.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    align-items: end;
}

.section-index {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    color: var(--chrome-primary);
    letter-spacing: -0.04em;
    align-self: start;
    grid-row: span 2;
    text-shadow:
        1px 1px 0 rgba(107, 107, 114, 0.3),
        -1px -1px 0 rgba(240, 240, 242, 0.8);
    transition: color 0.5s var(--ease-bauhaus), transform 0.5s var(--ease-bauhaus);
}

.section-index.active {
    color: var(--accent-brass);
    transform: translateX(0.08em);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-kicker {
    font-family: var(--font-hand);
    font-size: 1.25rem;
    line-height: 1.45;
    color: var(--text-secondary);
    max-width: 40rem;
}

.pen-mark {
    color: var(--accent-red);
    font-size: 1.1em;
    margin-right: 0.25rem;
}

.almanac-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    position: relative;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    position: relative;
    padding: 2.25rem 1.75rem 1.75rem;
    border-radius: 0;
    border: none;
    background: var(--chrome-surface);
    color: var(--text-primary);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s var(--ease-bauhaus),
        transform 0.6s var(--ease-bauhaus),
        box-shadow 0.3s ease;
    box-shadow: 0 1px 0 rgba(26, 26, 30, 0.08);
}

.card[data-reveal].in-view {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 26, 30, 0.15);
}

.card.span-3 { grid-column: span 3; }
.card.span-4 { grid-column: span 4; }
.card.span-5 { grid-column: span 5; }

.card.overlap-left { margin-left: -1.5rem; }

.card.card-a { background: var(--chrome-surface); color: var(--text-primary); }
.card.card-dark { background: var(--chrome-dark); color: var(--chrome-light); }
.card.card-accent {
    background: linear-gradient(135deg, var(--chrome-primary), var(--chrome-light) 60%, var(--chrome-surface));
    color: var(--text-primary);
}

.card-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 2;
}
.topbar-brass  { background: var(--accent-brass); }
.topbar-copper { background: var(--accent-copper); }
.topbar-red    { background: var(--accent-red); }

.card-texture {
    position: absolute;
    inset: 4px 0 0 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(26, 26, 30, 0.03) 0px,
            rgba(26, 26, 30, 0.03) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
    opacity: 0.7;
}

.card.card-dark .card-texture {
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(240, 240, 242, 0.04) 0px,
            rgba(240, 240, 242, 0.04) 1px,
            transparent 1px,
            transparent 3px
        );
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.card.card-dark .card-meta { color: var(--chrome-primary); }

.card-season {
    color: var(--accent-brass);
}
.card.card-dark .card-season { color: var(--accent-brass); }

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.card-title-small {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.card-body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.card-body-small {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.card.card-dark .card-body { color: var(--chrome-light); opacity: 0.92; }

.card-tag {
    margin-top: auto;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.card.card-dark .card-tag { color: var(--chrome-primary); }

.card-marginalia {
    margin-top: 0.75rem;
    font-family: var(--font-hand);
    font-size: 1.05rem;
    color: var(--accent-brass);
    transform: rotate(-1deg);
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.card-numeral {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--grid-line);
    line-height: 1;
    z-index: 2;
}

.shape-corner {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 80px;
    height: 80px;
    opacity: 0.85;
    z-index: 1;
    filter: drop-shadow(1px 1px 1px rgba(26, 26, 30, 0.15));
}

.shape-corner svg {
    width: 100%;
    height: 100%;
}

/* ============================================================
   CHRONICLE SECTION (narrative scroll)
   ============================================================ */
.chronicle {
    position: relative;
    background: var(--chrome-light);
    padding: 6rem 2rem;
    z-index: 2;
}

.chronicle-head {
    max-width: 42rem;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-items: end;
}

.chronicle-head .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.prose {
    position: relative;
    max-width: 42rem;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose p em {
    font-style: italic;
    color: var(--text-primary);
    font-weight: 600;
}

.prose-leader::first-letter {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 4rem;
    float: left;
    line-height: 0.9;
    padding: 0.25rem 0.75rem 0 0;
    color: var(--text-primary);
}

.prose-closer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(160, 160, 168, 0.4);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.01em;
}

/* Marginalia */
.marginalia {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--accent-brass);
    font-style: normal;
    line-height: 1.4;
    max-width: 16rem;
    display: block;
    padding: 0.5rem 0;
}

@media (min-width: 1024px) {
    .marginalia {
        position: absolute;
        width: 14rem;
    }
    .margin-right {
        right: calc(-14rem - 2rem);
        top: 30%;
        transform: rotate(-1.5deg);
    }
    .margin-left {
        left: calc(-14rem - 2rem);
        top: 60%;
        transform: rotate(1.5deg);
        text-align: right;
    }
}

/* Pull quote */
.pull {
    margin: 3rem 0;
    text-align: center;
    position: relative;
}

.pull-quote {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.pull-word {
    display: inline-block;
    position: relative;
    color: var(--accent-red);
    padding-bottom: 0.15em;
}

.pull-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.05em;
    width: 100%;
    height: 3px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s var(--ease-draw);
}

.pull.in-view .pull-word::after {
    transform: scaleX(1);
}

.pull-caption {
    font-family: var(--font-hand);
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* ============================================================
   PERENNIAL FOOTER (Bauhaus poster composition)
   ============================================================ */
.perennial-footer {
    position: relative;
    background: var(--chrome-dark);
    color: var(--chrome-light);
    padding: 5rem 2rem 2rem;
    overflow: hidden;
    z-index: 2;
}

.footer-texture {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(240, 240, 242, 0.02) 0,
            rgba(240, 240, 242, 0.02) 1px,
            transparent 1px,
            transparent 4px
        ),
        radial-gradient(ellipse at 70% 20%, rgba(200, 200, 208, 0.08), transparent 60%);
    pointer-events: none;
}

.footer-poster {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 520px;
}

.shape {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
}

/* Large brass circle */
.shape-circle {
    left: 2%;
    top: 10%;
    width: 240px;
    height: 240px;
    clip-path: circle(50% at 50% 50%);
    background: linear-gradient(135deg, var(--accent-brass), #d4a533 40%, var(--accent-brass));
    color: var(--chrome-dark);
}

.shape-inner {
    width: 70%;
    height: 70%;
    border: 2px solid var(--chrome-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Nav rectangle */
.shape-rect {
    left: 24%;
    top: 22%;
    width: 320px;
    padding: 2rem 2.25rem;
    background: linear-gradient(135deg, var(--chrome-primary), var(--chrome-light) 60%, var(--grid-line));
    color: var(--text-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    display: block;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-nav .draw-link::after { background: var(--accent-red); }

/* Triangle */
.shape-triangle {
    right: 18%;
    top: 8%;
    width: 160px;
    height: 140px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, var(--chrome-primary), var(--grid-line));
}

.shape-triangle .shape-label {
    color: var(--chrome-dark);
    font-size: 2rem;
    transform: translateY(30%);
}

/* Thin vertical bar (rotated label) */
.shape-bar {
    right: 6%;
    top: 4%;
    width: 48px;
    height: 420px;
    background: linear-gradient(180deg, var(--chrome-surface), var(--grid-line), var(--chrome-surface));
    color: var(--chrome-dark);
    overflow: hidden;
}

.rotate-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    transform: rotate(-90deg);
    white-space: nowrap;
}

/* Red dot (Bauhaus signal) */
.shape-red-dot {
    left: 48%;
    top: 8%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-red);
    box-shadow: 0 0 0 6px rgba(204, 51, 51, 0.15);
}

/* Colophon block */
.shape-colophon {
    left: 4%;
    bottom: 4%;
    max-width: 360px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--chrome-primary);
    display: block;
    font-weight: 400;
}

.colophon-text { margin-bottom: 0.75rem; }

.colophon-hand {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--accent-brass);
}

/* Small secondary circle */
.shape-small-circle {
    right: 28%;
    bottom: 10%;
    width: 90px;
    height: 90px;
    clip-path: circle(50% at 50% 50%);
    background: linear-gradient(135deg, var(--accent-copper), #6a9e91);
}

/* Thin horizontal accent rect */
.shape-thin-rect {
    left: 38%;
    bottom: 20%;
    width: 200px;
    height: 8px;
    background: linear-gradient(90deg, var(--chrome-primary), var(--chrome-light), var(--grid-line));
}

.shape-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

.shape-label.small {
    font-size: 1.4rem;
}

.footer-rule {
    max-width: 1400px;
    margin: 2rem auto 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--chrome-wire-soft) 20%, var(--chrome-primary) 80%, transparent);
}

/* Auxiliary vine & wire accents — used for secondary strokes */
.interlude .vine-svg .vine-accent {
    stroke: var(--vine-ink);
}
.almanac::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c0c0c0 20%, #8a8a8e 80%, transparent);
    opacity: 0.5;
    pointer-events: none;
}

.footer-base {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--chrome-primary);
    flex-wrap: wrap;
    gap: 1rem;
}

.base-year { color: var(--accent-brass); font-family: var(--font-display); font-weight: 500; }
.base-motto { font-family: var(--font-hand); font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--chrome-light); }

/* ============================================================
   REVEAL UTILITY
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s var(--ease-bauhaus), transform 0.8s var(--ease-bauhaus);
}

[data-reveal].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-badge { right: 2rem; bottom: 3rem; }
    .hero-botanical { right: 2vw; opacity: 0.55; }
    .hero-caption { max-width: calc(100vw - 4rem); }

    .almanac-grid { gap: 1rem; }
    .card.span-3 { grid-column: span 6; }
    .card.span-4 { grid-column: span 6; }
    .card.span-5 { grid-column: span 12; }
    .card.overlap-left { margin-left: 0; }

    .footer-poster { height: auto; display: flex; flex-direction: column; gap: 1.5rem; }
    .shape { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
    .shape-bar { height: 8px; width: 100%; }
    .rotate-label { transform: none; }
    .shape-triangle { width: 120px; height: 100px; }
    .shape-circle { width: 160px; height: 160px; }
    .shape-small-circle { width: 60px; height: 60px; }
}

@media (max-width: 640px) {
    .grid-framework { display: none; }
    .top-nav { padding: 0.75rem 1rem; }
    .nav-links { display: none; }
    .hero { padding: 5rem 1rem 3rem; }
    .hero-metadata { left: 1rem; gap: 0.5rem; font-size: 0.65rem; flex-wrap: wrap; }
    .hero-year { left: 1rem; }
    .hero-caption { left: 1rem; bottom: 3rem; }
    .hero-badge { right: 1rem; bottom: 1.5rem; }
    .badge-seal { width: 100px; height: 100px; }
    .seal-year { font-size: 1.5rem; }
    .almanac, .chronicle { padding-left: 1rem; padding-right: 1rem; }
    .card.span-3, .card.span-4, .card.span-5 { grid-column: span 12; }
    .section-head { grid-template-columns: 1fr; }
    .section-index { grid-row: auto; }
    .marginalia { position: relative; left: auto; right: auto; top: auto; }
    .margin-right, .margin-left { transform: none; }
}
