/* ==========================================================================
   Makerspace Kortrijk — screen.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts & Variables
   -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&display=swap');

:root {
    --bg:         #00191f;
    --bg-surface: #002b34;
    --bg-card:    #003540;
    --primary:    #1aaeaa;
    --primary-dim:#117a77;
    --primary-glow: rgba(26, 174, 170, 0.18);
    --text:       #e8f4f3;
    --text-muted: #7bb3b1;
    --text-faint: #3d6e6c;
    --border:     rgba(26, 174, 170, 0.15);
    --white:      #ffffff;

    --font-display: 'Prompt', sans-serif;
    --font-body:    'Prompt', sans-serif;

    --radius:   6px;
    --radius-lg: 12px;
    --transition: 0.2s ease;

    --max-w: 1160px;
    --section-pad: clamp(3rem, 7vw, 6rem);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
}

p { color: var(--text); }

ul { list-style: none; }

/* --------------------------------------------------------------------------
   3. Layout Helpers
   -------------------------------------------------------------------------- */

.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section { padding-block: var(--section-pad); }

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 25, 31, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.site-logo img {
    height: 36px;
    width: auto;
}


.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-list li a,
.site-nav a {
    padding: 0.4rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.site-nav-list li a:hover,
.site-nav-list li.nav-current a,
.site-nav a:hover,
.site-nav a.active {
    color: var(--white);
    background: var(--primary-glow);
}

.nav-cta {
    margin-left: 0.5rem;
    padding: 0.45rem 1.1rem !important;
    background: var(--primary) !important;
    color: var(--bg) !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
}

.nav-cta:hover {
    background: var(--primary-dim) !important;
    color: var(--white) !important;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

.site-hero {
    position: relative;
    min-height: 33svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-img, none);
    background-size: cover;
    background-position: center;
    filter: brightness(0.55) saturate(0.8);
    z-index: 0;
}

/* Teal gradient overlay — brand signature */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 25, 31, 0.92) 0%,
        rgba(26, 174, 170, 0.12) 60%,
        rgba(0, 25, 31, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 68px;
    padding-bottom: 3rem;
}

/* Maker mark — the signature element: a teal circuit-trace underline on the eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    max-width: 720px;
    margin-bottom: 1.25rem;
}

.hero-title em {
    font-style: normal;
    color: var(--primary);
}

.hero-tagline {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 300;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--bg);
    box-shadow: 0 0 24px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--white);
    background: var(--primary-glow);
}

/* --------------------------------------------------------------------------
   7. Stats Bar
   -------------------------------------------------------------------------- */

.stats-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-block: 1.75rem;
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   8. Over Ons
   -------------------------------------------------------------------------- */

.about-section {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual-box {
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Teal corner accent */
.about-visual-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 60px;
    height: 60px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-lg) 0 0 0;
    z-index: 1;
}

.about-badge {
    position: absolute;
    bottom: -1.25rem;
    right: -1.25rem;
    background: var(--primary);
    color: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.3;
    box-shadow: 0 8px 32px rgba(26, 174, 170, 0.3);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   10. Blog / Nieuws
   -------------------------------------------------------------------------- */

.news-section { background: var(--bg); }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-surface);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

.post-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-faint);
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
}

.post-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.post-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: 0.65rem;
    flex: 1;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
}

.post-card-title a:hover { color: var(--primary); }

.post-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-card-author img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.post-card-read-more {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* Featured post */
.post-card.is-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.post-card.is-featured .post-card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 260px;
}

.post-card.is-featured .post-card-title {
    font-size: 1.4rem;
}

.posts-more {
    margin-top: 2.5rem;
    text-align: center;
}

/* --------------------------------------------------------------------------
   11. Contact / Lid worden
   -------------------------------------------------------------------------- */

.contact-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-info-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 0.15rem;
}

.contact-info-value {
    font-size: 0.95rem;
    color: var(--text);
}

.contact-info-value a {
    color: var(--primary);
}

/* Membership card */
.membership-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.membership-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.membership-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.membership-perks {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.membership-perk {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text);
}

.membership-perk::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: #000f12;
    border-top: 1px solid var(--border);
    padding-block: 3rem 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-nav a:hover { color: var(--primary); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   13. Single Post / Page
   -------------------------------------------------------------------------- */

.post-header {
    padding-top: calc(68px + 4rem);
    padding-bottom: 3rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.post-tag-link {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.post-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    max-width: 800px;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.post-meta-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.post-feature-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.post-content {
    max-width: 720px;
    margin-inline: auto;
    padding: 3rem clamp(1.25rem, 5vw, 2.5rem);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2em;
    margin-bottom: 0.65em;
}

.post-content p { margin-bottom: 1.4em; color: var(--text); }

.post-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.post-content ul,
.post-content ol {
    margin-bottom: 1.4em;
    padding-left: 1.5em;
    color: var(--text);
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li { margin-bottom: 0.4em; }

.post-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 1.25rem;
    margin-left: 0;
    margin-bottom: 1.4em;
    color: var(--text-muted);
    font-style: italic;
}

.post-content code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--primary);
}

.post-content pre {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 1.4em;
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
}

.post-content img {
    border-radius: var(--radius);
    margin-bottom: 1.4em;
}

.post-content figure { margin-bottom: 1.4em; }

.post-content figcaption {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   13b. Page no-header (when @page.show_title_and_feature_image is false)
   -------------------------------------------------------------------------- */

.post-content.no-header {
    padding-top: 68px; /* just the nav height, no extra spacing */
}

/* --------------------------------------------------------------------------
   13c. Ghost Card Width Classes (required by GScan)
   -------------------------------------------------------------------------- */

.post-content .kg-width-wide {
    margin-left: calc(50% - 50vw + clamp(1.25rem, 5vw, 2.5rem));
    margin-right: calc(50% - 50vw + clamp(1.25rem, 5vw, 2.5rem));
    max-width: calc(100vw - clamp(2.5rem, 10vw, 5rem));
    width: calc(100vw - clamp(2.5rem, 10vw, 5rem));
}

.post-content .kg-width-full {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* --------------------------------------------------------------------------
   14. Pagination
   -------------------------------------------------------------------------- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-prev,
.pagination-next,
.pagination-info {
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
    text-decoration: none;
}

a.pagination-prev:hover,
a.pagination-next:hover {
    border-color: var(--primary);
    color: var(--white);
    background: var(--primary-glow);
}

.pagination-info {
    font-size: 0.82rem;
    border-color: transparent;
    color: var(--text-faint);
}

.pagination-prev.is-disabled,
.pagination-next.is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   15. Tag Archive
   -------------------------------------------------------------------------- */

.archive-header {
    padding-top: calc(68px + 3rem);
    padding-bottom: 3rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   16. Error Page
   -------------------------------------------------------------------------- */

.error-page {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    opacity: 0.25;
}

.error-message {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.error-sub {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   17. Utilities
   -------------------------------------------------------------------------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-badge {
        right: 0;
        bottom: -1rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-top > :first-child {
        grid-column: 1 / -1;
    }

    .post-card.is-featured {
        grid-template-columns: 1fr;
    }

    .post-card.is-featured .post-card-image {
        aspect-ratio: 16/9;
        height: auto;
    }
}

@media (max-width: 680px) {
    .site-nav {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0.25rem;
        border-top: 1px solid var(--border);
        overflow-y: auto;
    }

    .site-nav.is-open { display: flex; }

    .site-nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .site-nav-list li,
    .site-nav-list li a,
    .site-nav a {
        width: 100%;
        font-size: 1.15rem;
        padding: 0.75rem 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 1rem;
        text-align: center;
    }

    .nav-toggle { display: flex; }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .stats-bar .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   19. Focus / Accessibility
   -------------------------------------------------------------------------- */

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
