/* ========================================
   CSS Variables
   ======================================== */
:root {
    --bg: #0f1724;
    --surface: #0b1220;
    --card: #0f1728;
    --muted: #9aa4b2;
    --accent-1: #ff7aa2;
    --accent-2: #6b8cff;
    --glass: rgba(255,255,255,0.04);
    --text: #e6eefc;
    --marquee-duration: 20s;

    /* Neon palette (RGB components) */
    --neon-1-rgb: 107,140,255;
    --neon-2-rgb: 255,122,162;
    --neon-3-rgb: 0,255,220;
    --neon-4-rgb: 160,255,120;
}

/* ========================================
   Animations & Transitions
   ======================================== */

/* Fade in animation for scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section, .skill-category {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
    animation-play-state: paused;
}

.fade-in-visible {
    animation-play-state: running !important;
}

/* Stagger animation for multiple elements */
.skill-category:nth-child(1) { animation-delay: 0.2s; }
.skill-category:nth-child(2) { animation-delay: 0.4s; }
.skill-category:nth-child(3) { animation-delay: 0.6s; }
.skill-category:nth-child(4) { animation-delay: 0.2s; }
.skill-category:nth-child(5) { animation-delay: 0.4s; }
.skill-category:nth-child(6) { animation-delay: 0.6s; }

/* Section stagger */
section:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.4s; }
section:nth-of-type(5) { animation-delay: 0.5s; }
* {
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    background: linear-gradient(180deg, var(--bg) 0%, #06070a 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Animated particle background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(107, 140, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255, 122, 162, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 220, 0.4) 0.5px, transparent 0.5px),
        radial-gradient(circle at 80% 10%, rgba(160, 255, 120, 0.5) 1px, transparent 1px);
    background-size: 300px 300px;
    background-repeat: repeat;
    background-position: 0 0;
    animation: particles-move 30s ease-in-out infinite;
    animation-play-state: paused;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
}

body.loaded::before {
    animation-play-state: running;
}

@keyframes particles-move {
    0% { background-position: 0 0; }
    50% { background-position: 50px 50px; }
    100% { background-position: 0 0; }
}


/* ========================================
   Layout
   ======================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

main, .site-header, .site-footer {
    position: relative;
    z-index: 20;
}

/* ========================================
   Header
   ======================================== */
.site-header {
    background: rgba(11,18,32,0.36);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .24s ease, box-shadow .24s ease;
}

.site-header.scrolled {
    background: linear-gradient(180deg, rgba(11,18,32,0.6), rgba(11,18,32,0.55));
    box-shadow: 0 6px 20px rgba(2,6,23,0.45);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.site-title {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 700;
    color: var(--text);
    transition: all 0.3s ease;
}

.site-title:hover {
    text-shadow: 0 0 10px rgba(255, 122, 162, 0.4);
}

/* ========================================
   Navigation
   ======================================== */
.main-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 0;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Nav toggle (hamburger) */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--text);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle .hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: background 0.2s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease;
}

.nav-toggle .hamburger::before {
    top: -6px;
}

.nav-toggle .hamburger::after {
    top: 6px;
}

/* Mobile nav overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(2,6,23,0.92), rgba(2,6,23,0.96));
    z-index: 120;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mobile-open .mobile-nav {
    display: flex;
    opacity: 1;
}

.mobile-nav .main-nav {
    flex-direction: column;
    gap: 18px;
}

.mobile-nav .main-nav a {
    font-size: 1.25rem;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mobile-nav .main-nav a:hover {
    color: var(--accent-1);
    transform: translateX(8px);
}

.mobile-nav .close-area {
    position: absolute;
    inset: 0;
}

.mobile-open .nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-open .nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-open .nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 64px 0 22px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px;
    align-items: center;
}
.lead {
    font-size: 1.125rem;
    margin: 0 0 30px;
}
.hero .lead {
    max-width: 50ch;
    color: var(--muted);
    line-height: 1.6;
}

.eyebrow {
    color: var(--accent-1);
    font-weight: 600;
    margin: 0 0 6px;
}

.typewriter {
    font-size: 2.25rem;
    margin: 6px 0 12px;
    line-height: 1.02;
    min-height: 3.3em;
    display: inline-block;
}

/* Typed words */
#text {
  color: #ff7aa2; /* green */
}

/* Cursor */
.cursor {
  display: inline-block;
  color: #6fffa9; /* optional: match text */
  animation: blink 0.8s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-title {
    font-size: 2.25rem;
    margin: 6px 0 12px;
    line-height: 1.02;
    min-height: 3.3em;
    display: inline-block;
}

/* Typing animation - IMPROVED CURSOR */
.hero-title.typing {
    position: relative;
    padding-right: 4px;
}

.hero-title.typing::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 2px;
    height: 1em;
    background: var(--accent-1);
    animation: typing-cursor 0.6s step-end infinite;
}

@keyframes typing-cursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-illustration .device-mockup {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(3,7,18,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.hero-illustration img {
    width: 100%;
    height: auto;
    max-width: 360px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.hero-cta {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Social badges */
.hero-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.social-badge:hover {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-color: var(--accent-1);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 122, 162, 0.3);
}

.social-badge svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================================
   Buttons
   ======================================== */
.cta {
    display: inline-block;
    margin-right: 12px;
    padding: 10px 18px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,122,162,0.4);
}

.btn-link {
    display: inline-block;
    padding: 10px 16px;
    background: transparent;
    color: var(--text);
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.btn-link:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #fff;
    border: none;
}

/* ========================================
   Sections
   ======================================== */
.about, .projects, .contact, .experience {
    background: transparent;
    padding: 64px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* ========================================
   Projects Grid & Cards
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .26s cubic-bezier(.2,.9,.2,1), box-shadow .26s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6), inset 0 0 14px rgba(255,255,255,0.02);
    opacity: 1;
}

.hero .lead {
    max-width: 50ch;
    color: var(--muted);
    line-height: 1.6;
}

/* Neon glow effect */
.card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
    filter: blur(18px);
    background: linear-gradient(90deg, rgba(var(--neon-1-rgb),0.28), rgba(var(--neon-2-rgb),0.20));
    transition: opacity .24s ease, transform .24s ease;
}

/* Animated neon border */
.card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 2px;
    z-index: 2;
    pointer-events: none;
    background: conic-gradient(
        from 0deg,
        rgba(var(--neon-1-rgb),1),
        rgba(var(--neon-2-rgb),1),
        rgba(var(--neon-3-rgb),1),
        rgba(var(--neon-4-rgb),1),
        rgba(var(--neon-1-rgb),1)
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transform-origin: 50% 50%;
    animation: neon-rotate 8s linear infinite;
}

.card > * {
    position: relative;
    z-index: 3;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 40px rgba(255,255,255,0.02), 0 0 40px rgba(255, 122, 162, 0.25);
}

.card:hover::before {
    opacity: 1;
    filter: blur(20px);
    transform: scale(1.03);
}

@keyframes neon-rotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes neon-pulse {
    0% { filter: blur(16px); opacity: 0.9; }
    50% { filter: blur(22px); opacity: 1; }
    100% { filter: blur(16px); opacity: 0.9; }
}

.card.pulse::before {
    animation: neon-pulse 3.8s ease-in-out infinite;
}

/* Color variants for cards */
.projects-grid .card:nth-child(3n+1)::before {
    background: linear-gradient(90deg, rgba(var(--neon-1-rgb),0.18), rgba(var(--neon-3-rgb),0.12));
}

.projects-grid .card:nth-child(3n+2)::before {
    background: linear-gradient(90deg, rgba(var(--neon-2-rgb),0.18), rgba(var(--neon-4-rgb),0.12));
}

.projects-grid .card:nth-child(3n+3)::before {
    background: linear-gradient(90deg, rgba(var(--neon-3-rgb),0.18), rgba(var(--neon-1-rgb),0.12));
}

/* Card content */
.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}

.card-desc {
    flex: 1;
    color: var(--muted);
    margin: 0 0 12px;
    line-height: 1.5;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    font-size: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--muted);
    padding: 6px 8px;
    border-radius: 999px;
}

.card-links {
    display: flex;
    gap: 10px;
}

.card-links .btn-link {
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* Card entrance animation */
.card[data-visible='false'] {
    opacity: 0;
    transform: translateY(14px);
}

.card[data-visible='true'] {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .5s cubic-bezier(.2,.9,.2,1);
}

/* ========================================
   Skills & Experience
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 12px;
}

.skill-category {
    background: var(--glass);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03);
    border-left: 3px solid var(--accent-2);
    transition: transform 0.2s ease, background 0.2s ease, border-left-color 0.2s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.06);
    border-left-color: var(--accent-1);
}

.skill-category:nth-child(2) {
    border-left-color: var(--accent-1);
}

.skill-category:nth-child(3) {
    border-left-color: rgba(0, 255, 220, 0.8);
}

.skill-category:nth-child(4) {
    border-left-color: rgba(160, 255, 120, 0.8);
}

.skill-category:nth-child(5) {
    border-left-color: var(--accent-1);
}

.skill-category:nth-child(6) {
    border-left-color: var(--accent-2);
}

.skill-category h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--accent-2);
}

.skill-category p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

/* ========================================
   Job Listings
   ======================================== */
.accomplishments {
    margin-top: 20px;
}

.job {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

.job:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.job h4 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.job-meta {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.job ul {
    margin: 0 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

/* ========================================
   Marquee Carousel
   ======================================== */
.accomp-marquee {
    overflow: hidden;
    padding: 8px 0;
    margin-bottom: 20px;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200%;
    animation: marquee-scroll linear infinite;
    animation-duration: var(--marquee-duration, 20s);
}

.marquee-item {
    flex: 0 0 auto;
}

.marquee-item .accomp-img {
    max-width: 260px;
    border-radius: 8px;
    display: block;
    transition: transform 0.2s ease;
}

.marquee-item .accomp-img:hover {
    transform: scale(1.05);
}

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

.accomp-marquee:hover .marquee-track,
.accomp-marquee:focus-within .marquee-track {
    animation-play-state: paused;
}

/* JS Carousel (mobile fallback) */
.carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.carousel-track {
    display: flex;
    transition: transform .52s cubic-bezier(.22,.9,.3,1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.carousel-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 0;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background 0.2s ease;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0,0,0,0.7);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.carousel-dots button.active {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

/* Accomplishment images */
.accomp-img {
    max-width: 140px;
    height: auto;
    display: block;
    margin: 6px 0 10px;
    border-radius: 8px;
    object-fit: cover;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: transparent;
    color: var(--muted);
    padding: 28px 0;
    margin-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-inner p {
    margin: 0;
}

.social {
    display: flex;
    gap: 16px;
}

.social a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.social a:hover {
    color: var(--text);
}

/* ========================================
   Accessibility
   ======================================== */
a:focus,
.btn-link:focus,
.cta:focus,
button:focus {
    outline: 3px solid rgba(107,140,255,0.22);
    outline-offset: 4px;
    border-radius: 8px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .card,
    .card::before,
    .card::after,
    .cta,
    .btn-link,
    * {
        animation: none !important;
        transition: none !important;
    }

    .card:hover {
        transform: none;
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr 340px;
    }

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

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

    .marquee-item .accomp-img {
        max-width: 160px;
    }
}

@media (max-width: 780px) {
    /* Slow down marquee on mobile */
    .accomp-marquee {
        --marquee-duration: 40s;
    }
}

@media (max-width: 640px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-illustration {
        order: -1;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .cta, .btn-link {
        width: 100%;
        text-align: center;
    }

    .hero-social {
        justify-content: center;
        margin-top: 24px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Show mobile nav toggle */
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .mobile-nav .main-nav {
        display: flex;
    }

    .accomp-img {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .card img {
        height: auto;
    }

    .hero-illustration img {
        max-width: 100%;
    }

    .container {
        padding: 16px;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-video {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(255, 122, 162, 0.15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-video {
        aspect-ratio: 16 / 9;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .site-header,
    .site-footer,
    .nav-toggle,
    .hero-illustration,
    .mobile-nav,
    .close-area {
        display: none !important;
    }

    body {
        background: #fff;
        color: #111;
    }

    .container {
        padding: 0;
        max-width: 760px;
        margin: 0 auto;
    }

    a[href]:after {
        content: '';
    }

    .card {
        break-inside: avoid;
    }
}