/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@700;900&family=JetBrains+Mono:wght@400;600&family=DM+Serif+Display&display=swap');

/* ════════════════════════════════════════
        TOKENS
   ════════════════════════════════════════ */
:root {
    --bg: #ffffff;
    --app-bg: #f0ece3;
    --ink: #0a0a0a;
    --yellow: #ffe500;
    --blue: #0055ff;
    --red: #ff2200;
    --green: #00a550;
    --amber: #e67e00;
    --muted: #555;
    --light-muted: #888;
    --off: #f7f4ee;
    --paper: #fffef8;
    --border: 2.5px solid #0a0a0a;
    --card-hover: #0a0a0a;
    --text-light: #ffffff;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* ════════════════════════════════════════
        BODY
   ════════════════════════════════════════ */
body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--app-bg);
    background-image:
        radial-gradient(circle at 14% 78%, rgba(255, 229, 0, .13) 0%, transparent 42%),
        radial-gradient(circle at 83% 11%, rgba(0, 85, 255, .08) 0%, transparent 42%);
    min-height: 100vh;
    color: var(--ink);
}

/* ════════════════════════════════════════
        NAVIGATION
   ════════════════════════════════════════ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg);
    border-bottom: var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 5vw, 56px);
    height: 62px;
    transition: box-shadow .2s;
}

.nav-logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(12px, 2.2vw, 15px);
    text-decoration: none;
    color: var(--ink);
    letter-spacing: .07em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links li a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 8px 14px;
    display: block;
    transition: background .15s, color .15s;
}

.nav-links li a:hover {
    background: var(--ink);
    color: var(--bg);
}

.nav-links li a.nav-cta {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 9px;
    background: var(--yellow);
    color: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    margin-left: 10px;
    transition: background .15s, color .15s, transform .08s, box-shadow .08s;
}

.nav-links li a.nav-cta:hover {
    background: var(--ink);
    color: var(--yellow);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--ink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform .3s, opacity .3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   REFINED NAV BRANDING (NEO-BRUTALIST)
   ============================================ */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    height: 100%; /* Ensures vertical centering in nav */
}

.nav-logo img {
    height: 38px; /* Matches your previous setting */
    width: auto;
    display: block;
}

.logo-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 14px;
    border-left: 2px solid var(--ink);
    line-height: 1;
}

.brand-top {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.brand-bottom {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em; 
    opacity: 0.9;
    color: var(--yellow);
    background: var(--ink);
padding: 3px;
}


/* Responsive adjustment for Mobile */
@media (max-width: 480px) {
    .nav-logo { gap: 10px; }
    .logo-brand { padding-left: 10px; }
    .brand-top { font-size: 15px; }
    .brand-bottom { font-size: 8.5px; }
}

/* ════════════════════════════════════════
        TICKER
   ════════════════════════════════════════ */
.ticker {
    overflow: hidden;
    background: var(--ink);
    border-bottom: var(--border);
    height: 34px;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    animation: tickerRoll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--yellow);
    padding: 0 28px;
    flex-shrink: 0;
}

.ticker-dot {
    margin-left: 20px;
    color: rgba(255, 229, 0, .35);
}

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

/* ════════════════════════════════════════
        HERO SECTION
   ════════════════════════════════════════ */
.hero {
    display: flex;
    align-items: flex-end;
    gap: clamp(24px, 6vw, 80px);
    padding: clamp(56px, 10vw, 110px) clamp(18px, 5vw, 56px) clamp(48px, 8vw, 80px);
    border-bottom: var(--border);
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '2026';
    position: absolute;
    right: clamp(18px, 4vw, 48px);
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(80px, 20vw, 220px);
    color: rgba(0, 0, 0, .04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-left {
    flex: 0 0 auto;
}

.hero-right {
    flex: 1;
    max-width: 440px;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(52px, 10vw, 108px);
    line-height: 1.0;
    letter-spacing: -.025em;
    color: var(--ink);
}

.char-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.char {
    display: inline-block;
    transform: translateY(105%);
    transition: transform .65s cubic-bezier(.16, 1, .3, 1);
}

body.active .char {
    transform: translateY(0);
}

.hero-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(11px, 1.7vw, 13.5px);
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 380px;
}

.hero-stats {
    display: flex;
    width: fit-content;
    border: var(--border);
    box-shadow: 6px 6px 0 var(--ink);
}

.stat {
    padding: 16px 24px;
    border-right: var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.stat strong {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(20px, 3.5vw, 30px);
    line-height: 1;
}

.stat span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--light-muted);
}

/* ════════════════════════════════════════
        SECTION HEADER
   ════════════════════════════════════════ */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 44px clamp(18px, 5vw, 56px) 22px;
}

.section-header h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(18px, 3.5vw, 26px);
    letter-spacing: -.01em;
}

.section-header span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--light-muted);
}

/* ════════════════════════════════════════
        MAIN CONTENT
   ════════════════════════════════════════ */
.main-content {
    padding: 0 clamp(18px, 5vw, 56px) 56px;
}

/* ════════════════════════════════════════
        CATEGORY GRID
   ════════════════════════════════════════ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    margin-bottom: 3rem;
    border-top: var(--border);
}

.category-card {
    border-right: var(--border);
    border-bottom: var(--border);
    background: var(--bg);
}

.category-card:last-child {
    border-right: none;
}

.card {
    display: block;
    text-decoration: none;
    color: var(--ink);
    border: var(--border);
    background: var(--bg);
    box-shadow: 6px 6px 0 var(--ink);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .12s;
}

body.active .card {
    opacity: 1;
    transform: translateY(0);
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(102%);
    transition: transform .28s cubic-bezier(.16, 1, .3, 1);
    z-index: 1;
}

.card:hover {
    transform: translate(-3px, -3px) !important;
    box-shadow: 9px 9px 0 var(--ink);
}

.card:hover::after {
    transform: translateY(0);
}

.card:hover .card-inner {
    color: var(--text-light);
}

.card:hover .card-arrow {
    color: var(--yellow);
    transform: translateX(4px);
}

.card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.card-inner {
    padding: 28px 28px 24px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
    transition: color .28s;
}

.card h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 2vw, 18px);
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.3;
}

.card p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    line-height: 1.75;
    color: var(--muted);
    flex: 1;
    transition: color .28s;
}

.card-arrow {
    font-size: 20px;
    align-self: flex-end;
    transition: all .28s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    background: #f0f0f0;
    border: 1px solid var(--ink);
    padding: 0.25rem 0.75rem;
    display: inline-block;
    margin-top: 0.75rem;
    width: fit-content;
    transition: all .28s;
}

.card:hover .badge {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--yellow);
}

.item-list {
    text-align: left;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

.card-inner a{
    color: var(--ink);
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--ink);
    transition: all .2s;
}

.list-item:hover {
    padding-left: 8px;
    color: var(--blue);
}

.card:hover .list-item {
    color: rgba(255, 255, 255, 0.9);
}

.card:hover .list-item:hover {
    color: var(--yellow);
    padding-left: 8px;
}

.status {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    background: #e8e8e8;
    padding: 0.2rem 0.5rem;
    border-radius: 0;
    font-weight: 600;
}

.status.live {
    background: var(--ink);
    color: var(--yellow);
}

.card:hover .status {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg);
}

.card:hover .status.live {
    background: var(--yellow);
    color: var(--ink);
}

/* ════════════════════════════════════════
        SUBJECT SECTION
   ════════════════════════════════════════ */
.subject-section {
    border-top: var(--border);
    padding: 0 clamp(1.2rem, 4vw, 3.5rem);
    margin-top: 2rem;
}

.subject-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 0 2rem;
    border-bottom: var(--border);
    flex-wrap: wrap;
}

.subject-header-text .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--yellow);
    border: 2px solid var(--ink);
    padding: .25rem .65rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.subject-header-text h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 .9rem;
}

.subject-header-text p {
    font-size: .97rem;
    line-height: 1.7;
    max-width: 500px;
    color: var(--muted);
}

.subject-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    border: 2px solid var(--ink);
    padding: .4rem .9rem;
    white-space: nowrap;
    background: var(--ink);
    color: #fff;
    align-self: flex-start;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 3rem;
}

/* Subject Cards with Color Variants */
.subject-card {
    display: block;
    text-decoration: none;
    border: var(--border);
    background: var(--bg);
    color: var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    position: relative;
    overflow: hidden;
    transition: transform .12s, box-shadow .12s;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 3;
}

.subject-card.blue::before {
    background: var(--blue);
}

.subject-card.yellow::before {
    background: var(--yellow);
}

.subject-card.green::before {
    background: var(--green);
}

.subject-card.amber::before {
    background: var(--amber);
}

.subject-card.red::before {
    background: var(--red);
}

.subject-card::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateY(102%);
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
    z-index: 1;
}

.subject-card.blue:hover::after {
    background: var(--blue);
    transform: translateY(0);
}

.subject-card.yellow:hover::after {
    background: var(--ink);
    transform: translateY(0);
}

.subject-card.green:hover::after {
    background: var(--green);
    transform: translateY(0);
}

.subject-card.amber:hover::after {
    background: var(--amber);
    transform: translateY(0);
}

.subject-card.red:hover::after {
    background: var(--red);
    transform: translateY(0);
}

.subject-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--ink);
}

.subject-card-inner {
    padding: 24px 22px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 160px;
    transition: color .25s;
}

.subject-card h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.4;
}

.subject-card p {
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
    flex: 1;
    transition: color .25s;
}

.subject-card .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 8px;
    padding: 6px 12px;
    background: #f0f0f0;
    border: 1px solid var(--ink);
    width: fit-content;
    transition: all .25s;
}

.subject-card .card-arrow::after {
    content: '→';
    font-size: 12px;
    transition: transform .25s;
}

.subject-card:hover .card-arrow {
    background: var(--yellow);
    border-color: var(--text-light);
    transform: translateX(2px);
    color: var(--ink);
}

.subject-card:hover .card-arrow::after {
    transform: translateX(4px);
}

.subject-card:hover h3 {
    color: var(--text-light);
}

.subject-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* ════════════════════════════════════════
        DRILL SECTION
   ════════════════════════════════════════ */
.drill-section {
    border-top: var(--border);
    padding: 0 clamp(1.2rem, 4vw, 3.5rem);
}

.drill-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 3.5rem 0 2.5rem;
    border-bottom: var(--border);
    flex-wrap: wrap;
}

.drill-header-text .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--yellow);
    border: 2px solid var(--ink);
    padding: .25rem .65rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.drill-header-text h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 .9rem;
}

.drill-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    border: 2px solid var(--ink);
    padding: .4rem .9rem;
    white-space: nowrap;
    background: var(--ink);
    color: #fff;
    align-self: flex-start;
}

.drill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 3rem;
}

/* ════════════════════════════════════════
        INFO STRIP
   ════════════════════════════════════════ */
.info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: var(--border);
    border-bottom: var(--border);
}

.info-cell {
    padding: clamp(28px, 5vw, 52px) clamp(22px, 4vw, 44px);
    border-right: var(--border);
    background: var(--bg);
}

.info-cell:last-child {
    border-right: none;
}

.info-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--light-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    flex-shrink: 0;
}

.info-cell h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(15px, 2.4vw, 19px);
    margin-bottom: 14px;
    letter-spacing: -.01em;
    line-height: 1.2;
}

.info-cell p {
    font-size: 11.5px;
    line-height: 1.85;
    color: var(--muted);
}

/* ── reveal animation ── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════
        CTA BAND
   ════════════════════════════════════════ */
.cta-band {
    background: var(--ink);
    padding: clamp(56px, 9vw, 90px) clamp(18px, 5vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
    border-top: var(--border);
}

.cta-band h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(26px, 5.5vw, 52px);
    color: var(--bg);
    letter-spacing: -.025em;
    line-height: 1.1;
}

.cta-band h2 em {
    color: var(--yellow);
    font-style: normal;
}

.cta-btn {
    display: inline-block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    color: var(--ink);
    background: var(--yellow);
    border: 2.5px solid var(--yellow);
    box-shadow: 6px 6px 0 rgba(255, 229, 0, .35);
    padding: 18px 36px;
    transition: background .15s, color .15s, transform .1s, box-shadow .1s;
    white-space: nowrap;
}

.cta-btn:hover {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
    box-shadow: 8px 8px 0 rgba(255, 255, 255, .15);
    transform: translate(-2px, -2px);
}

/* ════════════════════════════════════════
        FOOTER
   ════════════════════════════════════════ */
.site-footer {
    background: var(--ink);
    border-top: var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
    border-bottom: var(--border);
}

.footer-brand {
    padding: clamp(28px, 4vw, 52px);
    border-right: var(--border);
}

.footer-col {
    padding: clamp(28px, 4vw, 52px);
    border-right: var(--border);
}

.site-footer .logo-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 14px;
    border-left: 2px solid var(--light-muted);
    line-height: 1;
}

.footer-col:last-child {
    border-right: none;
}

.footer-logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--bg);
    display: block;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--yellow);
}

.footer-brand p {
    font-size: 10.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .38);
    max-width: 240px;
}

.footer-col h4 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .28);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col ul li a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .07em;
    transition: color .15s;
}

.footer-col ul li a:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(18px, 4vw, 52px);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 9.5px;
    color: rgba(255, 255, 255, .28);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    font-size: 9.5px;
    color: rgba(255, 255, 255, .28);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .12em;
    transition: color .15s;
}

.footer-links a:hover {
    color: var(--yellow);
}

/* ════════════════════════════════════════
        RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1000px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        border-bottom: var(--border);
        border-right: none;
    }
}

@media (max-width: 900px) {
    .category-card {
        border-right: var(--border);
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .info-strip {
        grid-template-columns: 1fr;
    }
    
    .info-cell {
        border-right: none;
        border-bottom: var(--border);
    }
    
    .info-cell:last-child {
        border-bottom: none;
    }
    
    .subject-header,
    .drill-header {
        flex-direction: column;
    }
    
    .subject-grid,
    .drill-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero::after {
        display: none;
    }
    
    .site-nav {
        position: relative;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: var(--border);
        padding: 14px 0;
        gap: 0;
        z-index: 199;
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links li a {
        padding: 12px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, .06);
    }
    
    .nav-links li a.nav-cta {
        margin: 12px 24px 6px;
        box-shadow: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        border-right: none;
        border-bottom: var(--border);
    }
    
    .footer-col:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        width: 100%;
        box-shadow: 4px 4px 0 var(--ink);
    }
    
    .stat {
        border-right: none;
        border-bottom: var(--border);
    }
    
    .stat:last-child {
        border-bottom: none;
    }
}


.nav-logo svg, 
.nav-logo img {
    height: 38px; /* Adjust this to fit your 62px nav bar */
    width: auto;
    display: block;
}