/* ============================================================
   badge.bar — the goblin's pin wall
   Palette: #0B0A08 ink, #F5F1E6 parchment, #E8B74A lamp,
            #3B5D3A moss, #8A2A1E rust, #1A1712 shadow
   Type:    Libre Baskerville (display/body), JetBrains Mono
            (typewriter/captions), Inter, Space Mono
   ============================================================ */

:root {
    --ink: #0B0A08;
    --parchment: #F5F1E6;
    --lamp: #E8B74A;
    --moss: #3B5D3A;
    --rust: #8A2A1E;
    --shadow: #1A1712;

    --parchment-2: #EFE8D4;
    --parchment-3: #E6DEC4;

    --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', 'Space Mono', 'Courier New', monospace;
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

    --space-3xs: 4px;
    --space-2xs: 8px;
    --space-xs: 12px;
    --space-s: 16px;
    --space-m: 24px;
    --space-l: 32px;
    --space-xl: 48px;
    --space-2xl: 72px;
    --space-3xl: 112px;

    --radius-s: 4px;
    --radius-m: 8px;
    --radius-l: 14px;

    --shadow-soft: 0 1px 2px rgba(11, 10, 8, 0.10), 0 6px 18px rgba(11, 10, 8, 0.06);
    --shadow-lift: 0 2px 4px rgba(11, 10, 8, 0.12), 0 14px 30px rgba(232, 183, 74, 0.18);

    --motion-fast: 120ms;
    --motion-base: 180ms;
    --motion-slow: 320ms;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
    margin: 0;
    padding: 0;
}
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- base ---------- */
html, body {
    background: var(--parchment);
    color: var(--ink);
}

body {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 20% 10%, rgba(232, 183, 74, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 93, 58, 0.06) 0%, transparent 45%),
        repeating-linear-gradient(0deg, rgba(11, 10, 8, 0.012) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, var(--parchment) 0%, var(--parchment-2) 100%);
}

#particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

main, .masthead, .footer { position: relative; z-index: 1; }

/* ---------- typography ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--shadow);
    opacity: 0.75;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 39px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
em, i { font-style: italic; }

/* ---------- masthead ---------- */
.masthead {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 241, 230, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(11, 10, 8, 0.12);
}
.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    padding: 14px clamp(16px, 4vw, 48px);
    max-width: 1320px;
    margin: 0 auto;
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    font-weight: 700;
}
.wordmark-mark {
    font-style: normal;
    color: var(--lamp);
    font-size: 16px;
    text-shadow: 0 0 8px rgba(232, 183, 74, 0.6);
    animation: lampFlicker 7s ease-in-out infinite;
}
.wordmark em { font-style: italic; }
.wordmark .wordmark-text { letter-spacing: -0.01em; }

.primary-nav {
    display: flex;
    gap: clamp(14px, 2.4vw, 28px);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
}
.nav-link {
    position: relative;
    padding: 6px 2px;
    color: var(--ink);
    transition: color var(--motion-fast) var(--ease);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--lamp);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--motion-base) var(--ease);
}
.nav-link:hover { color: var(--shadow); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--shadow); }

.hamburger {
    display: none;
    width: 38px; height: 38px;
    border: 1px solid rgba(11, 10, 8, 0.25);
    border-radius: var(--radius-s);
    background: var(--parchment);
}
.pin-icon { color: var(--rust); font-size: 16px; }

@media (max-width: 720px) {
    .primary-nav { display: none; }
    .primary-nav.is-open { display: flex; }
    .primary-nav {
        position: absolute;
        top: 60px;
        right: clamp(16px, 4vw, 48px);
        flex-direction: column;
        background: var(--parchment);
        padding: var(--space-m);
        border: 1px solid rgba(11, 10, 8, 0.18);
        border-radius: var(--radius-m);
        box-shadow: var(--shadow-soft);
    }
    .hamburger { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
    padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px);
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero-text > * + * { margin-top: var(--space-s); }
.hero-title {
    font-size: clamp(40px, 5.6vw, 64px);
    line-height: 1.05;
    margin-top: var(--space-xs);
    position: relative;
    display: inline-block;
}
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0;
    width: 100%;
    max-width: 20ch;
    animation: typewriterReveal 3.4s steps(28, end) 0.2s 1 both;
}
.caret {
    display: inline-block;
    color: var(--lamp);
    margin-left: 2px;
    animation: caretBlink 1s steps(2) infinite;
    font-size: 0.85em;
    transform: translateY(-2px);
}
.hero-lede {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--shadow);
    max-width: 56ch;
}
.hero-actions {
    display: flex;
    gap: var(--space-s);
    flex-wrap: wrap;
    margin-top: var(--space-m);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-s);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform var(--motion-base) var(--ease),
                background var(--motion-base) var(--ease),
                color var(--motion-base) var(--ease),
                box-shadow var(--motion-base) var(--ease);
}
.btn-primary {
    background: var(--shadow);
    color: var(--parchment);
    border: 1px solid var(--shadow);
}
.btn-primary:hover {
    background: var(--lamp);
    color: var(--shadow);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 183, 74, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(11, 10, 8, 0.4);
}
.btn-ghost:hover {
    background: var(--moss);
    color: var(--parchment);
    border-color: var(--moss);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: var(--space-l);
    margin-top: var(--space-l);
    padding-top: var(--space-m);
    border-top: 1px dashed rgba(11, 10, 8, 0.3);
}
.hero-stats li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stat-num {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--shadow);
    font-variant-numeric: tabular-nums lining-nums;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--shadow);
    opacity: 0.7;
}

/* hero art */
.hero-art {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 440px;
    margin-inline: auto;
    width: 100%;
}
.hero-pin {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 14px rgba(11, 10, 8, 0.18));
}
.rotating-dash {
    transform-box: fill-box;
    transform-origin: center;
    animation: rotateDash 22s linear infinite;
}
.dust-motes circle { animation: floatDust 9s ease-in-out infinite; }
.dust-motes circle:nth-child(2) { animation-duration: 12s; animation-delay: -3s; }
.dust-motes circle:nth-child(3) { animation-duration: 15s; animation-delay: -6s; }
.dust-motes circle:nth-child(4) { animation-duration: 11s; animation-delay: -2s; }
.dust-motes circle:nth-child(5) { animation-duration: 13s; animation-delay: -5s; }

.hero-tape {
    position: absolute;
    width: 70px;
    height: 22px;
    background: rgba(232, 183, 74, 0.55);
    border: 1px solid rgba(11, 10, 8, 0.18);
    box-shadow: 0 1px 3px rgba(11, 10, 8, 0.18);
}
.tape-tl { top: 4%; left: 4%; transform: rotate(-18deg); }
.tape-br { bottom: 6%; right: 4%; transform: rotate(14deg); }

.hero-divider {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    margin-top: clamp(40px, 6vw, 80px);
    color: var(--shadow);
    opacity: 0.6;
}
.divider-line { flex: 1; height: 1px; background: currentColor; opacity: 0.4; }
.divider-mark { font-size: 14px; color: var(--rust); }

/* ---------- section heads ---------- */
.section-head {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) var(--space-l);
}
.section-head .eyebrow { margin-bottom: var(--space-2xs); }
.section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-style: italic;
    line-height: 1.1;
}
.section-lede {
    margin-top: var(--space-s);
    max-width: 60ch;
    color: var(--shadow);
    font-size: 17px;
}

/* ---------- collection ---------- */
.collection {
    padding-bottom: clamp(48px, 6vw, 96px);
}
.collection-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: clamp(20px, 3vw, 40px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    align-items: start;
}
@media (max-width: 880px) {
    .collection-layout { grid-template-columns: 1fr; }
}

.filters {
    position: sticky;
    top: 90px;
    border: 1px solid rgba(11, 10, 8, 0.16);
    border-radius: var(--radius-m);
    padding: var(--space-m);
    background: rgba(245, 241, 230, 0.7);
    box-shadow: var(--shadow-soft);
}
@media (max-width: 880px) {
    .filters { position: static; }
}
.filter-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--shadow);
    opacity: 0.7;
    margin-bottom: var(--space-2xs);
}
.filter-label + .filter-chips { margin-bottom: var(--space-m); }

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.chip {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border: 1px solid rgba(11, 10, 8, 0.35);
    border-radius: 999px;
    background: var(--parchment);
    color: var(--ink);
    transition: background var(--motion-fast) var(--ease),
                color var(--motion-fast) var(--ease),
                border-color var(--motion-fast) var(--ease),
                transform var(--motion-fast) var(--ease);
}
.chip:hover {
    background: rgba(59, 93, 58, 0.12);
    border-color: var(--moss);
    transform: translateY(-1px);
}
.chip.is-active {
    background: var(--moss);
    color: var(--parchment);
    border-color: var(--moss);
}

.filter-tip {
    margin-top: var(--space-l);
    padding-top: var(--space-s);
    border-top: 1px dashed rgba(11, 10, 8, 0.25);
    display: flex;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--shadow);
    line-height: 1.5;
}
.tip-mark { color: var(--rust); flex-shrink: 0; }

/* masonry */
.masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: 8px;
    gap: var(--space-s);
}
.card {
    grid-row: span 30;
    background: var(--parchment);
    border: 1px solid rgba(11, 10, 8, 0.16);
    border-radius: var(--radius-m);
    padding: var(--space-s);
    position: relative;
    transition: transform var(--motion-base) var(--ease),
                box-shadow var(--motion-base) var(--ease),
                border-color var(--motion-base) var(--ease);
    overflow: hidden;
    will-change: transform;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(11, 10, 8, 0.022) 0 1px,
        transparent 1px 6px
    );
    pointer-events: none;
}
.card::after {
    content: "";
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 36px; height: 14px;
    background: rgba(232, 183, 74, 0.55);
    border: 1px solid rgba(11, 10, 8, 0.15);
    border-radius: 2px;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(232, 183, 74, 0.6);
}
.card.is-hidden { display: none; }
.card.is-expanded { transform: translateY(-2px) scale(1.01); }
.card.is-expanded .card-desc { display: block; max-height: 400px; }

.card-feature { grid-row: span 50; grid-column: span 2; }
@media (max-width: 600px) { .card-feature { grid-column: span 1; } }
.card-standard { grid-row: span 38; }
.card-quiet { grid-row: span 28; opacity: 0.85; }
.card-tag { grid-row: span 22; background: var(--shadow); color: var(--parchment); }
.card-tag::before { background-image: none; }
.card-tag::after { background: var(--rust); }

.badge-fig {
    background:
        radial-gradient(circle at center, rgba(232, 183, 74, 0.20), transparent 60%),
        var(--parchment-2);
    border: 1px dashed rgba(11, 10, 8, 0.18);
    border-radius: var(--radius-s);
    padding: var(--space-s);
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    margin-bottom: var(--space-s);
}
.card-feature .badge-fig { aspect-ratio: 1.4 / 1; }
.badge-svg { width: 75%; height: auto; max-width: 180px; }

.card-body { display: flex; flex-direction: column; gap: 6px; }
.card-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shadow);
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.dot-rare { background: var(--rust); }
.dot-moss { background: var(--moss); }
.dot-lamp { background: var(--lamp); }

.card-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-style: italic;
    line-height: 1.2;
}
.card-feature .card-title { font-size: 22px; }
.card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--shadow);
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--motion-slow) var(--ease);
}
.card-feature .card-desc { display: block; max-height: 400px; }
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(11, 10, 8, 0.25);
    background: var(--parchment);
}
.tag-moss { background: var(--moss); color: var(--parchment); border-color: var(--moss); }
.tag-rust { background: var(--rust); color: var(--parchment); border-color: var(--rust); }

.big-tag {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    line-height: 1.4;
    color: var(--lamp);
    margin-bottom: var(--space-s);
}
.card-tag .card-meta {
    color: var(--lamp);
    opacity: 0.85;
}

/* ---------- ledger strip ---------- */
.ledger-strip {
    background: var(--shadow);
    color: var(--parchment);
    padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
    position: relative;
    overflow: hidden;
}
.ledger-strip .section-head { padding-top: 0; }
.ledger-strip .section-head .eyebrow { color: var(--lamp); opacity: 1; }
.ledger-strip .section-title { color: var(--parchment); }

.ledger-reel {
    display: flex;
    gap: var(--space-s);
    padding: 0 clamp(16px, 4vw, 48px) var(--space-m);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.ledger-reel::-webkit-scrollbar { height: 8px; }
.ledger-reel::-webkit-scrollbar-track { background: rgba(245, 241, 230, 0.05); }
.ledger-reel::-webkit-scrollbar-thumb { background: rgba(232, 183, 74, 0.4); border-radius: 4px; }

.ledger-entry {
    flex: 0 0 320px;
    background: rgba(245, 241, 230, 0.04);
    border: 1px solid rgba(232, 183, 74, 0.2);
    border-radius: var(--radius-s);
    padding: var(--space-s);
    scroll-snap-align: start;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.55;
    transition: border-color var(--motion-base) var(--ease),
                background var(--motion-base) var(--ease);
}
.ledger-entry:hover {
    border-color: var(--lamp);
    background: rgba(232, 183, 74, 0.08);
}
.ledger-entry time {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--lamp);
    margin-bottom: 8px;
}
.ledger-line { color: rgba(245, 241, 230, 0.85); font-size: 13px; }
.ledger-line .kw { color: var(--lamp); font-weight: 700; }
.ledger-line .who { color: var(--moss); filter: brightness(1.3); }

/* ---------- forge & trade ---------- */
.forge-trade {
    padding: clamp(48px, 6vw, 96px) clamp(16px, 4vw, 48px);
    max-width: 1320px;
    margin: 0 auto;
}
.ft-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}
@media (max-width: 900px) {
    .ft-grid { grid-template-columns: 1fr; }
}
.ft-card {
    border: 1px solid rgba(11, 10, 8, 0.18);
    border-radius: var(--radius-l);
    padding: clamp(24px, 3vw, 40px);
    background: var(--parchment);
    box-shadow: var(--shadow-soft);
}
.ft-title {
    font-style: italic;
    margin-top: var(--space-2xs);
}
.ft-lede {
    margin: var(--space-s) 0 var(--space-m);
    color: var(--shadow);
    font-size: 17px;
    max-width: 50ch;
}

.forge-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-s);
}
.ff-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    grid-column: 1 / -1;
}
.ff-row-half { grid-column: span 1; }
@media (max-width: 540px) { .ff-row-half { grid-column: 1 / -1; } }

.ff-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--shadow);
    opacity: 0.8;
}
.forge-form input,
.forge-form select {
    background: var(--parchment-2);
    border: 1px solid rgba(11, 10, 8, 0.25);
    border-radius: var(--radius-s);
    padding: 10px 12px;
    font-family: var(--font-display);
    font-size: 15px;
    transition: border-color var(--motion-fast) var(--ease),
                background var(--motion-fast) var(--ease);
}
.forge-form input:focus,
.forge-form select:focus {
    outline: 0;
    border-color: var(--moss);
    background: var(--parchment);
}
.forge-form .btn { grid-column: 1 / -1; justify-content: center; margin-top: var(--space-2xs); }
.forge-msg {
    grid-column: 1 / -1;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--moss);
    min-height: 1.2em;
}

.trade-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-s);
}
@media (max-width: 540px) { .trade-list { grid-template-columns: 1fr; } }

.trade-note {
    background: var(--parchment-3);
    border: 1px solid rgba(11, 10, 8, 0.18);
    border-radius: var(--radius-s);
    padding: var(--space-s);
    position: relative;
    box-shadow: 0 2px 6px rgba(11, 10, 8, 0.08);
    transition: transform var(--motion-base) var(--ease),
                box-shadow var(--motion-base) var(--ease);
}
.trade-note:hover {
    transform: translateY(-2px) rotate(0deg);
    box-shadow: var(--shadow-lift);
}
.trade-note::before {
    content: "";
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%);
    width: 10px; height: 10px;
    background: var(--rust);
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(11, 10, 8, 0.4);
}
.tn-1 { transform: rotate(-1.2deg); }
.tn-2 { transform: rotate(0.8deg); }
.tn-3 { transform: rotate(-0.6deg); }
.tn-4 { transform: rotate(1.4deg); }

.tn-head {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 6px;
}
.tn-body { font-size: 14px; line-height: 1.5; color: var(--ink); }
.tn-foot {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--shadow);
    opacity: 0.75;
}

/* ---------- about ---------- */
.about {
    padding-bottom: clamp(48px, 6vw, 96px);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    align-items: start;
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
}
.about-text > * + * { margin-top: var(--space-m); }
.about-text p { font-size: 18px; line-height: 1.7; max-width: 60ch; }
.pull-quote {
    border-left: 3px solid var(--rust);
    padding: var(--space-s) var(--space-m);
    background: rgba(138, 42, 30, 0.05);
    font-size: 22px;
    line-height: 1.45;
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
.pull-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--shadow);
    opacity: 0.8;
}

.colophon-card {
    border: 1px solid rgba(11, 10, 8, 0.2);
    border-radius: var(--radius-m);
    padding: var(--space-m);
    background: var(--shadow);
    color: var(--parchment);
    box-shadow: var(--shadow-soft);
}
.cc-eye {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lamp);
    margin-bottom: var(--space-s);
}
.cc-list { display: grid; gap: 14px; }
.cc-list > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(245, 241, 230, 0.15);
    font-family: var(--font-mono);
    font-size: 13px;
}
.cc-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cc-list dt {
    color: var(--lamp);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.cc-list dd { color: rgba(245, 241, 230, 0.85); }

/* ---------- footer ---------- */
.footer {
    border-top: 1px solid rgba(11, 10, 8, 0.18);
    background: var(--parchment-2);
    padding: clamp(28px, 4vw, 56px) 0;
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-s);
}
.footer-mark { font-family: var(--font-display); font-size: 18px; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.footer-links a {
    color: var(--shadow);
    transition: color var(--motion-fast) var(--ease);
    border-bottom: 1px dotted transparent;
}
.footer-links a:hover { color: var(--rust); border-bottom-color: var(--rust); }
.footer-keeper {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--shadow);
    opacity: 0.75;
    flex-basis: 100%;
    text-align: center;
    padding-top: var(--space-s);
    border-top: 1px dashed rgba(11, 10, 8, 0.2);
    margin-top: var(--space-s);
}

/* ---------- animations ---------- */
@keyframes typewriterReveal {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes caretBlink {
    0%, 50%   { opacity: 1; }
    51%, 100% { opacity: 0; }
}
@keyframes lampFlicker {
    0%, 92%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(232, 183, 74, 0.6); }
    93%           { opacity: 0.7; }
    94%           { opacity: 1; }
    95%           { opacity: 0.85; }
    96%           { opacity: 1; }
}
@keyframes rotateDash {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes floatDust {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    50%      { transform: translate(8px, -10px); opacity: 0.9; }
}
