/* ================================================
   BLOOMFELD - Luxury Bridal Couture
   Dior-Inspired Design System
   ================================================ */

:root {
    --color-bg: #FAF8F5;
    --color-dark: #1A1A1A;
    --color-light: #FFFFFF;
    --color-muted: #8A8A8A;
    --color-accent: #B8A89A;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-slow: cubic-bezier(0.4, 0, 0.2, 1);
}


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


html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}


body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}


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


a {
    color: inherit;
    text-decoration: none;
}


/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}


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


.preloader.hidden {
    pointer-events: none;
}


.preloader-logo {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--color-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}


.preloader-line {
    display: none;
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 2rem auto 0;
    overflow: hidden;
}


.preloader-progress {
    height: 100%;
    width: 0;
    background: var(--color-accent);
}


/* ===== NAVIGATION ===== */
.nav {
    transform: translateY(0) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    transition: background 0.6s var(--ease), transform 0.4s var(--ease);
}


.nav.nav-scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
}


.nav.nav-hidden {
    transform: translateY(0) !important; opacity: 1 !important; visibility: visible !important;
}


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


.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-dark);
    transition: color 0.6s var(--ease);
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}


.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-dark);
    transition: color 0.6s var(--ease), opacity 0.3s;
    display: inline-flex;
    align-items: center;
}


.nav-link:hover {
    opacity: 0.6;
}


/* Ensure nav-item aligns with other menu items */
.nav-item {
    display: inline-flex;
    align-items: center;
    position: relative;
}


.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}


.nav-menu-btn span {
    width: 26px;
    height: 3px;
    background: var(--color-dark);
    transition: all 0.3s var(--ease);
    display: block;
    border-radius: 2px;
}


/* Navigation CTA Button */
.nav-cta {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-light);
    background: var(--color-dark);
    padding: 0.75rem 1.5rem;
    transition: all 0.4s var(--ease);
}


.nav-cta:hover {
    background: var(--color-accent);
}


/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
    padding-top: 1.5rem;
}


.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


.nav-dropdown-inner {
    background: var(--color-light);
    padding: 2rem;
    display: flex;
    gap: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    min-width: 500px;
}


.nav-dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.nav-dropdown-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
    display: block;
}


.nav-dropdown-link {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-dark);
    transition: all 0.3s var(--ease);
    position: relative;
    padding-left: 0;
}


.nav-dropdown-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease);
}


.nav-dropdown-link:hover {
    padding-left: 20px;
    color: var(--color-accent);
}


.nav-dropdown-link:hover::before {
    width: 12px;
}


.nav-dropdown-featured {
    position: relative;
    width: 180px;
    overflow: hidden;
}


.nav-dropdown-featured img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}


.nav-dropdown-featured:hover img {
    transform: scale(1.05);
}


.nav-dropdown-featured span {
    left: 0;
    right: 0;
    background: transparent;
    padding: 2rem 1rem 1rem;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-light);
}


@media (max-width: 768px) {
    .nav-menu { display: none; }

    .nav-menu-btn { display: flex; }

    .nav-cta { display: none; }

    .nav {
    transform: translateY(0) !important; padding: 1rem 1.5rem; }

    .nav-dropdown { display: none; }

}


/* ===== MOBILE MENU OVERLAY ===== */
}


/* Menu button active state */
.nav-menu-btn.is-active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}


.nav-menu-btn.is-active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Nav open state - white logo and button */
.nav.nav-open .nav-logo {
    z-index: 1000 !important;
    color: #FAF8F5 !important;
    background: transparent !important;
}
.nav.nav-open .nav-menu-btn span {
    background: #FAF8F5 !important;
}


/* ===== HERO: 3 Photos with Cutout - DEFINITIVE FIX ===== 
   
   The key insight: The cutout needs to be positioned at the bottom of the photos.
   Since photos have aspect-ratio: 2/3, their height is determined by width.
   
   Solution: 
   1. Remove min-height from .hero-grid so its height matches the photos
   2. Add padding-bottom to accommodate the cutout's overflow
   3. Position cutout at bottom: 0 with transform: translate(-50%, 50%)
*/

.hero-grid {
    position: relative;
    /* Remove min-height so height is determined by photos */
    padding: 6rem 2rem 1rem; /* Added 5rem bottom padding for cutout overflow */
    background: var(--color-bg);
    overflow: visible;
}


.hero-grid-photos {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: auto;
}


.hero-photo {
    aspect-ratio: 2/3;
    position: relative;
    overflow: hidden;
    display: block;
    clip-path: inset(100% 0 0 0);
}


.hero-grid.loaded .hero-photo {
    aspect-ratio: 2/3;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}


.hero-grid.loaded .hero-photo:nth-child(1) { transition-delay: 0.1s; }

.hero-grid.loaded .hero-photo:nth-child(2) { transition-delay: 0.25s; }

.hero-grid.loaded .hero-photo:nth-child(3) { transition-delay: 0.4s; }


.hero-photo-overlay {
        display: none !important;
    }

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

    .hero-photo-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}


.hero-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}


.hero-grid.loaded .hero-photo-img img {
    transform: scale(1);
}


.hero-photo:hover .hero-photo-img img {
    transform: scale(1.05);
    transition: transform 0.8s var(--ease);
}


.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s var(--ease);
}


.hero-photo:hover .hero-photo-overlay {
    background: rgba(0,0,0,0.35);
}


.hero-photo-label {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 400;
    color: var(--color-light);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease);
}


.hero-photo:hover .hero-photo-label {
    opacity: 1;
    transform: translateY(0);
}


/* White Cutout Block - FIXED POSITIONING
   Position calculation:
   - The cutout is positioned relative to .hero-grid (the positioned ancestor)
   - padding-bottom on .hero-grid = 5rem creates space for the cutout overflow
   - bottom: 5rem places the cutout at the bottom of the photos area (above the padding)
   - transform: translate(-50%, 50%) centers horizontally and moves down 50% of its height
   - Result: cutout's center aligns with photos bottom edge = half overlap */
.hero-cutout {
    position: absolute;
    bottom: 0; /* Same as bottom padding of .hero-grid */
    left: 50%;
    transform: translate(-50%, 50%);
    background: var(--color-bg);
    padding: 2.5rem 4.5rem 2rem;
    text-align: center;
    z-index: 10;
    opacity: 0;
    clip-path: inset(100% 0 0 0);
}


.hero-grid.loaded .hero-cutout {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease-out;
    transition-delay: 0.6s;
}


.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    transform: translateY(20px);
    opacity: 0;
}


.hero-grid.loaded .hero-title {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease-out;
    transition-delay: 0.8s;
}


.hero-cta {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-dark);
    padding: 0.875rem 2rem;
    border: 1px solid var(--color-dark);
    transform: translateY(20px);
    opacity: 0;
    transition: background 0.3s, color 0.3s;
}


.hero-grid.loaded .hero-cta {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s ease-out,
                background 0.3s,
                color 0.3s;
    transition-delay: 0.95s;
}


.hero-cta:hover {
    background: var(--color-dark);
    color: var(--color-light);
}


/* Tablet - 1024px breakpoint */
@media (max-width: 1024px) {
    .hero-grid {
        padding: 6rem 2rem 1rem;
    }

    .hero-cutout {
        bottom: 0;
        padding: 1.25rem 2.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.25rem, 3.5vw, 2rem);
    }

}


/* Tablet/Mobile - 768px breakpoint: 2-column layout */
@media (max-width: 768px) {
    .hero-grid {
        padding: 5rem 1rem 4rem;
    }

    .hero-grid-photos {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .hero-photo:nth-child(3) {
        display: none;
    }

    .hero-cutout {
        bottom: 4rem;
        padding: 1rem 1.5rem 0.75rem;
    }

    .hero-title {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

}


/* Mobile Portrait - 480px breakpoint: Horizontal swipeable slider */
@media (max-width: 480px) {
    .hero-grid {
        padding: 4.5rem 0 1rem;
        overflow: visible;
    }


    .hero-grid-photos {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }

    .hero-grid-photos::-webkit-scrollbar {
        display: none;
    }


    .hero-photo {
        flex: 0 0 85%;
        position: relative;
        overflow: hidden;
        aspect-ratio: 2/3;
        max-height: none;
        scroll-snap-align: center;
        display: block !important;
    }

    .hero-photo-overlay {
        display: none !important;
    }

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

    .hero-photo-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }


    .hero-photo:nth-child(2),
    .hero-photo:nth-child(3) {
        display: block !important;
        height: 100%;
    }


    /* On mobile, cutout becomes relative positioned below the photo */
    .hero-cutout {
        position: relative;
        transform: none;
        left: auto;
        bottom: auto;
        padding: 1.25rem 1.5rem 1rem;
        margin-top: 1rem;
    }


    .hero-title {
        font-size: 1.25rem;
        letter-spacing: 0.05em;
    }

    
    .hero-cta {
        padding: 0.75rem 1.75rem;
    }

}


/* ===== INTRO SECTION ===== */
.section-intro {
    padding: 8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}


.intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-dark);
}


/* ===== COLLECTIONS SECTION ===== */
.section-collections {
    padding: 0 2rem 4rem;
}


.collections-header {
    text-align: center;
    margin-bottom: 0.75rem;
}


.collections-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}


.collections-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
}


/* Clean 4-column grid */
.collections-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
}


.collection-card {
    display: block;
    text-align: center;
}


.collection-card-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1rem;
}


.collection-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}


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


.collection-card-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
}


.collections-footer {
    text-align: center;
    margin-top: 4rem;
}


.btn-line {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-dark);
    padding: 1rem 2rem;
    border: 1px solid var(--color-dark);
    transition: all 0.4s var(--ease);
}


.btn-line:hover {
    background: var(--color-dark);
    color: var(--color-light);
}


@media (max-width: 1024px) {
    .collections-row {
        gap: 0.75rem;
        gap: 1rem;
    }

}


@media (max-width: 640px) {
    .section-collections {
        padding: 0 1.5rem 6rem;
    }

    .collections-row {
        gap: 0.75rem;
    }

}


/* ===== HERITAGE SECTION: Horizontal Scroll Timeline ===== */
.section-heritage {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #F5F2ED;
    overflow: hidden;
}


/* Large scrolling background text */
.heritage-bg-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 250vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
    pointer-events: none;
}


.heritage-bg-header h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(8rem, 25vw, 30vw);
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(184,168,154,0.15);
    text-stroke: 1.5px rgba(184,168,154,0.15);
    letter-spacing: -0.02em;
    line-height: 100%;
    white-space: nowrap;
}


/* Timeline cards */
.timeline-card {
    position: absolute;
    top: 10%;
    left: 100%;
    width: 340px;
    height: 520px;
    background: var(--color-light);
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    will-change: transform;
    z-index: 2;
    opacity: 0;
}


.timeline-card .card-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}


.timeline-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}


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


.card-content {
    width: 100%;
    height: calc(100% - 240px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}


.card-year {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}


.card-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}


.card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
}


/* Responsive */
@media (max-width: 768px) {
    .section-heritage {
        height: auto;
        padding: 4rem 0;
    }


    .heritage-bg-header {
        position: relative;
        width: 100%;
        height: auto;
        padding: 2rem;
    }


    .heritage-bg-header h1 {
        font-size: 3rem;
        -webkit-text-stroke: 1px rgba(26,26,26,0.15);
        text-stroke: 1px rgba(26,26,26,0.15);
    }


    .timeline-card {
        position: relative;
        left: auto;
        top: auto;
        width: 90%;
        max-width: 340px;
        margin: 1.5rem auto;
        opacity: 1;
        transform: translateY(-50%) !important;
    }

}


/* ===== DESIGNER SHOWCASE TABS ===== */
.section-showcase {
    padding: 6rem 2rem;
    background: var(--color-bg);
}


.showcase-header {
    text-align: center;
    margin-bottom: 2.5rem;
}


.showcase-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}


.showcase-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
}


/* Category Tabs */
.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}


.showcase-tab {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-muted);
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s var(--ease);
}


.showcase-tab::after {
    content: '';
    left: 50%;
    transform: translate(-50%, 50%);
    width: 0;
    height: 1px;
    background: var(--color-dark);
    transition: width 0.4s var(--ease);
}


.showcase-tab:hover {
    color: var(--color-dark);
}


.showcase-tab.is-active {
    color: var(--color-dark);
}


.showcase-tab.is-active::after {
    width: 60%;
}


/* Collection Grids */
.showcase-collections {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}


.showcase-collection {
    display: none;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
}


.showcase-collection.is-active {
    display: grid;
    animation: showcaseFadeIn 0.6s ease-out;
}


@keyframes showcaseFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.showcase-item {
    display: block;
    text-align: center;
}


.showcase-item-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1rem;
}


.showcase-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}


.showcase-item:hover .showcase-item-img img {
    transform: scale(1.04);
}


.showcase-item-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-dark);
}


.showcase-footer {
    text-align: center;
    margin-top: 3rem;
}


@media (max-width: 768px) {
    .showcase-collection {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-item:nth-child(3) {
        grid-column: span 2;
        max-width: 60%;
        margin: 0 auto;
    }

    .showcase-tabs {
        gap: 0.5rem;
    }

    .showcase-tab {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

}


/* ===== SIGNATURE SECTION ===== */
.section-signature {
    padding: 8rem 0;
    background: var(--color-dark);
    color: var(--color-light);
}


.signature-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}


.signature-media {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}


.signature-img-main {
    overflow: hidden;
}


.signature-img-main img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}


.signature-img-detail {
    overflow: hidden;
    align-self: end;
}


.signature-img-detail img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
}


.signature-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}


.signature-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}


.signature-desc {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 1rem;
}


.signature-features {
    list-style: none;
    margin-bottom: 1rem;
}


.signature-features li {
    font-size: 0.85rem;
    opacity: 0.7;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
}


.signature-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 1px;
    background: var(--color-accent);
}


.btn-underline {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-light);
    position: relative;
    padding-bottom: 0.5rem;
}


.btn-underline::after {
    content: '';
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-light);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}


.btn-underline:hover::after {
    transform: scaleX(1);
}


@media (max-width: 1024px) {
    .signature-inner {
        grid-template-columns: 1fr;
    }

    .signature-media {
        order: -1;
    }

}


/* ===== GALLERY SECTION ===== */
.section-gallery {
    padding: 8rem 0;
}


.gallery-header {
    text-align: center;
    margin-bottom: 0.75rem;
}


.gallery-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
}


.gallery-track-wrapper {
    overflow: hidden;
}


.gallery-track {
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
}


.gallery-slide {
    flex: 0 0 auto;
    width: 35vw;
    min-width: 300px;
    overflow: hidden;
}


.gallery-slide img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}


.gallery-slide:hover img {
    transform: scale(1.03);
}


/* ===== ATELIER SPLIT LAYOUT ===== */
.section-atelier {
    background: var(--color-dark);
    overflow: hidden;
}


.atelier-inner {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 90vh;
}


/* Left: Content Block */
.atelier-content {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.atelier-eyebrow {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}


.atelier-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3rem;
}


/* Text slides */
.atelier-text-slides {
    position: relative;
    min-height: 180px;
    margin-bottom: 3rem;
}


.atelier-text {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}


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


.atelier-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    opacity: 0.4;
    margin-bottom: 1rem;
}


.atelier-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 1rem;
}


.atelier-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 400px;
}


/* Navigation */
.atelier-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


.atelier-progress {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}


.atelier-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
}


.atelier-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}


.atelier-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    background: none;
    color: var(--color-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}


.atelier-nav-btn:hover {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}


.atelier-counter {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-light);
    opacity: 0.6;
}


.atelier-current {
    opacity: 1;
}


/* Right: Photo slider */
.atelier-media {
    position: relative;
    overflow: hidden;
}


.atelier-photos {
    position: relative;
    width: 100%;
    height: 100%;
}


.atelier-photo {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-out;
}


.atelier-photo.is-active {
    opacity: 1;
}


.atelier-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}


.atelier-photo.is-active img {
    transform: scale(1);
}


@media (max-width: 1024px) {
    .atelier-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .atelier-content {
        padding: 8rem 2rem 4rem;
        order: 2;
    }

    .atelier-media {
        height: 60vh;
        order: 1;
    }

    .atelier-text-slides {
        min-height: 140px;
    }

}


@media (max-width: 768px) {
    .atelier-content {
        padding: 3rem 1.5rem;
    }

    .atelier-media {
        height: 50vh;
    }

}


/* ===== STORIES SECTION - Horizontal Slider (Image + Text) ===== */
.section-stories {
    padding: 10rem 0;
    background: var(--color-light);
    overflow: hidden;
}


.stories-header {
    text-align: center;
    margin-bottom: 0;
    padding: 0 2rem;
}


.stories-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
}


/* Slider container */
.stories-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
}


/* Track holds all cards in a row */
.stories-track {
    display: flex;
    gap: 3rem;
    transition: transform 0.8s var(--ease);
}


/* Each story card - image left, content right */
.story-card {
    flex: 0 0 80%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--color-bg);
    overflow: hidden;
    min-height: 500px;
}


/* Image side */
.story-card-img {
    position: relative;
    overflow: hidden;
}


.story-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}


.story-card:hover .story-card-img img {
    transform: scale(1.03);
}


/* Content side */
.story-card-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg);
}


.story-card-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 0;
}


.story-card-quote::before {
    content: '';
    display: none;
}


.story-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}


.story-card-name {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    font-style: normal;
    letter-spacing: 0.05em;
    color: var(--color-dark);
}


.story-card-location {
    font-size: 0.7rem;
    color: var(--color-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* Navigation */
.stories-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}


.stories-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease);
}


.stories-nav-btn:hover {
    border-color: var(--color-dark);
    background: var(--color-dark);
}


.stories-nav-btn svg {
    transition: stroke 0.4s var(--ease);
}


.stories-nav-btn:hover svg {
    stroke: var(--color-light);
}


.stories-counter {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-muted);
    min-width: 60px;
    text-align: center;
}


.stories-current {
    color: var(--color-dark);
    font-weight: 500;
}


/* Responsive */
@media (max-width: 1200px) {
    .story-card {
        flex: 0 0 85%;
        position: relative;
        overflow: hidden;
    }

    .stories-slider {
        padding: 0 3rem;
    }

}


@media (max-width: 900px) {
    .section-stories {
        padding: 6rem 0;
    }

    .story-card {
        flex: 0 0 90%;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .story-card-img {
        height: 350px;
    }

    .stories-slider {
        padding: 0 2rem;
    }

    .story-card-content {
        padding: 2.5rem;
    }

}


@media (max-width: 640px) {
    .section-stories {
        padding: 5rem 0;
    }

    .story-card {
        flex: 0 0 calc(100% - 1rem);
    }

    .story-card-content {
        padding: 2rem;
    }

    .story-card-quote {
        font-size: 1.25rem;
    }

    .stories-track {
        gap: 1.5rem;
    }

}


/* ===== CONTACT SECTION: Split Layout ===== */
.section-contact {
    background: var(--color-dark);
    color: var(--color-light);
}


.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}


.contact-content {
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.contact-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1.5rem;
}


.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}


.contact-desc {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.7;
    margin-bottom: 2.5rem;
    max-width: 400px;
}


.contact-details {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}


.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


.contact-detail-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.5;
}


.contact-detail-value {
    font-family: var(--font-serif);
    font-size: 1rem;
}


.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-dark);
    background: var(--color-light);
    border: none;
    transition: all 0.4s var(--ease);
    width: fit-content;
}


.contact-btn svg {
    transition: transform 0.3s var(--ease);
}


.contact-btn:hover {
    background: var(--color-accent);
    color: var(--color-light);
}


.contact-btn:hover svg { transform: translateX(4px); }

.section-contact .contact-btn {
    color: #1A1A1A !important;
    background: #FAF8F5 !important;
}


.section-contact .contact-btn:hover {
    background: #B8A89A !important;
    color: #FAF8F5 !important;
}



.contact-media {
    position: relative;
    overflow: hidden;
}


.contact-img {
    width: 100%;
    height: 100%;
}


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


@media (max-width: 1024px) {
    .contact-content {
        padding: 4rem 3rem;
    }

}


@media (max-width: 768px) {
    .contact-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-media {
        height: 50vh;
        order: -1;
    }

    .contact-content {
        padding: 3rem 1.5rem;
        text-align: center;
        align-items: center;
    }

    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .contact-detail {
        align-items: center;
    }

}


/* ===== PRE-FOOTER STATEMENT ===== */
.section-prefooter {
    padding: 6rem 2rem;
    background: var(--color-dark);
    text-align: center;
}


.prefooter-inner {
    max-width: 800px;
    margin: 0 auto;
}


.prefooter-year {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}


.prefooter-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 1rem;
}


.prefooter-line {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto 1.5rem;
}


.prefooter-text {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}


@media (max-width: 768px) {
    .section-prefooter {
        padding: 4rem 1.5rem;
    }

}


/* ===== FOOTER ===== */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--color-bg);
}


.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}


.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}


.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}


.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
}


.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 8rem 2rem 4rem;
}


.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}


.footer-col a,
.footer-col address {
    display: block;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}


.footer-col a:hover {
    color: var(--color-dark);
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}


.footer-legal {
    display: flex;
    gap: 1.5rem;
}


.footer-legal a {
    color: var(--color-muted);
    transition: color 0.3s;
}


.footer-legal a:hover {
    color: var(--color-dark);
}


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

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

}


/* ===== PERSONALIZATION FEATURE ===== */
.personalize-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-dark);
    background: transparent;
    border: 1px solid var(--color-dark);
    cursor: pointer;
    transition: all 0.4s var(--ease);
}


.personalize-trigger:hover {
    background: var(--color-dark);
    color: var(--color-light);
}


.personalize-icon {
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}


@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }

    50% { opacity: 0.6; transform: scale(1.2); }

}


/* Popup */
.personalize-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease);
}


.personalize-popup.is-active {
    opacity: 1;
    visibility: visible;
}


.personalize-popup-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    background: var(--color-bg);
    position: relative;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.5s var(--ease);
    transition-delay: 0.1s;
}


.personalize-popup.is-active .personalize-popup-inner {
    transform: translateY(0) scale(1);
    opacity: 1;
}


.personalize-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    z-index: 10;
    transition: transform 0.3s var(--ease);
}


.personalize-close:hover {
    transform: rotate(90deg);
}


.personalize-content {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.personalize-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}


.personalize-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 1rem;
}


.personalize-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 2.5rem;
}


.personalize-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.personalize-input {
    width: 100%;
    padding: 1rem 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    outline: none;
    transition: border-color 0.3s;
}


.personalize-input::placeholder {
    color: var(--color-muted);
}


.personalize-input:focus {
    border-color: var(--color-accent);
}


.personalize-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light);
    background: var(--color-dark);
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}


.personalize-submit svg {
    transition: transform 0.3s var(--ease);
}


.personalize-submit:hover {
    background: var(--color-accent);
}


.personalize-submit:hover svg {
}


.personalize-visual {
    position: relative;
    overflow: hidden;
}


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


.personalize-name-preview {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-light);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
}


.personalize-name-preview.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Contact name overlay - Gold embroidery style */
.contact-img {
    position: relative;
}


.contact-name-overlay {
    position: absolute;
    bottom: 6rem;
    right: 4rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
    /* Gold gradient text */
    background: linear-gradient(
        135deg,
        #D4AF37 0%,
        #F4E5B2 25%,
        #D4AF37 50%,
        #AA8C2C 75%,
        #D4AF37 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Embroidery effect */
    text-shadow:
        0 1px 0 rgba(255,255,255,0.1),
        0 -1px 0 rgba(0,0,0,0.2);
    filter: drop-shadow(0 4px 20px rgba(212,175,55,0.3));
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}


.contact-name-overlay::before {
    content: '✦';
    position: absolute;
    top: -0.5em;
    left: -1.5em;
    font-size: 0.4em;
    font-style: normal;
    color: #D4AF37;
    opacity: 0.6;
}


.contact-name-overlay::after {
    content: '✦';
    position: absolute;
    bottom: -0.3em;
    right: -1.5em;
    font-size: 0.4em;
    font-style: normal;
    color: #D4AF37;
    opacity: 0.6;
}


.contact-name-overlay.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Personalized text highlight */
[data-personalize] {
    transition: all 0.5s var(--ease);
}


[data-personalize].is-personalized {
    color: var(--color-accent);
}


@media (max-width: 768px) {
    .personalize-popup-inner {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }

    .personalize-visual {
        height: 200px;
        order: -1;
    }

    .personalize-content {
        padding: 2.5rem 2rem;
    }

    .personalize-trigger {
        margin-top: 2rem;
        padding: 0.875rem 1.5rem;
    }

    .contact-name-overlay {
        bottom: 2rem;
        right: 2rem;
        font-size: 1.5rem;
    }

    .contact-name-overlay::before,
    .contact-name-overlay::after {
        display: none;
    }

}


/* ===== ANIMATIONS ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}


[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===== TEXT HANDLING ===== */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    word-break: keep-all;
    hyphens: none;
}


p {
    text-wrap: pretty;
}


/* Prevent orphans on important text */
.hero-dior-title,
.intro-text,
.collection-item-title,
.signature-title,
.atelier-title,
.stories-title,
.contact-title {
    text-wrap: balance;
    word-break: keep-all;
}


/* ===== UTILITY CLASSES ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ===== COMPREHENSIVE RESPONSIVE FIXES ===== */

/* Tablet Portrait */
@media (max-width: 1024px) {
    .section-intro {
        padding: 6rem 2rem;
    }


    .gallery-slide {
        width: 50vw;
        min-width: 280px;
    }


    .gallery-slide img {
        height: 40vh;
    }

}


/* Mobile Landscape / Small Tablets */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }


    .section-intro {
        padding: 4rem 1.5rem;
    }


    .intro-text {
        font-size: 1.25rem;
    }


    .gallery-track {
        padding: 0 1rem;
    }


    .gallery-slide {
        width: 70vw;
        min-width: 260px;
    }


    .gallery-slide img {
        height: 35vh;
    }


    .marquee-inner span {
        font-size: 1rem;
    }


    .footer-top {
        padding: 8rem 2rem 4rem;
    }

}


/* Mobile Portrait */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    /* Intro */
    .section-intro {
        padding: 3rem 1.25rem;
    }


    /* Collections */
    .section-collections {
        padding: 0 1rem 4rem;
    }


    .collections-header {
        margin-bottom: 1rem;
    }


    .collections-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .collection-card-img {
        aspect-ratio: 4/5;
    }


    /* Showcase */
    .section-showcase {
        padding: 4rem 1rem;
    }


    .showcase-tabs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }


    .showcase-tab {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }


    .showcase-collection {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }


    .showcase-item:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }


    /* Atelier */
    .atelier-content {
        padding: 2.5rem 1.25rem;
    }


    .atelier-media {
        height: 45vh;
    }


    .atelier-text-slides {
        min-height: 160px;
    }


    .atelier-title {
        margin-bottom: 1rem;
    }


    .atelier-nav-btn {
        width: 36px;
        height: 36px;
    }


    /* Gallery */
    .section-gallery {
        padding: 4rem 0;
    }


    .gallery-header {
        margin-bottom: 1rem;
    }


    .gallery-slide {
        width: 85vw;
    }


    .gallery-slide img {
        height: 30vh;
    }


    /* Stories - handled by section-specific responsive */

    /* Contact - handled by section-specific responsive */

    /* Footer */
    .footer {
        padding: 3rem 1.25rem 1.5rem;
    }


    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .footer-bottom {
        padding-top: 1.5rem;
        text-align: center;
    }


    .footer-legal {
        justify-content: center;
    }


    /* Buttons */
    .btn-line {
        padding: 0.875rem 1.75rem;
        font-size: 0.7rem;
    }


    .hero-cta {
        padding: 0.75rem 1.75rem;
    }

}


/* Small Mobile */
@media (max-width: 375px) {
    html {
        font-size: 13px;
    }


    .mobile-menu-link {
        font-size: 1.75rem;
    }


    .hero-title {
        letter-spacing: 0.08em;
    }


    .heritage-title {
        font-size: 1.75rem;
    }

}


/* ===== COLLECTION GALLERY SECTION ===== */
.section-collections {
    padding: 6rem 4rem;
    background: var(--color-bg);
}


.gallery-group {
    margin-bottom: 6rem;
}


.gallery-group:last-child {
    margin-bottom: 0;
}


.gallery-group-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}


.gallery-group-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
}


.gallery-group-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    flex: 1;
}


.gallery-group-title-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}


.gallery-group-title-link:hover {
    color: #B8977E;
}


.gallery-group-title-link .gallery-group-title {
    margin: 0;
}


.gallery-group-count {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
}

/* Clean Gallery Style - Label overlapping bottom */
.section-collections .gallery-floating {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
    row-gap: 4rem;
    padding: 1rem 0 0 0;
}

.section-collections .gallery-group.single-group .gallery-floating {
    padding-top: 4rem;
}


.section-collections .gallery-item {
    position: relative;
    margin-bottom: 1rem;
    overflow: visible;
}

.section-collections .gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(50%);
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    z-index: 5;
    background: transparent;
}

.section-collections .gallery-item-name {
    background: #FAF8F5;
    color: #1A1A1A;
    padding: 1rem 2rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.section-collections .gallery-item-number {
    display: none;
}

.section-collections .gallery-group-count {
    display: none;
}



.gallery-item {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
}


.gallery-item-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: transparent;
    border: none;
    line-height: 0;
}


.gallery-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    border: none;
}


.gallery-item:hover .gallery-item-img img {
    transform: scale(1.05);
}


/* Hide the old icon */
.gallery-item-icon {
    display: none;
}


/* Label overlapping bottom of photo */
.gallery-item-label {
    left: 0;
    right: 0;
    transform: translateY(50%);
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    z-index: 2;
}


.gallery-item-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: #1A1A1A;
    letter-spacing: 0.05em;
    text-align: center;
    background: #FAF8F5;
    padding: 0.6rem 1.25rem;
    line-height: 1.4;
}


/* Hide the number */
.gallery-item-number {
    display: none;
}


/* Extra spacing between rows for the overlapping labels */
.section-collections .gallery-floating {
}

.section-collections .gallery-group.single-group .gallery-floating {
    padding-top: 4rem;
    row-gap: 3.5rem;
}


/* Gallery Responsive */
@media (max-width: 1200px) {
    .section-collections .gallery-floating {
}

.section-collections .gallery-group.single-group .gallery-floating {
    padding-top: 4rem;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.75rem;
        row-gap: 3rem;
    }

}


@media (max-width: 900px) {
    .section-collections {
        padding: 8rem 2rem 4rem;
    }


    .section-collections .gallery-floating {
}

.section-collections .gallery-group.single-group .gallery-floating {
    padding-top: 4rem;
        gap: 0.75rem;
        gap: 1.5rem;
        row-gap: 2.5rem;
    }
}

/* Mobile - 2 columns */
@media (max-width: 768px) {
    .section-collections .gallery-floating {
}

.section-collections .gallery-group.single-group .gallery-floating {
    padding-top: 4rem;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
        row-gap: 2rem;
    }


    .gallery-item-label {
        padding: 0 0.5rem;
    }


    .gallery-item-name {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }


    .gallery-group-header {
        flex-wrap: wrap;
    }


    .gallery-group-number {
        font-size: 2rem;
    }


    .gallery-group-title {
        font-size: 1.4rem;
    }

}


@media (max-width: 600px) {
    .section-collections {
        padding: 3rem 1.25rem;
    }


    .section-collections .gallery-floating {
}

.section-collections .gallery-group.single-group .gallery-floating {
    padding-top: 4rem;
        gap: 0.75rem;
        gap: 1rem;
        row-gap: 2.5rem;
    }


    .gallery-item-label {
        padding: 0 0.25rem;
    }


    .gallery-item-name {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        letter-spacing: 0.03em;
    }


    .gallery-group {
        margin-bottom: 0.75rem;
    }


    .gallery-item-img {
        aspect-ratio: 3/4;
    }

}


/* ===== DRESS PAGE GALLERY ===== */
.dress-page-gallery {
    padding: 4rem;
    background: var(--color-bg);
}


.dress-page-gallery-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 1rem;
}


.dress-page-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}


.dress-page-gallery-item {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f0ebe5;
}


.dress-page-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}


.dress-page-gallery-item:hover img {
    transform: scale(1.03);
}


@media (max-width: 768px) {
    .dress-page-gallery {
        padding: 2rem 1.25rem;
    }


    .dress-page-gallery-grid {
        gap: 0.75rem;
        gap: 1rem;
    }

}


/* ===== BOOKING EXPERIENCE OVERLAY ===== */
.bf-booking-trigger {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    cursor: pointer;
    background: var(--color-dark);
    padding: 1rem 0.75rem;
    border-radius: 4px 0 0 4px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: all 0.3s var(--ease);
}


.bf-booking-trigger:hover {
    background: var(--color-accent);
    padding-right: 1rem;
}


.bf-booking-trigger .trigger-text {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-light);
}


.bf-booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    visibility: hidden;
}


.bf-booking-overlay.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}


.bf-booking-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}


.bf-booking-overlay .booking-bg {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: opacity 0.5s var(--ease);
}


.bf-booking-overlay .booking-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}


.bf-booking-overlay .close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 1px;
    background: var(--color-light);
    transition: transform 0.3s var(--ease);
}


.bf-booking-overlay .close-line:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}


.bf-booking-overlay .close-line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}


.bf-booking-overlay .booking-close:hover .close-line {
    background: var(--color-accent);
}


.bf-booking-overlay .booking-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 700px;
    padding: 3rem;
    color: var(--color-light);
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s var(--ease) 0.1s;
}


.bf-booking-overlay.is-visible .booking-content {
    transform: translateY(0);
    opacity: 1;
}


.bf-booking-overlay .booking-header {
    margin-bottom: 3rem;
}


.bf-booking-overlay .booking-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}


.bf-booking-overlay .booking-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}


.bf-booking-overlay .booking-title em {
    font-style: italic;
}


.bf-booking-overlay .booking-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 450px;
    margin: 0 auto;
}


.bf-booking-overlay .booking-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}


.bf-booking-overlay .booking-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    text-align: left;
    transition: all 0.3s var(--ease);
}


.bf-booking-overlay .booking-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateX(8px);
}


.bf-booking-overlay .booking-option.option-featured {
    background: rgba(184, 168, 154, 0.15);
    border-color: var(--color-accent);
}


.bf-booking-overlay .option-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-accent);
    min-width: 40px;
}


.bf-booking-overlay .option-content {
    flex: 1;
}


.bf-booking-overlay .option-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}


.bf-booking-overlay .option-desc {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}


.bf-booking-overlay .option-meta {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}


.bf-booking-overlay .option-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s var(--ease);
}


.bf-booking-overlay .option-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}


.bf-booking-overlay .booking-option:hover .option-arrow {
    opacity: 1;
    transform: translateX(0);
}


.bf-booking-overlay .booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}


.bf-booking-overlay .booking-social {
    display: flex;
    gap: 1.5rem;
}


.bf-booking-overlay .booking-social a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}


.bf-booking-overlay .booking-social a:hover {
    color: var(--color-accent);
}


/* Booking Overlay Responsive */
@media (max-width: 768px) {
    .bf-booking-trigger {
        top: auto;
        bottom: 2rem;
        right: 1rem;
        writing-mode: horizontal-tb;
        border-radius: 4px;
        padding: 0.75rem 1rem;
    }


    .bf-booking-overlay .booking-content {
        padding: 2rem 1.5rem;
    }


    .bf-booking-overlay .booking-close {
        top: 1rem;
        right: 1rem;
    }


    .bf-booking-overlay .booking-option {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }


    .bf-booking-overlay .option-num {
        font-size: 1.25rem;
        min-width: 30px;
    }


    .bf-booking-overlay .booking-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

}



/* Berta Couture - 4 subcollections per row */
.collection-berta-couture {
    padding: 6rem 2rem 4rem 2rem;
}


.collection-berta-couture .gallery-group {
    margin-bottom: 0;
}


.collection-berta-couture .gallery-group {
        margin-bottom: 4rem;
    }
    
    .collection-berta-couture .gallery-item {
        touch-action: pan-y !important;
    }
    
    .collection-berta-couture .gallery-group-header {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}


.collection-berta-couture .gallery-group-title {
    font-size: 1rem;
}


.collection-berta-couture .gallery-group-count {
    font-size: 0.65rem;
    display: none;
}


.collection-berta-couture .gallery-floating {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.75rem;
    row-gap: 1.5rem;
}


@media (max-width: 1200px) {
    .collection-berta-couture .gallery-floating {
        grid-template-columns: repeat(3, 1fr) !important;
    }

}


@media (max-width: 900px) {
    .collection-berta-couture .gallery-floating {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}


@media (max-width: 600px) {
    .collection-berta-couture {
        padding: 2rem 1rem;
    }
    .collection-berta-couture .gallery-floating {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }
}


/* Berta Couture - hide piece count and overlay labels */
.collection-berta-couture .gallery-group-count {
    display: none;
}

.collection-berta-couture .gallery-item {
    position: relative;
    margin-bottom: 3rem;
    touch-action: pan-y !important;
    overflow: visible;
}

.collection-berta-couture .gallery-item-img {
    
    position: relative;
}

.collection-berta-couture .gallery-item-label {
    display: flex;
    justify-content: center;
    transform: translateY(50%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 2rem 1rem 1rem;
    margin: 0;
    z-index: 5;
}

.collection-berta-couture .gallery-item-name {
    background: #FAF8F5;
    color: #1A1A1A;
    padding: 1rem 2rem;
    
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    
    
}

.collection-berta-couture .gallery-item-number {
    display: none;
}


/* Berta-test page - all Berta dresses in one grid */
.collection-berta-test .gallery-floating {
        row-gap: 2.2rem !important;
    }
    .collection-berta-test {
    padding: 10rem 2rem 4rem 2rem;
}

.collection-berta-test .gallery-group-header {
    display: none;
}

.collection-berta-test .gallery-floating {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1rem;
    row-gap: 3rem;
}

.collection-berta-test .gallery-item {
    margin-bottom: 1.5rem;
}

.collection-berta-test .gallery-item-label {
    transform: translateY(50%);
    position: absolute;
    bottom: 0;
}

.collection-berta-test .gallery-item-name {
    background: #FAF8F5;
    color: #1A1A1A;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-serif);
    font-size: 1rem;
}

@media (max-width: 1400px) {
    .collection-berta-test .gallery-floating {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 1000px) {
    .collection-berta-test .gallery-floating {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 700px) {
    .collection-berta-test .gallery-floating {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .collection-berta-test .gallery-floating {
        row-gap: 2.2rem !important;
    }
    .collection-berta-test {
        padding: 4rem 1rem 3rem 1rem;
    }
    .collection-berta-test .gallery-item {
        margin-bottom: 1rem;
        overflow: visible !important;
        position: relative !important;
    }
    .collection-berta-test .gallery-item-label {
        transform: translateY(50%) !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
}

/* Berta Couture mobile - bigger text */
@media (max-width: 768px) {
    .collection-berta-couture .gallery-group-title {
        font-size: 1.25rem !important;
    }
    
    .collection-berta-couture .gallery-group {
        margin-bottom: 4rem;
    }
    
    .collection-berta-couture .gallery-item {
        touch-action: pan-y !important;
    }
    
    .collection-berta-couture .gallery-group-header {
    display: none;
        margin-bottom: 1.5rem;
    }
}

/* Preloader fix - no gaps */
.preloader {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

.preloader * {
    border: none !important;
    outline: none !important;
}

/* Berta Couture mobile - bigger text and cutout */
@media (max-width: 600px) {
    .collection-berta-couture .gallery-group-number {
        font-size: 2.5rem !important;
    }
    
    .collection-berta-couture .gallery-group-title {
        font-size: 1.5rem !important;
    }
    
    .collection-berta-couture .gallery-item-name {
        font-size: 1.4rem !important;
        padding: 1.25rem 2.25rem !important;
    }
}

/* Preloader - eliminate any possible lines */
.preloader {
    background: #1A1A1A !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.preloader::before,
.preloader::after {
    display: none !important;
}

.preloader-inner {
    background: transparent !important;
    border: none !important;
}

.preloader-line,
.preloader-progress {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

html.loading,
body.loading {
    background: #1A1A1A !important;
}

/* Hide booking trigger sitewide */
.bf-booking-trigger {
    display: none !important;
}

/* Mobile nav fixes */
@media (max-width: 1024px) {
    .nav-logo {
        display: block !important;
    }

    .hero-photo-overlay {
        display: none !important;
    }

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

    .hero-photo-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 101 !important;
    }
    
    .nav-menu-btn {
        display: flex !important;
        z-index: 101 !important;
    }
    
    .nav {
    transform: translateY(0) !important;
        z-index: 100 !important;
    }
}

/* Ensure mobile menu works */
.mobile-menu {
    z-index: 999 !important;
}

.mobile-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Nav always visible after preloader */
body.loaded .nav {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.loaded .nav-logo {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Dress page mobile fixes */
@media (max-width: 600px) {
    /* Smaller ribbon */
    .bloomfeld-dress-sticky .dress-photo-name,
    .bloomfeld-dress-sticky span.dress-photo-name {
        font-size: 0.55rem !important;
        padding: 0.75rem 0.5rem !important;
        letter-spacing: 0.08em !important;
    }
    
    /* Bigger title */
    .bloomfeld-dress-sticky .dress-title {
        font-size: 2rem !important;
    }
    
    /* Centered button */
    .bloomfeld-dress-sticky .dress-sticky-sidebar {
        text-align: center !important;
        align-items: center !important;
    }
    
    .bloomfeld-dress-sticky .dress-cta-btn {
        margin: 0 auto !important;
        font-size: 0.75rem !important;
        padding: 1rem 2rem !important;
    }
    
    /* Bigger breadcrumbs/back link centered */
    .bloomfeld-dress-sticky .dress-back-link {
        font-size: 0.7rem !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    /* Bigger collection label */
    .bloomfeld-dress-sticky .dress-collection-label {
        font-size: 0.7rem !important;
    }
    
    /* Bigger intro text */
    .bloomfeld-dress-sticky .dress-intro {
        font-size: 0.95rem !important;
    }
}

/* Mobile menu close button */
.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #1A1A1A;
    z-index: 10;
}

.mobile-menu-close svg {
    display: block;
}

/* Fix mobile menu z-index */
.mobile-menu {
    z-index: 9998 !important;
}

.mobile-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Nav stays above when menu closed, but menu covers all when open */
.nav {
    transform: translateY(0) !important;
    z-index: 100;
}

body.menu-open .nav {
    transform: translateY(0) !important;
    background: transparent !important;
}

/* Dress page sidebar mobile - better spacing */
@media (max-width: 768px) {
    .bloomfeld-dress-sticky .dress-sticky-sidebar {
        padding: 2rem 1.5rem 2.5rem !important;
        gap: 0.5rem;
    }
    
    .bloomfeld-dress-sticky .dress-back-link {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
        font-size: 0.75rem !important;
    }
    
    .bloomfeld-dress-sticky .dress-collection-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .bloomfeld-dress-sticky .dress-title {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .bloomfeld-dress-sticky .dress-intro {
        margin-bottom: 2rem !important;
    }
    
    .bloomfeld-dress-sticky .dress-cta-btn {
        font-size: 0.85rem !important;
        padding: 1.25rem 2.5rem !important;
        margin-top: 0.5rem !important;
    }
}

/* Mobile nav - always solid background except home */
@media (max-width: 1024px) {
    .nav {
    transform: translateY(0) !important;
        background: rgba(250, 248, 245, 0.98) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    /* Home page keeps transparent nav */
    .home .nav,
    .page-template-template-bloomfeld-bold .nav {
    transform: translateY(0) !important;
        background: transparent !important;
        backdrop-filter: none !important;
    }
    
    .home .nav.nav-scrolled,
    .page-template-template-bloomfeld-bold .nav.nav-scrolled {
        background: rgba(250, 248, 245, 0.98) !important;
        backdrop-filter: blur(10px) !important;
    }
}

/* Mobile menu - ensure it works */
.mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    background: #FAF8F5 !important;
    z-index: 9998 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.mobile-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-menu-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
}

.mobile-menu-link {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;!important;
    color: #1A1A1A;!important;
    text-decoration: none;!important;
}!important;
!important;
.mobile-menu-cta {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FAF8F5;
    background: #1A1A1A;
    padding: 1rem 2rem;
    text-decoration: none;
    margin-top: 1rem;
}

/* Nav button always clickable */
.nav-menu-btn {
    position: relative;
    z-index: 9999 !important;
    cursor: pointer !important;
}

/* Home page mobile fixes */
@media (max-width: 768px) {
    /* Fix horizontal scroll */
    body,
    html {
        overflow-x: hidden !important;
    }
    
    .bloomfeld-site,
    .bloomfeld-home {
        overflow-x: hidden !important;
    }
    
    /* Simplify hero on mobile - hide door effect */
    .hero-doors {
        display: none !important;
    }

    .hero-canvas {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-canvas-inner {
        transform: translateY(-50%) !important;
    }

    .hero-reveal {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-reveal-title .char {
        opacity: 1 !important;
        transform: translateY(-50%) !important;
    }

    .hero-reveal-tagline {
        opacity: 1 !important;
        transform: translateY(-50%) !important;
    }

    /* Hide hero elements when scrolled past - using inline style override */
    .hero-canvas[style*="display: none"],
    .hero-reveal[style*="display: none"],
    .hero-curtain-mobile[style*="display: none"] {
        display: none !important;
    }
    
    /* Prevent any overflow from sections */
    section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .section-heritage,
    .heritage-bg-header {
        overflow: hidden !important;
        max-width: 100vw !important;
    }
}

/* Mobile menu dropdown - ensure consistent with nav */
.mobile-menu-dropdown {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}
.mobile-menu-dropdown-toggle {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 2rem !important;
    color: #1A1A1A !important;
}
.mobile-menu-dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg) !important;
}
.mobile-menu-dropdown-content {
    display: none;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem 1.5rem !important;
    padding: 1.25rem 0 !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
}
.mobile-menu-dropdown-content.is-open {
    display: grid !important;
}
.mobile-menu-dropdown-link {
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 1.2rem !important;
    color: #555 !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
    text-align: center !important;
    padding: 0.3rem 0 !important;
}
.mobile-menu-dropdown-link:hover {
    color: #1A1A1A !important;
}
.mobile-menu-dropdown-all {
    grid-column: 1 / -1 !important;
    margin-top: 0.75rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid #ddd !important;
    font-size: 1.1rem !important;
    color: #B8977E !important;
    text-align: center !important;
}

/* Mobile menu logo */
.mobile-menu-logo {
    position: absolute !important;
    top: 1.5rem !important;
    left: 1.5rem !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    text-decoration: none !important;
    z-index: 10 !important;
}


/* Vivienne Westwood page - consistent layout */
.collection-vivienne-westwood .gallery-floating {
    row-gap: 3.5rem;
}

.collection-vivienne-westwood .gallery-item {
    position: relative;
    margin-bottom: 3rem;
    overflow: visible;
}

.collection-vivienne-westwood .gallery-item-img {
    aspect-ratio: 3/4;
    position: relative;
}

.collection-vivienne-westwood .gallery-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.collection-vivienne-westwood .gallery-item-label {
    display: flex;
    justify-content: center;
    transform: translateY(50%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 0 1rem;
}

.collection-vivienne-westwood .gallery-item-name {
    background: #FAF8F5;
    color: #1A1A1A;
    padding: 1rem 2rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.collection-vivienne-westwood .gallery-item-number {
    display: none;
}

.collection-vivienne-westwood .gallery-group-count {
    display: none;
}




/* Hero photos - show top of image */
.hero-photo-img img {
    object-position: top !important;
}

/* Vivienne Westwood hero fix */
.collection-vivienne-westwood .hero-photo-img img {
    object-position: top !important;
}


/* Fix picture element in hero - ensure proper sizing */
.hero-photo-img picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-photo-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Ensure hero-photo has consistent height */
.hero-photo {
    aspect-ratio: 2/3 !important;
    min-height: 0;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


/* ============================================
   HERO PICTURE ELEMENT FIX
   Ensures consistent hero height when images
   are wrapped in <picture> tags by WebP plugin
   ============================================ */

.hero-photo {
    position: relative;
    aspect-ratio: 2/3 !important;
    overflow: hidden;
}

.hero-photo-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-photo-img picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-photo-img picture img,
.hero-photo-img > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
}


/* ============================================
   GALLERY PICTURE ELEMENT FIX
   Ensures consistent gallery item height when
   images are wrapped in <picture> tags
   ============================================ */

.gallery-item-img {
    position: relative;
    aspect-ratio: 3/4 !important;
    overflow: hidden;
}

.gallery-item-img picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-item-img picture img,
.gallery-item-img > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
}


/* ========================================
   UNIVERSAL MOBILE COLLECTION GRID
   Same styling for ALL collection pages
   ======================================== */
@media (max-width: 900px) {
    .section-collections .gallery-floating,
    [class*="collection-"] .gallery-floating {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        row-gap: 2.5rem !important;
    }
    
    .section-collections .gallery-item,
    [class*="collection-"] .gallery-item {
        margin-bottom: 0 !important;
    }
    
    .section-collections .gallery-item-name,
    [class*="collection-"] .gallery-item-name {
        font-size: 1.05rem !important;
        padding: 0.6rem 1rem !important;
    }
}

@media (max-width: 600px) {
    .section-collections .gallery-floating,
    [class*="collection-"] .gallery-floating {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        row-gap: 2.2rem !important;
    }
    
    .section-collections .gallery-item-name,
    [class*="collection-"] .gallery-item-name {
        font-size: 1rem !important;
        padding: 0.55rem 0.9rem !important;
    }
}

/* More padding above 2nd, 3rd, 4th group headers on mobile */
@media (max-width: 900px) {
    .gallery-group-header ~ .gallery-group-header {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
    }
}

/* More padding above all group headers except first on mobile */
@media (max-width: 900px) {
    .gallery-group + .gallery-group .gallery-group-header {
        margin-top: 3rem !important;
    }
}

/* Less padding below group headers on mobile */
@media (max-width: 900px) {
    .gallery-group-header {
        margin-bottom: 1rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* ========================================
   APPOINTMENT PAGE MOBILE FIXES
   ======================================== */
@media (max-width: 768px) {
    /* Match contact page padding on appointment */
    .page-template-template-bloomfeld-appointment .contact-main-new {
        padding: 1.5rem !important;
    }
    
    .page-template-template-bloomfeld-appointment .contact-form-new {
        padding: 2rem 1.5rem !important;
    }
    
    /* Center intro text on mobile */
    .page-template-template-bloomfeld-appointment .contact-intro {
        text-align: center !important;
    }
    
    .page-template-template-bloomfeld-appointment .contact-intro-text {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .page-template-template-bloomfeld-appointment .contact-main-new {
        padding: 1rem !important;
    }
    
    .page-template-template-bloomfeld-appointment .contact-form-new {
        padding: 1.5rem 1rem !important;
    }
}

/* ========================================
   GALLERY IMAGES TOP ALIGN
   ======================================== */
.gallery-item-img img,
.gallery-item-img picture img {
    object-position: top center !important;
}

/* ========================================
   ALL COLLECTION IMAGES TOP ALIGN
   ======================================== */
/* Hero images */
.hero-photo img,
.hero-photo-img img,
.hero-slider img {
    object-position: top center !important;
}

/* Gallery grid images */
.section-collections .gallery-item-img img {
    object-position: top center !important;
}

/* Dress/Look detail pages */
.dress-photo-item img,
.dress-photos-scroll img,
.dress-photo-grid img {
    object-position: top center !important;
}

/* CTA section images */
.contact-photo img,
.cta-image img {
    object-position: top center !important;
}
