/* ==========================================================================
   CERAMICS - Premium Pottery Studio Template
   A handcrafted, earthy design for artisanal ceramics
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */

:root {
    /* Colors - Earthy, Artisanal Palette */
    --color-terracotta: #D4734B;
    --color-terracotta-dark: #B85F3E;
    --color-terracotta-light: #E69576;

    --color-clay: #8B6F47;
    --color-clay-dark: #6D5635;
    --color-clay-light: #A88B5F;

    --color-sage: #8B9A7D;
    --color-sage-dark: #6B7B5D;
    --color-sage-light: #AAB99C;

    --color-cream: #F5F1E8;
    --color-sand: #E8DCC8;
    --color-stone: #D4C9B8;

    /* Neutrals - Light Mode */
    --color-white: #FFFFFF;
    --color-neutral-50: #FAFAF9;
    --color-neutral-100: #F5F5F4;
    --color-neutral-200: #E7E5E4;
    --color-neutral-300: #D6D3D1;
    --color-neutral-400: #A8A29E;
    --color-neutral-500: #78716C;
    --color-neutral-600: #57534E;
    --color-neutral-700: #44403C;
    --color-neutral-800: #292524;
    --color-neutral-900: #1C1917;
    --color-black: #0A0908;

    /* Typography Scale */
    --text-hero: clamp(3rem, 8vw, 6rem);
    --text-display: clamp(2.5rem, 5vw, 4rem);
    --text-h1: clamp(2rem, 4vw, 3rem);
    --text-h2: clamp(1.5rem, 3vw, 2.25rem);
    --text-h3: clamp(1.25rem, 2vw, 1.5rem);
    --text-h4: 1.125rem;
    --text-body: 1rem;
    --text-small: 0.875rem;
    --text-xs: 0.75rem;

    /* Spacing Scale (8px base) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows - Soft, Natural */
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
    --shadow-md: 0 4px 6px rgba(28, 25, 23, 0.07), 0 2px 4px rgba(28, 25, 23, 0.05);
    --shadow-lg: 0 10px 15px rgba(28, 25, 23, 0.1), 0 4px 6px rgba(28, 25, 23, 0.05);
    --shadow-xl: 0 20px 25px rgba(28, 25, 23, 0.1), 0 10px 10px rgba(28, 25, 23, 0.04);
    --shadow-2xl: 0 25px 50px rgba(28, 25, 23, 0.15);

    /* Glow Effects */
    --glow-terracotta: 0 0 40px rgba(212, 115, 75, 0.3);
    --glow-sage: 0 0 40px rgba(139, 154, 125, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --color-cream: #2A2520;
    --color-sand: #352F28;
    --color-stone: #3F3830;

    --color-neutral-50: #292524;
    --color-neutral-100: #1C1917;
    --color-neutral-200: #44403C;
    --color-neutral-300: #57534E;
    --color-neutral-400: #78716C;
    --color-neutral-500: #A8A29E;
    --color-neutral-600: #D6D3D1;
    --color-neutral-700: #E7E5E4;
    --color-neutral-800: #F5F5F4;
    --color-neutral-900: #FAFAF9;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6), 0 10px 10px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-neutral-700);
    background: var(--color-cream);
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* Serif Typography for Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--color-neutral-900);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-terracotta-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--color-terracotta);
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-clay);
    border-radius: var(--radius-full);
    border: 3px solid var(--color-cream);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-clay-dark);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

.section-lg {
    padding: var(--space-32) 0;
}

.text-center {
    text-align: center;
}

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

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: fixed;
    top: var(--space-4);
    left: var(--space-4);
    width: auto;
    height: auto;
    padding: var(--space-4);
    background: var(--color-terracotta);
    color: white;
    clip: auto;
    z-index: 100000;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 241, 232, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-stone);
    transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: rgba(42, 37, 32, 0.9);
}

.navbar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-neutral-900);
    letter-spacing: 0.02em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.navbar-link {
    color: var(--color-neutral-700);
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    padding: var(--space-2) 0;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    transition: width var(--transition-base);
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--color-neutral-700);
    cursor: pointer;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background: var(--color-sand);
}

.btn-primary {
    padding: var(--space-3) var(--space-6);
    background: var(--color-terracotta);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--color-neutral-900);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-cream);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--color-stone);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

    .navbar-actions .btn-primary {
        display: none;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-stone) 100%);
    opacity: 0.3;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-eyebrow {
    font-size: var(--text-small);
    color: var(--color-terracotta);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.hero-title {
    font-size: var(--text-hero);
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-neutral-600);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-body);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-terracotta {
    background: var(--color-terracotta);
    color: white;
}

.btn-terracotta:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--color-neutral-900);
    border-color: var(--color-neutral-300);
}

.btn-outline:hover {
    background: var(--color-sand);
    border-color: var(--color-terracotta);
}

.hero-visual {
    position: relative;
}

.hero-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-image-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .hero-visual {
        order: -1;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-smooth);
    border: 1px solid var(--color-neutral-200);
}

[data-theme="dark"] .product-card {
    background: var(--color-neutral-100);
    border-color: var(--color-neutral-200);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-sand);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: white;
    color: var(--color-terracotta);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.product-info {
    padding: var(--space-6);
}

.product-category {
    font-size: var(--text-xs);
    color: var(--color-neutral-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.product-title {
    font-size: var(--text-h4);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-3);
    font-family: 'Georgia', serif;
}

.product-description {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

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

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-terracotta);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-sand);
    color: var(--color-neutral-900);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.btn-icon:hover {
    background: var(--color-terracotta);
    color: white;
    transform: scale(1.1);
}

/* ==========================================================================
   CLASS CARDS
   ========================================================================== */

.class-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
}

[data-theme="dark"] .class-card {
    background: var(--color-neutral-100);
    border-color: var(--color-neutral-200);
}

.class-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.class-header {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.class-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.class-card:hover .class-header img {
    transform: scale(1.05);
}

.class-level {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: white;
    color: var(--color-neutral-900);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.class-body {
    padding: var(--space-6);
}

.class-title {
    font-size: var(--text-h3);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-3);
    font-family: 'Georgia', serif;
}

.class-instructor {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
    margin-bottom: var(--space-4);
}

.class-description {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.class-meta {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--color-sand);
    border-radius: var(--radius-lg);
}

.class-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    color: var(--color-neutral-700);
}

.class-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-neutral-200);
}

.class-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
}

/* ==========================================================================
   FEATURED SECTION
   ========================================================================== */

.featured-section {
    background: var(--color-sand);
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-eyebrow {
    font-size: var(--text-small);
    color: var(--color-terracotta);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: var(--text-display);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
}

.process-step {
    text-align: center;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-clay) 100%);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Georgia', serif;
    box-shadow: var(--shadow-lg);
}

.process-title {
    font-size: var(--text-h3);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-3);
}

.process-description {
    color: var(--color-neutral-600);
    line-height: 1.7;
}

/* ==========================================================================
   TESTIMONIAL SECTION
   ========================================================================== */

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-neutral-200);
}

[data-theme="dark"] .testimonial-card {
    background: var(--color-neutral-100);
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-neutral-700);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: var(--text-body);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-1);
}

.testimonial-info p {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--color-stone);
    padding: var(--space-20) 0 var(--space-8);
    border-top: 1px solid var(--color-neutral-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--color-neutral-600);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-sand);
    color: var(--color-neutral-700);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-terracotta);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: var(--text-body);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-4);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--color-neutral-600);
    font-size: var(--text-small);
    transition: color var(--transition-base);
}

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

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-neutral-300);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow),
                transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--transition-slow);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--transition-slow);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--transition-slow);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ==========================================================================
   CONTINUOUS ANIMATIONS
   ========================================================================== */

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.product-image,
.class-header,
.hero-image-main {
    will-change: transform;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .navbar,
    .footer,
    .theme-toggle,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
