/* ============================================================
   THE FRIDAY COLLECTIVE — Design System
   Every pixel matters. Every interaction delights.
   Powered by Aristos.
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Brand Colors */
    --color-ochre:        #D4793A;
    --color-ochre-light:  #E8944F;
    --color-ochre-dark:   #B5622A;
    --color-ocean:        #1B4965;
    --color-ocean-light:  #245B80;
    --color-ocean-dark:   #122F42;
    --color-sky:          #5FA8D3;
    --color-sky-light:    #7FBDE0;
    --color-sky-pale:     #E8F4FA;
    --color-green:        #7A9E5F;
    --color-green-light:  #8FB574;
    --color-green-pale:   #EDF5E8;
    --color-gold:         #F2C14E;
    --color-gold-light:   #F5D06E;
    --color-gold-pale:    #FDF5E0;

    /* Neutrals */
    --color-white:        #FFFFFF;
    --color-warm-white:   #FAF7F2;
    --color-sand:         #E8E0D4;
    --color-sand-light:   #F0EBE3;
    --color-charcoal:     #2D2D2D;
    --color-grey:         #8C8C8C;
    --color-grey-light:   #B8B8B8;
    --color-grey-pale:    #F0F0F0;

    /* Semantic */
    --color-success:      #7A9E5F;
    --color-warning:      #F2C14E;
    --color-error:        #D4453A;
    --color-info:         #5FA8D3;

    /* Typography */
    --font-heading:       'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-accent:        'Caveat', cursive;

    /* Font Sizes */
    --text-xs:    0.75rem;
    --text-sm:    0.875rem;
    --text-base:  1rem;
    --text-lg:    1.125rem;
    --text-xl:    1.25rem;
    --text-2xl:   1.5rem;
    --text-3xl:   2rem;
    --text-4xl:   2.5rem;
    --text-5xl:   3rem;

    /* Spacing */
    --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;

    /* Border Radius */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs:   0 1px 2px rgba(27, 73, 101, 0.04);
    --shadow-sm:   0 2px 4px rgba(27, 73, 101, 0.06);
    --shadow-md:   0 4px 12px rgba(27, 73, 101, 0.08);
    --shadow-lg:   0 8px 24px rgba(27, 73, 101, 0.10);
    --shadow-xl:   0 16px 48px rgba(27, 73, 101, 0.12);
    --shadow-glow: 0 0 0 3px rgba(212, 121, 58, 0.15);

    /* Transitions */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast:   150ms;
    --duration-normal: 250ms;
    --duration-slow:   400ms;

    /* Layout */
    --container-max:   1200px;
    --container-narrow: 800px;
    --nav-height:      72px;
    --nav-height-mobile: 64px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-charcoal);
    background: var(--color-warm-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-ocean);
    letter-spacing: -0.01em;
}

h1 { font-size: var(--text-4xl); font-weight: 700; }
h2 { font-size: var(--text-3xl); font-weight: 600; }
h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; color: var(--color-ocean); }

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

a {
    color: var(--color-ochre);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--color-ochre-dark); }

.text-accent {
    font-family: var(--font-accent);
    font-size: var(--text-2xl);
    color: var(--color-ochre);
}

.text-muted { color: var(--color-grey); }
.text-small { font-size: var(--text-sm); }
.text-center { text-align: center; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container--narrow {
    max-width: var(--container-narrow);
}

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

.section--ocean {
    background: var(--color-ocean);
    color: var(--color-white);
}
.section--ocean h2,
.section--ocean h3 { color: var(--color-white); }

.section--sand {
    background: var(--color-sand-light);
}

/* ── Grid ──────────────────────────────────────────────────── */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

@media (max-width: 768px) {
    .grid--2, .grid--3, .grid--4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid--3, .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Flex Utilities ────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(232, 224, 212, 0.6);
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
    box-shadow: var(--shadow-md);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.nav__logo img {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-ocean);
    line-height: 1.1;
}

.nav__logo-tagline {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    color: var(--color-ochre);
    display: block;
}

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

.nav__link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-charcoal);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
    cursor: pointer;
}

.nav__link:hover {
    background: var(--color-sand-light);
    color: var(--color-ocean);
}

.nav__link--active {
    background: var(--color-sky-pale);
    color: var(--color-ocean);
    font-weight: 600;
}

.nav__cta {
    margin-left: var(--space-2);
}

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--color-ocean);
}

.nav__toggle svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .nav {
        height: var(--nav-height-mobile);
    }

    .nav__toggle {
        display: block;
    }

    .nav__links {
        display: none;
        position: absolute;
        top: var(--nav-height-mobile);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-4) var(--space-6);
        border-bottom: 1px solid var(--color-sand);
        box-shadow: var(--shadow-lg);
        gap: var(--space-1);
    }

    .nav__links--open {
        display: flex;
    }

    .nav__link {
        width: 100%;
        padding: var(--space-3) var(--space-4);
    }

    .nav__cta {
        margin-left: 0;
        margin-top: var(--space-2);
    }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: var(--color-ochre);
    color: var(--color-white);
    border-color: var(--color-ochre);
}
.btn--primary:hover {
    background: var(--color-ochre-dark);
    border-color: var(--color-ochre-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--secondary {
    background: var(--color-ocean);
    color: var(--color-white);
    border-color: var(--color-ocean);
}
.btn--secondary:hover {
    background: var(--color-ocean-light);
    border-color: var(--color-ocean-light);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--color-ocean);
    border-color: var(--color-sand);
}
.btn--outline:hover {
    border-color: var(--color-ocean);
    background: var(--color-sky-pale);
    color: var(--color-ocean);
}

.btn--ghost {
    background: transparent;
    color: var(--color-ochre);
    border-color: transparent;
}
.btn--ghost:hover {
    background: rgba(212, 121, 58, 0.08);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-ocean);
    border-color: var(--color-white);
}
.btn--white:hover {
    background: var(--color-warm-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

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

.btn--sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn--full {
    width: 100%;
}

.btn--icon {
    padding: var(--space-2);
    border-radius: var(--radius-md);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-sand);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-sand-light);
    transform: translateY(-2px);
}

.card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card__body {
    padding: var(--space-5);
}

.card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.card__title {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-ocean);
    line-height: 1.3;
}

.card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-grey);
    margin-bottom: var(--space-2);
}

.card__meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
}

.card__description {
    font-size: var(--text-sm);
    color: var(--color-charcoal);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--color-sand-light);
}

/* Event card specific */
.event-card {
    position: relative;
}

.event-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.event-card__badges {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 2px 10px;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.badge--new {
    background: var(--color-green);
    color: var(--color-white);
}

.badge--updated {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.badge--free {
    background: var(--color-green-pale);
    color: var(--color-green);
}

.badge--sold-out {
    background: var(--color-error);
    color: var(--color-white);
}

.badge--online {
    background: var(--color-sky-pale);
    color: var(--color-ocean);
}

.badge--category {
    background: var(--color-sand-light);
    color: var(--color-ocean);
    font-weight: 500;
    text-transform: none;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-ocean);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 2px solid var(--color-sand);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-ochre);
    box-shadow: var(--shadow-glow);
}

.form-input::placeholder {
    color: var(--color-grey-light);
}

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

.form-hint {
    font-size: var(--text-xs);
    color: var(--color-grey);
    margin-top: var(--space-1);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--color-error);
    margin-top: var(--space-1);
}

/* Inline subscribe form */
.subscribe-form {
    display: flex;
    gap: var(--space-3);
    max-width: 500px;
}

.subscribe-form .form-input {
    flex: 1;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.subscribe-form .form-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.subscribe-form .form-input:focus {
    border-color: var(--color-gold);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.2);
}

@media (max-width: 480px) {
    .subscribe-form {
        flex-direction: column;
    }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
    background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-ocean-dark) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 121, 58, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(95, 168, 211, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero__tagline {
    font-family: var(--font-accent);
    font-size: var(--text-2xl);
    color: var(--color-gold);
    margin-bottom: var(--space-4);
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out) 0.1s forwards;
}

.hero__title {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out) 0.2s forwards;
}

.hero__description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 560px;
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s forwards;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out) 0.4s forwards;
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--nav-height-mobile) + var(--space-10)) 0 var(--space-10);
    }
    .hero__title { font-size: var(--text-3xl); }
    .hero__description { font-size: var(--text-base); }
}

/* ── Category Filter Bar ───────────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 1.5px solid var(--color-sand);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.filter-chip:hover {
    border-color: var(--color-ochre);
    color: var(--color-ochre);
}

.filter-chip--active {
    background: var(--color-ocean);
    color: var(--color-white);
    border-color: var(--color-ocean);
}

.filter-chip--active:hover {
    background: var(--color-ocean-light);
    border-color: var(--color-ocean-light);
    color: var(--color-white);
}

.filter-chip svg {
    width: 16px;
    height: 16px;
}

.filter-chip__count {
    background: rgba(0,0,0,0.1);
    padding: 1px 6px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
}

.filter-chip--active .filter-chip__count {
    background: rgba(255,255,255,0.2);
}

/* ── Search ────────────────────────────────────────────────── */
.search-bar {
    position: relative;
    max-width: 400px;
}

.search-bar__icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-grey);
    pointer-events: none;
}

.search-bar__icon svg {
    width: 18px;
    height: 18px;
}

.search-bar .form-input {
    padding-left: calc(var(--space-4) + 18px + var(--space-3));
}

/* ── Event List ────────────────────────────────────────────── */
.events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.events-count {
    font-size: var(--text-sm);
    color: var(--color-grey);
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* ── Section Headers ───────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.section-header__subtitle {
    font-family: var(--font-accent);
    font-size: var(--text-xl);
    color: var(--color-ochre);
    margin-bottom: var(--space-2);
}

.section-header__title {
    margin-bottom: var(--space-2);
}

.section-header__description {
    color: var(--color-grey);
    max-width: 600px;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: var(--color-ocean-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-16) 0 var(--space-8);
}

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

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

.footer__brand {
    max-width: 320px;
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.footer__brand-tagline {
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.footer__heading {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    transition: color var(--duration-fast) var(--ease-out);
}

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

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-xs);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer__powered {
    color: rgba(255, 255, 255, 0.4);
}

.footer__powered a {
    color: rgba(255, 255, 255, 0.5);
}

.footer__powered a:hover {
    color: var(--color-gold);
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.animate-in--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.stagger > *.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Loading States ────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--color-sand-light) 25%, var(--color-sand) 50%, var(--color-sand-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton--text {
    height: 16px;
    margin-bottom: var(--space-2);
}

.skeleton--title {
    height: 24px;
    width: 70%;
    margin-bottom: var(--space-3);
}

.skeleton--card {
    height: 180px;
}

/* ── Toast Notifications ───────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--color-green);
    min-width: 300px;
    max-width: 420px;
    animation: slideInRight var(--duration-normal) var(--ease-out);
    font-size: var(--text-sm);
}

.toast--error { border-left-color: var(--color-error); }
.toast--warning { border-left-color: var(--color-warning); }
.toast--info { border-left-color: var(--color-info); }

.toast__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-1);
    color: var(--color-grey);
    margin-left: auto;
    flex-shrink: 0;
}

/* ── Sponsor Bar ───────────────────────────────────────────── */
.sponsors-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
    padding: var(--space-8) 0;
    opacity: 0.6;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.sponsors-bar:hover { opacity: 1; }

.sponsors-bar img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: filter var(--duration-normal) var(--ease-out);
}

.sponsors-bar img:hover {
    filter: grayscale(0%);
}

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 47, 66, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.modal-overlay--open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: transform var(--duration-normal) var(--ease-spring);
}

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

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-sand-light);
}

.modal__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-ocean);
}

.modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--color-grey);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-out);
}

.modal__close:hover {
    background: var(--color-sand-light);
    color: var(--color-charcoal);
}

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

.modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--color-sand-light);
}

/* ── Utility Classes ───────────────────────────────────────── */
.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;
}

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.hidden { display: none !important; }

/* Page content offset for fixed nav */
.page-content {
    padding-top: var(--nav-height);
}

@media (max-width: 768px) {
    .page-content {
        padding-top: var(--nav-height-mobile);
    }
}
