/* ===== RESET & BASE STYLES ===== */
/* Optimized font loading - only essential weights */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500&family=Cormorant+Garamond:wght@500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #3a3a3a;
    overflow-x: hidden;
    background: #fefcf8;
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    --nav-transition-progress: 0;
    background: rgba(254, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(58, 58, 58, 0.08);
    padding: 1rem 2rem;
    transition: none;
}

/* Dark nav state for lab section with smooth fade */
.main-nav.nav-dark {
    background: color-mix(in srgb,
        rgba(26, 26, 26, 0.95) calc(var(--nav-transition-progress) * 100%),
        rgba(254, 252, 248, 0.95)
    );
    border-bottom: 1px solid color-mix(in srgb,
        rgba(255, 255, 255, 0.1) calc(var(--nav-transition-progress) * 100%),
        rgba(58, 58, 58, 0.08)
    );
}

.main-nav.nav-dark .logo,
.main-nav.nav-dark .nav-link {
    color: color-mix(in srgb,
        #e8e8e8 calc(var(--nav-transition-progress) * 100%),
        #3a3a3a
    );
}

.main-nav.nav-dark .nav-link:hover {
    color: color-mix(in srgb,
        #ffffff calc(var(--nav-transition-progress) * 100%),
        #666
    );
}

.main-nav.nav-dark .mobile-menu-toggle span {
    background: color-mix(in srgb,
        #e8e8e8 calc(var(--nav-transition-progress) * 100%),
        #3a3a3a
    );
}

.main-nav.nav-dark .dropdown-menu {
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.main-nav.nav-dark .dropdown-item {
    color: #e8e8e8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav.nav-dark .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.main-nav.nav-dark .mobile-menu {
    background: rgba(26, 26, 26, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav.nav-dark .mobile-nav-link,
.main-nav.nav-dark .mobile-dropdown-toggle {
    color: #e8e8e8;
}

.main-nav.nav-dark .mobile-nav-link:hover,
.main-nav.nav-dark .mobile-dropdown-toggle:hover {
    color: #ffffff;
}

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

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

.logo {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #3a3a3a;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-tagline {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    color: #3a3a3a;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #666;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(254, 252, 248, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 58, 58, 0.1);
    border-radius: 4px;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: #3a3a3a;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid rgba(58, 58, 58, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(58, 58, 58, 0.05);
    color: #666;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #3a3a3a;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(254, 252, 248, 0.98);
    border-top: 1px solid rgba(58, 58, 58, 0.08);
    padding: 1rem 2rem;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    font-size: 1rem;
    color: #3a3a3a;
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #666;
}

.mobile-dropdown {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.mobile-dropdown-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 1.5rem 0.5rem 0;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
    font-size: 1rem;
    color: #3a3a3a;
    font-weight: 400;
    transition: color 0.2s ease;
}

.mobile-dropdown-toggle::after {
    content: '▼';
    position: absolute;
    right: 0;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    gap: 1rem;
    margin-top: 1rem;
}

.mobile-dropdown-content.active {
    display: flex;
}

.mobile-nav-sublink {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #3a3a3a;
    padding: 0.5rem 0;
    padding-left: 0.5rem;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    position: relative;
    min-height: 100vh;
    padding: 100px 2rem 60px;
    display: flex;
    flex-direction: column;
    /* Minimalist marble museum wall */
    background:
        linear-gradient(135deg,
            #fafafa 0%,
            #f5f5f5 25%,
            #fefefe 50%,
            #f8f8f8 75%,
            #fcfcfc 100%
        );
    overflow: visible;
}

/* Subtle marble veining effect */
.gallery-bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.4;
}

.gallery-bg-layer.layer-1 {
    background:
        linear-gradient(120deg, transparent 40%, rgba(220, 220, 220, 0.3) 45%, transparent 50%),
        linear-gradient(240deg, transparent 60%, rgba(210, 210, 210, 0.2) 65%, transparent 70%);
}

.gallery-bg-layer.layer-2 {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(200, 200, 200, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(190, 190, 190, 0.15) 0%, transparent 50%);
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-title {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #3a3a3a;
    margin-bottom: 0.5rem;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.gallery-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Artist Statement / About Section - Positioned after petri dishes */
.artist-statement {
    max-width: 800px;
    margin: 100px auto 0;
    display: flex;
    justify-content: center;
}

.plaque {
    /* Frosted glass card for lab section */
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
}

/* Glass highlight on top */
.plaque::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 100%
    );
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

/* Refined typography */
.plaque h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #f0f0f0;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.plaque p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #c8c8c8;
    margin-bottom: 0.75rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.plaque p:last-child {
    margin-bottom: 0;
}

/* Gallery Wall - Museum Paintings */
.gallery-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 280px));
    gap: 40px 60px;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.painting {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.painting:hover {
    transform: translateY(-8px);
}

/* Spotlight effect on each painting */
.painting::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.6) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Realistic Museum Frame */
.frame {
    position: relative;
    /* Shinier dark frame with metallic highlights */
    background: linear-gradient(145deg, #3a3a3a 0%, #1a1a1a 40%, #2a2a2a 60%, #3a3a3a 100%);
    padding: 12px;
    border-radius: 2px;
    /* Enhanced shadow for depth */
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* Frame beveled edge detail - shinier */
.frame::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    pointer-events: none;
}

/* Inner white mat */
.frame::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #fafafa;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
    pointer-events: none;
}

.canvas {
    aspect-ratio: 4/5;
    border-radius: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #fff;
    /* Canvas sits on top of mat with gap/depth */
    margin: 20px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Glass reflection effect - shinier */
.canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 40%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 10;
}

.canvas-content {
    text-align: center;
    z-index: 3;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 30px;
}

.product-icon-large {
    width: 350%;
    height: 350%;
    object-fit: cover;
    object-position: center 0%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transform: translateY(-260px);
}

.canvas h3 {
    display: none;
}

.canvas .status {
    display: none;
}

/* Individual Canvas Styles */
.parlor-canvas {
    background: linear-gradient(135deg, #e8d5ff 0%, #d0b3f0 100%);
}

.bambooreader-canvas {
    background: linear-gradient(135deg, #d4edda 0%, #b8dfc8 100%);
}

.lotus-canvas {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

/* Museum Plaque below each painting */
.painting-label {
    display: none;
}

/* Product info outside the frame */
.painting-info {
    text-align: center;
    margin-top: 1rem;
}

.product-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #2a2a2a;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.product-description {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 0.75rem;
    max-width: 280px;
}

.product-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #3a3a3a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 0.5rem;
}

.product-button:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

/* ===== GALLERY TO LAB TRANSITION ===== */
.gallery-to-lab-transition {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Seamless light to dark transition */
    background: linear-gradient(180deg,
        #fafafa 0%,
        #e8e8e8 15%,
        #d0d0d0 30%,
        #a8a8a8 45%,
        #707070 60%,
        #404040 75%,
        #252525 90%,
        #1a1a1a 100%
    );
}

/* Base gradient layer - pure grayscale transition */
.transition-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* Spotlight layers */
.spotlight-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Dimming gallery spotlights (warm white) */
.gallery-spots {
    z-index: 2;
    opacity: 1;
}

.gallery-spots.animate {
    animation: dim-gallery-lights 2s ease-out forwards;
    animation-delay: 0.5s;
}

.spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.spot-1 {
    top: -10%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
}

.spot-2 {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 240, 0.7) 0%, transparent 70%);
}

.spot-3 {
    top: -10%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
}

/* Emerging lab lights (cool blue/purple) */
.lab-lights {
    z-index: 3;
    opacity: 0;
}

.lab-lights.animate {
    animation: emerge-lab-lights 2s ease-in forwards;
    animation-delay: 1.5s;
}

.lab-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.lab-light-1 {
    bottom: -5%;
    left: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.4) 0%, transparent 70%);
    animation: pulse-lab-light 4s ease-in-out infinite;
}

.lab-light-2 {
    bottom: -10%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.35) 0%, transparent 70%);
    animation: pulse-lab-light 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.lab-light-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(70, 130, 180, 0.3) 0%, transparent 70%);
    animation: pulse-lab-light 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Lighting animations */
@keyframes dim-gallery-lights {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes emerge-lab-lights {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse-lab-light {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Equipment silhouettes */
.equipment-silhouettes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0;
}

.equipment-silhouettes.animate {
    animation: fade-in-silhouettes 1.5s ease-in forwards;
    animation-delay: 2s;
}

.silhouette {
    position: absolute;
    opacity: 0.15;
    filter: blur(2px);
}

.beaker-silhouette {
    bottom: 15%;
    left: 15%;
    width: 100px;
    height: 150px;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 0 0 25px 25px;
    animation: float-silhouette 4s ease-in-out infinite;
}

.flask-silhouette {
    bottom: 10%;
    right: 18%;
    width: 130px;
    height: 170px;
    background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.45) 100%);
    clip-path: polygon(
        35% 0%, 65% 0%,
        65% 20%, 68% 25%, 72% 35%, 78% 50%, 85% 65%, 92% 80%, 100% 100%,
        0% 100%,
        8% 80%, 15% 65%, 22% 50%, 28% 35%, 32% 25%, 35% 20%
    );
    animation: float-silhouette 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.tube-silhouette {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 180px;
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 0 0 35px 35px;
    animation: float-silhouette 5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes fade-in-silhouettes {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

/* Center text */
.transition-text {
    position: relative;
    z-index: 5;
    text-align: center;
    opacity: 0;
}

.transition-text.animate {
    animation: fade-in-text 1.5s ease-in forwards;
    animation-delay: 1s;
}

.transition-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.8);
}

@keyframes fade-in-text {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LABORATORY SECTION ===== */
.laboratory-section {
    position: relative;
    min-height: 100vh;
    padding: 100px 2rem 100px;
    /* Clean, modern lab aesthetic - solid dark since transition handles gradient */
    background: #1a1a1a;
    overflow: hidden;
}

.lab-bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.15;
}

.lab-bg-layer.layer-1 {
    background:
        radial-gradient(circle at 20% 20%, rgba(100, 149, 237, 0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1), transparent 45%);
}

.lab-bg-layer.layer-2 {
    background:
        linear-gradient(135deg, transparent 30%, rgba(70, 130, 180, 0.08) 50%, transparent 70%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
}

.lab-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
}

.lab-header {
    text-align: center;
    margin-bottom: 0;
}

.lab-title {
    font-family: 'Manrope', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.lab-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    color: #f0f0f0;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Lab Bench - Experiments */
.lab-bench {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 80px;
    margin: 0 0 80px;
    flex-wrap: wrap;
    min-height: 250px;
}

.experiment {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Initial state for drop animation */
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drop animation when scrolled into view */
.experiment.dropped {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: drop-bounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes drop-bounce {
    0% {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateY(10px) scale(1.05);
    }
    70% {
        transform: translateY(-5px) scale(0.98);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.experiment:hover {
    transform: translateY(-12px) scale(1.08);
    filter: brightness(1.1);
}

/* Petri Dish Container - smaller and less prominent */
.petri-dish {
    position: relative;
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
}

/* Petri Dish Lid - top glass layer (more glass-like) */
.petri-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.12) 40%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.45),
        inset 0 2px 20px rgba(255, 255, 255, 0.2),
        inset -5px -5px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    z-index: 2;
    pointer-events: none;
}

/* Glass reflection on lid - shinier highlight */
.petri-lid::before {
    content: '';
    position: absolute;
    top: 6%;
    left: 10%;
    width: 50%;
    height: 40%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.35) 40%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
}

/* Circular rim edge highlight - sharper */
.petri-lid::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* Petri Base - contains the culture */
.petri-base {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 50%;
    background: linear-gradient(145deg, #fafafa 0%, #eeeeee 100%);
    border: 2px solid rgba(180, 180, 180, 0.6);
    box-shadow:
        inset 0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 -3px 10px rgba(255, 255, 255, 0.6);
    overflow: hidden;
    z-index: 1;
}

/* Grid marks on petri dish base */
.petri-base::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.petri-base::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

/* Culture medium background */
.culture {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

/* Bacterial colony spots */
.colony {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(1px);
    animation: colony-pulse 4s ease-in-out infinite;
}

.colony-1 {
    top: 30%;
    left: 25%;
    width: 35px;
    height: 35px;
    animation-delay: 0s;
}

.colony-2 {
    top: 50%;
    right: 25%;
    width: 28px;
    height: 28px;
    animation-delay: 1s;
}

.colony-3 {
    bottom: 25%;
    left: 40%;
    width: 32px;
    height: 32px;
    animation-delay: 2s;
}

@keyframes colony-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Lively culture - ink diffusion in water (beige/tan) */
.lively-culture {
    background:
        radial-gradient(ellipse at 30% 30%, rgba(241, 230, 220, 0.9) 0%, transparent 40%),
        radial-gradient(ellipse at 65% 45%, rgba(231, 220, 210, 0.85) 0%, transparent 35%),
        radial-gradient(ellipse at 40% 70%, rgba(221, 208, 196, 0.8) 0%, transparent 38%),
        radial-gradient(ellipse at 70% 75%, rgba(211, 198, 186, 0.7) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(231, 220, 210, 0.3) 0%, transparent 80%);
}

.lively-culture .colony {
    background:
        radial-gradient(ellipse at 40% 40%, rgba(241, 230, 220, 1) 0%, rgba(231, 220, 210, 0.8) 40%, transparent 70%),
        radial-gradient(circle, rgba(231, 220, 210, 0.6) 0%, rgba(221, 208, 196, 0.4) 50%, transparent 100%);
    filter: blur(2px);
    box-shadow: 0 0 15px rgba(231, 220, 210, 0.6);
}

/* XcodeAssistant culture - ink diffusion (slate blue/gray) */
.xcodeassistant-culture {
    background:
        radial-gradient(ellipse at 35% 28%, rgba(84, 95, 114, 0.95) 0%, transparent 42%),
        radial-gradient(ellipse at 62% 48%, rgba(74, 85, 104, 0.9) 0%, transparent 38%),
        radial-gradient(ellipse at 38% 68%, rgba(55, 66, 85, 0.85) 0%, transparent 40%),
        radial-gradient(ellipse at 72% 72%, rgba(45, 55, 72, 0.75) 0%, transparent 32%),
        radial-gradient(circle at 50% 50%, rgba(74, 85, 104, 0.35) 0%, transparent 80%);
}

.xcodeassistant-culture .colony {
    background:
        radial-gradient(ellipse at 45% 35%, rgba(84, 95, 114, 1) 0%, rgba(74, 85, 104, 0.85) 45%, transparent 75%),
        radial-gradient(circle, rgba(74, 85, 104, 0.7) 0%, rgba(55, 66, 85, 0.5) 50%, transparent 100%);
    filter: blur(2px);
    box-shadow: 0 0 18px rgba(74, 85, 104, 0.7);
}

/* Contentflow culture - ink diffusion (purple) */
.contentflow-culture {
    background:
        radial-gradient(ellipse at 32% 32%, rgba(112, 88, 173, 0.95) 0%, transparent 40%),
        radial-gradient(ellipse at 68% 42%, rgba(102, 78, 163, 0.92) 0%, transparent 36%),
        radial-gradient(ellipse at 42% 72%, rgba(90, 65, 140, 0.88) 0%, transparent 42%),
        radial-gradient(ellipse at 75% 68%, rgba(78, 52, 127, 0.8) 0%, transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(102, 78, 163, 0.4) 0%, transparent 80%);
}

.contentflow-culture .colony {
    background:
        radial-gradient(ellipse at 42% 38%, rgba(112, 88, 173, 1) 0%, rgba(102, 78, 163, 0.9) 42%, transparent 72%),
        radial-gradient(circle, rgba(102, 78, 163, 0.75) 0%, rgba(90, 65, 140, 0.5) 50%, transparent 100%);
    filter: blur(2px);
    box-shadow: 0 0 22px rgba(102, 78, 163, 0.8);
}

/* Petri dish rotation animation on hover */
.experiment.tilting .petri-dish {
    animation: petri-rotate 2s ease-in-out forwards;
}

@keyframes petri-rotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Culture movement on hover */
.experiment.tilting .culture {
    animation: culture-slosh 2s ease-in-out forwards;
}

@keyframes culture-slosh {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(3px, -2px) scale(1.02);
    }
    50% {
        transform: translate(3px, -2px) scale(1.02);
    }
    75% {
        transform: translate(-2px, 1px) scale(0.99);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Modern digital screen labels */
.petri-label {
    font-family: 'Manrope', sans-serif;
    text-align: center;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    color: #e0e0e0;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;

    /* Frosted glass screen effect */
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

/* Glass highlight on top */
.petri-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 100%
    );
    border-radius: 6px 6px 0 0;
    pointer-events: none;
}

/* Subtle bottom glow */
.petri-label::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    filter: blur(1px);
    pointer-events: none;
}

/* Lab Notes - Modern frosted style */
.lab-notes {
    max-width: 700px;
    margin: 100px auto 0;
    text-align: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    position: relative;
}

.lab-notes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 100%
    );
    border-radius: 8px 8px 0 0;
    pointer-events: none;
}

.lab-notes p {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #d8d8d8;
    font-style: italic;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ===== LAB FROSTED GLASS PANEL ===== */
.lab-index-card {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Add visual interest behind the glass */
.lab-index-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -50px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
        rgba(100, 149, 237, 0.15) 0%,
        rgba(138, 43, 226, 0.1) 40%,
        transparent 70%
    );
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.lab-index-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -30px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
        rgba(70, 130, 180, 0.12) 0%,
        transparent 60%
    );
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

/* Frosted glass panel */
.index-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 12px;
    padding: 2.5rem 3rem;
    position: relative;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 850px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1;
}

/* Glass reflection/highlight */
.index-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 100%
    );
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

/* Bottom edge subtle glow */
.index-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(100, 149, 237, 0.3) 50%,
        transparent 100%
    );
    filter: blur(2px);
    pointer-events: none;
}

/* Card header */
.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.card-header h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f0f0f0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Card content - compact grid */
.card-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Individual value items */
.card-item {
    position: relative;
}

.card-item h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e8e8e8;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.card-item p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #c0c0c0;
    font-weight: 400;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 4px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    animation: modal-appear 0.25s ease;
}

/* Dark modal for experiments */
.modal-content.modal-dark {
    background: linear-gradient(135deg,
        rgba(40, 40, 40, 0.98) 0%,
        rgba(30, 30, 30, 0.98) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.modal-content.modal-dark .modal-body h2 {
    color: #f0f0f0;
}

.modal-content.modal-dark .modal-description {
    color: #c8c8c8;
}

.modal-content.modal-dark .modal-status-deprecated {
    background: rgba(255, 100, 100, 0.15);
    color: #ff9999;
    border-color: rgba(255, 100, 100, 0.3);
}

.modal-content.modal-dark .deprecation-info {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid rgba(255, 100, 100, 0.5);
    color: #c8c8c8;
}

.modal-content.modal-dark .deprecation-info strong {
    color: #f0f0f0;
}

.modal-content.modal-dark .modal-close {
    color: #c8c8c8;
}

.modal-content.modal-dark .modal-close:hover {
    color: #ffffff;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    color: #3a3a3a;
}

.modal-body {
    padding: 3rem 3rem 2.5rem;
}

.modal-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modal-icon {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.modal-body h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin: 0;
    color: #2a2a2a;
}

.modal-body .modal-status {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
    font-weight: 400;
}

.modal-body .modal-status-deprecated {
    background: #fff5f5;
    color: #c62828;
    border-color: #ffcdd2;
}

.modal-body p {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.25rem;
}

.modal-body .modal-tagline {
    color: #3a3a3a;
    margin-bottom: 1.5rem;
}

.modal-body ul {
    list-style: none;
    margin: 1.25rem 0 0;
}

.modal-body ul li {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.6rem;
    padding-left: 1.25rem;
    position: relative;
}

.modal-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #999;
    font-weight: normal;
}

.modal-body .modal-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-body .modal-link {
    font-family: 'Manrope', sans-serif;
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: #3a3a3a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.modal-body .modal-link:hover {
    background: #2a2a2a;
}

.modal-body .modal-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.modal-body .deprecation-info {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e8e8e8;
    border-left: 3px solid #c62828;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.modal-body .deprecation-info strong {
    color: #2a2a2a;
    font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
    background: #3a3a3a;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-social-link {
    display: inline-block;
    margin: 0 0.5rem;
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-social-icon:hover {
    opacity: 1;
}

footer p {
    color: #ccc;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Navigation responsive */
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-tagline {
        display: none;
    }

    /* Transition section responsive */
    .gallery-to-lab-transition {
        min-height: 450px;
    }

    .transition-title {
        font-size: 0.95rem;
        letter-spacing: 4px;
    }

    .spot,
    .lab-light {
        transform: scale(0.7);
    }

    .silhouette {
        transform: scale(0.7);
    }

    .gallery-title,
    .lab-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .gallery-subtitle,
    .lab-subtitle {
        font-size: 1rem;
    }

    .plaque {
        padding: 1.5rem;
    }

    .plaque h2 {
        font-size: 1.3rem;
    }

    .plaque p {
        font-size: 0.95rem;
    }

    .gallery-section {
        height: auto;
        min-height: 100vh;
    }

    .gallery-wall {
        grid-template-columns: 1fr;
        gap: 60px 40px;
    }

    .product-description {
        font-size: 0.8rem;
        max-width: 100%;
    }

    .product-icon-large {
        width: 350%;
        height: 350%;
        transform: translateY(-200px);
    }

    .frame {
        padding: 10px;
        max-width: 200px;
        margin: 0 auto;
    }

    .frame::after {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .canvas {
        margin: 15px;
    }

    .painting-label {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .lab-bench {
        gap: 40px;
    }

    .product-button {
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
    }

    .transition-text {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }

    /* Reduce spotlight intensity on mobile */
    .painting::before {
        opacity: 0.5;
    }

    /* Lab Whiteboard Panel */
    .lab-index-card {
        margin: 60px auto 0;
        padding: 0 1rem;
    }

    .index-card {
        padding: 2rem 1.75rem;
    }

    .card-header h3 {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .card-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .card-item h4 {
        font-size: 0.85rem;
    }

    .card-item p {
        font-size: 0.75rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    /* Transition section for small screens */
    .gallery-to-lab-transition {
        min-height: 400px;
    }

    .transition-title {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }

    .spot,
    .lab-light {
        transform: scale(0.5);
    }

    .silhouette {
        transform: scale(0.6);
        opacity: 0.1;
    }

    .main-nav {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-tagline {
        font-size: 0.8rem;
    }

    .gallery-section,
    .laboratory-section {
        padding: 100px 1rem 60px;
    }

    /* Even smaller frames for very small screens */
    .product-icon-large {
        width: 350%;
        height: 350%;
        transform: translateY(-180px);
    }

    .frame {
        padding: 8px;
        max-width: 180px;
        margin: 0 auto;
    }

    .frame::after {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .canvas {
        margin: 12px;
    }
}
