/* ======================================
   MRIGNAINI — ETHNIC WEAR WEBSITE
   "Playful Heritage x Graphic Editorial x Motion"
   Bold · Animated · Youth-Forward 
   ====================================== */

/* ---- CSS VARIABLES ---- */
:root {
    --clr-forest:     #1a4a3a;
    --clr-forest-deep:#0e2e24;
    --clr-emerald:    #2d6a4f;
    --clr-sage:       #6b8f71;
    --clr-magenta:    #8B2252;
    --clr-wine:       #5C1A33;
    --clr-rose:       #D4A0A0;
    --clr-blush:      #e8c4c4;
    --clr-gold:       #C6A56B;
    --clr-gold-light: #EADFCF;
    --clr-gold-dark:  #B8945A;
    --clr-ivory:      #F5F0E8;
    --clr-cream:      #FDF8F0;
    --clr-white:      #FFFFFF;
    --clr-charcoal:   #2C2C2C;
    --clr-text:       #3a3a3a;
    --clr-text-light: #6b6b6b;

    --clr-deep-red:   #A82039;
    --clr-indigo:     #2E4057;
    --clr-mustard:    #B8945A;
    --clr-muted-pink: #C9918F;
    --clr-terracotta: #C0623A;
    --clr-saffron:    #E8942A;
    --clr-coral:      #E85D50;
    --clr-plum:       #6B2D5B;

    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body:    'Outfit', 'Segoe UI', sans-serif;
    --font-accent:  'Caveat', cursive;

    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-bounce:    cubic-bezier(0.68, -0.55, 0.27, 1.55);

    --z-preloader: 10000;
    --z-navbar:    1000;
    --z-overlay:   100;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection { background: var(--clr-deep-red); color: var(--clr-ivory); }

/* ---- CURSOR TRAIL ---- */
.cursor-trail {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 2px solid var(--clr-mustard);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    opacity: 0.6;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--clr-deep-red), var(--clr-mustard), var(--clr-saffron), var(--clr-emerald));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--clr-ivory); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--clr-mustard), var(--clr-deep-red)); 
    border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--clr-gold-dark); }

/* ---- UTILITY CLASSES ---- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--clr-deep-red);
    margin-bottom: 1rem;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '✦';
    margin: 0 0.5rem;
    font-size: 0.6rem;
    vertical-align: middle;
    color: var(--clr-mustard);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--clr-forest);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Accent text — playful secondary style */
.accent-text {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--clr-deep-red);
    font-size: 1.1em;
}

/* Highlighted words in body text */
.highlight-word {
    background: linear-gradient(120deg, rgba(212,160,17,0.15) 0%, rgba(168,32,57,0.12) 100%);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-weight: 500;
    color: var(--clr-forest);
}

.section-divider {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    opacity: 0.6;
}

/* ---- ILLUSTRATED DIVIDERS ---- */
.illustrated-divider {
    width: 100%;
    overflow: hidden;
    background: var(--clr-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.illustrated-divider--alt {
    background: var(--clr-ivory);
}

/* ---- SECTION MOTIFS (floating graphic elements) ---- */
.section-motif {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    animation: floatMotif 12s ease-in-out infinite;
}

.motif-paisley-left {
    top: 10%;
    left: 3%;
    transform: rotate(-15deg);
}

.motif-floral-right {
    bottom: 15%;
    right: 4%;
    transform: rotate(10deg);
    animation-delay: 3s;
}

.motif-pomegranate {
    top: 8%;
    right: 5%;
    animation-delay: 2s;
}

.motif-bird {
    top: 12%;
    right: 6%;
    animation-delay: 4s;
}

@keyframes floatMotif {
    0%, 100% { transform: translateY(0) rotate(var(--motif-rotate, 0deg)); }
    50% { transform: translateY(-15px) rotate(var(--motif-rotate, 0deg)); }
}

/* ---- TEXTURE OVERLAYS ---- */
.collections-texture,
.story-texture,
.video-showcase-texture,
.footer-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Paper/fabric texture effect */
.collections-texture {
    opacity: 0.03;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(200,169,110,0.03) 2px,
            rgba(200,169,110,0.03) 4px
        );
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--clr-deep-red), var(--clr-forest));
    color: var(--clr-ivory);
    box-shadow: 0 4px 20px rgba(168, 32, 57, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 32, 57, 0.35);
}

.btn-outline {
    border: 1.5px solid var(--clr-mustard);
    color: var(--clr-ivory);
}

.btn-outline:hover {
    background: var(--clr-mustard);
    color: var(--clr-forest-deep);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* =========================
   PRELOADER
   ========================= */
#preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-preloader);
    background: var(--clr-forest-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.preloader-logo {
    animation: preloaderSpin 3s linear infinite;
}

@keyframes preloaderSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--clr-gold);
    letter-spacing: 0.2em;
    margin-top: 1.2rem;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

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

.preloader-bar {
    width: 120px;
    height: 2px;
    background: rgba(200,169,110,0.2);
    margin-top: 1.5rem;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-deep-red));
    border-radius: 2px;
    animation: preloaderFill 2s var(--ease-out-expo) forwards;
}

@keyframes preloaderFill {
    0%   { width: 0%; }
    100% { width: 100%; }
}

/* =========================
   NAVIGATION
   ========================= */
.navbar {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    padding: 1.2rem 0;
    transition: all 0.5s var(--ease-out-expo);
}

.navbar.scrolled {
    background: rgba(14, 46, 36, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--clr-gold);
    letter-spacing: 0.15em;
    transition: color 0.3s;
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-ivory);
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-mustard), var(--clr-deep-red));
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--clr-mustard); }

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

.nav-cart {
    position: relative;
    color: var(--clr-ivory);
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-cart:hover {
    color: var(--clr-mustard);
}

/* Cart badge */
.cart-badge {
    background: var(--clr-deep-red);
    color: var(--clr-white);
}

/* User Auth Button & Dropdown */
.user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--clr-ivory);
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}
.user-btn:hover {
    color: var(--clr-mustard);
}
.user-dropdown {
    position: relative;
}
.user-menu {
    position: absolute;
    top: 140%;
    right: 0;
    background: var(--clr-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 12px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease-out-expo);
    z-index: 100;
}
.user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-menu-header {
    padding: 8px 16px 12px;
    font-size: 0.8rem;
    color: var(--clr-text-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 4px;
    word-break: break-all;
}
.user-email {
    font-weight: 600;
    color: var(--clr-forest);
}
.user-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    color: var(--clr-forest-deep);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.user-menu-item:hover {
    background: var(--clr-cream);
    color: var(--clr-deep-red);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--clr-ivory);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 31, 24, 0.45) 0%,
        rgba(10, 31, 24, 0.1) 40%,
        rgba(10, 31, 24, 0.65) 100%
    );
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    mix-blend-mode: overlay;
    animation: grainShift 0.5s steps(4) infinite;
}

@keyframes grainShift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-1px, -2px); }
    100% { transform: translate(0, 0); }
}

.hero-motif {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-motif-1 { top: 8%; left: 5%; }
.hero-motif-2 { bottom: 20%; right: 8%; }
.hero-motif-3 { top: 45%; left: 85%; }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    padding-bottom: 5rem;
    padding-top: 80px;
    will-change: transform, opacity;
}

.hero-badge {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--clr-mustard);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { text-shadow: 0 0 10px rgba(212,160,17,0.3); }
    50% { text-shadow: 0 0 25px rgba(212,160,17,0.6), 0 0 50px rgba(212,160,17,0.2); }
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-mustard));
}
.hero-badge::before { right: calc(100% + 12px); }
.hero-badge::after { left: calc(100% + 12px); background: linear-gradient(90deg, var(--clr-mustard), transparent); }

.hero-title {
    font-family: var(--font-heading);
    font-weight: 300;
    color: #d5cfc0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    overflow: visible;
}

.hero-title-line {
    display: block;
    font-size: clamp(3.5rem, 10vw, 8rem);
    letter-spacing: 0.18em;
    padding-bottom: 0.25em;
    padding-top: 0.1em;
    line-height: 1.15;
}

/* Character-by-character entrance */
.hero-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotateX(40deg) scale(0.8);
    animation: charReveal 0.8s var(--ease-spring) forwards;
    color: #d5cfc0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.15;
    vertical-align: baseline;
}

@keyframes charReveal {
    0% { opacity: 0; transform: translateY(60px) rotateX(40deg) scale(0.8); }
    60% { opacity: 1; transform: translateY(-5px) rotateX(-5deg) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--clr-blush);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 0; right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: var(--clr-mustard);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 3;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--clr-mustard), var(--clr-deep-red), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
    50%      { opacity: 1;   transform: scaleY(1); transform-origin: top; }
}

/* Floating petals — bigger, bolder, more alive */
.floating-petal {
    position: absolute;
    opacity: 0.4;
    font-size: 2rem;
    z-index: 1;
    pointer-events: none;
    filter: blur(0.5px);
}

.petal-1 { top: 12%; left: 6%; font-size: 2.5rem; color: var(--clr-mustard); }
.petal-2 { top: 22%; right: 10%; font-size: 1.6rem; color: var(--clr-rose); }
.petal-3 { bottom: 28%; left: 12%; font-size: 2.2rem; color: var(--clr-deep-red); }
.petal-4 { top: 55%; right: 6%; font-size: 1.8rem; color: var(--clr-saffron); }
.petal-5 { bottom: 12%; right: 18%; font-size: 1.3rem; color: var(--clr-coral); }
.petal-6 { top: 40%; left: 3%; font-size: 1.5rem; color: var(--clr-gold); }
.petal-7 { bottom: 40%; right: 4%; font-size: 2rem; color: var(--clr-mustard); }
.petal-8 { top: 8%; right: 25%; font-size: 1.8rem; color: var(--clr-plum); }

.hero-motif-4 {
    bottom: 10%;
    left: 8%;
}

/* =========================
   MARQUEE
   ========================= */
.marquee-divider {
    background: linear-gradient(135deg, var(--clr-forest-deep), var(--clr-indigo), var(--clr-plum));
    padding: 1.2rem 0;
    overflow: hidden;
    border-top: 3px solid var(--clr-mustard);
    border-bottom: 3px solid var(--clr-deep-red);
    position: relative;
}

.marquee-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(212,160,17,0.04) 40px, rgba(212,160,17,0.04) 80px);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: var(--clr-mustard);
    opacity: 0.9;
    padding-right: 2rem;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.auth-ui {
    position: relative;
    display: flex;
    align-items: center;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--clr-gold);
    transition: all 0.3s ease;
    background: rgba(200, 169, 110, 0.12);
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: 24px;
    cursor: pointer;
    padding: 6px 14px;
    text-decoration: none;
}

.btn-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-gold);
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .user-btn { padding: 5px 8px; }
}

.user-btn:hover {
    color: var(--clr-ivory);
    background: rgba(200, 169, 110, 0.25);
    border-color: rgba(200, 169, 110, 0.5);
}

.user-menu {
    position: absolute;
    top: calc(100% + 20px);
    right: -10px;
    background: var(--clr-cream);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(10,31,24,0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(198,165,107,0.3);
    overflow: hidden;
    z-index: 1000;
}

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

.user-menu-header {
    background: var(--clr-cream);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(200,169,110,0.2);
}

.user-email {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--clr-forest);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-forest);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.user-menu-item:hover {
    background: var(--clr-cream);
    color: var(--clr-maroon);
}

/* =========================
   COLLECTIONS
   ========================= */
.collections {
    padding: 8rem 0;
    background: var(--clr-cream);
    position: relative;
    overflow: hidden;
}

/* Diagonal decorative stripe in background */
.collections::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, transparent 40%, rgba(168,32,57,0.03) 40%, rgba(168,32,57,0.03) 41%, transparent 41%);
    pointer-events: none;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.collection-card {
    background: var(--clr-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.6s var(--ease-spring);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.collection-card:hover {
    box-shadow: 
        0 30px 60px rgba(26, 74, 58, 0.15),
        0 0 0 2px var(--clr-mustard);
}

/* Gradient border accent - always visible, pulses on hover */
.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-deep-red), var(--clr-mustard), var(--clr-saffron), var(--clr-emerald));
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s, height 0.4s;
}

.collection-card:hover::before {
    opacity: 1;
    height: 5px;
}

/* Corner ornament on cards */
.collection-card::after {
    content: '✦';
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 1.2rem;
    color: var(--clr-mustard);
    opacity: 0;
    transition: all 0.5s var(--ease-spring);
    transform: scale(0) rotate(-30deg);
    z-index: 5;
}

.collection-card:hover::after {
    opacity: 0.35;
    transform: scale(1) rotate(0deg);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo), filter 0.8s;
    filter: saturate(0.95);
}

.collection-card:hover .card-image-wrapper img {
    transform: scale(1.1);
    filter: saturate(1.15) contrast(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(14,46,36,0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.collection-card:hover .card-overlay { opacity: 1; }

.card-cta {
    color: var(--clr-mustard);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo);
}

.collection-card:hover .card-cta { transform: translateY(0); }

.card-content {
    padding: 1.5rem 1.8rem;
}

/* Block print stamp-style badges — BOLDER */
.card-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.4rem 1.2rem;
    border-radius: 3px;
    margin-bottom: 0.8rem;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s var(--ease-spring);
}

.collection-card:hover .card-tag {
    transform: rotate(0deg) scale(1.05);
}

.card-tag--new {
    color: var(--clr-white);
    background: var(--clr-deep-red);
    box-shadow: 3px 3px 0 var(--clr-wine);
}

.card-tag--bestseller {
    color: var(--clr-forest-deep);
    background: var(--clr-mustard);
    box-shadow: 3px 3px 0 var(--clr-gold-dark);
}

.card-tag--limited {
    color: var(--clr-white);
    background: var(--clr-indigo);
    box-shadow: 3px 3px 0 #1a2a3a;
}

.card-tag::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    border-radius: inherit;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--clr-forest);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.collection-card:hover .card-title {
    color: var(--clr-deep-red);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* =========================
   STORY
   ========================= */
.story {
    position: relative;
    padding: 7rem 0;
    background: var(--clr-ivory);
    overflow: hidden;
}

.story-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168,32,57,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212,160,17,0.06) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(46,64,87,0.04) 0%, transparent 40%);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.story-image { position: relative; }

.story-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.12),
        8px 8px 0 var(--clr-deep-red);
}

.story-image-frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.story-image-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    border: 2px solid var(--clr-mustard);
    border-radius: 24px;
    opacity: 0.3;
    z-index: -1;
}

.story-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--clr-deep-red), var(--clr-wine));
    color: var(--clr-mustard);
    padding: 1.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(168, 32, 57, 0.3),
        3px 3px 0 var(--clr-gold);
    transform: rotate(2deg);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
}

.badge-label {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.story-content {
    position: relative;
}

.story-text {
    font-size: 1.05rem;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.story-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, var(--clr-deep-red), var(--clr-mustard), var(--clr-forest)) 1;
}

.stat { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--clr-deep-red);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-deep-red);
}

.stat-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--clr-text-light);
    margin-top: 0.4rem;
}

/* =========================
   CRAFT / PROCESS
   ========================= */
.craft {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--clr-forest-deep) 0%, var(--clr-indigo) 100%);
    color: var(--clr-ivory);
    position: relative;
    overflow: hidden;
}

.craft .section-title { color: var(--clr-ivory); }
.craft .section-tag { color: var(--clr-mustard); }

.craft::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 85%, rgba(212,160,17,0.08), transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(168,32,57,0.08), transparent 50%);
}

/* Subtle fabric texture in craft section */
.craft::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-mustard), var(--clr-deep-red), var(--clr-mustard));
    opacity: 0.4;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    transition: transform 0.5s var(--ease-out-expo);
}

.process-step:hover { transform: translateY(-5px); }

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(212,160,17,0.1);
    border: 1.5px solid var(--clr-mustard);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-mustard);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    z-index: 2;
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, var(--clr-mustard), var(--clr-saffron));
    color: var(--clr-forest-deep);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 30px rgba(212,160,17,0.3);
    border-color: transparent;
}

.step-number {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-deep-red);
    opacity: 0.4;
    margin-bottom: 0.5rem;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--clr-gold-light);
    margin-bottom: 0.8rem;
}

.step-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(245,240,232,0.7);
}

/* =========================
   VIDEO SHOWCASE
   ========================= */
.video-showcase {
    padding: 7rem 0;
    background: var(--clr-cream);
    overflow: hidden;
    position: relative;
}

.video-showcase-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.video-showcase-content .section-title {
    text-align: left;
}

.video-showcase-content .section-tag {
    text-align: left;
}

.video-showcase-text {
    font-size: 1.05rem;
    color: var(--clr-text-light);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.15),
        6px 6px 0 var(--clr-deep-red);
    aspect-ratio: 16/9;
    background: var(--clr-forest-deep);
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--clr-mustard);
    transition: all 0.4s var(--ease-out-expo);
    z-index: 10;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.15);
    color: var(--clr-ivory);
}

.video-play-btn.hidden { opacity: 0; pointer-events: none; }

.video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(212,160,17,0.25);
    border-radius: 20px;
    pointer-events: none;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials {
    padding: 7rem 0;
    background: var(--clr-ivory);
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern for testimonials */
.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(168,32,57,0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212,160,17,0.04) 0%, transparent 40%);
}

.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 200px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--clr-deep-red);
    line-height: 1;
    opacity: 0.3;
    margin-bottom: -1.5rem;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
    color: var(--clr-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.author-name {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--clr-deep-red);
    letter-spacing: 0.05em;
}

.author-location {
    font-size: 0.85rem;
    color: var(--clr-text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-deep-red);
    background: transparent;
    transition: all 0.3s;
}

.dot.active {
    background: linear-gradient(135deg, var(--clr-deep-red), var(--clr-mustard));
    transform: scale(1.2);
    border-color: var(--clr-deep-red);
}

/* =========================
   GALLERY
   ========================= */
.gallery {
    padding: 8rem 0;
    background: var(--clr-cream);
    position: relative;
    overflow: hidden;
}

/* Collage-like background pattern */
.gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(168,32,57,0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(212,160,17,0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(46,64,87,0.03) 0%, transparent 50%);
}

/* Decorative corner motif */
.gallery::after {
    content: '❊';
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    font-size: 4rem;
    color: var(--clr-mustard);
    opacity: 0.08;
    transform: rotate(15deg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.5s, transform 0.5s var(--ease-spring);
    will-change: transform;
}

.gallery-item:hover {
    box-shadow: 
        0 16px 50px rgba(168,32,57,0.2),
        0 0 0 2px var(--clr-mustard);
    z-index: 5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo), filter 0.5s;
    filter: saturate(0.9);
}

.gallery-item:hover img { 
    transform: scale(1.12); 
    filter: saturate(1.2) contrast(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(14,46,36,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.8rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
    color: var(--clr-mustard);
    font-family: var(--font-accent);
    font-size: 1.6rem;
    font-weight: 700;
    transform: translateY(15px);
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-overlay span { transform: translateY(0); }

.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

/* =========================
   CONTACT
   ========================= */
.contact {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--clr-forest-deep) 0%, var(--clr-indigo) 100%);
    color: var(--clr-ivory);
    position: relative;
    overflow: hidden;
}

.contact-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 90%, rgba(212,160,17,0.08), transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(168,32,57,0.08), transparent 50%);
}

.contact .section-title { color: var(--clr-ivory); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    position: relative;
    z-index: 2;
}

.contact-text {
    font-size: 1.05rem;
    color: rgba(245,240,232,0.8);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.contact-details { margin-top: 2rem; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: rgba(245,240,232,0.8);
    border-bottom: 1px solid rgba(212,160,17,0.15);
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--clr-mustard);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(212,160,17,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-mustard);
    transition: all 0.3s var(--ease-out-expo);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--clr-mustard), var(--clr-saffron));
    color: var(--clr-forest-deep);
    transform: translateY(-3px) rotate(-5deg);
    border-color: transparent;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(245,240,232,0.04);
    border: 1px solid rgba(212,160,17,0.2);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
}

/* Corner accents on form */
.contact-form-wrapper::before,
.contact-form-wrapper::after {
    content: '✦';
    position: absolute;
    font-size: 1rem;
    color: var(--clr-mustard);
    opacity: 0.3;
}

.contact-form-wrapper::before {
    top: 1rem;
    left: 1rem;
}

.contact-form-wrapper::after {
    bottom: 1rem;
    right: 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(245,240,232,0.05);
    border: 1px solid rgba(212,160,17,0.25);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: var(--clr-ivory);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245,240,232,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--clr-mustard);
    background: rgba(212,160,17,0.05);
    box-shadow: 0 0 0 3px rgba(212,160,17,0.1);
}

.form-group label {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-mustard);
    background: var(--clr-forest-deep);
    padding: 0 6px;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    opacity: 1;
}

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

.contact .btn-primary {
    margin-top: 0.5rem;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    background: #0a1f18;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-mustard);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: rgba(245,240,232,0.5);
    letter-spacing: 0.04em;
}

.footer-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-deep-red), var(--clr-mustard));
    opacity: 0.5;
    margin: 1.5rem auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(245,240,232,0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: rgba(245,240,232,0.3);
}

/* =========================
   SCROLL ANIMATIONS (Enhanced)
   ========================= */
.anim-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.anim-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Section-level entrance */
section {
    transition: opacity 0.8s ease;
}

.section-visible .section-header {
    animation: sectionHeaderIn 1s var(--ease-spring) both;
}

@keyframes sectionHeaderIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE CURSOR ---- */
@media (hover: none) {
    .cursor-trail { display: none; }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .timeline-line { display: none; }
    .video-showcase-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .video-showcase-content { text-align: center; }
    .video-showcase-content .section-title,
    .video-showcase-content .section-tag { text-align: center; }
    .section-motif { display: none; }
    .hero-motif-3 { display: none; }
    .cursor-trail { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--clr-forest-deep);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.5s var(--ease-out-expo);
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    }

    .nav-links.open { right: 0; }
    .nav-toggle { display: flex; }
    .collections-grid { grid-template-columns: 1fr; }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-image-badge {
        bottom: -10px;
        right: 10px;
        padding: 1rem 1.5rem;
    }

    .badge-number { font-size: 1.8rem; }
    .process-timeline { grid-template-columns: 1fr; gap: 1rem; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item-tall { grid-row: span 1; }
    .gallery-item-wide { grid-column: span 1; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-cta { flex-direction: column; align-items: center; }
    .story-stats { gap: 1.5rem; }
    .stat-number { font-size: 2rem; }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-scroll-indicator { display: none; }
    .hero-motif { display: none; }
    .illustrated-divider { padding: 0.25rem 0; }
    .cursor-trail { display: none; }
    .floating-petal { display: none; }
}

@media (max-width: 480px) {
    .hero-title-line { font-size: 2.8rem; }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .contact-form-wrapper { padding: 1.5rem; }
    .story-stats { flex-direction: column; gap: 1rem; }
    
    .hero-badge::before,
    .hero-badge::after { display: none; }
    
    .hero-char { font-size: 2.8rem; }
}

/* Delivery Message / Shared utility */
.delivery-message {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--clr-forest-light, #4a6a5f);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.delivery-message svg {
    color: var(--clr-mustard);
}
