:root {
    /* ══ 21VOX Design System v2.0 Tokens ══ */

    /* ── Core Colors ── */
    --black: #050505;
    --white: #f5f5f3;
    --orange: #F7931A;
    --green: #34D399;
    --red: #F87171;

    /* ── Orange Variants ── */
    --orange-dim: rgba(247,147,26,0.08);
    --orange-mid: rgba(247,147,26,0.35);
    --orange-border: rgba(247,147,26,0.3);
    --orange-border-subtle: rgba(247,147,26,0.4);
    --orange-glow: rgba(247,147,26,0.5);

    /* ── WCAG-Compliant Text Grays ── */
    --text-secondary: #999;    /* 7.15:1 on page bg, 6.47:1 on panel bg */
    --text-muted: #888;        /* 5.75:1 on page bg, 5.20:1 on panel bg */
    --text-dim: #7e7e7e;       /* 5.02:1 on page bg, 4.54:1 on panel bg */
    --text-label: #777;        /* 4.55:1 on page bg ONLY — NEVER on panels */
    --text-large-dim: #666;    /* 3.55:1 — large text only (>=24px / >=19px bold) */

    /* ── UI Component Colors (3:1 minimum) ── */
    --panel-bg: #141414;       /* Card/panel backgrounds */
    --panel-border: #626262;   /* Card borders, track borders (3.02:1 on panel) */
    --inner-border: #626262;   /* Dividers inside panels */
    --border-visible: #5b5b5b; /* Supply bars, dots on page bg (3.00:1) */

    /* ── Font Stack ── */
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ── Spacing ── */
    --card-radius: 16px;

    /* ── Backward-compat aliases (mapped to v2 values) ── */
    --ink: #050505;
    --ink-mid: #141414;
    --ink-light: #141414;
    --ink-lighter: #1a1a1a;
    --paper: #f5f5f3;
    --paper-dim: #e8e8e6;
    --muted: #888;
    --dim: #7e7e7e;
    --faint: #626262;
}

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

html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--sans);
    background: var(--black);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Grain overlay — SVG feTurbulence noise at 0.5% (v2) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.005'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ── SKIP LINK (Accessibility) ── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--orange);
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--sans);
    font-size: 14px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 16px;
}

/* ── SCREEN READER ONLY ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── FOCUS INDICATORS (v2) ── */
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

/* For elements where outline clips (charts, bars) */
.focus-shadow:focus-visible {
    box-shadow: 0 0 0 3px var(--orange);
    outline: none;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,13,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(247,147,26,0.2);
    transition: transform 0.3s ease;
}

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

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    text-decoration: none;
}

.logo-21 {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo-vox {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo-tagline {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(247,147,26,0.3);
}

/* Publication name: used inline in body copy to treat "Bitcoin Weekly" as a proper brand */
.pub-name {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

nav a {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s;
}

nav a:hover { color: var(--paper); }

.nav-subscribe {
    padding: 0.5rem 1.25rem;
    background: var(--orange);
    color: var(--ink) !important;
    border-radius: 2px;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.nav-subscribe:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,0.4), 0 0 12px rgba(247,147,26,0.1), inset 0 1px 0 rgba(255,255,255,0.12); }
.nav-subscribe:active { transform: translateY(0.5px) scale(0.97); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); transition-duration: 0.06s; }

/* ── NAV DROPDOWNS ── */
.nav-dropdown {
    position: relative;
}

/* Transparent hover bridge — keeps dropdown open as cursor crosses the gap */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -12px;
    right: -12px;
    height: 1.2rem;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    transition: color 0.2s;
}

.nav-dropdown-toggle:hover { color: var(--paper); }

.nav-dropdown-toggle.tools-toggle {
    padding: 0.5rem 1.25rem;
    background: var(--green);
    color: var(--ink) !important;
    border-radius: 2px;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.nav-dropdown-toggle.tools-toggle:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,0.4), 0 0 12px rgba(34,197,94,0.12), inset 0 1px 0 rgba(255,255,255,0.12); color: var(--ink) !important; }
.nav-dropdown-toggle.tools-toggle:active { transform: translateY(0.5px) scale(0.97); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); transition-duration: 0.06s; color: var(--ink) !important; }

.nav-caret {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.2s;
    line-height: 1;
}

.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--ink-mid);
    border: 1px solid rgba(247,147,26,0.18);
    border-radius: 4px;
    padding: 0.4rem 0;
    min-width: 190px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid rgba(247,147,26,0.18);
}

.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 5px solid var(--ink-mid);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: var(--paper);
    background: rgba(247,147,26,0.06);
}

.nav-dropdown-menu.tools-dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 380px;
}
.nav-dropdown-menu.tools-dropdown a { white-space: nowrap; }

/* Mobile section labels and sub-items */
.mobile-section-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    padding: 0.9rem 2rem 0.3rem;
    opacity: 0.75;
}

.mobile-menu a.mobile-sub {
    padding-left: 2.75rem;
    font-size: 0.85rem;
    opacity: 0.85;
    border-bottom-color: rgba(247,147,26,0.05);
}



/* ── MOCK OUTPUT CARD (shared — used by free-tools.html) ── */
.mock-card {
    background: var(--ink-mid);
    border: 1px solid rgba(247,147,26,0.18);
    border-radius: 6px;
    overflow: hidden;
}

.mock-card-header {
    background: rgba(247,147,26,0.07);
    border-bottom: 1px solid rgba(247,147,26,0.12);
    padding: 0.65rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-scenario {
    font-family: var(--mono);
    font-size: 0.9rem;
    color: var(--orange);
    letter-spacing: 0.05em;
}

.mock-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0;
}

.mock-stat {
    padding: 0.85rem 1rem;
    border-right: 1px solid rgba(247,147,26,0.07);
}

.mock-stat:last-child { border-right: none; }

.mock-stat-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.mock-stat-val {
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--paper);
    line-height: 1;
}

.mock-stat-val.orange { color: var(--orange); }
.mock-stat-val.green  { color: var(--green); }
.mock-stat-val.red    { color: var(--red); }

/* Color utility classes */
.color-orange { color: var(--orange); }
.color-green  { color: var(--green); }
.color-red    { color: var(--red); }

.mock-stat-sub {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.mock-bar-row {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(247,147,26,0.07);
}

.mock-bar-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.mock-bar-track {
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.mock-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.mock-bar-fill.btc { background: var(--orange); width: 100%; }
.mock-bar-fill.sp  { background: var(--red); width: 17%; }

.mock-narrative {
    padding: 0.7rem 1rem;
    border-top: 1px solid rgba(247,147,26,0.07);
    font-family: var(--mono);
    font-size: 0.9rem;
    color: var(--paper-dim);
    line-height: 1.6;
}

.mock-narrative strong { color: var(--paper); }
.mock-narrative em { color: var(--orange); font-style: normal; }

.mock-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mock-disclaimer {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    opacity: 0.7;
}


        

/* ── TICKER ── */
.ticker {
    background: var(--orange);
    padding: 0.4rem 0;
    overflow: hidden;
}

.ticker-inner {
    display: flex;
    gap: 3rem;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.ticker-item span {
    color: #3d1f00;
    margin-right: 0.5rem;
}

.ticker-item .live-block {
    color: var(--ink);
    font-weight: 500;
    margin-right: 0;
}

/* BTC price inside ticker: match ticker text color, not btc-price default white */
.ticker .btc-price-wrap {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}
.ticker .btc-price {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.05em;
}

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



/* ── SECTION DIVIDER ── */
.section-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(245,240,232,0.08);
}

.section-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--paper);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: var(--orange);
}

.section-view-all {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.section-view-all:hover { color: var(--orange); }



/* ── FILTER TABS ── */
.filter-row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(245,240,232,0.12);
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.05em;
    transition: all 0.15s ease;
    font-family: var(--sans);
}

.tab:hover {
    border-color: var(--orange);
    color: var(--paper);
    background: rgba(247,147,26,0.04);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.tab:active {
    transform: scale(0.97);
    background: rgba(247,147,26,0.08);
    transition-duration: 0.06s;
}

.tab.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.tab.active:active {
    transform: scale(0.97);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
    transition-duration: 0.06s;
}



/* ── ARTICLES GRID ── */
.grid-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-card {
    background: var(--ink-mid);
    border: 1px solid rgba(245,240,232,0.06);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-color: rgba(247,147,26,0.2);
}

.card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.card-img.markets { background: linear-gradient(135deg, #0d1a0d, #1a2e0d); }
.card-img.technology { background: linear-gradient(135deg, #0d0d1a, #0d1a2e); }
.card-img.adoption { background: linear-gradient(135deg, #1a0d0d, #2e1a0d); }
.card-img.macro { background: linear-gradient(135deg, #1a1a0d, #0d1a1a); }

.card-body {
    padding: 1.5rem;
}

.card-category {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.cat-markets { color: #6bbf6b; }
.cat-technology { color: #6b9bbf; }
.cat-adoption { color: #bf976b; }
.cat-macro { color: #bf6b9b; }

.card-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--paper);
    margin-bottom: 0.75rem;
}

.card-excerpt {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(245,240,232,0.06);
}

.card-meta {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}



/* ── EXPLORE MORE TOOLS ── */
.explore-tools {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2.5rem;
    border-top: 1px solid rgba(247,147,26,0.08);
}
.explore-tools-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}
.explore-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.explore-tool-card {
    display: block;
    background: var(--ink-mid);
    border: 1px solid rgba(247,147,26,0.1);
    border-radius: 6px;
    padding: 1.25rem;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}
.explore-tool-card:hover {
    border-color: rgba(247,147,26,0.3);
    transform: translateY(-2px);
}
.explore-tool-card-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 0.4rem;
}
.explore-tool-card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 0.6rem;
}
.explore-tool-card-arrow {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--orange);
    letter-spacing: 0.05em;
}
@media (max-width: 768px) {
    .explore-tools-grid {
        grid-template-columns: 1fr;
    }
}
.explore-reading {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(247,147,26,0.06);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.explore-reading-label {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    flex-basis: 100%;
}
.explore-reading a {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--paper-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.explore-reading a:hover {
    color: var(--orange);
}
.explore-reading a::after {
    content: ' \2192';
    color: var(--orange);
    font-size: 0.75rem;
}

/* ── FOOTER ── */
footer {
    background: var(--ink-mid);
    border-top: 1px solid rgba(245,240,232,0.06);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-brand .logo-21 { font-size: 1.4rem; }
.footer-brand .logo-vox { font-size: 1.4rem; }

.footer-tagline {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.5rem;
    max-width: 240px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--orange);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245,240,232,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}



/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-left { animation: fadeUp 0.6s ease both; }
.hero-right { animation: fadeUp 0.6s 0.15s ease both; }



/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { flex-direction: column; }
    .footer-links { flex-wrap: wrap; gap: 2rem; }
    .stats-bar { flex-wrap: wrap; gap: 1.5rem; }
    .logo-tagline { display: none; }
    .mock-stats { grid-template-columns: repeat(2, 1fr); }
    .mock-stat { border-right: none; border-bottom: 1px solid rgba(247,147,26,0.07); }
    .mock-stat:last-child { border-bottom: none; }
    .mock-cta-row { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
}

@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .mock-stats { grid-template-columns: 1fr; }
}



/* ── HAMBURGER MENU ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--paper);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    background: rgba(13,13,13,0.98);
    border-bottom: 1px solid rgba(247,147,26,0.2);
    padding: 0.5rem 0 1.5rem;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.mobile-menu.open {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu a {
    display: block;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-bottom: 1px solid rgba(247,147,26,0.08);
    transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover {
    color: var(--paper);
    background: rgba(247,147,26,0.05);
}





.mobile-menu a.mobile-subscribe {
    display: block;
    margin: 1rem 2rem 0;
    padding: 0.75rem 1.25rem;
    background: var(--orange);
    color: var(--ink) !important;
    border-radius: 4px;
    font-weight: 600;
    border-bottom: none;
    text-align: center;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.mobile-menu a.mobile-subscribe:hover {
    background: #ff9d1f;
    color: var(--ink) !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.4), 0 0 12px rgba(247,147,26,0.1), inset 0 1px 0 rgba(255,255,255,0.12);
}

.mobile-menu a.mobile-subscribe:active {
    transform: translateY(0.5px) scale(0.97);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
    transition-duration: 0.06s;
}

/* ── FOCUS-VISIBLE ACCESSIBILITY (v2 — handled globally above) ── */
/* Global :focus-visible rule at top of file covers all elements */
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .hamburger { display: flex; }
    nav { display: none; }
    .logo-tagline { display: none; }
}

/* ── STICKY SUBSCRIBE BAR ── */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(247,147,26,0.3);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-text {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--paper);
    white-space: nowrap;
}
.sticky-bar-text span { color: var(--orange); font-weight: 600; }
.sticky-bar form {
    display: flex;
    gap: 0.4rem;
}
.sticky-bar input {
    font-family: var(--sans);
    font-size: 0.82rem;
    padding: 0.55rem 1rem;
    background: rgba(245,240,232,0.06);
    border: 1px solid rgba(245,240,232,0.15);
    border-radius: 2px;
    color: var(--paper);
    outline: none;
    width: 200px;
    transition: border-color 0.2s;
}
.sticky-bar input::placeholder { color: var(--muted); }
.sticky-bar input:focus { border-color: var(--orange); }
.sticky-bar-btn {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--ink);
    background: var(--orange);
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: 2px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.sticky-bar-btn:hover { opacity: 0.9; }
.sticky-bar-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
}
.sticky-bar-close:hover { color: var(--paper); }
@media (max-width: 768px) {
    .sticky-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        padding-right: 2.5rem;
    }
    .sticky-bar input { width: 100%; flex: 1; }
    .sticky-bar form { width: 100%; }
}

/* ── SUBSCRIBE FORM (shared) ── */
.bw-subscribe-form {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
}
.bw-subscribe-input {
    font-family: var(--sans);
    font-size: 0.9rem;
    padding: 0.875rem 1.25rem;
    background: rgba(245,240,232,0.06);
    border: 1px solid rgba(245,240,232,0.15);
    border-radius: 2px;
    color: var(--paper);
    outline: none;
    width: 220px;
    min-width: 0;
    transition: border-color 0.2s;
}
.bw-subscribe-input::placeholder { color: var(--muted); }
.bw-subscribe-input:focus { border-color: var(--orange); }
.bw-subscribe-btn {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--ink);
    background: var(--orange);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 2px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.bw-subscribe-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,0.4), 0 0 12px rgba(247,147,26,0.1), inset 0 1px 0 rgba(255,255,255,0.12); }
.bw-subscribe-btn:active { transform: translateY(0.5px) scale(0.97); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); transition-duration: 0.06s; }

/* ── TOOL PAGE SUBSCRIBE ── */
.tool-subscribe {
    max-width: 760px;
    margin: 2.5rem auto 0;
    padding: 1.25rem 1.75rem;
    background: rgba(247,147,26,0.04);
    border: 1px solid rgba(247,147,26,0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}
.tool-subscribe-left { min-width: 0; }
.tool-subscribe-label {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 0.2rem;
}
.tool-subscribe-label span { color: var(--orange); }
.tool-subscribe-sub {
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--muted);
}
@media (max-width: 768px) {
    .bw-subscribe-form { width: 100%; flex-direction: column; }
    .bw-subscribe-input { width: 100%; }
    .bw-subscribe-btn { width: 100%; padding: 0.875rem; }
    .tool-subscribe {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.25rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* ── SHARE BUTTONS ── */
.s-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.5rem 0.95rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.15s ease;
}
.s-btn-ghost {
    background: transparent;
    border: 1px solid rgba(247,147,26,0.18);
    color: var(--paper-dim);
}
.s-btn-ghost:hover {
    border-color: var(--orange);
    color: var(--paper);
    background: rgba(247,147,26,0.05);
}

/* ── SHARE BAR ── */
.share-bar {
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(247,147,26,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.share-bar-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.share-bar-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
@media (max-width: 600px) {
    .share-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .share-bar-buttons { width: 100%; }
    .share-bar-buttons .s-btn { flex: 1; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════
   GLOSSARY ARTICLE LAYOUT
   ═══════════════════════════════════════════════════════ */
.article-wrapper { max-width: 720px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.breadcrumb { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 2.5rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #f7931a; }
.breadcrumb-sep { opacity: 0.4; }
.article-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(247,147,26,0.1); }
.article-series { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.article-header h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 400; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.article-deck { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; font-weight: 300; }
.article-meta-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.meta-item { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.article-body { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; }
.article-body h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--orange); margin-top: 3rem; margin-bottom: 1rem; }
.article-body p { margin-bottom: 1.4rem; }
.article-body strong { color: var(--white); font-weight: 500; }
.related-terms { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(247,147,26,0.1); }
.related-terms h2 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.related-card { background: rgba(247,147,26,0.04); border: 1px solid rgba(247,147,26,0.12); border-radius: 4px; padding: 1.25rem; text-decoration: none; transition: border-color 0.2s; display: block; }
.related-card:hover { border-color: rgba(247,147,26,0.4); }
.related-card-name { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.4rem; }
.related-card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; font-weight: 300; }
.article-cta { background: rgba(247,147,26,0.05); border: 1px solid rgba(247,147,26,0.2); border-radius: 6px; padding: 2rem; text-align: center; margin-top: 3rem; }
.article-cta h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--white); margin-bottom: 0.5rem; margin-top: 0; }
.article-cta p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.article-cta-btn { display: inline-block; padding: 0.8rem 1.75rem; background: var(--orange); color: #000; font-family: var(--sans); font-size: 0.88rem; font-weight: 700; text-decoration: none; border-radius: 3px; transition: all 0.15s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1); }
.article-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 16px rgba(247,147,26,0.12), inset 0 1px 0 rgba(255,255,255,0.12); }
.article-cta-btn:active { transform: translateY(0.5px) scale(0.97); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); transition-duration: 0.06s; }
.back-to-glossary { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color 0.2s; margin-top: 2rem; }
.back-to-glossary:hover { color: var(--orange); }
@media (max-width: 768px) {
    .article-wrapper { padding: 2.5rem 1.25rem 4rem; }
    .article-header h1 { font-size: 1.8rem; }
    .related-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Scroll Reveal
   ═══════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Section Label
   ═══════════════════════════════════════════════════════ */
.section-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-label);
    margin-bottom: 40px;
}


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Big Headline
   ═══════════════════════════════════════════════════════ */
.big-headline {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 90px);
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 900px;
    text-align: center;
}
.big-headline .orange { color: var(--orange); }


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Section Body
   ═══════════════════════════════════════════════════════ */
.section-body {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
    text-align: center;
    margin-top: 40px;
    font-weight: 300;
}


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Transitional Statement
   ═══════════════════════════════════════════════════════ */
.statement {
    font-family: var(--serif);
    font-size: clamp(24px, 3.5vw, 48px);
    line-height: 1.4;
    text-align: center;
    max-width: 800px;
    color: var(--text-large-dim);
    padding: 160px 40px;
    margin: 0 auto;
}
.statement strong {
    color: var(--white);
    font-weight: 400;
}


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Card (base)
   ═══════════════════════════════════════════════════════ */
.ds-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 40px 28px;
    transition: border-color 0.4s ease, transform 0.4s ease;
}
.ds-card:hover {
    border-color: rgba(247,147,26,0.4);
    transform: translateY(-4px);
}
.ds-card.btc {
    border-color: rgba(247,147,26,0.4);
}


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Buttons
   ═══════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--orange);
    border: none;
    border-radius: 3px;
    color: #000;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 16px rgba(247,147,26,0.12), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:active {
    transform: translateY(0.5px) scale(0.97);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
    transition-duration: 0.06s;
}

.btn-ghost {
    display: inline-block;
    padding: 14px 28px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 3px;
    color: var(--text-dim);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-ghost:hover {
    border-color: var(--text-muted);
    color: var(--white);
}

.btn-tertiary {
    display: inline-block;
    padding: 14px 28px;
    background: none;
    border: 1px solid var(--panel-border);
    border-radius: 3px;
    color: var(--text-dim);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-tertiary:hover {
    border-color: var(--orange);
    color: var(--orange);
}


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Input Fields
   ═══════════════════════════════════════════════════════ */
.ds-input {
    background: var(--panel-bg);
    border: 1px solid var(--border-visible);
    border-radius: 10px;
    padding: 14px 20px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s ease;
}
.ds-input:focus {
    border-color: var(--orange);
}
.ds-input::placeholder {
    color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM — Responsive (mobile overrides)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .statement { padding: 100px 24px; }
    .section-body { font-size: 16px; }
}