@import url('https://fonts.googleapis.com/css2?family=Operetta+12:wght@300;400;500&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Operetta 12', serif;
    background-color: #f8f8f8;
    color: #2a2a2a;
    line-height: 1.5;
}

.gallery-page {
    overflow: hidden; /* Prevent scroll bars */
    height: 100vh;
    width: 100vw;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* stay behind all content */
    filter: contrast(0.9) saturate(0.8) brightness(0.8); /* Reduce contrast, saturation and brightness */
}

.background-video::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* adjust darkness */
}


/* Magazine Container - Add relative positioning for the combined background */
.magazine-container {
    width: 100%;
    margin: 0;
    background-color: transparent;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Combined Header and Title Background - Only for index page */
.magazine-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 455px; /* Fixed height that should cover header + title section completely */
    background: url('images/fleurs_contacts.jpg') no-repeat center top/cover;
    z-index: -1;
    display: none; /* Hide by default */
}

/* Show background only on home page */
.home-page .magazine-container::before {
    display: block;
}

/* Header - Remove any background, make transparent */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background-color: transparent;
    position: relative;
    z-index: 2;
    /* border-bottom: 1px solid #e0e0e0; */
}

.brand-name {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #2a2a2a;
}

.brand-logo {
    height: 64px;   /* Adjust depending on your PNG size */
    width: auto;
    display: block;
    filter: brightness(0) invert(0); /* Make logo black */
}

.menu-toggle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #2a2a2a; /* Changed to black */
    display: block;
}

/* Main Article */
.main-article {
    padding: 0 50px;
}

/* Malvie Section */
.malvie-section {
    position: relative;
    width: 100vw;       /* full width of viewport */
    margin-left: calc(-50vw + 50%); /* break out of container padding */
    height: 100vh;      /* full screen height */
    background: url('images/MalvieCover.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}
.malvie-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.4s ease;
}

.malvie-section:hover::before {
    background: rgba(0,0,0,0.1);
}

.malvie-section h2 {
    position: relative;
    font-size: 64px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.malvie-section:hover h2 {
    opacity: 1;
}

/* madeinFrance Section */
.madeinFrance-section {
    position: relative;
    width: 100vw;       /* full width of viewport */
    margin-left: calc(-50vw + 50%); /* break out of container padding */
    height: 100vh;      /* full screen height */
    background: url('images/MadeInFranceCover1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}
.madeinFrance-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.4s ease;
}

.madeinFrance-section:hover::before {
    background: rgba(0,0,0,0.1);
}

.madeinFrance-section h2 {
    position: relative;
    font-size: 64px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.madeinFrance-section:hover h2 {
    opacity: 1;
}

/* AURA Section */
.aura-section {
    position: relative;
    width: 100vw;       /* full width of viewport */
    margin-left: calc(-50vw + 50%); /* break out of container padding */
    height: 100vh;      /* full screen height */
    background: url('4/IMG_8206.JPG') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}
.aura-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.4s ease;
}

.aura-section:hover::before {
    background: rgba(0,0,0,0.1);
}

.aura-section h2 {
    position: relative;
    font-size: 64px;
    color: black;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.aura-section:hover h2 {
    opacity: 1;
}

/* Rugby Section */
.rugby-section {
    position: relative;
    width: 100vw;       /* full width of viewport */
    margin-left: calc(-50vw + 50%); /* break out of container padding */
    height: 100vh;      /* full screen height */
    background: url('images/rugbyCoverjpg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}
.rugby-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.4s ease;
}

.rugby-section:hover::before {
    background: rgba(0,0,0,0.1);
}

.rugby-section h2 {
    position: relative;
    font-size: 64px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.rugby-section:hover h2 {
    opacity: 1;
}

/* Love Section */
.love-section {
    position: relative;
    width: 100vw;       /* full width of viewport */
    margin-left: calc(-50vw + 50%); /* break out of container padding */
    height: 100vh;      /* full screen height */
    background: url('images/loveCover.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}
.love-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.4s ease;
}

.love-section:hover::before {
    background: rgba(0,0,0,0.1);
}

.love-section h2 {
    position: relative;
    font-size: 64px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.love-section:hover h2 {
    opacity: 1;
}

/* Title Section - Ensure it properly connects with the next section */
.title-section {
    display: grid;
    grid-template-columns: 1fr;  /* Single column instead of two */
    gap: 20px;  /* Smaller gap since they're stacked vertically */
    padding: 120px 50px; /* Add horizontal padding to match container */
    text-align: center;  /* Center all text horizontally */
    position: relative;
    width: 100vw;       /* full width of viewport */
    margin-left: calc(-50vw + 50%); /* break out of container padding */
    background-color: transparent;
    margin-bottom: 0; /* Ensure no bottom margin */
    /* border-bottom: 1px solid #e0e0e0; */
}

/* Optional dark overlay for better text readability - REMOVED */
/* 
.title-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}
*/

.main-title {
    font-size: 128px;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #2a2a2a;  /* Black text */
    position: relative;
    z-index: 1;
}

.main-subtitle {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #2a2a2a;  /* Black text */
    position: relative;
    z-index: 1;
}

.intro-text {
    padding-top: 20px;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    font-weight: 400;
}

/* Portrait Section */
.portrait-section {
    padding: 60px 0;
    text-align: center;
}

.portrait-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.placeholder-image {
    width: 100%;
    background-color: #ddd;
    border-radius: 8px;
}

.eyes-image {
    height: 300px;
    background: linear-gradient(135deg, #666 0%, #999 100%);
    position: relative;
}

.eyes-image::after {
    content: 'Close-up portrait image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    opacity: 0.7;
}

/* Info Section */
.info-section {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-item h3 {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
    text-transform: lowercase;
}

.info-item p {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: #2a2a2a;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-self: end;
    align-self: end;
}

.icon {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon:hover {
    background-color: #f0f0f0;
}

/* Biography Section */
/* LE DINER Section */
.diner-section {
    position: relative;
    width: 100vw;       /* full width of viewport */
    margin-left: calc(-50vw + 50%); /* break out of container padding */
    height: 100vh;      /* full screen height */
    background: url('images/DinerCover.JPG') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.diner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.4s ease;
}

.diner-section:hover::before {
    background: rgba(0,0,0,0.1);
}

.diner-section h2 {
    position: relative;
    font-size: 64px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.diner-section:hover h2 {
    opacity: 1;
}


.martin-photo {
    height: 400px;
    background: linear-gradient(135deg, #888 0%, #bbb 100%);
    margin-bottom: 30px;
}

.martin-photo::after {
    content: 'Martin Margiela portrait';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    opacity: 0.7;
}

.birth-info {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.birth-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.birth-date {
    font-size: 32px;
    font-weight: 300;
    color: #2a2a2a;
    text-align: right;
    line-height: 1.1;
}

.bio-text h2 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    color: #2a2a2a;
}

.bio-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Quote Section */
.quote-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 0;
    border-top: 1px solid #e0e0e0;
}

.quote-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

blockquote {
    position: relative;
    font-size: 18px;
    line-height: 1.5;
    color: #2a2a2a;
    font-style: italic;
}

.quote-mark {
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: -20px;
    color: #ddd;
    font-style: normal;
}

.quote-attribution {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.3;
    color: #2a2a2a;
}

.star-icon {
    font-size: 24px;
    color: #ddd;
}

.quote-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.workshop-image,
.fitting-image {
    height: 200px;
    background: linear-gradient(135deg, #777 0%, #aaa 100%);
}

.workshop-image::after {
    content: 'Workshop image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    opacity: 0.7;
}

.fitting-image::after {
    content: 'Fitting room image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    opacity: 0.7;
}

/* Gallery Styles */
.gallery-container {
    padding: 0 50px 50px 50px;
}

/* Section Title */
.section-title {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-family: 'Operetta 12', serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 2px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    text-align: center;
    pointer-events: none;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        top: 100px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
        top: 80px;
    }
}

/* St Val Images Container (for love collection) */
.st-val-container {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px 50px 10px 50px;
    flex-wrap: nowrap;
    position: relative;
    margin-top: -80px; /* Move up to partially overlap header */
    z-index: 1; /* Ensure they appear above background but below header */
}

.st-val-image {
    width: 230px;
    height: auto;
    object-fit: cover;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 0;
    grid-auto-rows: 250px;
}

.gallery-item {
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-item {
    background: linear-gradient(135deg, #ddd 0%, #f0f0f0 100%);
}

.placeholder-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid #bbb;
    border-radius: 50%;
}

/* Clickable image styles */
.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Horizontal Gallery Styles */
.horizontal-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 180px);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    
    /*fading*/
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

/* Adjust gallery height for love collection to accommodate st_val images and center it */
.gallery-page[data-collection="love"] .horizontal-gallery {
    height: calc(100vh - 200px);
    margin-top: 0px;
    align-items: center;
}


.horizontal-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
}


.gallery-item-horizontal {
    flex-shrink: 0;
    width: 250px;
    height: 200px;
    /* border-radius: 12px; */
    overflow: hidden;
    position: relative;
    cursor: pointer;
    /* Smoother, longer transition with custom easing */
    transition: transform 0.3s ease-out; /* Simplified transition */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transform-origin: center;
    will-change: transform; /* Hint for GPU acceleration */
    transform: translate3d(0, -30px, 0); /* Move pictures higher by default */
}

/* Move pictures lower for 22 shades of love collection (complementary behavior) */
.gallery-page[data-collection="love"] .gallery-item-horizontal {
    transform: translate3d(0, 0px, 0); /* Center pictures for love collection */
}

.gallery-item-horizontal:hover {
    transform: translate3d(0, -30px, 0) scale(1.5);
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    /* Slightly longer delay for box-shadow to create staggered effect */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                z-index 0s;
}

/* Preserve centered positioning for love collection on hover */
.gallery-page[data-collection="love"] .gallery-item-horizontal:hover {
    transform: translate3d(0, 0px, 0) scale(1.5);
}

/* Smoother spacing transitions */
.gallery-item-horizontal:hover + .gallery-item-horizontal {
    transform: translate3d(50px, -30px, 0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item-horizontal:has(+ .gallery-item-horizontal:hover) {
    transform: translate3d(-50px, -30px, 0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item-horizontal.shift-left {
    transform: translate3d(-50px, -30px, 0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item-horizontal.shift-right {
    transform: translate3d(50px, -30px, 0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Preserve centered positioning for love collection on shift */
.gallery-page[data-collection="love"] .gallery-item-horizontal:hover + .gallery-item-horizontal {
    transform: translate3d(50px, 0px, 0);
}

.gallery-page[data-collection="love"] .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover) {
    transform: translate3d(-50px, 0px, 0);
}

.gallery-page[data-collection="love"] .gallery-item-horizontal.shift-left {
    transform: translate3d(-50px, 0px, 0);
}

.gallery-page[data-collection="love"] .gallery-item-horizontal.shift-right {
    transform: translate3d(50px, 0px, 0);
}

.gallery-image-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Smoother image scaling with slight delay */
    transition: transform 0.4s ease-out; /* Simplified transition */
    transform-origin: center;
}

.gallery-item-horizontal:hover .gallery-image-horizontal {
    transform: scale(1.1);
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

/* Responsive adjustments with smoother transitions */
@media (max-width: 768px) {
    .magazine-container {
        margin: 0;
        box-shadow: none;
    }
    
    /* Use fleur2.jpg for mobile instead of fleurs_contacts.jpg */
    .magazine-container::before {
        background: url('images/fleur2.jpg') no-repeat center top/cover !important;
    }
    
    .contact-page .magazine-container::before {
        background: url('images/fleur2.jpg') no-repeat center center/cover !important;
    }
    
    .header,
    .main-article {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .title-section,
    .bio-content,
    .quote-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-icons {
        justify-self: start;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .bio-text h2 {
        font-size: 28px;
    }
    
    .birth-info {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
    
    .birth-date {
        font-size: 24px;
        text-align: left;
    }

    .gallery-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .st-val-container {
        padding: 10px 20px 10px 20px;
        gap: 3px;
        margin-top: -60px; /* Adjust for mobile header height */
    }
    
    .st-val-image {
        width: 120px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large-item {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item-horizontal {
        width: 160px;
        height: 220px;
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translate3d(0, -30px, 0); /* Maintain higher position on mobile */
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal {
        transform: translate3d(0, 0px, 0); /* Center pictures for love collection on mobile */
    }
    
    .gallery-track {
        padding: 0 60px;
    }
    
    .gallery-item-horizontal:hover {
        transform: translate3d(0, -30px, 0) scale(1.4);
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    z-index 0s;
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:hover {
        transform: translate3d(0, 0px, 0) scale(1.4);
    }
    
    .gallery-item-horizontal:hover + .gallery-item-horizontal,
    .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover),
    .gallery-item-horizontal.shift-left,
    .gallery-item-horizontal.shift-right {
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .gallery-item-horizontal:hover + .gallery-item-horizontal {
        transform: translate3d(30px, -30px, 0);
    }
    
    .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover) {
        transform: translate3d(-30px, -30px, 0);
    }
    
    .gallery-item-horizontal.shift-left {
        transform: translate3d(-30px, -30px, 0);
    }
    
    .gallery-item-horizontal.shift-right {
        transform: translate3d(30px, -30px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:hover + .gallery-item-horizontal {
        transform: translate3d(30px, 0px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover) {
        transform: translate3d(-30px, 0px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal.shift-left {
        transform: translate3d(-30px, 0px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal.shift-right {
        transform: translate3d(30px, 0px, 0);
    }
    
    .gallery-image-horizontal {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .gallery-item-horizontal:hover .gallery-image-horizontal {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
    }
    
    .gallery-track {
        gap: 15px;
    }

    /* Love collection: keep gallery position unchanged and place st-val row lower */
    .gallery-container {
        position: relative;
    }
    .gallery-page[data-collection="love"] .st-val-container {
        position: absolute;
        top: 24px; /* lower the row on mobile */
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0; /* neutralize negative margin so it doesn't shift layout */
        z-index: 2;
        padding: 6px 8px; /* tighter padding to reduce total width */
        gap: 2px; /* smaller gaps between images */
    }
    .gallery-page[data-collection="love"] .st-val-image {
        width: 80px; /* smaller on mobile to reduce total width */
    }
}

@media (max-width: 480px) {
    .header,
    .main-article {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .bio-text h2 {
        font-size: 24px;
    }
    
    .title-section,
    .biography-section,
    .quote-section {
        padding: 40px 0;
    }

    .gallery-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .st-val-container {
        padding: 5px 15px 5px 15px;
        gap: 2px;
        margin-top: -50px; /* Adjust for small mobile header height */
    }
    
    .st-val-image {
        width: 100px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        grid-auto-rows: 150px;
    }

    .gallery-item-horizontal {
        width: 130px;
        height: 180px;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translate3d(0, -30px, 0); /* Maintain higher position on small mobile */
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal {
        transform: translate3d(0, 0px, 0); /* Center pictures for love collection on small mobile */
    }
    
    .gallery-track {
        padding: 0 40px;
    }
    
    .gallery-item-horizontal:hover {
        transform: translate3d(0, -30px, 0) scale(1.3);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    z-index 0s;
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:hover {
        transform: translate3d(0, 0px, 0) scale(1.3);
    }
    
    .gallery-item-horizontal:hover + .gallery-item-horizontal,
    .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover),
    .gallery-item-horizontal.shift-left,
    .gallery-item-horizontal.shift-right {
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .gallery-item-horizontal:hover + .gallery-item-horizontal {
        transform: translate3d(20px, -30px, 0);
    }
    
    .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover) {
        transform: translate3d(-20px, -30px, 0);
    }
    
    .gallery-item-horizontal.shift-left {
        transform: translate3d(-20px, -30px, 0);
    }
    
    .gallery-item-horizontal.shift-right {
        transform: translate3d(20px, -30px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:hover + .gallery-item-horizontal {
        transform: translate3d(20px, 0px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover) {
        transform: translate3d(-20px, 0px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal.shift-left {
        transform: translate3d(-20px, 0px, 0);
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal.shift-right {
        transform: translate3d(20px, 0px, 0);
    }
    
    .gallery-image-horizontal {
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .gallery-item-horizontal:hover .gallery-image-horizontal {
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
    }
    
    .gallery-track {
        gap: 10px;
    }

    /* Love collection small-mobile tweaks */
    .gallery-page[data-collection="love"] .st-val-container {
        top: 20px; /* a touch lower on small screens */
        padding: 4px 6px; /* even tighter padding on small mobile */
        gap: 2px;
    }
    .gallery-page[data-collection="love"] .st-val-image {
        width: 65px; /* smaller on small mobile */
    }
} 

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100%; /* Changed from cover to 80% to dezoom */
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1; /* stay behind all content */
}

/* Specific styling for aura collection background - full coverage on mobile */
.background-image[style*="auraBackground.jpg"] {
    background-size: cover; /* Ensure full coverage for aura collection */
}

@media (max-width: 768px) {
    /* Ensure all background images cover the full viewport on mobile */
    .background-image {
        background-size: cover !important; /* Full coverage on mobile for all collections */
        background-position: center center;
        min-height: 100vh;
        min-height: -webkit-fill-available; /* iOS fix */
    }
    
    .background-video {
        min-height: 100vh;
        min-height: -webkit-fill-available; /* iOS fix */
    }
    
    .background-image[style*="auraBackground.jpg"] {
        background-size: cover; /* Full coverage on mobile for aura collection */
        background-position: center center;
    }
    
    /* Allow scrolling but disable hover interactions on mobile for all collections */
    .gallery-page .gallery-item-horizontal {
        pointer-events: none; /* Disable hover and click events on cards */
        cursor: default;
        transform: translate3d(0, -30px, 0); /* Maintain higher position */
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal {
        transform: translate3d(0, 0px, 0) !important; /* Center pictures for love collection on mobile */
    }
    
    .gallery-page .gallery-item-horizontal:hover {
        transform: translate3d(0, -30px, 0) !important; /* Maintain higher position, disable hover scale effect */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important; /* Keep original shadow */
        z-index: 1 !important; /* Prevent z-index changes */
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:hover {
        transform: translate3d(0, 0px, 0) !important; /* Center pictures for love collection, disable hover scale effect */
    }
    
    .gallery-page .gallery-item-horizontal:hover + .gallery-item-horizontal,
    .gallery-page .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover),
    .gallery-page .gallery-item-horizontal.shift-left,
    .gallery-page .gallery-item-horizontal.shift-right {
        transform: translate3d(0, -30px, 0) !important; /* Maintain higher position, disable shift effects */
    }
    
    .gallery-page[data-collection="love"] .gallery-item-horizontal:hover + .gallery-item-horizontal,
    .gallery-page[data-collection="love"] .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover),
    .gallery-page[data-collection="love"] .gallery-item-horizontal.shift-left,
    .gallery-page[data-collection="love"] .gallery-item-horizontal.shift-right {
        transform: translate3d(0, 0px, 0) !important; /* Center pictures for love collection, disable shift effects */
    }
    
    .gallery-page .gallery-item-horizontal:hover .gallery-image-horizontal {
        transform: none !important; /* Disable image scaling on hover */
    }
    
    .gallery-page .horizontal-gallery {
        pointer-events: auto; /* Allow scrolling */
        overflow-x: auto; /* Enable horizontal scrolling */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    /* Move credits higher on mobile for love collection */
    .gallery-page[data-collection="love"] .credits-container {
        bottom: 120px; /* Move credits higher for love collection on mobile */
    }
    
    /* Mobile credits with expand functionality */
    .gallery-page[data-collection="love"] .credits-container,
    .gallery-page[data-collection="madeinFrance"] .credits-container {
        bottom: 2rem; /* 2rem from bottom of pictures */
        pointer-events: auto; /* Allow clicking on credits */
    }
    
    /* Hide voir plus on desktop */
    @media (min-width: 769px) {
        .voir-plus {
            display: none;
        }
        
        .floating-credits {
            max-height: none;
        }
    }
    
    
}

.background-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* adjust darkness */
} 

/* Credits section - Centered Credits */
.credits-container {
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.credits-container.active {
    opacity: 1;
}

.floating-credits {
    font-family: 'Operetta 12', serif;
    font-size: 14px;
    line-height: 1.4;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    text-align: center;
    white-space: normal;
    max-width: 80%;
    position: relative;
    max-height: none; /* Show full credits by default */
    overflow: visible;
    transition: max-height 0.3s ease;
}

/* Only truncate for collections with overlay functionality (love and madeinFrance) on mobile */
@media (max-width: 768px) {
    .gallery-page[data-collection="love"] .floating-credits,
    .gallery-page[data-collection="madeinFrance"] .floating-credits {
        max-height: 3.5rem; /* Show approximately 2 lines of text */
        overflow: hidden;
    }
    
    .gallery-page[data-collection="love"] .floating-credits.expanded,
    .gallery-page[data-collection="madeinFrance"] .floating-credits.expanded {
        max-height: none; /* Show full text when expanded */
    }
}

.voir-plus {
    color: white;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    margin-left: 5px;
    pointer-events: auto;
    user-select: none;
}

.voir-plus:hover {
    opacity: 0.8;
}

/* Credits Overlay - align with burger menu overlay */
.credits-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.credits-overlay.active {
    opacity: 1;
    visibility: visible;
}

.credits-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar for all browsers */
.credits-overlay-content::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.credits-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.credits-overlay-title {
    font-family: 'Operetta 12', serif;
    font-size: 32px;
    font-weight: 300;
    color: white;
    letter-spacing: 0.5px;
}

.credits-overlay-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.credits-overlay-close:hover {
    opacity: 1;
}

.credits-overlay-text {
    font-family: 'Operetta 12', serif;
    font-size: 20px;
    line-height: 1.6;
    color: white;
    text-align: center;
}

.credits-overlay-text strong {
    color: #fff;
    font-weight: 500;
    margin-right: 8px;
}

/* Structured credits list in overlay */
.credits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.credit-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px; /* Add padding between sections */
}

.credit-role {
    font-weight: 500;
    color: #ffffff;
    opacity: 0.85;
    margin-bottom: 10px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credit-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 15px;
}

.credit-names {
    color: #ffffff;
}

.credit-names div {
    line-height: 1.6;
    margin-bottom: 4px;
}

/* Desktop: no 'voir plus', full credits, no credits overlay */
@media (min-width: 769px) {
    .voir-plus {
        display: none !important;
    }
    .floating-credits {
        max-height: none !important;
    }
    .credits-overlay {
        display: none !important;
    }
}

.floating-credits strong {
    color: #fff;
    font-weight: 500;
    margin-right: 10px;
}

/* Remove the animation keyframes since we're not using them anymore */


/* Add parallax effect for title section text */
.title-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 120px 50px;
    text-align: center;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: transparent;
    margin-bottom: 0;
    height: 100vh; /* Make it full viewport height for proper parallax */
    overflow: hidden; /* Hide content that moves out of bounds */
}

/* Create parallax effect for the title text */
.main-title {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 72px; /* Increased from 48px */
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #2a2a2a;  /* Changed to black */
    white-space: nowrap;
    transition: opacity 0.3s ease;
    margin: 0;
}

.main-subtitle {
    position: fixed;
    left: 50%;
    top: calc(50% + 60px); /* Adjusted position to accommodate larger title */
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 24px; /* Increased from 16px */
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #2a2a2a;  /* Changed to black */
    white-space: nowrap;
    transition: opacity 0.3s ease;
    margin: 0;
}

/* Hide text when scrolled past title section */
.title-text-hidden .main-title,
.title-text-hidden .main-subtitle {
    opacity: 0;
    pointer-events: none;
}

/* Ensure background image stays fixed during parallax */
.magazine-container::before {
    content: "";
    position: fixed; /* Changed from absolute to fixed for parallax */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background: url('images/fleurs_contacts.jpg') no-repeat center center/cover;
    z-index: -1;
    display: none;
} 

/* Burger Menu Overlay Styles */
.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.burger-overlay.active {
    opacity: 1;
    visibility: visible;
}

.burger-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.burger-menu-title {
    font-family: 'Operetta 12', serif;
    font-size: 48px;
    font-weight: 300;
    color: white;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.burger-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.burger-menu-list li {
    margin: 20px 0;
}

.burger-menu-list a {
    font-family: 'Operetta 12', serif;
    font-size: 32px;
    font-weight: 300;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.burger-menu-list a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* Burger button animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive styles for burger menu */
@media (max-width: 768px) {
    .burger-menu-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .burger-menu-list a {
        font-size: 24px;
    }
    
    .burger-menu-list li {
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .burger-menu-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .burger-menu-list a {
        font-size: 20px;
    }
    
    .burger-menu-list li {
        margin: 12px 0;
    }
}

/* Contact Page Styles */
.contact-page {
    background-color: transparent;
}

.contact-page .magazine-container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('images/fleurs_contacts.jpg') no-repeat center center/cover;
    z-index: -1;
    display: block;
}

.contact-page .header {
    border-bottom: none;
}

.contact-page .brand-logo {
    filter: brightness(0) invert(0); /* Make logo black for contact page */
}

.contact-page .menu-toggle span {
    background-color: #2a2a2a; /* Make burger menu black for contact page */
}

.contact-content {
    min-height: calc(100vh - 124px); /* Subtract header height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.contact-info-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    font-family: 'Operetta 12', serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #2a2a2a;  /* Changed to black */
    margin: 0 0 15px 0;
    line-height: 1;
    padding-bottom: 10px;
}

.contact-name {
    font-family: 'Operetta 12', serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #2a2a2a;  /* Changed to black */
    margin: 0 0 10px 0;
    line-height: 1;
}

.contact-title {
    font-family: 'Operetta 12', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #2a2a2a;  /* Changed to black */
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.contact-link {
    color: #2a2a2a;  /* Changed to black */
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.contact-link:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.social-icons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon-link svg {
    padding-top: 10px;
    width: 48px;
    height: 48px;
}

/* About Page Styles */
.about-text {
    font-family: 'Operetta 12', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #2a2a2a;  /* Changed to black */
}

/* Adjust about page content positioning */
body.contact-page .contact-content {
    transform: translateY(-8%);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
    text-indent: 2em;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Responsive styles for contact page */
@media (max-width: 768px) {
    .contact-content {
        padding: 30px 20px;
    }
    
    .contact-header {
        display: none;
    }
    
    .contact-name {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .contact-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .social-icons-container {
        gap: 15px;
    }
    
    .social-icon-link svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 20px 15px;
    }
    
    .contact-header {
        display: none;
    }
    
    .contact-name {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .contact-title {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .social-icons-container {
        gap: 12px;
    }
    
    .social-icon-link svg {
        width: 36px;
        height: 36px;
    }
}

/* Custom cursor using site logo */
* {
    cursor: url('images/output-smallpngtools.png') 32 32, auto !important;
}
/* Preserve usability for form text fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
[contenteditable="true"] {
    cursor: text !important;
}

/* Mobile fixes: keep hero title on one line; wrap subtitle */
@media (max-width: 768px) {
    .main-title {
        white-space: nowrap;          /* keep single line */
        font-size: clamp(40px, 18vw, 80px); /* scale to viewport - much bigger */
        max-width: 95vw;              /* take nearly all horizontal space */
        padding: 0 10px;              /* small padding on sides */
    }
    .main-subtitle {
        white-space: normal;          /* allow wrapping */
        max-width: 90vw;              /* constrain width to viewport */
        text-align: center;           /* centered lines when wrapped */
        font-size: clamp(20px, 6.5vw, 32px); /* bigger subtitle */
        top: calc(50% + 70px);        /* more spacing from larger title */
    }
}

@media (max-width: 480px) {
    .main-title {
        white-space: nowrap;          /* ensure single line on small mobile */
        font-size: clamp(32px, 16vw, 60px); /* bigger on small screens */
        max-width: 95vw;              /* take nearly all horizontal space */
        padding: 0 8px;               /* small padding on sides */
    }
    .main-subtitle {
        white-space: normal;
        font-size: clamp(16px, 6vw, 26px); /* bigger subtitle on small screens */
        top: calc(50% + 60px);        /* adjusted spacing */
    }
}

/* Reduced-effects mode (desktop memory safeguards) */
body.reduced-effects .horizontal-gallery {
    scroll-behavior: auto;
}

body.reduced-effects .gallery-item-horizontal,
body.reduced-effects .gallery-item-horizontal:hover,
body.reduced-effects .gallery-item-horizontal:hover + .gallery-item-horizontal,
body.reduced-effects .gallery-item-horizontal:has(+ .gallery-item-horizontal:hover),
body.reduced-effects .gallery-item-horizontal.shift-left,
body.reduced-effects .gallery-item-horizontal.shift-right {
    transition: none !important;
    transform: translate3d(0, 0, 0) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

body.reduced-effects .gallery-image-horizontal {
    transition: none !important;
    transform: none !important;
}

/* Avoid massive layering and allow UA to skip offscreen rendering */
body.reduced-effects .gallery-item-horizontal {
    will-change: auto !important;
    content-visibility: auto;
    contain-intrinsic-size: 300px 400px; /* fallback size hint */
}

/* Disable pointer-driven auto-scroll feel on desktop reduced mode */
body.reduced-effects .horizontal-gallery {
    pointer-events: auto;
}