/* ==========================================================================
   1. CSS VARIABLES (PREMIUM VIBRANT TECH THEME)
   ========================================================================== */
:root {
    /* Softer, warmer light mode — less glare */
    --bg-primary: #e9ebf3;
    --bg-secondary: rgba(237, 239, 247, 0.78);
    --bg-card: rgba(245, 246, 251, 0.78);
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent: #6366f1;
    --accent-gradient: #d946ef;
    --border-color: rgba(99, 102, 241, 0.18);
    --badge-bg: rgba(99, 102, 241, 0.1);
    --badge-text: #4f46e5;
    --shadow: 0 10px 30px -15px rgba(99, 102, 241, 0.18);
    --shadow-hover: 0 20px 40px -15px rgba(217, 70, 239, 0.3);
    --blob-opacity: 0.28;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Fluid scale tokens — scale up much more on wider screens */
    --container-max: 1600px;
    --container-pad: clamp(1rem, 4vw, 5rem);
    --section-pad-y: clamp(2.5rem, 6vw, 6rem);

    --fs-h1: clamp(2.25rem, 7vw, 7rem);
    --fs-h2: clamp(1.75rem, 4.5vw, 4rem);
    --fs-h3: clamp(1.05rem, 1.7vw, 1.65rem);
    --fs-subtitle: clamp(1.1rem, 2.6vw, 2.4rem);
    --fs-body: clamp(1rem, 1.35vw, 1.5rem);
    --fs-small: clamp(0.85rem, 1.05vw, 1.15rem);
}

body.dark-mode {
    --bg-primary: #070a13;
    --bg-secondary: rgba(15, 23, 42, 0.85);
    --bg-card: rgba(22, 32, 51, 0.65);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-gradient: #a855f7;
    --border-color: rgba(51, 65, 85, 0.6);
    --badge-bg: rgba(12, 74, 110, 0.6);
    --badge-text: #38bdf8;
    --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 20px 40px -15px rgba(56, 189, 248, 0.25);
    --blob-opacity: 0.18;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    transition: background-color .3s ease, color .3s ease;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-size: var(--fs-body);
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    z-index: -2;
    opacity: 0.9;
    pointer-events: none;
}

.glow-blob {
    position: fixed;
    width: clamp(320px, 45vw, 720px);
    height: clamp(320px, 45vw, 720px);
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, var(--accent-gradient) 100%);
    filter: blur(140px);
    opacity: var(--blob-opacity);
    z-index: -1;
    transition: opacity .4s ease;
    pointer-events: none;
    will-change: transform;
}
.blob-1 { top: -150px; right: -150px; }
.blob-2 { top: 45%; left: -200px; background: var(--accent-gradient); }
.blob-3 { bottom: 5%; right: -100px; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

section {
    padding-block: var(--section-pad-y);
    position: relative;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.section-title span {
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ==========================================================================
   3. NAVBAR
   ========================================================================== */
header {
    background-color: var(--bg-secondary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 75px;
    gap: 1rem;
    position: relative;
}

.logo {
    font-weight: 800;
    font-size: clamp(1.15rem, 1.4vw, 1.5rem);
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 2.2vw, 2.5rem);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color .25s ease;
    position: relative;
    padding: 0.25rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px; bottom: -4px; left: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.theme-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-family: inherit;
}
.theme-toggle-btn:hover {
    border-color: var(--accent-gradient);
    transform: translateY(-2px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px 9px;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span {
    display: block;
    height: 2px; width: 100%;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform .3s ease, opacity .25s ease;
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(2rem, 5vw, 5rem) clamp(1rem, 2vw, 2rem);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 1300px;
}

.hero-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(0.78rem, 0.9vw, 0.95rem);
    color: var(--accent);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: var(--badge-bg);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    width: fit-content;
}

.hero-title {
    font-size: var(--fs-h1);
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gradient) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: var(--fs-subtitle);
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.92;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
}
.caret {
    display: inline-block;
    color: var(--accent);
    animation: blink 1s steps(2) infinite;
    font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-description {
    font-size: var(--fs-body);
    color: var(--text-muted);
    max-width: 750px;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    padding: clamp(0.7rem, 1vw, 1rem) clamp(1.25rem, 2vw, 2rem);
    border-radius: 10px;
    font-weight: 700;
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(217, 70, 239, 0.45);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: var(--bg-secondary);
}
.btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Hero stats */
.hero-stats {
    margin-top: clamp(2rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.stat { display: flex; flex-direction: column; gap: 0.35rem; }
.stat-num {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
}
.stat-label { font-size: var(--fs-small); color: var(--text-muted); }

/* ==========================================================================
   5. SKILLS GRID
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}

.skill-category {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(1.25rem, 2vw, 2rem);
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 0;
}
.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gradient);
    box-shadow: var(--shadow-hover);
}

.skill-category h3 {
    font-size: var(--fs-h3);
    margin-bottom: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.skill-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem;
    background-color: rgba(99, 102, 241, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: clamp(0.85rem, 0.95vw, 1rem);
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
    min-width: 0;
}
.skill-badge i {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    flex-shrink: 0;
}

.skill-badge svg {
    width: 24px;
    height: 24px;
}

.skill-category:hover .skill-badge {
    border-color: rgba(217, 70, 239, 0.3);
    background-color: rgba(217, 70, 239, 0.03);
}

/* ==========================================================================
   6. CASE STUDIES
   ========================================================================== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.experience-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(1.5rem, 2.5vw, 2.75rem);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.experience-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--accent-gradient));
    opacity: 0;
    transition: opacity .3s ease;
}
.experience-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.experience-card:hover::before { opacity: 1; }

.card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 0.75rem 1rem;
}

.job-title {
    font-size: clamp(1.1rem, 1.6vw, 1.6rem);
    font-weight: 800;
    min-width: 0;
}

.company-dates {
    color: var(--accent-gradient);
    font-weight: 700;
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    background: rgba(217, 70, 239, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(217, 70, 239, 0.15);
    white-space: nowrap;
}
body.dark-mode .company-dates {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent);
    border-color: rgba(56, 189, 248, 0.2);
}

.experience-bullets {
    margin-left: 1.25rem;
    margin-bottom: 1.75rem;
    color: var(--text-muted);
}
.experience-bullets li { 
    margin-bottom: 0.6rem; 
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background-color: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: clamp(0.7rem, 0.78vw, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
body.dark-mode .tech-tag {
    background-color: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--accent);
}
.experience-card:hover .tech-tag {
    transform: scale(1.03);
    border-color: var(--accent-gradient);
    color: var(--accent-gradient);
}

/* ==========================================================================
   7. PROJECTS GRID
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2vw, 2rem);
}

.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(1.5rem, 2.5vw, 2.75rem);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    transition: var(--transition);
}
.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gradient);
    box-shadow: var(--shadow-hover);
}

.project-name {
    font-size: clamp(1.15rem, 1.5vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.project-desc {
    color: var(--text-muted);
    font-size: clamp(0.92rem, 1vw, 1.1rem);
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.8;
}

.project-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 30px;
    color: var(--accent);
    font-size: clamp(0.8rem, 0.9vw, 0.95rem);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}
.project-links a:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(217, 70, 239, 0.3);
}
/* ==========================================================================
   MODAL STRUCTURING & INTERACTION
   ========================================================================== */
.modal-toggle {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9); 
    backdrop-filter: blur(8px);       
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;                
}

.modal-toggle:checked ~ .modal {
    display: flex;
}


.modal-content {
    position: relative;
    width: min(900px, 92%);
    z-index: 10;
}


.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;            
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #000;
}


.close {
    position: absolute;
    top: -35px;
    right: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 26px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: #fff;
}

.overlay {
    position: fixed;
    inset: 0;
    cursor: pointer;
    z-index: -1;                  
}

/* ==========================================================================
   THUMBNAILS & PLAY BUTTONS
   ========================================================================== */
.video-thumbnail {
    position: relative;
    margin-bottom: 1.25rem;
    cursor: pointer;
    overflow: hidden;
    border-radius: 14px;
}

.video-thumbnail img {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.video-thumbnail:hover img {
    transform: scale(1.02);
    filter: brightness(0.85);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    background: var(--accent); 
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;         
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    pointer-events: none;     
}

.video-thumbnail:hover .play-button {
    background: var(--accent-gradient);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(217, 70, 239, 0.5);
}

/* ==========================================================================
   8. CONTACT
   ========================================================================== */
.contact-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 960px;
    margin-inline: auto;
}
.contact-card .section-title { text-align: center; }

.contact-text {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto 2rem auto;
    font-size: 1.5rem;
}

.contact-info-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: 100%;
    margin: 0 auto;
}
.contact-info-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.9rem 1.25rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    color: var(--accent);
    font-size: clamp(0.85rem, 0.95vw, 1rem);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    min-width: 0;
}
.contact-info-list a span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.contact-info-list a:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 70, 239, 0.3);
}

/* ==========================================================================
   9. FOOTER + BACK TO TOP
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding-block: 1.5rem;
    color: var(--text-muted);
    font-size: var(--fs-small);
    text-align: center;
}

.to-top {
    position: fixed;
    right: clamp(1rem, 2vw, 2rem);
    bottom: clamp(1rem, 2vw, 2rem);
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-gradient));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(217, 70, 239, 0.35);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 90;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ==========================================================================
   10. ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-secondary);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem var(--container-pad);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease, padding .35s ease;
    }
    .nav-links.open { max-height: 70vh; padding-block: 1.25rem 1.75rem; }
    .nav-links li { padding: 0.6rem 0; border-bottom: 1px solid var(--border-color); }
    .nav-links li:last-child { border-bottom: none; padding-top: 1rem; }
    .nav-links a { font-size: 1rem; }
    .theme-toggle-btn { width: 100%; }
}

@media (max-width: 560px) {
    .card-header { grid-template-columns: 1fr; }
    .company-dates { justify-self: start; }
    .hero { min-height: auto; padding-top: 2rem; }
    .cta-buttons .btn { width: 100%; text-align: center; }
}

@media (min-width: 768px) {
    .contact-info-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ultra-wide refinements */
@media (min-width: 1800px) {
    :root { --container-max: 1750px; }
}
@media (min-width: 2400px) {
    :root { --container-max: 2000px; }
}
