/* ==========================================================================
   FARM - ORGANIC FARM TEMPLATE
   Premium quality CSS with design tokens, animations, and dark mode
   ========================================================================== */

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

:root {
    /* Colors - Natural & Fresh Palette */
    --color-primary: #15803D;        /* Deep forest green */
    --color-primary-light: #22c55e;  /* Fresh green */
    --color-primary-dark: #14532d;   /* Dark forest */
    --color-secondary: #d97706;      /* Warm amber */
    --color-secondary-light: #f59e0b;
    --color-accent: #92400e;         /* Earth brown */
    --color-accent-light: #b45309;

    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #0a0a0a;
    --color-neutral-50: #f9fafb;
    --color-neutral-100: #f3f4f6;
    --color-neutral-200: #e5e7eb;
    --color-neutral-300: #d1d5db;
    --color-neutral-400: #9ca3af;
    --color-neutral-500: #6b7280;
    --color-neutral-600: #4b5563;
    --color-neutral-700: #374151;
    --color-neutral-800: #1f2937;
    --color-neutral-900: #111827;

    /* Semantic colors */
    --color-success: #059669;
    --color-info: #0284c7;
    --color-warning: #d97706;
    --color-error: #dc2626;

    /* Typography Scale */
    --text-hero: clamp(3rem, 8vw, 6rem);       /* 48-96px */
    --text-display: clamp(2.5rem, 5vw, 4rem);  /* 40-64px */
    --text-h1: clamp(2rem, 4vw, 3rem);         /* 32-48px */
    --text-h2: clamp(1.5rem, 3vw, 2.25rem);    /* 24-36px */
    --text-h3: clamp(1.25rem, 2vw, 1.5rem);    /* 20-24px */
    --text-h4: 1.125rem;                        /* 18px */
    --text-body: 1rem;                          /* 16px */
    --text-small: 0.875rem;                     /* 14px */
    --text-xs: 0.75rem;                         /* 12px */

    /* Font Families */
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Cabin', system-ui, -apple-system, sans-serif;

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

    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 60px rgba(21, 128, 61, 0.3);
    --shadow-glow-lg: 0 0 100px rgba(21, 128, 61, 0.4);

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

    /* Z-index scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --color-neutral-50: #111827;
    --color-neutral-100: #1f2937;
    --color-neutral-200: #374151;
    --color-neutral-300: #4b5563;
    --color-neutral-400: #6b7280;
    --color-neutral-500: #9ca3af;
    --color-neutral-600: #d1d5db;
    --color-neutral-700: #e5e7eb;
    --color-neutral-800: #f3f4f6;
    --color-neutral-900: #f9fafb;

    --color-white: #0a0a0a;
    --color-black: #ffffff;

    /* Adjusted shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-neutral-900);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-neutral-900);
    margin-bottom: var(--space-4);
}

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

p {
    margin-bottom: var(--space-4);
    color: var(--color-neutral-600);
}

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

a:hover {
    color: var(--color-primary-light);
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

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

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

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

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: var(--space-4);
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Text utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-neutral-200);
    transition: all var(--transition-base);
}

[data-theme="dark"] .nav {
    background-color: rgba(10, 10, 10, 0.8);
    border-bottom-color: var(--color-neutral-800);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav__logo:hover {
    color: var(--color-primary-light);
}

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

.nav__link {
    color: var(--color-neutral-600);
    font-weight: 500;
    transition: color var(--transition-base);
}

.nav__link:hover {
    color: var(--color-neutral-900);
}

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

.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    border: none;
    background-color: var(--color-neutral-100);
    color: var(--color-neutral-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background-color: var(--color-neutral-200);
    color: var(--color-neutral-900);
}

.mobile-menu-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: none;
    color: var(--color-neutral-900);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        border-bottom: 1px solid var(--color-neutral-200);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-4) var(--space-6);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }

    [data-theme="dark"] .nav__menu {
        background-color: var(--color-black);
        border-bottom-color: var(--color-neutral-800);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__link {
        padding: var(--space-3) 0;
        border-bottom: 1px solid var(--color-neutral-200);
    }

    [data-theme="dark"] .nav__link {
        border-bottom-color: var(--color-neutral-800);
    }

    .nav__link:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--text-body);
    border-radius: var(--radius-full);
    border: none;
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
}

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

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

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-h4);
}

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

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

.hero__background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(21, 128, 61, 0.4), rgba(20, 83, 45, 0.6));
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 48rem;
}

.hero__title {
    font-size: var(--text-hero);
    color: white;
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero__subtitle {
    font-size: var(--text-h3);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    font-family: var(--font-sans);
    font-weight: 400;
}

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

/* ==========================================================================
   SECTIONS
   ========================================================================== */

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

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

.section__header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto var(--space-16);
}

.section__title {
    font-size: var(--text-h2);
    margin-bottom: var(--space-4);
}

.section__subtitle {
    font-size: var(--text-h4);
    color: var(--color-neutral-600);
}

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

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

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

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

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

.product-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--color-neutral-100);
}

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

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

.product-card__badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

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

.product-card__category {
    font-size: var(--text-xs);
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.product-card__title {
    font-size: var(--text-h3);
    margin-bottom: var(--space-3);
}

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

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

.product-card__price {
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-primary);
}

.product-card__unit {
    font-size: var(--text-small);
    color: var(--color-neutral-500);
    font-weight: 400;
}

/* ==========================================================================
   CSA PLANS
   ========================================================================== */

.csa-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.csa-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-neutral-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-bounce);
    position: relative;
}

[data-theme="dark"] .csa-card {
    background-color: var(--color-neutral-900);
    border-color: var(--color-neutral-800);
}

.csa-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.csa-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.csa-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    color: white;
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.csa-card__name {
    font-size: var(--text-h3);
    margin-bottom: var(--space-4);
}

.csa-card__price {
    font-size: var(--text-display);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.csa-card__period {
    font-size: var(--text-small);
    color: var(--color-neutral-500);
    margin-bottom: var(--space-6);
}

.csa-card__features {
    list-style: none;
    margin-bottom: var(--space-8);
    text-align: left;
}

.csa-card__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-neutral-100);
}

[data-theme="dark"] .csa-card__feature {
    border-bottom-color: var(--color-neutral-800);
}

.csa-card__feature:last-child {
    border-bottom: none;
}

.csa-card__feature svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

/* ==========================================================================
   MARKET SCHEDULE
   ========================================================================== */

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.schedule-card {
    background-color: var(--color-neutral-50);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border-left: 4px solid var(--color-primary);
}

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

.schedule-card__day {
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.schedule-card__time {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-body);
    color: var(--color-neutral-700);
    margin-bottom: var(--space-2);
}

.schedule-card__location {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    color: var(--color-neutral-600);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
    background-color: var(--color-neutral-50);
}

[data-theme="dark"] .about {
    background-color: var(--color-neutral-900);
}

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

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

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

.about__content h2 {
    margin-bottom: var(--space-6);
}

.about__content p {
    margin-bottom: var(--space-4);
    font-size: var(--text-h4);
    line-height: 1.8;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: var(--text-display);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.stat__label {
    font-size: var(--text-small);
    color: var(--color-neutral-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

    .about__stats {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

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

.footer {
    background-color: var(--color-neutral-900);
    color: var(--color-neutral-300);
    padding: var(--space-16) 0 var(--space-8);
}

[data-theme="dark"] .footer {
    background-color: var(--color-black);
    border-top: 1px solid var(--color-neutral-800);
}

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

.footer__brand h3 {
    color: var(--color-primary-light);
    margin-bottom: var(--space-4);
}

.footer__brand p {
    color: var(--color-neutral-400);
    margin-bottom: var(--space-6);
}

.footer__social {
    display: flex;
    gap: var(--space-4);
}

.footer__social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background-color: var(--color-neutral-800);
    color: var(--color-neutral-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer__social a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.footer__section h4 {
    color: white;
    font-size: var(--text-body);
    margin-bottom: var(--space-4);
}

.footer__links {
    list-style: none;
}

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

.footer__links a {
    color: var(--color-neutral-400);
    transition: color var(--transition-base);
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

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

.footer__copyright {
    color: var(--color-neutral-500);
    font-size: var(--text-small);
}

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

.footer__legal a {
    color: var(--color-neutral-500);
    font-size: var(--text-small);
}

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

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger delays */
.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; }

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

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

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

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@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;
    }
}

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

@media print {
    .nav,
    .hero__cta,
    .footer__social,
    .theme-toggle,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    h1 { font-size: 24pt; }
    h2 { font-size: 18pt; }
    h3 { font-size: 14pt; }
}

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

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

img {
    content-visibility: auto;
}
