.mobile-nav { display: none; }
/* ─── RESET & BASE ──────────────────────────────────────────── */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --dark: #ffffff;
            --off-black: #f9f9f9;
            --charcoal: #f0f0f0;
            --mid: #e0e0e0;
            --border: #e0e0e0;
            --text-dim: #555555;
            --text-muted: #333333;
            --cream: #000000;
            --warm-white: #000000;
            --accent: #000000;
            --accent-dim: #222222;
            --red: #000000;
            --success: #27ae60;

            --font-display: 'Playfair Display', Georgia, serif;
            --font-serif: 'Playfair Display', Georgia, serif;
            --font-sans: 'DM Sans', sans-serif;

            --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
            --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        html {
            font-size: 16px;
            scroll-behavior: smooth;
        }

        body {
            background: var(--dark);
            color: var(--cream);
            font-family: var(--font-sans);
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100dvh;
        }

        .logo-main {
            height: 36px;
            width: auto;
            border-radius: 0;
            object-fit: contain;
            background: transparent;
        }

        /* ─── NOISE OVERLAY ─────────────────────────────────────────── */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
            opacity: 0.035;
            pointer-events: none;
        }

        /* ─── SCREEN MANAGER ────────────────────────────────────────── */
        .screen {
            position: fixed;
            inset: 0;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.6s var(--ease-expo);
        }

        .screen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        /* ─────────────────────────────────────────────────────────────
       SCREEN 1 — LANDING
    ───────────────────────────────────────────────────────────── */
        #screen-landing {
            flex-direction: column;
            background: var(--dark);
            cursor: pointer;
        }

        /* Horizontal rule lines (OW style) */
        #screen-landing::before,
        #screen-landing::after {
            content: '';
            position: absolute;
            left: 60px;
            right: 60px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
            opacity: 0;
            animation: lineReveal 1.2s var(--ease-expo) 1s forwards;
        }

        #screen-landing::before {
            top: 60px;
        }

        #screen-landing::after {
            bottom: 60px;
        }

        /* Border Beam CSS equivalent */
        .border-beam-wrapper {
            --size: 200;
            --duration: 15s;
            --anchor: 90;
            --border-width: 1.5;
            --color-from: #ffaa40;
            --color-to: #9c40ff;
            --delay: 0s;
            pointer-events: none;
            position: absolute;
            inset: 30px; /* offset slightly inwards for the effect */
            border-radius: 20px;
            border: calc(var(--border-width) * 1px) solid transparent;
            mask-clip: padding-box, border-box;
            -webkit-mask-composite: source-in, xor;
            mask-composite: intersect;
            mask-image: linear-gradient(transparent, transparent), linear-gradient(white, white);
            z-index: 1;
        }
        .border-beam-wrapper::after {
            content: "";
            position: absolute;
            aspect-ratio: 1 / 1;
            width: calc(var(--size) * 1px);
            animation: border-beam-anim var(--duration) infinite linear;
            animation-delay: var(--delay);
            background: linear-gradient(to left, var(--color-from), var(--color-to), transparent);
            offset-anchor: calc(var(--anchor) * 1%) 50%;
            offset-path: rect(0 auto auto 0 round calc(var(--size) * 1px));
        }
        @keyframes border-beam-anim {
            100% {
                offset-distance: 100%;
            }
        }

        @keyframes lineReveal {
            to {
                opacity: 0.35;
            }
        }

        .landing-inner {
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .landing-eyebrow {
            font-family: var(--font-display);
            font-size: 0.7rem;
            font-weight: 500;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: var(--accent);
            opacity: 0;
            transform: translateY(12px);
            animation: fadeUp 0.9s var(--ease-expo) 0.4s forwards;
            margin-bottom: 28px;
        }

        .company-name {
            font-family: var(--font-display);
            font-size: clamp(3.5rem, 10vw, 9rem);
            font-weight: 900;
            line-height: 0.92;
            color: var(--warm-white);
            letter-spacing: -0.02em;
            opacity: 0;
            transform: translateY(40px);
            animation: fadeUp 1.1s var(--ease-expo) 0.7s forwards;
            user-select: none;
            /* Subtle text shadow for depth */
            text-shadow: 0 2px 80px rgba(200, 169, 110, 0.08);
        }

        .company-name span {
            display: block;
            color: var(--accent);
        }

        .landing-tagline {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: clamp(0.85rem, 1.8vw, 1.05rem);
            color: var(--text-dim);
            letter-spacing: 0.04em;
            margin-top: 28px;
            opacity: 0;
            transform: translateY(12px);
            animation: fadeUp 0.9s var(--ease-expo) 1.1s forwards;
        }

        .landing-cta {
            margin-top: 56px;
            font-family: var(--font-display);
            font-size: 0.72rem;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: var(--text-muted);
            opacity: 0;
            animation: fadeUp 0.9s var(--ease-expo) 1.5s forwards;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .landing-cta::before,
        .landing-cta::after {
            content: '';
            display: block;
            width: 32px;
            height: 1px;
            background: var(--text-muted);
            opacity: 0.5;
        }

        /* Hover glow on landing */
        #screen-landing:hover .company-name {
            text-shadow: 0 0 120px rgba(200, 169, 110, 0.14);
            transition: text-shadow 0.6s ease;
        }

        /* ─── EXIT ANIMATION ────────────────────────────────────────── */
        .landing-exiting .company-name,
        .landing-exiting .landing-eyebrow,
        .landing-exiting .landing-tagline,
        .landing-exiting .landing-cta {
            animation: fadeExitUp 0.75s var(--ease-expo) forwards !important;
        }

        .landing-exiting .landing-eyebrow {
            animation-delay: 0.05s !important;
        }

        .landing-exiting .landing-tagline {
            animation-delay: 0.1s !important;
        }

        .landing-exiting .landing-cta {
            animation-delay: 0.15s !important;
        }

        .landing-exiting::before,
        .landing-exiting::after {
            animation: lineFade 0.5s ease forwards;
        }

        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeExitUp {
            from {
                opacity: 1;
                transform: translateY(0);
            }

            to {
                opacity: 0;
                transform: translateY(-60px);
            }
        }

        @keyframes lineFade {
            to {
                opacity: 0;
            }
        }

        /* ─────────────────────────────────────────────────────────────
       SCREEN 2 — AUTH  (Login / Sign Up)
    ───────────────────────────────────────────────────────────── */
        #screen-auth {
            background: var(--dark);
            flex-direction: row;
            align-items: stretch;
            overflow-y: auto;
        }

        /* Left panel — decorative */
        .auth-panel-left {
            flex: 0 0 42%;
            background: var(--charcoal);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 56px 52px;
            overflow: hidden;
        }

        /* Diagonal accent bar */
        .auth-panel-left::before {
            content: '';
            position: absolute;
            top: -80px;
            right: -80px;
            width: 280px;
            height: 280px;
            border: 1px solid var(--accent);
            border-radius: 50%;
            opacity: 0.08;
        }

        .auth-panel-left::after {
            content: '';
            position: absolute;
            bottom: -120px;
            left: -60px;
            width: 380px;
            height: 380px;
            border: 1px solid var(--accent);
            border-radius: 50%;
            opacity: 0.05;
        }

        .auth-brand {
            position: relative;
            z-index: 2;
        }

        .auth-brand-name {
            font-family: var(--font-display);
            font-size: clamp(1.6rem, 3vw, 2.6rem);
            font-weight: 900;
            color: var(--warm-white);
            line-height: 1;
            letter-spacing: -0.01em;
        }

        .auth-brand-name span {
            color: var(--accent);
            display: block;
        }

        .auth-brand-tag {
            font-family: var(--font-display);
            font-size: 0.65rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--text-dim);
            margin-top: 12px;
        }

        .auth-panel-quote {
            position: relative;
            z-index: 2;
        }

        .auth-panel-quote blockquote {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: clamp(0.9rem, 1.4vw, 1.05rem);
            color: var(--text-dim);
            line-height: 1.7;
            border-left: 2px solid var(--accent);
            padding-left: 20px;
        }

        .auth-panel-quote cite {
            display: block;
            margin-top: 12px;
            font-family: var(--font-display);
            font-size: 0.7rem;
            font-style: normal;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--accent);
        }

        /* Right panel — form */
        .auth-panel-right {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 56px clamp(32px, 6vw, 80px);
            overflow-y: auto;
        }

        /* Tab switcher */
        .auth-tabs {
            display: flex;
            gap: 0;
            border-bottom: 1px solid var(--border);
            margin-bottom: 40px;
        }

        .auth-tab {
            background: none;
            border: none;
            color: var(--text-muted);
            font-family: var(--font-sans);
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            padding: 0 0 16px;
            margin-right: 36px;
            cursor: pointer;
            position: relative;
            transition: color 0.3s ease;
        }

        .auth-tab::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--accent);
            transform: scaleX(0);
            transition: transform 0.35s var(--ease-expo);
        }

        .auth-tab.active {
            color: var(--warm-white);
        }

        .auth-tab.active::after {
            transform: scaleX(1);
        }

        /* Form heading */
        .auth-heading {
            font-family: var(--font-display);
            font-size: clamp(1.6rem, 3vw, 2.4rem);
            font-weight: 700;
            color: var(--warm-white);
            line-height: 1.1;
            margin-bottom: 8px;
        }

        .auth-subheading {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 0.88rem;
            color: var(--text-dim);
            margin-bottom: 36px;
        }

        /* Form */
        .auth-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-row {
            display: flex;
            gap: 16px;
        }

        .form-row .field {
            flex: 1;
        }

        .field {
            display: flex;
            flex-direction: column;
            gap: 7px;
        }

        .field label {
            font-family: var(--font-sans);
            font-size: 0.68rem;
            font-weight: 500;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--text-dim);
        }

        .field input,
        .field select,
        .field textarea {
            background: var(--charcoal);
            border: 1px solid var(--border);
            border-radius: 3px;
            color: var(--cream);
            font-family: var(--font-sans);
            font-size: 0.9rem;
            padding: 13px 16px;
            outline: none;
            transition: border-color 0.25s, background 0.25s;
            -webkit-appearance: none;
        }

        .field select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 40px;
            cursor: pointer;
        }

        .field select option {
            background: var(--charcoal);
        }

        .field input:focus,
        .field select:focus {
            border-color: var(--accent);
            background: var(--mid);
        }

        .field input::placeholder {
            color: var(--text-muted);
        }

        /* Checkbox row */
        .check-row {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 4px;
        }

        .check-row input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            width: 17px;
            height: 17px;
            border: 1px solid var(--border);
            border-radius: 2px;
            background: var(--charcoal);
            cursor: pointer;
            flex-shrink: 0;
            margin-top: 2px;
            position: relative;
            transition: border-color 0.2s, background 0.2s;
        }

        .check-row input[type="checkbox"]:checked {
            background: var(--accent);
            border-color: var(--accent);
        }

        .check-row input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 5px;
            width: 5px;
            height: 9px;
            border: 2px solid var(--dark);
            border-top: none;
            border-left: none;
            transform: rotate(45deg);
        }

        .check-row label {
            font-family: var(--font-sans);
            font-size: 0.82rem;
            color: var(--text-dim);
            cursor: pointer;
            line-height: 1.5;
        }

        .check-row label a {
            color: var(--accent);
            text-decoration: none;
        }

        /* Submit button */
        .btn-primary {
            background: #d4b880;
            border: 1px solid #d4b880;
            border-radius: 3px;
            color: #ffffff;
            font-family: var(--font-sans);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            padding: 17px 32px;
            cursor: pointer;
            transition: background 0.25s, transform 0.2s var(--ease-back), box-shadow 0.25s;
            margin-top: 8px;
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .btn-primary:hover {
            background: #d4b880;
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(200, 169, 110, 0.25);
        }

        .btn-primary:hover::before {
            opacity: 1;
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        /* Divider */
        .form-divider {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 0.7rem;
            color: var(--text-muted);
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .form-divider::before,
        .form-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        /* Success message */
        .success-msg {
            display: none;
            background: rgba(39, 174, 96, 0.1);
            border: 1px solid rgba(39, 174, 96, 0.3);
            border-radius: 3px;
            padding: 16px 20px;
            font-size: 0.85rem;
            color: #6fcf97;
            line-height: 1.5;
        }

        .success-msg.show {
            display: block;
        }

        /* Error */
        .error-msg {
            display: none;
            background: rgba(192, 57, 43, 0.1);
            border: 1px solid rgba(192, 57, 43, 0.3);
            border-radius: 3px;
            padding: 12px 16px;
            font-size: 0.82rem;
            color: #e07c7c;
        }

        .error-msg.show {
            display: block;
        }

        /* Password strength */
        .pw-strength {
            display: flex;
            gap: 4px;
            margin-top: 4px;
        }

        .pw-bar {
            flex: 1;
            height: 2px;
            border-radius: 2px;
            background: var(--border);
            transition: background 0.3s;
        }

        .pw-bar.weak {
            background: var(--red);
        }

        .pw-bar.medium {
            background: var(--accent-dim);
        }

        .pw-bar.strong {
            background: var(--success);
        }

        /* Forgot password */
        .forgot-link {
            font-family: var(--font-sans);
            font-size: 0.75rem;
            color: var(--accent);
            text-decoration: none;
            text-align: right;
            display: block;
            margin-top: -10px;
            transition: opacity 0.2s;
        }

        .forgot-link:hover {
            opacity: 0.7;
        }

        /* Phone field with flag */
        .phone-wrap {
            display: flex;
            border: 1px solid var(--border);
            border-radius: 3px;
            background: var(--charcoal);
            overflow: hidden;
            transition: border-color 0.25s;
        }

        .phone-wrap:focus-within {
            border-color: var(--accent);
        }

        .phone-code {
            background: var(--mid);
            border: none;
            border-right: 1px solid var(--border);
            color: var(--cream);
            font-family: var(--font-sans);
            font-size: 0.88rem;
            padding: 13px 14px;
            outline: none;
            cursor: pointer;
            min-width: 80px;
        }

        .phone-input {
            flex: 1;
            border: none !important;
            background: transparent !important;
            outline: none;
            padding: 13px 16px;
            color: var(--cream);
            font-family: var(--font-sans);
            font-size: 0.9rem;
        }

        /* ─── RESPONSIVE ────────────────────────────────────────────── */
        @media (max-width: 768px) {
            .auth-panel-left {
                display: none;
            }

            .auth-panel-right {
                padding: 40px 28px;
            }

            .form-row {
                flex-direction: column;
            }

            body {
                overflow-y: auto;
            }

            #screen-auth {
                position: relative;
                min-height: 100dvh;
            }
        }

        /* ─── LOADING SPINNER ───────────────────────────────────────── */
        .spinner {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(0, 0, 0, 0.2);
            border-top-color: var(--dark);
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }

        .btn-primary.loading .spinner {
            display: block;
        }

        .btn-primary.loading {
            pointer-events: none;
        }

        @keyframes spin {
            to {
                transform: translateY(-50%) rotate(360deg);
            }
        }

        /* ─── SCROLL BAR ────────────────────────────────────────────── */
        ::-webkit-scrollbar {
            width: 4px;
        }

        ::-webkit-scrollbar-track {
            background: var(--dark);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 2px;
        }

        /* ─── NOTIFICATION BANNER ───────────────────────────────────── */
        .notif {
            position: fixed;
            top: 32px;
            left: 50%;
            transform: translateX(-50%) translateY(-120px);
            background: var(--charcoal);
            border: 1px solid var(--accent);
            border-radius: 4px;
            padding: 14px 28px;
            font-family: var(--font-sans);
            font-size: 0.82rem;
            color: var(--cream);
            z-index: 999;
            white-space: nowrap;
            transition: transform 0.5s var(--ease-expo);
            pointer-events: none;
        }

        .notif.show {
            transform: translateX(-50%) translateY(0);
        }

        /* ─── SECTION FADE ENTRIES ──────────────────────────────────── */
        .fade-enter {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
        }

        .fade-enter.visible {
            opacity: 1;
            transform: translateY(0);
        }

/* Text Logo Styles */
.logo-main-text {
    font-family: var(--font-display);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    letter-spacing: -0.02em;
    user-select: none;
}
.logo-beyond {
    color: var(--warm-white);
    font-weight: 500;
}
.logo-bridge {
    color: #b71c1c;
    font-weight: 700;
}
.logo-dot {
    color: #b71c1c;
}


/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
.mobile-menu-links a {
    color: var(--cream);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 2.5rem;
    transition: color 0.3s;
}
.mobile-menu-links a:hover {
    color: var(--accent);
}
@media (max-width: 900px) {
    .nav-desktop-links {
        display: none !important;
    }
}


/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    min-width: 180px;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px 0;
    z-index: 101;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-content a {
    color: var(--text-dim) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.75rem;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    border: none !important;
}
.nav-dropdown-content a:hover {
    background-color: var(--border);
    color: var(--cream) !important;
}
.nav-dropdown:hover .nav-dropbtn {
    color: var(--cream) !important;
}


/* Landing Logo Animation */
.landing-logo {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.9s var(--ease-expo) 0.75s forwards;
}
.landing-exiting .landing-logo {
    animation: fadeExitUp 0.75s var(--ease-expo) forwards !important;
    animation-delay: 0.075s !important;
}

/* Scroll Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
    will-change: opacity, transform;
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Text Reveal */
.stagger-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
    will-change: opacity, transform;
}
.reveal-stagger.visible .stagger-word,
.visible .stagger-word {
    opacity: 1;
    transform: translateY(0);
}

.marquee-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-bottom: 16px;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}
.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    min-width: 100%;
}
.marquee-track > .card {
    flex-shrink: 0;
    width: clamp(280px, 28vw, 360px);
    min-width: clamp(280px, 28vw, 360px);
    max-width: clamp(280px, 28vw, 360px);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    scroll-snap-align: start;
}
.marquee-wrapper {
    scroll-snap-type: x proximity;
}
.marquee-wrapper::-webkit-scrollbar {
    height: 12px;
}
.marquee-wrapper::-webkit-scrollbar-track {
    background: var(--off-black);
    border-radius: 999px;
}
.marquee-wrapper::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
    border: 3px solid var(--off-black);
}


/* ─── NEW FRONTEND FIXES ─────────────────────────────────────────── */

/* FIX 1 — Footer Background & Font Colour */
footer, .site-footer {
  background: #0a1628 !important;   /* deep navy / dark blue */
  color: #ffffff !important;
}

/* Also update all child elements inside footer to white */
footer a, .site-footer a {
  color: #ffffff !important;
  opacity: 0.8 !important;
}
footer a:hover, .site-footer a:hover {
  opacity: 1 !important;
  color: #ffffff !important;
}
footer p, footer span, footer li, footer h3, footer h4,
.site-footer p, .site-footer span, .site-footer li {
  color: #ffffff !important;
}
/* Footer top border: keep gold line but update */
footer::before, .site-footer::before {
  background: linear-gradient(90deg, transparent, #c8a96e 20%, #c8a96e 80%, transparent) !important;
}

/* FIX 2 — Pricing Free Class */
.price-free {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #27ae60;  /* green for free */
}

/* FIX 3 — CTA Button Colours (Hero section) */
/* Primary CTA button — Book a Free Discovery Call */
.btn-primary, .cta-primary, [class*="btn-book"], [class*="btn-cta-primary"] {
  background-color: #1a3a6b !important;   /* deep navy blue */
  color: #ffffff !important;
  border: 2px solid #1a3a6b !important;
}
.btn-primary:hover {
  background-color: #122952 !important;
  border-color: #122952 !important;
  color: #ffffff !important;
}

/* Secondary CTA — Explore MBA Pathways */
.btn-secondary, .cta-secondary, [class*="btn-explore"], [class*="btn-ghost"] {
  background-color: #7b1d1d !important;   /* maroon */
  color: #ffffff !important;
  border: 2px solid #7b1d1d !important;
}
.btn-secondary:hover {
  background-color: #5e1515 !important;
  border-color: #5e1515 !important;
  color: #ffffff !important;
}

/* FIX 5 — FULL MOBILE RESPONSIVENESS (iPhone & Android) */
/* ─── MOBILE BASE RESET ──────────────────────── */
* {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ─── TYPOGRAPHY SCALING ─────────────────────── */
/* Use clamp() on ALL heading sizes — never fixed px on headings */
h1 { font-size: clamp(2rem, 8vw, 6rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 5vw, 3.5rem); line-height: 1.1; }
h3 { font-size: clamp(1.2rem, 3.5vw, 2rem); }
p, li { font-size: clamp(0.9rem, 2.5vw, 1rem); line-height: 1.65; }

/* ─── NAVIGATION ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .desktop-nav, .nav-desktop-links { display: none !important; }
  .hamburger { display: flex !important; }

  /* Full-screen overlay nav */
  .mobile-nav {
    position: fixed; inset: 0; z-index: 9999;
    background: #0a1628;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.19,1,0.22,1);
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .mobile-nav .close-btn {
    position: absolute; top: 24px; right: 24px;
    font-size: 2rem; color: #ffffff; background: none; border: none; cursor: pointer;
  }
}

/* ─── HERO SECTION ───────────────────────────── */
@media (max-width: 768px) {
  .hero-section, section.hero {
    padding: 100px 24px 60px;
    text-align: center;
    min-height: auto;
  }
  .hero-buttons, .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .hero-buttons a, .hero-buttons button,
  .cta-group a, .cta-group button {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 16px 24px;
  }
  .trust-strip {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ─── TWO-COLUMN LAYOUTS → SINGLE COLUMN ─────── */
@media (max-width: 768px) {
  .two-col, .split-layout, .auth-panels,
  [class*="grid-2"], [class*="col-2"],
  .about-grid, .services-grid, .hero-inner {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }
  /* Auth page: hide left branding panel on mobile */
  .auth-panel-left { display: none !important; }
  .auth-panel-right { padding: 40px 20px !important; width: 100% !important; }
}

/* ─── PRICING CARDS ──────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
  .pricing-card { padding: 28px 20px !important; }
}

/* ─── FORMS ──────────────────────────────────── */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column !important;
    gap: 16px !important;
  }
  form input, form select, form textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    padding: 14px 16px;
  }
}

/* ─── DASHBOARD ──────────────────────────────── */
@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column !important;
  }
  .dashboard-sidebar {
    width: 100% !important;
    flex-direction: row !important;
    overflow-x: auto;
    padding: 12px !important;
    gap: 8px;
  }
  .dashboard-sidebar a {
    white-space: nowrap;
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
  }
}

/* ─── SECTIONS GENERAL ───────────────────────── */
@media (max-width: 768px) {
  section { padding: 60px 20px !important; }
  .section-inner, .container { padding: 0 !important; }

  /* Kill any horizontal overflow */
  body, html { overflow-x: hidden; max-width: 100vw; }

  /* Tables on mobile */
  table { display: block; overflow-x: auto; }

  /* Process timeline — stack vertically */
  .timeline-step {
    flex-direction: column !important;
    gap: 12px;
  }
  .timeline-number {
    font-size: 3rem !important;
  }

  /* Service cards — full width */
  .service-cards, .cards-row {
    flex-direction: column !important;
    overflow-x: visible !important;
  }
  .service-card { width: 100% !important; min-width: unset !important; }

  /* Landing page */
  #screen-landing .company-name {
    font-size: clamp(2.8rem, 14vw, 5rem) !important;
  }

  /* Footer */
  footer .footer-grid, footer .footer-inner {
    flex-direction: column !important;
    gap: 32px;
    text-align: center;
  }
  footer .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* ─── SAFE AREA (iPhone notch) ───────────────── */
@supports (padding: max(0px)) {
  .sticky-nav, nav, header {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .sticky-cta {
    bottom: max(20px, env(safe-area-inset-bottom));
  }
}
