/* ============================================================
   Road to Bronco — v6
   Real Latgale photos + donor names BG + scrollable wall
   Advanced payment block + The Wall + Contact
   Senior-level design system, NO italic in main h2/h3
   ============================================================ */

:root {
    --bg:           #0E1416;
    --bg-deep:      #080C0E;
    --bg-elevated:  #131B1F;
    --bg-card:      #16202A;
    --bg-glass:     rgba(8, 12, 14, 0.65);

    --mist:         #C8D8E0;
    --frost:        #8DAEB8;
    --frost-dim:    #5A747E;
    --steel:        #3a525c;

    --line:         rgba(141, 174, 184, 0.10);
    --line-strong:  rgba(141, 174, 184, 0.22);
    --line-warm:    rgba(232, 152, 85, 0.25);

    --text:         #FFFFFF;
    --text-soft:    #D4DCE0;
    --text-muted:   #8A9499;
    --text-dim:     #6E7A82;
    --text-faint:   #4E5A62;

    --warm:         #E89855;
    --warm-light:   #F5B077;
    --warm-deep:    #C77835;
    --warm-soft:    rgba(232, 152, 85, 0.15);
    --warm-glow:    rgba(232, 152, 85, 0.4);

    --success:      #7AC082;
    --danger:       #E66B6B;

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;
    --font-serif:   'EB Garamond', Georgia, serif;

    --radius:       4px;
    --radius-lg:    8px;
    --transition:   600ms cubic-bezier(0.16, 1, 0.3, 1);
    --shadow:       0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-deep:  0 24px 80px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
    background: var(--bg);
    color: var(--text-soft);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 2; }
a { color: var(--frost); text-decoration: none; transition: color 200ms; }
a:hover { color: var(--mist); }
img, svg { max-width: 100%; height: auto; display: block; }

/* ============================================================
   INTRO ANIMATION
   ============================================================ */
#rtb-intro {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1000ms ease, transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

#rtb-intro.fade-out {
    opacity: 0;
    transform: scale(1.08);
    pointer-events: none;
}

.intro-canvas { position: absolute; inset: 0; z-index: 1; }
.intro-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.9) 100%);
}

.intro-tagline {
    position: absolute; top: 7%; left: 50%; transform: translateX(-50%);
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 10px; color: var(--frost);
    letter-spacing: 0.5em; opacity: 0;
}

.intro-content { position: relative; z-index: 3; text-align: center; max-width: 800px; padding: 0 24px; }

.intro-logo {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300; letter-spacing: 0.08em;
    color: var(--text); margin-bottom: 3rem; opacity: 0;
}

.intro-logo .word { display: inline-block; opacity: 0; }
.intro-logo .dot { display: inline-block; color: var(--frost); margin: 0 12px; opacity: 0; }

.intro-headline {
    font-family: var(--font-display);
    font-size: clamp(42px, 6.5vw, 80px);
    font-weight: 300; line-height: 1.0;
    margin-bottom: 1.5rem; letter-spacing: -0.04em;
    color: var(--text); opacity: 0;
}

.intro-headline .accent { color: var(--warm); font-weight: 400; }

.intro-sub {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    font-size: clamp(15px, 2vw, 19px); line-height: 1.6;
    font-weight: 400; max-width: 540px; margin: 0 auto; opacity: 0;
}

.intro-footer {
    position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 10px; color: var(--text-dim);
    letter-spacing: 0.4em; opacity: 0;
}

.intro-skip {
    position: absolute; top: 24px; right: 24px; z-index: 4;
    background: transparent; border: 1px solid var(--text-dim);
    color: var(--text-muted); padding: 8px 16px;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.15em; cursor: pointer;
    transition: all 200ms; opacity: 0;
}
.intro-skip:hover { color: var(--text); border-color: var(--text); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 820px; }
.container.wide { max-width: 1480px; }

.section { padding: 140px 0; position: relative; }
.section.compact { padding: 100px 0; }

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section.compact { padding: 60px 0; }
    .container { padding: 0 20px; }
}

/* ============================================================
   TYPOGRAPHY — NO ITALIC IN MAIN HEADINGS
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text);
}

.section-title {
    font-size: clamp(40px, 5.5vw, 76px);
    font-weight: 300;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: var(--text);
}

.section-title .accent { color: var(--warm); font-weight: 400; }
.section-title .frost  { color: var(--frost); font-weight: 400; }

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--warm);
    letter-spacing: 0.35em;
    margin-bottom: 32px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--warm);
}

.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--warm);
}

.section-sub {
    color: var(--text-muted);
    font-size: 19px;
    margin-bottom: 80px;
    max-width: 720px;
    line-height: 1.65;
    font-weight: 300;
    font-family: var(--font-serif);
    font-style: italic;
}

p {
    margin-bottom: 24px;
    color: var(--text-soft);
    font-weight: 300;
}

.section.narrow p, .container.narrow p {
    font-size: 18px;
    line-height: 1.95;
    color: var(--text-soft);
    font-weight: 300;
}

.container.narrow p strong { color: var(--text); font-weight: 500; }

.lead-paragraph {
    font-size: 23px !important;
    line-height: 1.55 !important;
    color: var(--text) !important;
    font-weight: 300 !important;
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 40px !important;
    border-left: 2px solid var(--warm);
    padding-left: 32px;
}

.micro-text {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 24px;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-note {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    line-height: 1.85;
    font-family: var(--font-mono);
}

.pullquote {
    margin: 80px 0;
    padding: 44px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.4vw, 40px);
    font-style: italic;
    color: var(--text);
    line-height: 1.35;
    font-weight: 400;
    text-align: center;
    letter-spacing: -0.01em;
}

.pullquote::before {
    content: '"';
    display: block;
    font-size: 88px;
    color: var(--warm);
    line-height: 0;
    margin-bottom: 32px;
    opacity: 0.5;
    font-family: var(--font-serif);
}

.signature {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    color: var(--frost);
    margin-top: 40px;
}

.visibility-list {
    margin-top: 52px;
    padding: 40px 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-left: 2px solid var(--warm);
}

.visibility-list p {
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.75;
    font-weight: 400;
}

.visibility-list p:last-child { margin-bottom: 0; }
.visibility-list strong {
    color: var(--warm);
    margin-right: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1000ms ease, transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(8, 12, 14, 0.78);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--line);
    transition: transform 400ms ease;
}

.site-header.hidden { transform: translateY(-100%); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.32em;
    color: var(--text);
}

.site-nav { display: flex; align-items: center; gap: 36px; }

.site-nav a {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 200ms;
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 1px;
    background: var(--warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms;
}

.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }

.cta-nav {
    background: var(--warm);
    color: var(--bg) !important;
    padding: 11px 22px;
    font-weight: 600;
    transition: all 200ms;
    border: 1px solid var(--warm);
}

.cta-nav::after { display: none; }
.cta-nav:hover { background: transparent; color: var(--warm) !important; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text);
    width: 36px; height: 36px;
    cursor: pointer;
    font-size: 18px;
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--bg-deep);
        flex-direction: column;
        padding: 28px;
        gap: 24px;
        border-bottom: 1px solid var(--line);
    }
    .site-nav.open { display: flex; }
    .site-nav a { font-size: 13px; }
}

/* ============================================================
   LIVE TICKER
   ============================================================ */
.live-ticker {
    position: fixed;
    top: 72px; left: 0; right: 0;
    z-index: 99;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    overflow: hidden;
    transition: transform 400ms ease;
}

.site-header.hidden + .live-ticker { transform: translateY(-80px); }

.live-ticker-track {
    display: flex;
    gap: 56px;
    animation: tickerScroll 70s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.live-ticker-item {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.live-ticker-item .name { color: var(--text); }
.live-ticker-item .pieces { color: var(--warm); }
.live-ticker-item::after { content: '·'; color: var(--text-faint); margin-left: 56px; }

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   HERO SLIDER (with real Latgale photos)
   ============================================================ */
.hero-slider {
    position: relative;
    height: 88vh;
    min-height: 640px;
    max-height: 880px;
    width: 100%;
    overflow: hidden;
    background: var(--bg-deep);
    margin-top: 120px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1800ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
}

.hero-slide.active .hero-slide-bg {
    animation: kenBurns 9s ease-out forwards;
}

@keyframes kenBurns {
    0%   { transform: scale(1.06) translate(0, 0); }
    100% { transform: scale(1.16) translate(-2%, -1.5%); }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(180deg,
            rgba(8,12,14,0.35) 0%,
            transparent 25%,
            transparent 50%,
            rgba(8,12,14,0.85) 90%,
            rgba(8,12,14,0.95) 100%),
        linear-gradient(90deg,
            rgba(8,12,14,0.75) 0%,
            rgba(8,12,14,0.35) 35%,
            transparent 55%);
}

.hero-slide-vignette {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: radial-gradient(ellipse 100% 80% at 50% 50%, transparent 30%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

/* ============================================================
   DONOR NAMES FLOATING BG LAYER (NEW v6)
   Bigger donations = larger, brighter, longer-visible names
   ============================================================ */
.donor-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
    opacity: 0.85;
}

.donor-name {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 200;
    color: var(--mist);
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0;
    will-change: transform, opacity;
    text-shadow: 0 0 24px rgba(200, 215, 222, 0.3);
    user-select: none;
}

.donor-name.tier-small {
    font-size: 14px;
    color: rgba(141, 174, 184, 0.45);
    font-weight: 300;
    text-shadow: none;
}

.donor-name.tier-medium {
    font-size: 22px;
    color: rgba(212, 220, 224, 0.7);
    font-weight: 300;
    text-shadow: 0 0 16px rgba(200, 215, 222, 0.25);
}

.donor-name.tier-large {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 250;
    text-shadow: 0 0 28px rgba(200, 215, 222, 0.4);
}

.donor-name.tier-legend {
    font-size: 56px;
    color: var(--warm);
    font-weight: 300;
    text-shadow: 0 0 40px var(--warm-glow), 0 0 80px rgba(232, 152, 85, 0.25);
    letter-spacing: -0.03em;
}

@keyframes donorFloat {
    0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
    15%  { opacity: var(--target-opacity, 0.7); }
    85%  { opacity: var(--target-opacity, 0.7); }
    100% { opacity: 0; transform: translateY(-40px) scale(1.05); }
}

.hero-content-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.hero-content-overlay > .container {
    width: 100%;
    padding-bottom: 88px;
    pointer-events: auto;
}

.hero-rec-row {
    position: absolute;
    top: 48px;
    left: 0; right: 0;
    z-index: 11;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.hero-rec-line {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--warm);
    letter-spacing: 0.5em;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(8, 12, 14, 0.55);
    backdrop-filter: blur(10px);
    padding: 9px 22px;
    border: 1px solid var(--line-strong);
}

.hero-rec-line::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--warm);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--warm);
    animation: recPulse 2s infinite;
}

@keyframes recPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--warm); }
    50% { opacity: 0.4; box-shadow: 0 0 24px var(--warm); }
}

.hero-bottom-grid {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 64px;
    align-items: flex-end;
}

@media (max-width: 900px) { .hero-bottom-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-text-block { max-width: 740px; }

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--warm);
    letter-spacing: 0.4em;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--warm);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7.5vw, 104px);
    font-weight: 200;
    line-height: 0.94;
    margin-bottom: 36px;
    letter-spacing: -0.045em;
    color: var(--text);
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.hero-title .accent { color: var(--warm); font-weight: 300; }

.hero-quote {
    background: rgba(8, 12, 14, 0.72);
    backdrop-filter: blur(14px);
    border-left: 2px solid var(--warm);
    padding: 24px 32px;
    max-width: 620px;
    margin-bottom: 18px;
    transition: opacity 600ms ease;
}

.hero-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
    color: var(--text);
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
}

.hero-quote-attr {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    margin-top: 14px;
    text-transform: uppercase;
}

.hero-controls-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 360px;
}

.hero-progress-card {
    background: rgba(8, 12, 14, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line-strong);
    padding: 28px 32px;
}

.hero-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}

.hero-progress-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero-progress-value {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--warm);
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 1;
}

.hero-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(141, 174, 184, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--warm-deep), var(--warm), var(--warm-light));
    transition: width 1500ms cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.hero-progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Slider nav dots */
.slider-nav {
    position: absolute;
    bottom: 44px;
    right: 44px;
    z-index: 12;
    display: flex;
    gap: 14px;
    align-items: center;
}

.slider-dot {
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: all 300ms;
    border: none;
    padding: 0;
}

.slider-dot.active {
    width: 64px;
    background: var(--warm);
}

.slider-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.5); }

.slider-caption {
    position: absolute;
    bottom: 44px;
    left: 32px;
    z-index: 12;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-soft);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: rgba(8, 12, 14, 0.55);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-left: 2px solid var(--warm);
    transition: opacity 600ms ease;
}

.hero-meta-grid {
    position: absolute;
    bottom: 100px;
    right: 44px;
    z-index: 11;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    text-align: right;
    opacity: 0.7;
    text-transform: uppercase;
}

.hero-meta-grid div { margin-bottom: 4px; }

@media (max-width: 768px) {
    .slider-caption { left: 20px; bottom: 28px; font-size: 9px; padding: 8px 12px; }
    .slider-nav { right: 20px; bottom: 28px; }
    .hero-meta-grid { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background: var(--warm);
    color: var(--bg);
    border: 1px solid var(--warm);
    padding: 19px 34px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.18em;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: all 250ms;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: transparent;
    color: var(--warm);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 152, 85, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--frost-dim);
    padding: 19px 30px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.18em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 200ms;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.btn-secondary:hover {
    border-color: var(--warm);
    color: var(--warm);
}

/* ============================================================
   3D BRONCO SECTION
   ============================================================ */
.bronco-section {
    background: var(--bg-deep);
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--line);
}

.bronco-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 1px;
    background: var(--warm);
}

.bronco-section-head {
    text-align: center;
    margin-bottom: 64px;
}

.bronco-section-head .section-eyebrow { justify-content: center; }
.bronco-section-head .section-eyebrow::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--warm);
}

.bronco-section-head .section-sub { margin: 0 auto; }

.bronco-3d-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background:
        radial-gradient(ellipse at center, var(--bg-elevated), var(--bg-deep)),
        var(--bg-deep);
    border: 1px solid var(--line-strong);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    max-width: 1240px;
    margin: 0 auto;
}

.bronco-3d-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(141, 174, 184, 0.025) 39px, rgba(141, 174, 184, 0.025) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(141, 174, 184, 0.025) 39px, rgba(141, 174, 184, 0.025) 40px);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

#bronco-3d-container { position: relative; width: 100%; height: 100%; z-index: 3; }

.bronco-3d-overlay {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--text-dim);
    text-transform: uppercase;
}

.bronco-3d-overlay.top-left { top: 22px; left: 26px; }
.bronco-3d-overlay.top-right {
    top: 22px; right: 26px;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--warm);
}
.bronco-3d-overlay.top-right::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--warm);
    border-radius: 50%;
    animation: recPulse 2s infinite;
}
.bronco-3d-overlay.bottom-left { bottom: 22px; left: 26px; }
.bronco-3d-overlay.bottom-right { bottom: 22px; right: 26px; color: var(--frost); }

.bronco-3d-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: var(--bg-elevated);
    color: var(--frost);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    transition: opacity 600ms;
}

.bronco-3d-loading.hidden { opacity: 0; pointer-events: none; }

.bronco-3d-loading-bar-container {
    width: 280px; height: 1px;
    background: rgba(141, 174, 184, 0.15);
    margin-top: 18px; overflow: hidden;
}

.bronco-3d-loading-bar {
    height: 100%;
    background: var(--warm);
    width: 0%;
    transition: width 200ms;
}

.bronco-3d-instructions {
    position: absolute;
    bottom: 22px; left: 50%; transform: translateX(-50%);
    z-index: 4;
    font-family: var(--font-mono);
    font-size: 9px; color: var(--text-dim);
    letter-spacing: 0.35em; text-transform: uppercase;
}

/* PARTS TRACKER */
.parts-tracker {
    max-width: 1240px;
    margin: 36px auto 0;
    padding: 28px 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
}

.part-pip {
    text-align: center;
    padding: 14px 4px;
    border-right: 1px solid var(--line);
    transition: all 400ms;
}
.part-pip:last-child { border-right: none; }

.part-pip-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--text-faint);
    margin: 0 auto 10px;
    transition: all 500ms;
}

.part-pip.unlocked .part-pip-dot {
    background: var(--warm);
    box-shadow: 0 0 10px rgba(232, 152, 85, 0.55);
}

.part-pip-name {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-faint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.part-pip.unlocked .part-pip-name { color: var(--text-soft); }

.part-pip-pct {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    margin-top: 3px;
}

@media (max-width: 900px) {
    .parts-tracker { grid-template-columns: repeat(4, 1fr); padding: 20px; }
    .part-pip { border-right: none; }
}

/* ============================================================
   STATS DASHBOARD
   ============================================================ */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line-strong);
    margin: 64px 0;
}

@media (max-width: 768px) { .stats-dashboard { grid-template-columns: repeat(2, 1fr); } }

.stat-cell {
    background: var(--bg);
    padding: 36px 30px;
    position: relative;
    transition: background 300ms;
}

.stat-cell:hover { background: var(--bg-elevated); }

.stat-cell-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.28em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.stat-cell-value {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 200;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-cell-value.warm { color: var(--warm); }
.stat-cell-value.frost { color: var(--frost); }

.stat-cell-change {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--success);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stat-cell-change.live {
    color: var(--warm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stat-cell-change.live::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--warm);
    border-radius: 50%;
    animation: recPulse 2s infinite;
}

/* ============================================================
   LIVE FEED + LEADERBOARD
   ============================================================ */
.feed-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
}

@media (max-width: 900px) { .feed-grid { grid-template-columns: 1fr; } }

.panel {
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    overflow: hidden;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    border-bottom: 1px solid var(--line);
}

.panel-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--warm);
    letter-spacing: 0.28em;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
}

.panel-meta {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.activity-feed {
    padding: 10px;
    max-height: 540px;
    overflow-y: auto;
}

.activity-feed::-webkit-scrollbar { width: 4px; }
.activity-feed::-webkit-scrollbar-track { background: transparent; }
.activity-feed::-webkit-scrollbar-thumb { background: var(--line-strong); }

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 12px;
    transition: all 200ms;
}

.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--bg); }
.activity-item.fresh { background: var(--warm-soft); border-left: 2px solid var(--warm); }

.activity-time {
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    min-width: 36px;
    padding-top: 2px;
    text-transform: uppercase;
}

.activity-text { flex: 1; }
.activity-text .name { color: var(--text); font-weight: 500; }
.activity-text .name.anon { color: var(--text-dim); font-weight: 400; }
.activity-text .action { color: var(--text-muted); margin: 0 6px; }
.activity-text .pieces { color: var(--warm); font-weight: 500; }

.activity-msg {
    font-style: italic;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 6px;
    padding-left: 14px;
    border-left: 1px solid var(--warm);
    font-family: var(--font-serif);
}

.leaderboard { padding: 18px; }

.leader-item {
    display: grid;
    grid-template-columns: 32px 40px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin-bottom: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    transition: all 200ms;
}

.leader-item:hover { border-color: var(--frost-dim); transform: translateX(4px); }

.leader-item.top {
    background: linear-gradient(90deg, var(--warm-soft), transparent);
    border-color: rgba(232, 152, 85, 0.28);
}

.leader-rank {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text-dim);
    font-weight: 400;
    text-align: center;
}

.leader-item.top .leader-rank { color: var(--warm); }

.leader-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--frost-dim);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 12px;
    font-family: var(--font-display);
}

.leader-item.top .leader-avatar { background: var(--warm); color: var(--bg); }
.leader-item.anon .leader-avatar { background: var(--line-strong); color: var(--text-dim); }

.leader-name {
    font-size: 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
}
.leader-item.anon .leader-name { color: var(--text-dim); }

.leader-pieces {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--warm);
    font-weight: 500;
}

/* ============================================================
   STEPS / EPISODES
   ============================================================ */
.episode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 56px 0;
}

@media (max-width: 900px) { .episode-grid { grid-template-columns: 1fr; } }

.episode-card {
    padding: 52px 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-left: 2px solid var(--frost-dim);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.episode-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--warm), transparent);
    opacity: 0;
    transition: opacity 400ms;
}

.episode-card:hover {
    border-left-color: var(--warm);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.episode-card:hover::before { opacity: 1; }

.episode-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--warm);
    letter-spacing: 0.38em;
    margin-bottom: 32px;
    display: block;
    text-transform: uppercase;
    font-weight: 500;
}

.episode-card h3 {
    font-size: 28px;
    margin-bottom: 22px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
}

.episode-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.75;
    font-family: var(--font-body);
}

/* ============================================================
   TIERS
   ============================================================ */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 72px 0;
}

@media (max-width: 1000px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tiers-grid { grid-template-columns: 1fr; } }

.tier-card {
    padding: 36px 26px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms;
}

.tier-card:hover {
    transform: translateY(-10px);
    border-color: var(--warm);
    box-shadow: var(--shadow);
}
.tier-card:hover::before { transform: scaleX(1); }

.tier-card h3 {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--warm);
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.tier-amount {
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: 200;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.tier-card p {
    font-size: 13px;
    color: var(--text-muted);
    min-height: 56px;
    margin-bottom: 0;
    line-height: 1.65;
    font-family: var(--font-body);
}

.btn-tier {
    background: transparent;
    color: var(--frost);
    border: 1px solid var(--frost-dim);
    width: 100%;
    padding: 14px;
    font-size: 11px;
    margin-top: 24px;
    font-family: var(--font-mono);
    letter-spacing: 0.22em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms;
    text-transform: uppercase;
}

.btn-tier:hover {
    background: var(--warm);
    color: var(--bg);
    border-color: var(--warm);
}

/* ============================================================
   ADVANCED PAYMENT METHODS BLOCK (v6 redesigned)
   ============================================================ */
.payment-hub {
    margin-top: 48px;
}

.payment-primary {
    text-align: center;
    padding: 72px 40px;
    background:
        radial-gradient(ellipse at center top, var(--warm-soft) 0%, transparent 60%),
        var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-top: 2px solid var(--warm);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.payment-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: var(--warm);
    box-shadow: 0 0 20px var(--warm-glow);
}

.payment-primary h3 {
    font-size: 32px;
    margin-bottom: 18px;
    font-weight: 300;
    color: var(--text);
    letter-spacing: -0.02em;
}

.payment-primary p {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 17px;
    font-family: var(--font-body);
    font-weight: 300;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}

@media (max-width: 900px) { .payment-methods-grid { grid-template-columns: 1fr; } }

.payment-method {
    padding: 36px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    transition: all var(--transition);
    position: relative;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.payment-method:hover {
    border-color: var(--warm);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    color: inherit;
}

.payment-method-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(232, 152, 85, 0.1);
    border: 1px solid var(--line-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.payment-method-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--warm);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--line-warm);
}

.payment-method-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.payment-method-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.payment-method-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.payment-method-fee {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.payment-method-arrow {
    color: var(--warm);
    font-size: 18px;
    transition: transform 300ms;
}

.payment-method:hover .payment-method-arrow {
    transform: translateX(4px);
}

/* Bank transfer expanded panel */
.payment-bank {
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    padding: 0;
    overflow: hidden;
}

.payment-bank-head {
    padding: 26px 36px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 200ms;
}

.payment-bank-head:hover { background: var(--bg-card); }

.payment-bank-title {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-bank-title-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(141, 174, 184, 0.12);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--frost);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
}

.payment-bank-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.payment-bank-body {
    padding: 36px 40px;
}

.payment-bank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 700px) { .payment-bank-grid { grid-template-columns: 1fr; gap: 20px; } }

.payment-bank-field {
    border-left: 2px solid var(--frost-dim);
    padding-left: 18px;
    transition: border-color 200ms;
}

.payment-bank-field:hover { border-left-color: var(--warm); }

.payment-bank-field-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.22em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.payment-bank-field-value {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--text);
    font-weight: 400;
    word-break: break-all;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 200ms;
    text-transform: uppercase;
}

.copy-btn:hover { border-color: var(--warm); color: var(--warm); }
.copy-btn.copied { background: var(--success); color: var(--bg); border-color: var(--success); }

.payment-bank-note {
    padding: 18px 22px;
    background: var(--bg-deep);
    border-left: 2px solid var(--warm);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.payment-bank-note strong { color: var(--warm); margin-right: 6px; }

/* ============================================================
   MILESTONES
   ============================================================ */
.milestone-list {
    position: relative;
    padding-left: 40px;
}

.milestone-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--line-strong), var(--warm), var(--line-strong));
}

.milestone {
    position: relative;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}

.milestone:last-child { border-bottom: none; }

.milestone-marker {
    position: absolute;
    left: -40px; top: 38px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--text-dim);
    text-align: center;
    line-height: 14px;
    font-size: 9px;
    color: var(--text-dim);
    transition: all 400ms;
}

.milestone.reached .milestone-marker {
    background: var(--frost);
    border-color: var(--frost);
    color: var(--bg);
}

.milestone.you-are-here .milestone-marker {
    background: var(--warm);
    border-color: var(--warm);
    color: var(--bg);
    box-shadow: 0 0 0 5px rgba(232, 152, 85, 0.18);
    animation: youAreHerePulse 2.5s infinite;
}

@keyframes youAreHerePulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(232, 152, 85, 0.18); }
    50% { box-shadow: 0 0 0 14px transparent; }
}

.milestone-percent {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--warm);
    margin-right: 18px;
    font-weight: 500;
}

.milestone-title {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text);
    font-size: 20px;
}

.milestone.reached .milestone-title { color: var(--text-muted); }
.milestone.you-are-here .milestone-title { color: var(--warm); font-weight: 500; }

.milestone-desc {
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================================
   THE WALL — ADVANCED v6 (scrollable, advanced layout)
   ============================================================ */
.wall-container {
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    position: relative;
    overflow: hidden;
}

.wall-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px 36px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-deep);
}

@media (max-width: 768px) {
    .wall-header { grid-template-columns: 1fr; padding: 22px 24px; }
}

.wall-header-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.wall-header-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wall-header-stat-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.wall-header-stat-value.warm { color: var(--warm); }
.wall-header-stat-value.frost { color: var(--frost); }

.wall-header-stat-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.wall-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.wall-filter {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text-muted);
    padding: 9px 16px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    transition: all 200ms;
    text-transform: uppercase;
}

.wall-filter:hover { border-color: var(--warm); color: var(--text); }
.wall-filter.active { background: var(--warm); color: var(--bg); border-color: var(--warm); }

.wall-search-input {
    background: var(--bg);
    border: 1px solid var(--line-strong);
    color: var(--text);
    padding: 9px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    width: 200px;
    transition: border-color 200ms;
}

.wall-search-input:focus { outline: none; border-color: var(--warm); }
.wall-search-input::placeholder { color: var(--text-dim); letter-spacing: 0.15em; }

.wall-body {
    position: relative;
    max-height: 720px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 28px;
}

.wall-body::-webkit-scrollbar { width: 6px; }
.wall-body::-webkit-scrollbar-track { background: var(--bg-deep); }
.wall-body::-webkit-scrollbar-thumb {
    background: var(--frost-dim);
    border-radius: 3px;
}
.wall-body::-webkit-scrollbar-thumb:hover { background: var(--warm); }

/* Fade gradient at top/bottom of scrollable area */
.wall-body::before, .wall-body::after {
    content: '';
    position: sticky;
    left: 0; right: 0;
    height: 24px;
    display: block;
    pointer-events: none;
    z-index: 5;
}

.wall-body::before {
    top: 0;
    background: linear-gradient(180deg, var(--bg-elevated) 0%, transparent 100%);
    margin-bottom: -24px;
}

.wall-body::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--bg-elevated) 0%, transparent 100%);
    margin-top: -24px;
}

#wall-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 4px 0;
}

@media (max-width: 700px) { #wall-grid { grid-template-columns: 1fr; } }

.wall-card {
    padding: 22px 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    transition: all 200ms;
    position: relative;
}

.wall-card:hover {
    border-color: var(--warm);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.wall-card.tier-legend {
    background: linear-gradient(135deg, rgba(232, 152, 85, 0.08), transparent);
    border-left: 2px solid var(--warm);
}

.wall-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wall-card-name-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wall-card-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--frost-dim);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 11px;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.wall-card.tier-legend .wall-card-avatar { background: var(--warm); color: var(--bg); }
.wall-card.anon .wall-card-avatar { background: var(--line-strong); color: var(--text-dim); }

.wall-card-name {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text);
    font-size: 15px;
}

.wall-card.anon .wall-card-name { color: var(--text-dim); font-weight: 400; }

.wall-card-amount {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--warm);
    font-weight: 500;
}

.wall-card-msg {
    font-style: italic;
    font-size: 14px;
    color: var(--text-muted);
    margin: 12px 0;
    line-height: 1.55;
    font-family: var(--font-serif);
    padding-left: 12px;
    border-left: 1px solid var(--warm);
}

.wall-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.wall-card-time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wall-card-tier-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--warm);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 3px 8px;
    background: var(--warm-soft);
    border: 1px solid var(--line-warm);
}

.wall-footer {
    padding: 22px 36px;
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.wall-footer-info {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wall-footer-info strong { color: var(--text); }

.wall-empty, .wall-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ============================================================
   UPDATES (build log)
   ============================================================ */
.update {
    padding: 44px 48px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    margin-bottom: 24px;
    transition: all 250ms;
}

.update:hover { border-color: var(--warm); }

.update header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.28em;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    text-transform: uppercase;
}

.update h3 {
    font-size: 28px;
    margin-bottom: 22px;
    font-weight: 400;
    color: var(--text);
}

.update-body {
    color: var(--text-soft);
    line-height: 1.9;
    margin-bottom: 24px;
    font-size: 16px;
    font-family: var(--font-serif);
}

.update footer {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--warm);
    font-style: italic;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
    border-bottom: 1px solid var(--line-strong);
    padding: 30px 0;
    transition: padding 200ms;
}

.faq-q {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 16px;
    font-weight: 400;
    transition: color 200ms;
    line-height: 1.4;
}

.faq-q:hover { color: var(--warm); }
.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
    content: '+';
    color: var(--warm);
    font-family: var(--font-mono);
    transition: transform 300ms;
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 28px;
}

details[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
    margin-top: 20px;
    color: var(--text-soft);
    line-height: 1.95;
    font-size: 16px;
    font-family: var(--font-serif);
}

/* ============================================================
   CONTACT — ADVANCED v6 redesign
   ============================================================ */
.contact-shell {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    margin-top: 56px;
}

@media (max-width: 900px) { .contact-shell { grid-template-columns: 1fr; } }

.contact-side {
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-left: 2px solid var(--warm);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-side-heading {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--warm);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-side h3 {
    font-size: 28px;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-side-body {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
    font-family: var(--font-body);
    margin-bottom: 0;
    font-weight: 300;
}

.contact-info-list {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(232, 152, 85, 0.1);
    border: 1px solid var(--line-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    flex-shrink: 0;
}

.contact-info-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1;
}

.contact-info-value {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}

.contact-info-value a { color: var(--text); }
.contact-info-value a:hover { color: var(--warm); }

.contact-info-extra {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.contact-form-wrapper {
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    padding: 44px 44px;
}

.contact-form-head {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.contact-form-head h3 {
    font-size: 24px;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-form-head p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-form { margin: 0; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.form-field {
    margin-bottom: 18px;
    position: relative;
}

.form-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-deep);
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 200ms;
    font-weight: 300;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--warm);
    background: var(--bg);
}

.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.65; }

.form-field-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    pointer-events: none;
}

.form-submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 16px;
}

.form-submit-note {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form-message {
    margin-top: 18px;
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-message.success { background: rgba(122, 192, 130, 0.1); color: var(--success); border: 1px solid var(--success); }
.form-message.error { background: rgba(230, 107, 107, 0.1); color: var(--danger); border: 1px solid var(--danger); }

/* ============================================================
   TOASTS
   ============================================================ */
.achievement-toast {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    background: var(--bg-elevated);
    border: 1px solid var(--warm);
    border-left: 3px solid var(--warm);
    padding: 18px 24px;
    min-width: 320px;
    box-shadow: var(--shadow-deep);
    transform: translateX(120%);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.achievement-toast.show { transform: translateX(0); }

.achievement-toast-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--warm);
    letter-spacing: 0.28em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.achievement-toast-title {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
}

.donation-popup {
    position: fixed;
    top: 160px; right: 28px;
    z-index: 998;
    background: var(--bg-deep);
    border: 1px solid var(--warm);
    padding: 20px 24px;
    min-width: 340px;
    max-width: 380px;
    box-shadow: var(--shadow-deep);
    transform: translateX(120%);
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.donation-popup.show { transform: translateX(0); }

.donation-popup-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.donation-popup-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--warm);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
}

.donation-popup-name { font-size: 14px; color: var(--text); font-weight: 500; }
.donation-popup-pieces { color: var(--warm); font-family: var(--font-mono); font-weight: 500; }

.donation-popup-msg {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
    padding-left: 14px;
    border-left: 1px solid var(--warm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--line-strong);
    padding: 110px 0 50px;
    margin-top: 100px;
    background: var(--bg-deep);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 64px;
}

@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 50px; } }

.footer-logo {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.32em;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 500;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    font-family: var(--font-serif);
    font-style: italic;
    line-height: 1.65;
}

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr; gap: 24px; } }

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--warm);
    margin-bottom: 22px;
    font-weight: 500;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 200ms;
}

.footer-col a:hover { color: var(--text); }

.footer-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}

.footer-meta p {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    margin: 0;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-disclaimer p {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.85;
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

.footer-disclaimer .copyright { margin-top: 18px; letter-spacing: 0.18em; }

/* ============================================================
   STATIC PAGES
   ============================================================ */
.page-content { padding: 200px 0 80px; max-width: 800px; margin: 0 auto; }
.page-content h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 30px; font-weight: 300; letter-spacing: -0.04em; }
.page-content h2 { font-size: 24px; margin-top: 60px; margin-bottom: 20px; color: var(--warm); font-weight: 500; }
.page-content p, .page-content li { color: var(--text-soft); line-height: 1.95; margin-bottom: 18px; font-size: 17px; font-weight: 300; }
.page-content ul { padding-left: 28px; margin-bottom: 18px; }
.page-content code { font-family: var(--font-mono); background: var(--bg-elevated); padding: 3px 8px; font-size: 0.9em; color: var(--warm); }
.page-content hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
.page-content .breakdown { background: var(--bg-elevated); border: 1px solid var(--line-strong); padding: 32px; margin: 32px 0; font-family: var(--font-mono); font-size: 14px; }
.page-content .breakdown-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); }
.page-content .breakdown-row:last-child { border-bottom: none; border-top: 1px solid var(--warm); margin-top: 14px; padding-top: 20px; font-weight: 500; color: var(--text); }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: var(--bg); color: var(--text); font-family: var(--font-body); min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 768px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-sidebar { background: var(--bg-deep); border-right: 1px solid var(--line-strong); padding: 28px 16px; }
.admin-sidebar h2 { font-family: var(--font-display); font-size: 13px; color: var(--warm); margin-bottom: 28px; padding: 0 12px; letter-spacing: 0.28em; font-weight: 500; }
.admin-sidebar a { display: block; padding: 11px 14px; color: var(--text-muted); font-size: 12px; margin-bottom: 4px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.admin-sidebar a:hover { background: var(--bg-elevated); color: var(--text); }
.admin-sidebar a.active { background: var(--warm); color: var(--bg); }
.admin-main { padding: 36px; max-width: 1100px; }
.admin-main h1 { font-size: 30px; margin-bottom: 28px; font-weight: 300; }
.admin-card { background: var(--bg-elevated); border: 1px solid var(--line-strong); padding: 28px; margin-bottom: 28px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 36px; }
.admin-stat { background: var(--bg-elevated); padding: 22px; border: 1px solid var(--line-strong); }
.admin-stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--text); margin-bottom: 6px; font-weight: 300; }
.admin-stat span { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); letter-spacing: 0.22em; text-transform: uppercase; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); font-family: var(--font-mono); }
.admin-table th { color: var(--warm); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.admin-form { display: grid; gap: 18px; max-width: 600px; }
.admin-form label { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.18em; margin-bottom: 8px; text-transform: uppercase; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font-family: var(--font-body); font-size: 14px; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: none; border-color: var(--warm); }
.admin-form textarea { min-height: 130px; resize: vertical; }
.admin-form .checkbox-row { display: flex; align-items: center; gap: 8px; }
.admin-form .checkbox-row input { width: auto; }
.btn-danger { background: var(--danger); color: white; border: none; padding: 10px 16px; cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.btn-small { background: transparent; border: 1px solid var(--line-strong); color: var(--text-muted); padding: 7px 14px; cursor: pointer; font-family: var(--font-mono); font-size: 11px; text-decoration: none; display: inline-block; letter-spacing: 0.1em; }
.btn-small:hover { border-color: var(--warm); color: var(--text); }
.alert { padding: 14px 18px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; }
.alert-success { background: rgba(122, 192, 130, 0.1); color: var(--success); border: 1px solid var(--success); }
.alert-error { background: rgba(230, 107, 107, 0.1); color: var(--danger); border: 1px solid var(--danger); }
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-box { width: 100%; max-width: 440px; padding: 48px; background: var(--bg-elevated); border: 1px solid var(--line-strong); }
.login-box h1 { font-size: 24px; margin-bottom: 8px; text-align: center; font-weight: 300; }
.login-box .sub { text-align: center; color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; margin-bottom: 36px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 200px 24px 48px; text-align: center; }
.thanks-content { max-width: 680px; }
.thanks-content h1 { font-size: clamp(44px, 6.5vw, 84px); margin-bottom: 36px; font-weight: 200; line-height: 1.0; }
.thanks-content h1 .accent { color: var(--warm); font-weight: 300; }
.thanks-content p { font-size: 18px; line-height: 1.85; color: var(--text-muted); margin-bottom: 24px; font-family: var(--font-serif); }
.thanks-cta { display: flex; gap: 18px; justify-content: center; margin: 44px 0; flex-wrap: wrap; }

/* ============================================================
   v7 OVERRIDES & NEW BLOCKS
   ============================================================ */

/* Donor BG layer removed from slider (was distracting from photos) */
.donor-bg-layer { display: none !important; }

/* ============================================================
   v7 NEW: STANDALONE DONOR WALL SECTION
   Floating donor names in a dedicated dark canvas section
   ============================================================ */
.donor-canvas-section {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(232, 152, 85, 0.06), transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(141, 174, 184, 0.05), transparent 50%),
        var(--bg-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 100px 0;
    overflow: hidden;
}

.donor-canvas-head {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 2;
}

.donor-canvas-head .section-eyebrow { justify-content: center; }
.donor-canvas-head .section-eyebrow::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--warm);
}

.donor-canvas-head .section-title { font-size: clamp(36px, 4.5vw, 60px); }

.donor-canvas-stage {
    position: relative;
    height: 380px;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, transparent, rgba(141, 174, 184, 0.02), transparent),
        var(--bg);
}

.donor-canvas-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(141, 174, 184, 0.025) 60px, rgba(141, 174, 184, 0.025) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(141, 174, 184, 0.025) 60px, rgba(141, 174, 184, 0.025) 61px);
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}

.donor-canvas-stage .donor-name {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 200;
    color: var(--mist);
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0;
    will-change: transform, opacity;
    text-shadow: 0 0 24px rgba(200, 215, 222, 0.3);
    user-select: none;
    z-index: 2;
}

.donor-canvas-stage .donor-name.tier-small {
    font-size: 14px;
    color: rgba(141, 174, 184, 0.45);
    font-weight: 300;
    text-shadow: none;
}

.donor-canvas-stage .donor-name.tier-medium {
    font-size: 24px;
    color: rgba(212, 220, 224, 0.75);
    font-weight: 300;
    text-shadow: 0 0 16px rgba(200, 215, 222, 0.25);
}

.donor-canvas-stage .donor-name.tier-large {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 250;
    text-shadow: 0 0 28px rgba(200, 215, 222, 0.4);
}

.donor-canvas-stage .donor-name.tier-legend {
    font-size: 64px;
    color: var(--warm);
    font-weight: 300;
    text-shadow: 0 0 40px var(--warm-glow), 0 0 80px rgba(232, 152, 85, 0.25);
    letter-spacing: -0.03em;
}

.donor-canvas-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.donor-canvas-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.donor-canvas-legend-swatch {
    width: 28px;
    height: 1px;
    background: var(--text-dim);
}

.donor-canvas-legend-swatch.small { background: rgba(141, 174, 184, 0.45); }
.donor-canvas-legend-swatch.medium { background: rgba(212, 220, 224, 0.75); height: 2px; }
.donor-canvas-legend-swatch.large { background: rgba(255, 255, 255, 0.9); height: 2px; }
.donor-canvas-legend-swatch.legend { background: var(--warm); height: 2px; box-shadow: 0 0 8px var(--warm-glow); }

/* ============================================================
   v7 OVERRIDE: 3D BRONCO FULL-WIDTH (saderas ar slidera platumu)
   ============================================================ */
.bronco-section {
    padding: 0;
    background:
        radial-gradient(ellipse at center, var(--bg-elevated) 0%, var(--bg-deep) 80%),
        var(--bg-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.bronco-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 1px;
    background: var(--warm);
    z-index: 10;
}

.bronco-section-head {
    text-align: center;
    padding: 100px 32px 64px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Full-width 3D viewer wrapper */
.bronco-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    aspect-ratio: auto;
    height: 78vh;
    min-height: 580px;
    max-height: 900px;
    background:
        radial-gradient(ellipse at center, rgba(141, 174, 184, 0.08), transparent 60%),
        var(--bg);
    border: none;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    overflow: hidden;
    box-shadow: none;
}

.bronco-3d-wrapper::before {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(141, 174, 184, 0.03) 79px, rgba(141, 174, 184, 0.03) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(141, 174, 184, 0.03) 79px, rgba(141, 174, 184, 0.03) 80px);
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
}

.bronco-3d-overlay { z-index: 6; }
.bronco-3d-overlay.top-left,
.bronco-3d-overlay.top-right { top: 28px; }
.bronco-3d-overlay.top-left { left: 32px; }
.bronco-3d-overlay.top-right { right: 32px; }
.bronco-3d-overlay.bottom-left,
.bronco-3d-overlay.bottom-right { bottom: 28px; }
.bronco-3d-overlay.bottom-left { left: 32px; }
.bronco-3d-overlay.bottom-right { right: 32px; }

.bronco-3d-instructions {
    bottom: 28px;
    z-index: 5;
}

/* Parts tracker container under bronco — kept as max-width for readability */
.parts-tracker {
    max-width: 1240px;
    margin: 0 auto;
    border-top: none;
    padding: 40px 36px 100px;
    background: transparent;
    border: none;
}

.parts-tracker-inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    padding: 28px 36px;
}

@media (max-width: 900px) {
    .parts-tracker-inner { grid-template-columns: repeat(4, 1fr); padding: 20px; }
    .part-pip { border-right: none; }
    .bronco-3d-wrapper { height: 60vh; min-height: 420px; }
}

/* ============================================================
   v7 ADVANCED PAYMENT METHODS — with icons & visual art
   ============================================================ */
.payment-methods-grid {
    grid-template-columns: repeat(3, 1fr);
}

.payment-method {
    padding: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    transition: all var(--transition);
    position: relative;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.payment-method:hover {
    border-color: var(--warm);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--warm);
    color: inherit;
}

/* Visual art header for each payment method */
.payment-method-art {
    position: relative;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--line);
}

.payment-method-art::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    transition: opacity 400ms;
}

.payment-method:hover .payment-method-art::before { opacity: 0.65; }

/* Method-specific abstract gradient art */
.payment-method.kofi .payment-method-art {
    background: linear-gradient(135deg, #2a1a18, #1a0F0E);
}
.payment-method.kofi .payment-method-art::before {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(232, 152, 85, 0.45), transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 140, 80, 0.25), transparent 60%);
}

.payment-method.revolut .payment-method-art {
    background: linear-gradient(135deg, #0E1820, #080C0E);
}
.payment-method.revolut .payment-method-art::before {
    background:
        radial-gradient(ellipse at 60% 30%, rgba(141, 174, 184, 0.4), transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(100, 140, 180, 0.25), transparent 60%);
}

.payment-method.paypal .payment-method-art {
    background: linear-gradient(135deg, #0E1A2A, #080C18);
}
.payment-method.paypal .payment-method-art::before {
    background:
        radial-gradient(ellipse at 40% 50%, rgba(80, 130, 200, 0.35), transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(120, 170, 220, 0.25), transparent 50%);
}

.payment-method-logo {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 14, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 400ms;
}

.payment-method:hover .payment-method-logo { transform: scale(1.08); }

.payment-method-logo svg {
    width: 36px;
    height: 36px;
    fill: var(--text);
}

.payment-method-body {
    padding: 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-method-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.payment-method-icon { display: none; }

.payment-method-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--warm);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--line-warm);
}

.payment-method-name {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.payment-method-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
}

.payment-method-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.payment-method-fee {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.payment-method-arrow {
    color: var(--warm);
    font-size: 18px;
    transition: transform 300ms;
}

.payment-method:hover .payment-method-arrow { transform: translateX(6px); }

/* ============================================================
   v7 ADVANCED FOOTER (multi-layer, senior design)
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--line-strong);
    padding: 0;
    margin-top: 120px;
    background:
        radial-gradient(ellipse at top, rgba(141, 174, 184, 0.04), transparent 50%),
        var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 1px;
    background: var(--warm);
}

/* HERO BLOCK — final CTA */
.footer-hero {
    padding: 120px 0 100px;
    border-bottom: 1px solid var(--line);
    text-align: center;
    position: relative;
}

.footer-hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--warm);
    letter-spacing: 0.4em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.footer-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 200;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
    color: var(--text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-hero h2 .accent { color: var(--warm); font-weight: 300; }

.footer-hero p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.65;
    font-weight: 400;
}

.footer-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

/* LIVE STATS STRIP */
.footer-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

@media (max-width: 768px) { .footer-stats { grid-template-columns: repeat(2, 1fr); } }

.footer-stat {
    padding: 36px 30px;
    text-align: center;
    border-right: 1px solid var(--line);
    transition: background 300ms;
}

.footer-stat:last-child { border-right: none; }
.footer-stat:hover { background: var(--bg-elevated); }

@media (max-width: 768px) {
    .footer-stat:nth-child(2) { border-right: none; }
    .footer-stat:nth-child(1), .footer-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

.footer-stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 200;
    color: var(--text);
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 8px;
}

.footer-stat-value.warm { color: var(--warm); }
.footer-stat-value.frost { color: var(--frost); }

.footer-stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* MAIN FOOTER GRID */
.footer-main {
    padding: 88px 0 56px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 1100px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .footer-main-grid { grid-template-columns: 1fr; gap: 40px; }
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.32em;
    margin-bottom: 22px;
    color: var(--text);
    font-weight: 500;
}

.footer-brand-tag {
    color: var(--text-muted);
    font-size: 14px;
    font-family: var(--font-serif);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-brand-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.footer-brand-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.footer-brand-meta-row .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: recPulse 2s infinite;
    flex-shrink: 0;
}

.footer-col-header {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--warm);
    margin-bottom: 24px;
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
    transition: all 200ms;
    font-weight: 300;
}

.footer-col a:hover {
    color: var(--text);
    transform: translateX(4px);
}

.footer-col a::before {
    content: '→';
    color: var(--warm);
    font-size: 10px;
    opacity: 0;
    transition: all 200ms;
    margin-left: -8px;
    margin-right: 0;
}

.footer-col a:hover::before {
    opacity: 1;
    margin-left: 0;
    margin-right: 4px;
}

/* NEWSLETTER COLUMN */
.footer-newsletter {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-left: 2px solid var(--warm);
    padding: 28px;
}

.footer-newsletter h4 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-newsletter p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.footer-newsletter-form {
    display: flex;
    gap: 6px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    background: var(--bg-deep);
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    transition: border-color 200ms;
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--warm);
}

.footer-newsletter-form button {
    background: var(--warm);
    color: var(--bg);
    border: none;
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 200ms;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-newsletter-form button:hover { background: var(--warm-light); }

.footer-newsletter-note {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    line-height: 1.5;
}

/* SOCIAL ROW */
.footer-social {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 200ms;
    text-decoration: none;
}

.footer-social-link:hover {
    border-color: var(--warm);
    color: var(--warm);
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* BOTTOM BAR */
.footer-bottom {
    border-top: 1px solid var(--line-strong);
    background: var(--bg-deep);
    padding: 24px 0;
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-left {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-bottom-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-bottom-right a {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 200ms;
}

.footer-bottom-right a:hover { color: var(--warm); }

/* DISCLAIMERS BLOCK */
.footer-disclaimers {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    background: var(--bg-deep);
}

.footer-disclaimers p {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.85;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.footer-disclaimers p:last-child { margin-bottom: 0; }
.footer-disclaimers a { color: var(--text-dim); border-bottom: 1px dotted var(--text-dim); }
.footer-disclaimers a:hover { color: var(--warm); border-bottom-color: var(--warm); }

/* Remove old footer styles that conflict */
.footer-top, .footer-cols, .footer-meta, .footer-disclaimer { display: none; }


/* ============================================================
   v8 — 3D BRONCO BACKDROP & STUDIO LAMP EFFECTS
   Real Latgale photo as backdrop with dark overlay
   ============================================================ */

.bronco-3d-wrapper {
    background:
        radial-gradient(ellipse at center, rgba(141, 174, 184, 0.15), transparent 60%),
        var(--bg);
}

/* Latgale photo backdrop layer */
.bronco-3d-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.bronco-3d-backdrop-image {
    position: absolute;
    inset: -10px;
    background-image: url('/assets/img/slideshow/03-lake-evening.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(0.7) brightness(0.55);
    transform: scale(1.08);
    opacity: 0.45;
}

.bronco-3d-backdrop-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 20%, rgba(8, 12, 14, 0.7) 70%, rgba(8, 12, 14, 0.95) 100%),
        linear-gradient(180deg, rgba(8, 12, 14, 0.4) 0%, transparent 30%, transparent 70%, rgba(8, 12, 14, 0.6) 100%);
}

/* Studio lamp light beams from above */
.bronco-3d-lamps {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.bronco-3d-lamp {
    position: absolute;
    width: 200px;
    height: 80%;
    top: -10%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.04) 40%,
        rgba(255, 255, 255, 0.12) 60%,
        rgba(255, 220, 180, 0.15) 80%,
        rgba(255, 220, 180, 0.08) 100%);
    filter: blur(40px);
    transform: rotate(-3deg);
    mix-blend-mode: screen;
    animation: lampFlicker 8s ease-in-out infinite;
}

.bronco-3d-lamp.lamp-left {
    left: 18%;
    animation-delay: 0s;
}

.bronco-3d-lamp.lamp-right {
    right: 18%;
    transform: rotate(3deg);
    animation-delay: 2s;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(141, 174, 184, 0.04) 40%,
        rgba(141, 174, 184, 0.12) 60%,
        rgba(200, 215, 222, 0.18) 80%,
        rgba(200, 215, 222, 0.10) 100%);
}

.bronco-3d-lamp.lamp-center {
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    width: 280px;
    height: 60%;
    top: -5%;
    animation-delay: 4s;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 240, 220, 0.05) 40%,
        rgba(255, 240, 220, 0.15) 70%,
        rgba(255, 220, 180, 0.20) 90%,
        rgba(255, 220, 180, 0.12) 100%);
}

@keyframes lampFlicker {
    0%, 100% { opacity: 1; }
    35% { opacity: 0.92; }
    50% { opacity: 1; }
    72% { opacity: 0.95; }
}

/* Lamp source dots at top — studio lamp indicators */
.bronco-3d-lamp-source {
    position: absolute;
    top: 24px;
    z-index: 4;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 220, 180, 0.9);
    box-shadow:
        0 0 12px rgba(255, 220, 180, 0.8),
        0 0 24px rgba(255, 220, 180, 0.4);
    animation: lampSourcePulse 4s ease-in-out infinite;
}

.bronco-3d-lamp-source.left { left: 22%; }
.bronco-3d-lamp-source.center { left: 50%; transform: translateX(-50%); }
.bronco-3d-lamp-source.right {
    right: 22%;
    background: rgba(200, 215, 222, 0.9);
    box-shadow: 0 0 12px rgba(200, 215, 222, 0.8), 0 0 24px rgba(200, 215, 222, 0.4);
}

@keyframes lampSourcePulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

#bronco-3d-container {
    z-index: 3;
}

/* ============================================================
   v8 — MIXED LAYOUT STORY BLOCKS (Editorial / Cinematic / Carded)
   Each story section gets a unique reading experience
   ============================================================ */

/* ============================================================
   LAYOUT 1: EDITORIAL MAGAZINE (for "What this is")
   3-column grid: number rail | text | side notes
   With drop cap on first paragraph
   ============================================================ */
.story-editorial {
    padding: 140px 0;
    position: relative;
    background: var(--bg);
}

.story-editorial-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 56px;
    display: grid;
    grid-template-columns: 90px 1fr 240px;
    gap: 48px;
}

@media (max-width: 1024px) {
    .story-editorial-grid {
        grid-template-columns: 60px 1fr 200px;
        gap: 32px;
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .story-editorial-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    .story-editorial { padding: 80px 0; }
}

.story-rail {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--warm);
    letter-spacing: 0.35em;
    padding-top: 16px;
    position: sticky;
    top: 140px;
    height: max-content;
    line-height: 1.85;
    text-transform: uppercase;
}

.story-rail-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 200;
    color: var(--warm);
    letter-spacing: -0.02em;
    margin-top: 16px;
    line-height: 1;
}

@media (max-width: 768px) {
    .story-rail { position: static; padding-top: 0; }
    .story-rail-number { font-size: 28px; }
}

.story-main {
    max-width: none;
}

.story-main .section-eyebrow { margin-bottom: 20px; }

.story-main .section-title {
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: 0.95;
    margin-bottom: 48px;
}

.story-main .lead-paragraph {
    font-size: 26px !important;
    line-height: 1.45 !important;
    color: #FFFFFF !important;
    font-weight: 300 !important;
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 48px !important;
    border-left: 2px solid var(--warm);
    padding-left: 32px;
}

.story-main p {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.85;
    color: var(--text-soft);
    margin-bottom: 26px;
    font-weight: 300;
}

/* Drop cap */
.story-main .drop-cap::first-letter {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 88px;
    line-height: 0.85;
    float: left;
    padding-right: 14px;
    padding-top: 8px;
    color: var(--warm);
    letter-spacing: -0.04em;
}

.story-aside {
    position: sticky;
    top: 140px;
    height: max-content;
    padding-top: 4px;
}

@media (max-width: 768px) {
    .story-aside { position: static; }
}

.story-aside-card {
    border-left: 1px solid var(--line-strong);
    padding-left: 24px;
    margin-bottom: 36px;
}

.story-aside-card-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--warm);
    letter-spacing: 0.3em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.story-aside-card-text {
    font-family: var(--font-serif);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    margin: 0 0 14px;
    font-weight: 400;
}

.story-aside-card-meta {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-faint);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.story-aside-image {
    margin-top: 28px;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--line-strong);
    position: relative;
    overflow: hidden;
}

.story-aside-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(8, 12, 14, 0.7) 100%);
}

.story-aside-image-caption {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--mist);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.5;
}

/* Editorial pullquote */
.story-pullquote {
    grid-column: 2 / 3;
    margin: 64px 0 0;
    padding: 56px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    text-align: center;
    position: relative;
}

@media (max-width: 768px) {
    .story-pullquote { grid-column: 1; }
}

.story-pullquote::before {
    content: '"';
    display: block;
    font-family: var(--font-serif);
    font-size: 100px;
    color: var(--warm);
    line-height: 0;
    margin-bottom: 40px;
    opacity: 0.5;
}

.story-pullquote-text {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.4vw, 42px);
    font-style: italic;
    color: var(--text);
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin: 0;
}

.story-pullquote-text .accent { color: var(--warm); }

/* ============================================================
   LAYOUT 2: CINEMATIC DOCUMENTARY (for "Why anonymous")
   Scene cards with timecodes and REC strip
   ============================================================ */
.story-cinematic {
    padding: 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
}

.story-cinematic-rec {
    background: var(--bg-deep);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.story-cinematic-rec-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .story-cinematic-rec-inner { padding: 0 20px; font-size: 9px; }
}

.story-cinematic-rec-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.story-cinematic-rec-dot {
    width: 7px;
    height: 7px;
    background: var(--warm);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--warm);
    animation: recPulse 2s infinite;
}

.story-cinematic-rec-time { color: var(--warm); }

.story-cinematic-hero {
    padding: 100px 0 64px;
    background: linear-gradient(180deg, rgba(141, 174, 184, 0.05), transparent);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.story-cinematic-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.story-cinematic-hero-bg-image {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(24px) saturate(0.5) brightness(0.4);
    opacity: 0.55;
    transform: scale(1.1);
}

.story-cinematic-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 12, 14, 0.65) 0%, transparent 30%, transparent 60%, rgba(8, 12, 14, 0.9) 100%),
        linear-gradient(90deg, rgba(8, 12, 14, 0.5) 0%, transparent 50%);
}

.story-cinematic-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 56px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .story-cinematic-hero { padding: 64px 0 48px; }
    .story-cinematic-hero-inner { padding: 0 20px; }
}

.story-cinematic-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--warm);
    letter-spacing: 0.4em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
}

.story-cinematic-eyebrow::before {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--warm);
}

.story-cinematic-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 5.5vw, 76px);
    font-weight: 200;
    line-height: 0.95;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
    color: var(--text);
}

.story-cinematic-title .accent { color: var(--warm); font-weight: 300; }

.story-cinematic-sub {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    font-size: 20px;
    max-width: 580px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

.story-cinematic-scenes {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 56px 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 768px) {
    .story-cinematic-scenes { padding: 48px 20px 60px; gap: 16px; }
}

.story-scene {
    background: rgba(19, 27, 31, 0.6);
    border: 1px solid var(--line);
    padding: 32px 40px;
    transition: all 300ms;
}

.story-scene.featured {
    background: rgba(19, 27, 31, 0.85);
    border-left: 2px solid var(--warm);
}

.story-scene:hover {
    border-color: var(--frost-dim);
    background: rgba(19, 27, 31, 0.85);
}

@media (max-width: 768px) {
    .story-scene { padding: 24px 22px; }
}

.story-scene-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 16px;
    flex-wrap: wrap;
}

.story-scene-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.story-scene.featured .story-scene-label { color: var(--warm); }

.story-scene-time {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-faint);
    letter-spacing: 0.22em;
}

.story-scene-text {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.75;
    color: var(--text-soft);
    margin: 0;
    font-weight: 300;
}

.story-scene.featured .story-scene-text {
    font-size: 22px;
    color: var(--text);
    font-style: italic;
    line-height: 1.55;
}

/* Cinematic visibility list (special block) */
.story-cinematic-visibility {
    margin-top: 24px;
    padding: 32px 40px;
    background: rgba(19, 27, 31, 0.85);
    border: 1px solid var(--line-strong);
    border-left: 2px solid var(--warm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .story-cinematic-visibility { grid-template-columns: 1fr; padding: 24px 22px; gap: 20px; }
}

.story-visibility-block-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--warm);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.story-visibility-block-text {
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0;
    font-weight: 300;
}

/* ============================================================
   LAYOUT 3: CARDED OBSERVATION DECK (for "Why a Bronco")
   Hero with Latgale photo + grid of theme cards
   ============================================================ */
.story-carded {
    padding: 140px 0;
    background: var(--bg);
    position: relative;
}

.story-carded-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 56px;
}

@media (max-width: 768px) {
    .story-carded { padding: 80px 0; }
    .story-carded-inner { padding: 0 20px; }
}

.story-carded-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 72px;
    align-items: center;
}

@media (max-width: 900px) {
    .story-carded-head { grid-template-columns: 1fr; gap: 40px; }
}

.story-carded-head-text .section-eyebrow { margin-bottom: 24px; }

.story-carded-head-text .section-title {
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: 0.95;
    margin-bottom: 28px;
}

.story-carded-head-text .lead-paragraph {
    font-size: 22px !important;
    line-height: 1.5 !important;
    color: #FFFFFF !important;
    font-weight: 300 !important;
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 0 !important;
    border-left: 2px solid var(--warm);
    padding-left: 28px;
}

.story-carded-head-image {
    position: relative;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--line-strong);
    overflow: hidden;
}

.story-carded-head-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 50%, rgba(8, 12, 14, 0.8) 100%);
    pointer-events: none;
}

.story-carded-head-image-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--mist);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: right;
    line-height: 1.6;
    max-width: 240px;
}

.story-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

@media (max-width: 900px) {
    .story-cards-grid { grid-template-columns: 1fr; }
}

.story-card {
    padding: 36px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--warm), transparent);
    opacity: 0;
    transition: opacity 400ms;
}

.story-card:hover {
    border-color: var(--frost-dim);
    transform: translateY(-6px);
    background: var(--bg-card);
}

.story-card:hover::before { opacity: 1; }

.story-card-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--warm);
    letter-spacing: 0.32em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.story-card h4 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    margin-bottom: 18px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.story-card p {
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    font-weight: 300;
}

/* Carded prose tail */
.story-carded-tail {
    max-width: 800px;
    margin: 0;
}

.story-carded-tail p {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.9;
    color: var(--text-soft);
    margin-bottom: 24px;
    font-weight: 300;
}

.story-carded-tail .legal-note {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    line-height: 1.85;
}

/* ============================================================
   LAYOUT 4: MANIFESTO (for "Why I'm doing this")
   Big bold left-aligned typography, no images
   ============================================================ */
.story-manifesto {
    padding: 140px 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
}

.story-manifesto-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 56px;
}

@media (max-width: 768px) {
    .story-manifesto { padding: 80px 0; }
    .story-manifesto-inner { padding: 0 20px; }
}

.story-manifesto .section-eyebrow { margin-bottom: 24px; }

.story-manifesto-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 200;
    line-height: 0.92;
    letter-spacing: -0.045em;
    color: var(--text);
    margin-bottom: 56px;
}

.story-manifesto-title .accent { color: var(--warm); font-weight: 300; }

.story-manifesto-statements {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.story-statement {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    align-items: baseline;
}

.story-statement:first-child { border-top: 1px solid var(--line); }

@media (max-width: 768px) {
    .story-statement { grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; }
}

.story-statement-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--warm);
    letter-spacing: 0.15em;
}

.story-statement-text {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.55;
    color: var(--text);
    font-weight: 300;
    margin: 0;
}

.story-statement-text.bold {
    font-size: 28px;
    color: var(--warm);
    font-style: italic;
    font-weight: 400;
}

/* ============================================================
   LAYOUT 5: SPLIT-SCREEN CLOSING (for "What happens when this works")
   ============================================================ */
.story-closing {
    padding: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.story-closing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

@media (max-width: 1024px) {
    .story-closing-grid { grid-template-columns: 1fr; }
}

.story-closing-image {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 480px;
}

.story-closing-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(8, 12, 14, 0.4) 100%);
}

.story-closing-image-caption {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--mist);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: rgba(8, 12, 14, 0.55);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-left: 2px solid var(--warm);
}

.story-closing-text {
    padding: 100px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1024px) {
    .story-closing-text { padding: 80px 32px; }
}

@media (max-width: 768px) {
    .story-closing-text { padding: 56px 20px; }
}

.story-closing-text .section-title {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 36px;
    line-height: 0.98;
}

.story-closing-text .lead-paragraph {
    font-size: 24px !important;
    line-height: 1.45 !important;
    color: #FFFFFF !important;
    font-weight: 300 !important;
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 36px !important;
    border-left: 2px solid var(--warm);
    padding-left: 28px;
}

.story-closing-text p {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.85;
    color: var(--text-soft);
    margin-bottom: 22px;
    font-weight: 300;
}

.story-closing-text .signature {
    margin-top: 32px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
    color: var(--warm);
    letter-spacing: 0.02em;
}

/* ============================================================
   v9 — UPGRADED CINEMATIC INTRO STYLING
   ============================================================ */

/* Intro tagline at top — film metadata strip */
.intro-tagline {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--warm);
    letter-spacing: 0.55em;
    opacity: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 10px 24px;
    border: 1px solid rgba(232, 152, 85, 0.25);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.intro-tagline::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--warm);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--warm);
    animation: recPulse 2s infinite;
}

/* Intro content positioned at bottom 2/5 of screen (Bronco visible above) */
.intro-content {
    position: absolute;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    max-width: 900px;
    width: 90%;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .intro-content { bottom: 10%; }
}

.intro-logo {
    font-family: var(--font-display);
    font-size: clamp(13px, 1.8vw, 16px);
    font-weight: 500;
    letter-spacing: 0.5em;
    color: var(--text);
    margin-bottom: 32px;
    opacity: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.intro-logo .word { display: inline-block; opacity: 0; }
.intro-logo .dot { display: inline-block; color: var(--warm); margin: 0 14px; opacity: 0; }

.intro-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 76px);
    font-weight: 200;
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    color: var(--text);
    opacity: 0;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}

.intro-headline .accent { color: var(--warm); font-weight: 300; }

.intro-sub {
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.55;
    font-weight: 400;
    max-width: 580px;
    margin: 0 auto;
    opacity: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.intro-footer {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-family: var(--font-mono);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.45em;
    opacity: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 20px;
}

.intro-footer::before,
.intro-footer::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.intro-skip {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 6;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: all 200ms;
    opacity: 0;
    text-transform: uppercase;
}

.intro-skip:hover {
    color: var(--warm);
    border-color: var(--warm);
    background: rgba(232, 152, 85, 0.15);
}

/* Letterbox bars (cinematic feel) */
#rtb-intro::before,
#rtb-intro::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    background: #000;
    z-index: 4;
    pointer-events: none;
}

#rtb-intro::before { top: 0; }
#rtb-intro::after { bottom: 0; }

@media (max-width: 768px) {
    #rtb-intro::before,
    #rtb-intro::after { height: 40px; }
    .intro-skip { top: 16px; right: 16px; padding: 8px 14px; }
    .intro-tagline { font-size: 9px; padding: 8px 16px; }
}
