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

:root {
    --bg: #0a0a0a;
    --bg-elevated: #111111;
    --bg-card: #161616;
    --text: #e8e4df;
    --text-muted: #8a8580;
    --accent: #c4a882;
    --accent-dim: #8a7560;
    --border: rgba(255,255,255,0.06);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-logo: 'Zen Antique', Georgia, serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(20px, 4vw, 60px);
    transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.nav.scrolled {
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    transition: transform 0.4s var(--ease);
    border-radius: 4px;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.nav-links a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Language Switcher */
.lang-switch {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s var(--ease);
    flex-shrink: 0;
}

.lang-switch:hover {
    border-color: var(--accent-dim);
    transform: scale(1.1);
}

.lang-flag { font-size: 1.15rem; line-height: 1; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrap { position: absolute; inset: 0; }

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.3) 0%,
        rgba(10,10,10,0.55) 50%,
        rgba(10,10,10,0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 7vw, 5.5rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 0.95;
    margin-bottom: 2rem;
    white-space: nowrap;
}

.hero-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--accent-dim);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    transition: all 0.4s var(--ease);
}

.hero-btn:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: clamp(80px, 12vw, 140px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(50px, 8vw, 80px);
}

.section-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.section-quote {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   FEATURED BLOCK (Masks)
   ============================================ */
.featured-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: start;
    margin-bottom: clamp(60px, 8vw, 100px);
}

.featured-media {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.featured-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}

.featured-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.featured-info p:last-child {
    color: var(--text);
    font-weight: 400;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2vw, 25px);
}

.product-card {
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out);
}

.product-card:hover { transform: translateY(-5px); }

.product-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out), filter 0.7s;
    filter: brightness(0.9);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
    filter: brightness(1);
}

.product-info { padding: 20px; }

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.product-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   VIDEO DIVIDER
   ============================================ */
.video-divider {
    position: relative;
    height: 50vh;
    min-height: 350px;
    overflow: hidden;
}

.video-divider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-divider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.55);
}

.video-divider-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-divider-text span {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.1em;
}

/* ============================================
   PROTOTYPES SECTION
   ============================================ */
.proto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.5vw, 20px);
    margin-bottom: clamp(40px, 6vw, 60px);
}

.proto-item {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
}

.proto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.proto-item:hover img { transform: scale(1.03); }

.proto-text {
    max-width: 800px;
    margin: 0 auto;
}

.proto-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================
   LAB SECTION
   ============================================ */
.lab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.lab-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.lab-text p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.lab-text h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.lab-text strong {
    color: var(--accent);
    font-weight: 500;
}

.lab-closing {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text) !important;
    font-style: italic;
}

.lab-img-stack {
    position: relative;
    min-height: 650px;
}

.lab-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 50%;
    object-fit: cover;
    border-radius: 4px;
}

.lab-img-2 {
    position: absolute;
    top: 35%;
    right: 0;
    width: 65%;
    height: 40%;
    object-fit: cover;
    border-radius: 4px;
    border: 4px solid var(--bg);
}

.lab-img-3 {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 55%;
    height: 35%;
    object-fit: cover;
    border-radius: 4px;
    border: 4px solid var(--bg);
}

/* ============================================
   MASONRY GALLERY
   ============================================ */
.masonry-grid {
    columns: 3;
    column-gap: clamp(10px, 1.5vw, 20px);
    margin-bottom: clamp(30px, 4vw, 50px);
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: clamp(10px, 1.5vw, 20px);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--ease-out), filter 0.6s;
    filter: brightness(0.85);
}

.masonry-item:hover img {
    transform: scale(1.03);
    filter: brightness(1);
}

/* Video rows */
.video-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.5vw, 20px);
    margin-bottom: clamp(15px, 2vw, 25px);
}

.video-row:last-child { grid-template-columns: repeat(2, 1fr); }

.video-card {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 9/16;
    max-height: 500px;
}

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

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-info .section-title { text-align: left; }

.contact-info > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.contact-link {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

.contact-link:hover { border-color: var(--accent-dim); }

.contact-link-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.contact-link-value { font-size: 1rem; }

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent-dim); }

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-btn {
    align-self: flex-start;
    padding: 14px 40px;
    background: transparent;
    border: 1px solid var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.form-btn:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* Form feedback */
.form-feedback {
    margin-top: 1rem;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    border-radius: 4px;
    transition: all 0.4s var(--ease);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.form-feedback.show {
    padding: 16px 20px;
    max-height: 200px;
    opacity: 1;
}

.form-feedback.success {
    background: rgba(196, 168, 130, 0.1);
    border: 1px solid var(--accent-dim);
    color: var(--accent);
}

.form-feedback.error {
    background: rgba(200, 60, 60, 0.1);
    border: 1px solid rgba(200, 60, 60, 0.4);
    color: #e06060;
}

/* Invalid input highlight */
.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #e06060;
}

.form-group .field-error {
    color: #e06060;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

.form-group .field-error.show {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo { display: flex; align-items: center; }

.footer-logo-img {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover { color: var(--accent); }

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox-img { transform: scale(1); }

/* ============================================
   FEEDBACK MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-out);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: var(--text);
}

.modal-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-btn {
    padding: 12px 36px;
    background: transparent;
    border: 1px solid var(--accent-dim);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border-radius: 4px;
}

.modal-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    z-index: 1001;
    width: 0%;
    transition: none;
}

/* ============================================
   REVEAL ANIMATIONS — DIRECTIONAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children — product cards */
.product-grid .reveal:nth-child(1) { transition-delay: 0s; }
.product-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.product-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.product-grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.product-grid .reveal:nth-child(5) { transition-delay: 0.22s; }
.product-grid .reveal:nth-child(6) { transition-delay: 0.34s; }

/* Staggered — proto items */
.proto-grid .reveal:nth-child(1) { transition-delay: 0s; }
.proto-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.proto-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.proto-grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.proto-grid .reveal:nth-child(5) { transition-delay: 0.22s; }

/* Staggered — masonry */
.masonry-grid .reveal:nth-child(2n) { transition-delay: 0.1s; }
.masonry-grid .reveal:nth-child(3n) { transition-delay: 0.18s; }

/* Parallax images — subtle float */
.parallax-img {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Parallax hero */
.hero-content [data-parallax] {
    will-change: transform;
}

.hero-video {
    will-change: transform, opacity;
}

/* Smooth section transitions */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Active nav link */
.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .proto-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        padding: 100px 40px;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
    }

    .nav-links.open { transform: translateX(0); }
    .nav-toggle { display: flex; }

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

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

    .lab-layout { grid-template-columns: 1fr; }
    .lab-img-stack { min-height: 450px; }

    .masonry-grid { columns: 2; }

    .video-row { grid-template-columns: 1fr; }
    .video-row:last-child { grid-template-columns: 1fr; }

    .contact-layout { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .proto-grid { grid-template-columns: 1fr; }
    .masonry-grid { columns: 1; }
    .lab-img-stack { min-height: 350px; }
}
