﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* ADDED: so mobile menu can be absolute relative to this */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* a bit more space so logos don't crowd */
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo span {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
    position: relative;
}

.nav-logo span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 50%, transparent 100%);
    opacity: 0.6;
}

.nav-logo i {
    font-size: 2rem;
}

.ssk-logo {
    /* increased size so SSK logo looks balanced with Torna */
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: saturate(0.9);
}

/* ensure Torna logo and SSK align nicely */
.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    width: 100%;
    height: 100%;
}

.hero-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 600px;
    max-height: 500px;
    animation: float 6s ease-in-out infinite;
}



/* Hero carousel */
.carousel { position: relative; overflow: hidden; max-width: 720px; margin: 0 auto; }
.carousel-track { display: flex; transition: transform 400ms ease; will-change: transform; }
.carousel-slide { min-width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.carousel-slide img.hero-graphic { width: 100%; height: auto; display: block; }

/* Controls */
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; padding: 8px 12px; cursor: pointer; z-index: 2; border-radius: 4px; }
.carousel-control.prev { left: 8px; }
.carousel-control.next { right: 8px; }

/* Indicators */
.carousel-indicators { position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; display: flex; gap: 8px; z-index: 2; }
.carousel-indicators button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.6); border: none; cursor: pointer; padding: 0; }
.carousel-indicators button.active { background: #fff; }

/* ensure hero carousel stacks on small screens */
@media (max-width: 900px) {
    .hero-carousel { max-width: 100%; height: 360px; }
    .hero-carousel .carousel-slide img { max-height: 260px; }
}
@media (max-width: 480px) {
    .hero-carousel { height: 300px; padding: 0.5rem; }
    .hero-carousel .carousel-slide img { max-height: 200px; }
    .hero-carousel .slide-caption { font-size: 0.8rem; padding: 0.25rem 0.5rem; }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    padding: 80px 0;
    background: #f9fafb;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.overview-card p {
    color: #6b7280;
    line-height: 1.6;
}

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

.workflow-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.workflow-arrow {
    color: #2563eb;
    font-size: 1.5rem;
}

.workflow-step p {
    font-weight: 500;
    color: #374151;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #2563eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f9fafb;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.benefit-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

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

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
}

.contact-item i {
    color: #2563eb;
    width: 20px;
}

.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.validation-message {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    min-height: 1.2rem;
    transition: all 0.3s ease;
}

.validation-message.error {
    color: #dc2626;
}

.validation-message.success {
    color: #059669;
}

.form-group input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input.success {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.captcha-group {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#captchaQuestion {
    font-weight: 600;
    color: #374151;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    min-width: 120px;
    text-align: center;
}

#captchaAnswer {
    width: 100px;
    text-align: center;
}

.refresh-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.infinity-icon {
    color: #007bff;
}
.aws-logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.refresh-btn:hover {
    background: #2563eb;
}

.refresh-btn i {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p,
.footer-section li {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-bottom a {
    color: #2563eb;
    text-decoration: none;
}

/* Branding and Screenshot Styles */
/* small branding under the logo */
.product-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.6rem;
    flex-direction: column;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1;
}

.ssk-logo {
    /* increased size so SSK logo looks balanced with Torna */
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: saturate(0.9);
}

.by-text {
    font-size: 0.75rem;
    color: #374151;
    white-space: nowrap;
}

/* screenshot styles and subtle animations */
.screenshot {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    display: block;
}

.screenshot:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* Integration diagram */
.integration {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}
.integration-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}
.integration-box {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 260px;
    min-height: 160px;
    justify-content: center;
    text-align: center;
}
.integration-logo {
    max-width: 140px;
    max-height: 64px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}
.integration-text {
    font-weight: 600;
    color: #374151;
}
.integration-connector {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.connector-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 600;
}
.conn-arrow {
    font-size: 2rem;
    color: #2563eb;
    background: rgba(37,99,235,0.08);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(37,99,235,0.08);
}
.conn-protocols {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.25rem;
}
.conn-protocols .proto {
    font-size: 0.85rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

/* Responsive */
@media (max-width: 900px) {
    .integration-diagram {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .integration-box { width: 100%; max-width: 420px; }
    .connector-line { flex-direction: row; gap: 1rem; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-grid,
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-diagram {
        flex-direction: column;
        gap: 2rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .ssk-logo { height: 24px; }
    .logo-image { height: 28px; }
}
.infinity-video {
    width: 70px; /* Adjust width as needed */
    height: 70px; /* Adjust height as needed */
    object-fit: cover; /* Ensures the video fills the container */
    border-radius: 50%; /* Optional: Make the video circular */
}
/* Mobile menu behaviour */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* hidden by default on mobile */
        flex-direction: column;
        gap: 0;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 0.25rem);
        background: rgba(255,255,255,0.98);
        padding: 0.75rem 1.25rem;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        box-shadow: 0 8px 22px rgba(15,23,42,0.08);
    }

    .nav-menu.open {
        display: flex; /* shown when JS toggles class */
    }

    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
        background: transparent;
        border: none;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        padding: 6px;
    }

    .nav-toggle:focus {
        outline: 2px solid rgba(37,99,235,0.25);
        border-radius: 6px;
    }
}

/* --- Global animation variables & subtle defaults --- */
:root{
    --ease-fast: cubic-bezier(.2,.9,.3,1);
    --ease-medium: cubic-bezier(.22,.9,.4,1);
    --accent: #2563eb;
    --shadow-lg: 0 24px 50px rgba(2,6,23,0.12);
}

/* Ensure anchored sections are offset below the fixed header */
:root {
    --nav-height: 84px; /* adjust if your navbar height changes (mobile/desktop) */
}

/* Native anchor navigation / scrollIntoView respect this padding */
html {
    scroll-padding-top: var(--nav-height);
}

/* More robust per-section fallback */
section[id] {
    /* moved up 2px relative to previous value */
    scroll-margin-top: calc(var(--nav-height) + 11px);
}

* { transition: background-color .25s var(--ease-fast), color .25s var(--ease-fast), opacity .25s var(--ease-fast); }

/* Smooth reveal animation */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-medium), transform .6s var(--ease-medium); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Floating hero animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* --- Gallery styles --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: stretch;
    margin-top: 1.5rem;
}
.gallery-thumb {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(2,6,23,0.06);
    transition: transform .35s var(--ease-medium), box-shadow .35s var(--ease-medium);
}
.gallery-thumb:focus { outline: 3px solid rgba(37,99,235,0.15); }
.gallery-thumb:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lightbox */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox.open { display: flex; opacity: 1; }

.lightbox-content {
    max-width: 1100px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.lightbox-caption {
    margin-top: .5rem;
    color: #e6eefc;
    text-align: center;
    font-size: 0.95rem;
}

/* Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    padding: .5rem .75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .18s var(--ease-fast), background .18s var(--ease-fast);
}
.lightbox-close { top: 1.25rem; right: 1.5rem; font-size: 1.6rem; line-height: 1; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-2px) scale(1.02); background: rgba(0,0,0,0.6); }

/* Responsive gallery */
@media (max-width: 1000px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .lightbox-prev, .lightbox-next { display: none; } /* use swipe or tap to close on small screens */
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
