/* =====================================================
   PACIFIC MOTO GROUP — Styles/site.css
   ASP.NET Web Forms | Dark luxury + Pacific steel blue & chrome
   ===================================================== */

/* ── RESET & CUSTOM PROPERTIES ───────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink: #ffffff;
    --ink-soft: #ffffff;
    --surface: #14141e;
    --surface-2: #1c1c28;
    --border: #a8a9ac;
    --border-h: #a8a9ac;
    --gold: #a8a9ac;
    --gold-lt: #a8a9ac;
    --gold-dk: #a8a9ac;
    --gold-glow: #a8a9ac;
    --energy: #ed1a21;
    --tech: #ed1a21;
    --realty: #ed1a21;
    --bio: #ed1a21;
    --text: #eeeae4;
    --text-muted: #a8a9ac;
    --text-faint: #a8a9ac;
    --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ff-ui: 'Josefin Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --radius: 4px;
    --max-w: 1160px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.32s;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background:  var(--ink);
    color:       var(--text);
    font-family: var(--ff-ui);
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink-soft); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* selection */
::selection { background: var(--gold); color: var(--ink); }

/* links */
a { color: inherit; }

/* ── NAVIGATION ─────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--ink);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--dur) var(--ease);
}

.nav-bar {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--ff-ui);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.42em;
    color: var(--gold);
    text-decoration: none;
    text-indent: 0.42em;
    transition: opacity var(--dur);
}
.nav-brand:hover { opacity: 0.7; }

.nav-links { list-style: none; display: flex; gap: 2.5rem; font-weight: 400;}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color var(--dur);
}
.nav-links a:hover { color: var(--gold); }

/* ── HERO ────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 5rem;
    overflow: hidden;
}

/* dot-grid background */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    /*  background-image: radial-gradient(circle, rgba(201,168,76,0.18) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black, transparent);
    mask-image:         radial-gradient(ellipse 75% 75% at 50% 50%, black, transparent);*/
    pointer-events: none;
}

/* ambient glow */
    .hero::after {
        content: '';
        position: absolute;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 
        height: 700px;
        /*background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);*/
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 820px;
        animation: fadeUp 1.1s var(--ease) both;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(36px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* Logo */
    .logo-lockup {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.6rem;
        margin-bottom: 2.5rem;
    }

    .logo-emblem {
        width: 130px;
        height: 130px;
        color: var(--gold);
        align-content:center;
        /* filter: drop-shadow(0 0 28px rgba(201,168,76,0.32));
       animation: glowPulse 5s ease-in-out infinite;*/
    }

    @keyframes glowPulse {
        0%,100% {
            filter: drop-shadow(0 0 22px rgba(201,168,76,0.28));
        }

        50% {
            filter: drop-shadow(0 0 44px rgba(201,168,76,0.54));
        }
    }

.logo-emblem svg {
 
            /* additional mobile-specific styles */
        

        display: flex;
        align-content: center;
    }

.logo-size {
    width: 100%;
    max-width: 1000px;
}

@media screen and (min-width: 601px) and (max-width: 1400px) {
    .logo-size {
        width: 97%;
    }
}

@media screen and (max-width: 600px) {
    .logo-size {
        width: 97%;
    }
}

        .logo-text {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.35rem;
        }

        .company-name {
            font-family: var(--ff-display);
            font-size: clamp(4.5rem, 11vw, 8rem);
            font-weight: 300;
            letter-spacing: 0.55em;
            text-indent: 0.55em;
            line-height: 1;
            color: var(--text);
        }

        .company-wordmark {
            font-family: var(--ff-ui);
            font-size: 0.68rem;
            font-weight: 400;
            letter-spacing: 0.55em;
            text-indent: 0.55em;
            color: var(--gold);
            text-transform: uppercase;
        }

        .logo-rule {
            width: 56px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            margin: 0.5rem auto;
        }

        .company-sub {
            font-family: var(--ff-ui);
            font-size: 0.62rem;
            letter-spacing: 0.32em;
            text-indent: 0.32em;
            color: var(--text-faint);
            text-transform: uppercase;
        }

        .hero-description {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.85;
            max-width: 580px;
            margin: 0 auto 2.75rem;
            animation: fadeUp 1.1s var(--ease) 0.25s both;
        }

        .hero-cta {
            display: flex;
            gap: 1.1rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeUp 1.1s var(--ease) 0.45s both;
        }
        /* scroll hint */
        .scroll-hint {
            position: absolute;
            margin-bottom: 1.8rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.45rem;
            color: var(--text-faint);
            font-size: 0.56rem;
            letter-spacing: 0.3em;
            animation: bob 2.2s ease-in-out infinite;
        }

        .scroll-line {
            width: 1px;
            height: 38px;
            background: linear-gradient(to bottom, var(--gold), transparent);
        }

        @keyframes bob {
            0%,100% {
                transform: translateX(-50%) translateY(0);
            }

            50% {
                transform: translateX(-50%) translateY(7px);
            }
        }
        /* ── BUTTONS ─────────────────────────────────────── */
        .btn-primary,
        a.btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.78rem 2rem;
            background: var(--gold);
            color: var(--ink) !important;
            text-decoration: none;
            font-family: var(--ff-ui);
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.22em;
            text-indent: 0.22em;
            text-transform: uppercase;
            border: none;
            border-radius: var(--radius);
            cursor: pointer;
            transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
        }

            .btn-primary:hover,
            a.btn-primary:hover {
                background: var(--gold-lt);
                transform: translateY(-2px);
                box-shadow: 0 8px 28px rgba(201,168,76,0.32);
            }

        .btn-ghost,
        a.btn-ghost {
            display: inline-flex;
            align-items: center;
            padding: 0.78rem 2rem;
            background: transparent;
            color: var(--text) !important;
            text-decoration: none;
            font-family: var(--ff-ui);
            font-size: 0.68rem;
            font-weight: 400;
            letter-spacing: 0.22em;
            text-indent: 0.22em;
            text-transform: uppercase;
            border: 1px solid var(--border-h);
            border-radius: var(--radius);
            transition: border-color var(--dur), color var(--dur), transform var(--dur);
        }

            .btn-ghost:hover,
            a.btn-ghost:hover {
                border-color: var(--gold);
                color: var(--gold) !important;
                transform: translateY(-2px);
            }
        /* ── SECTION COMMON ─────────────────────────────── */
        .section-label {
            display: block;
            font-size: 1rem;
            font-weight: 400;
            letter-spacing: 0.38em;
            color: var(--gold);
            text-transform: uppercase;
            margin-bottom: 0.8rem;
        }
        /* ── SUBSIDIARIES ───────────────────────────────── */
        .subsidiaries {
            padding: 7rem 2rem 7.5rem;
            background: var(--ink-soft);
            position: relative;
        }

            .subsidiaries::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 1px;
                background: linear-gradient(90deg, transparent, var(--gold), transparent);
            }

        .section-header {
            text-align: center;
            max-width: var(--max-w);
            margin: 0 auto 4rem;
        }

        .section-title {
            font-family: var(--ff-display);
            font-size: clamp(2rem, 4vw, 2.9rem);
            font-weight: 400;
            color: var(--text);
            line-height: 1.2;
            margin-bottom: 0.9rem;
        }

        .section-desc {
            color: var(--text-muted);
            font-size: 0.92rem;
            max-width: 480px;
            margin: 0 auto;
        }
        /* grid */
        .sub-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.4rem;
            max-width: var(--max-w);
            margin: 0 auto;
        }
        /* card */
        .sub-card {
            position: relative;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: var(--text);
            background: var(--surface);
            border: 1px solid var(--gold);
            border-radius: 8px;
            overflow: hidden;
            transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
        }

            .sub-card:hover {
                transform: translateY(-7px);
                border-color: var(--border-h);
                box-shadow: 0 24px 56px rgba(0,0,0,0.55);
            }

        .sub-card-body {
            flex: 1;
            padding: 2rem 1.6rem 1.6rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        /* icon badge */
        .sub-icon {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            flex-shrink: 0;
        }

            .sub-icon svg {
                width: 100%;
                height: 100%;
                display: block;
            }

            .sub-icon.energy {
                background: rgba(218, 28, 28, 0.8);
                color: var(--energy);
            }

            .sub-icon.tech {
                background: rgba(218, 28, 28, 0.8);
                color: var(--tech);
            }

            .sub-icon.realty {
                background: rgba(218, 28, 28, 0.8);
                color: var(--realty);
            }

            .sub-icon.bio {
                background: rgba(218, 28, 28, 0.8);
                color: var(--bio);
            }
        /* subsidiary logo text */
        .sub-logo-text {
            font-family: var(--ff-ui);
            font-size: 0.62rem;
            letter-spacing: 0.22em;
            font-weight: 600;
        }

        .sub-logo-prefix {
            color: var(--gold);
        }

        .sub-logo-suffix {
            color: var(--text-faint);
        }

        .sub-name {
            font-family: var(--ff-display);
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text);
            line-height: 1.2;
        }

        .sub-sector {
            font-size: 0.62rem;
            letter-spacing: 0.2em;
            color: var(--text-faint);
            text-transform: uppercase;
        }

        .sub-desc {
            font-size: 0.83rem;
            color: var(--text-muted);
            line-height: 1.72;
            flex: 1;
        }

        .sub-link-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 0.4rem;
        }

        .sub-link-text {
            font-size: 0.65rem;
            letter-spacing: 0.18em;
            color: var(--text-faint);
            text-transform: uppercase;
            transition: color var(--dur);
        }

        .sub-arrow {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            color: rgba(218, 28, 28, 0.8);
            transition: color var(--dur), transform var(--dur);
        }

        .sub-card:hover .sub-link-text {
            color: var(--gold);
        }

        .sub-card:hover .sub-arrow {
            color: var(--gold);
            transform: translate(3px,-3px);
        }
        /* bottom accent bar */
        .sub-bar {
            height: 3px;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.42s var(--gold);
        }

        .sub-card:hover .sub-bar {
            transform: scaleX(1);
        }

        .energy-bar {
            background: rgba(218, 28, 28, 0.8);
        }

        .tech-bar {
            background: rgba(218, 28, 28, 0.8);
        }

        .realty-bar {
            background: rgba(218, 28, 28, 0.8);
        }

        .bio-bar {
            background: rgba(218, 28, 28, 0.8);
        }
        /* ── CONTACT ─────────────────────────────────────── */
        .contact-section {
            padding: 7rem 2rem 7.5rem;
            background: var(--ink);
            position: relative;
        }

            .contact-section::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 1px;
                background: linear-gradient(90deg, transparent, var(--gold-dk), transparent);
            }

        .contact-wrap {
            max-width: var(--max-w);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1.65fr;
            gap: 5rem;
            align-items: start;
        }

        .contact-heading {
            font-family: var(--ff-display);
            font-size: clamp(2rem, 4vw, 2.7rem);
            font-weight: 400;
            color: var(--text);
            line-height: 1.2;
            margin-bottom: 1.1rem;
        }

        .contact-body-text {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.82;
            margin-bottom: 2.4rem;
        }

        .contact-details {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
        }

            .contact-details li {
                display: flex;
                align-items: flex-start;
                gap: 0.8rem;
                font-size: 0.82rem;
                color: var(--text-muted);
            }

                .contact-details li svg {
                    width: 17px;
                    height: 17px;
                    color: var(--gold);
                    flex-shrink: 0;
                    margin-top: 2px;
                }
        /* form panel */
        .contact-form-panel {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 2.6rem;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.4rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.42rem;
        }

        .form-group-full {
            grid-column: 1 / -1;
        }

        .form-group label {
            font-family: var(--ff-ui);
            font-size: 0.64rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--text-muted);
            font-weight: 400;
        }

        .req {
            color: var(--gold);
        }

        .form-input {
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 0.68rem 0.9rem;
            color: var(--text);
            font-family: var(--ff-ui);
            font-size: 0.88rem;
            font-weight: 300;
            outline: none;
            width: 100%;
            transition: border-color var(--dur), box-shadow var(--dur);
            -webkit-appearance: none;
        }

            .form-input::placeholder {
                color: var(--text-faint);
            }

            .form-input:focus {
                border-color: var(--gold-dk);
                box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
            }

        .form-textarea {
            resize: vertical;
            min-height: 120px;
        }
        /* validators */
        .field-error {
            font-size: 0.7rem;
            color: #e05a5a;
            letter-spacing: 0.02em;
            display: block;
        }
        /* submit row */
        .form-submit-row {
            display: flex;
            justify-content: flex-end;
            padding-top: 0.3rem;
        }

        .btn-submit {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.82rem 2.2rem;
            background: var(--gold);
            color: var(--ink);
            font-family: var(--ff-ui);
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            border: none;
            border-radius: var(--radius);
            cursor: pointer;
            transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
        }

            .btn-submit:hover {
                background: var(--gold-lt);
                transform: translateY(-2px);
                box-shadow: 0 8px 28px rgba(201,168,76,0.32);
            }

            .btn-submit:active {
                transform: translateY(0);
            }
        /* success state */
        .success-message {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1.1rem;
            padding: 3rem 1.5rem;
        }

        .success-icon {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: rgba(93,191,170,0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--realty);
            margin-bottom: 0.4rem;
        }

            .success-icon svg {
                width: 26px;
                height: 26px;
            }

        .success-message h3 {
            font-family: var(--ff-display);
            font-size: 1.7rem;
            font-weight: 400;
            color: var(--text);
        }

        .success-message p {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.75;
            max-width: 360px;
        }
        /* error banner */
        .error-banner {
            background: rgba(224,90,90,0.1);
            border: 1px solid rgba(224,90,90,0.28);
            border-radius: var(--radius);
            padding: 0.75rem 1rem;
            font-size: 0.82rem;
            color: #e08080;
            margin-bottom: 1.2rem;
        }
        /* ── FOOTER ──────────────────────────────────────── */
        .site-footer {
            background: var(--ink);
            border-top: 1px solid var(--border);
            padding: 1.8rem 2rem;
        }

        .footer-inner {
            max-width: var(--max-w);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .footer-copy {
            font-size: 0.7rem;
            color: var(--text-faint);
            letter-spacing: 0.04em;
        }

        .footer-tag {
            font-family: var(--ff-display);
            font-size: 0.88rem;
            color: var(--gold-dk);
            font-style: italic;
        }
        /* ── RESPONSIVE ──────────────────────────────────── */

        /* ── TABLET LANDSCAPE (max 1020px) ─────────────── */
        @media (max-width: 1020px) {
            .nav-bar {
                padding: 0 1.5rem;
            }

            .nav-links {
                gap: 1.8rem;
            }

            .sub-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .contact-wrap {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .hero {
                padding: 7rem 1.5rem 4rem;
            }

            .subsidiaries,
            .contact-section {
                padding: 5rem 1.5rem 5.5rem;
            }

            .section-header {
                margin-bottom: 3rem;
            }
        }

        /* ── TABLET PORTRAIT (max 768px) ────────────────── */
        @media (max-width: 768px) {
            html {
                font-size: 15px;
            }

            .nav-bar {
                padding: 0 1.25rem;
                height: 56px;
            }

            .nav-links {
                gap: 1.4rem;
            }

            .nav-links a {
                font-size: 0.62rem;
                letter-spacing: 0.16em;
            }

            .hero {
                padding: 6rem 1.25rem 4rem;
                min-height: 90vh;
            }

            .hero-content {
                max-width: 100%;
            }

            .logo-lockup {
                gap: 1.2rem;
                margin-bottom: 2rem;
            }

            .logo-emblem {
                width: 100px;
                height: 100px;
            }

            .hero-description {
                font-size: 0.92rem;
                margin-bottom: 2rem;
            }

            .hero-cta {
                gap: 0.85rem;
            }

            .sub-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .sub-card-body {
                padding: 1.5rem 1.25rem 1.25rem;
            }

            .contact-form-panel {
                padding: 2rem;
            }

            .contact-wrap {
                gap: 2.5rem;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
                gap: 0.75rem;
            }
        }

        /* ── MOBILE (max 640px) ──────────────────────────── */
        @media (max-width: 640px) {
            html {
                font-size: 14px;
            }

            /* Hide nav links — hamburger menu should be toggled via JS */
            .nav-links {
                display: none;
            }

            /* Show hamburger toggle if present */
            .nav-toggle {
                display: flex;
            }

            .nav-bar {
                padding: 0 1rem;
                height: 52px;
            }

            .hero {
                padding: 5.5rem 1rem 3.5rem;
                min-height: 85vh;
            }

            .hero-content {
                text-align: center;
                padding: 0 0.25rem;
            }

            .logo-lockup {
                gap: 1rem;
                margin-bottom: 1.75rem;
            }

            .logo-emblem {
                width: 80px;
                height: 80px;
            }

            .company-name {
                font-size: clamp(2.8rem, 13vw, 4.2rem);
                letter-spacing: 0.3em;
                text-indent: 0.3em;
            }

            .company-wordmark {
                font-size: 0.58rem;
                letter-spacing: 0.4em;
            }

            .hero-description {
                font-size: 0.88rem;
                line-height: 1.75;
                margin-bottom: 1.75rem;
            }

            .hero-cta {
                flex-direction: column;
                align-items: center;
                gap: 0.75rem;
            }

            .btn-primary,
            a.btn-primary,
            .btn-ghost,
            a.btn-ghost {
                width: 100%;
                max-width: 280px;
                justify-content: center;
                padding: 0.85rem 1.5rem;
            }

            .subsidiaries,
            .contact-section {
                padding: 4rem 1rem 4.5rem;
            }

            .section-header {
                margin-bottom: 2.25rem;
            }

            .sub-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .sub-card-body {
                padding: 1.4rem 1.2rem 1.2rem;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .contact-form-panel {
                padding: 1.6rem 1.25rem;
                border-radius: 8px;
            }

            .contact-wrap {
                gap: 2rem;
            }

            .form-submit-row {
                justify-content: stretch;
            }

            .btn-submit {
                width: 100%;
                justify-content: center;
            }

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

            .site-footer {
                padding: 1.5rem 1rem;
            }

            .scroll-hint {
                display: none; /* hide on small screens to avoid clutter */
            }
        }

        /* ── SMALL MOBILE (max 380px) ────────────────────── */
        @media (max-width: 380px) {
            html {
                font-size: 13px;
            }

            .company-name {
                font-size: clamp(2.4rem, 14vw, 3.2rem);
                letter-spacing: 0.2em;
                text-indent: 0.2em;
            }

            .logo-emblem {
                width: 68px;
                height: 68px;
            }

            .nav-bar {
                height: 48px;
            }

            .contact-form-panel {
                padding: 1.25rem 1rem;
            }

            .sub-card-body {
                padding: 1.2rem 1rem 1rem;
            }
        }

        /* ── HAMBURGER TOGGLE (hidden by default) ───────── */
        .nav-toggle {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.4rem;
        }

        .nav-toggle span {
            display: block;
            width: 22px;
            height: 1.5px;
            background: var(--text-muted);
            border-radius: 2px;
            transition: background var(--dur);
        }

        .nav-toggle:hover span {
            background: var(--gold);
        }

        /* Mobile nav open state — toggled via JS adding .nav-open to header */
        @media (max-width: 640px) {
            .site-header.nav-open .nav-links {
                display: flex;
                flex-direction: column;
                gap: 0;
                position: absolute;
                top: 52px;
                left: 0;
                right: 0;
                background: var(--ink);
                border-bottom: 1px solid var(--border);
                padding: 1rem 1.25rem 1.5rem;
            }

            .site-header.nav-open .nav-links li a {
                display: block;
                padding: 0.65rem 0;
                font-size: 0.72rem;
                border-bottom: 1px solid rgba(168,169,172,0.1);
            }

            .site-header.nav-open .nav-links li:last-child a {
                border-bottom: none;
            }
        }

