/* 
* CSS Variables for the The Quirky Editorial Aesthetic
*/
:root {
    --color-bg-primary: #000000;
    /* True Black becomes the primary background */
    --color-text-primary: #F8F8F8;
    /* Alabaster Off-white becomes the primary text */
    --color-bg-dark: #000000;
    --color-bg-light: #F4F0EB;
    --color-text-light: #F8F8F8;

    --font-sans: 'Inter', helvetica, sans-serif;
    --font-serif: 'Playfair Display', serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10vw;
    /* Increased whitespace for luxury feel */
    --spacing-xxl: 8rem;
    --spacing-xxxl: 12rem;

    --transition-slow: 1s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.4s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 2.4s ease-in-out, color 2.4s ease-in-out;
}

body.theme-light {
    --color-bg-primary: #F4F0EB;
    /* Elegant off-white / blanc cassé */
    --color-text-primary: #111111;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Utilities */
.dark-bg {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.italic-display {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Typography Editorial Shift */
.nav-link,
.lang,
.block-label,
.btn-ghost,
.product-price,
.bottom-left p,
.bottom-right p,
.links-left a,
.links-right span,
.newsletter-form input,
.newsletter-form button {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    /* Smaller for elegance */
    font-weight: 400;
    /* Regular instead of bold */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* Wide spacing */
}

/* Header */
.site-header {
    position: fixed;
    /* Sticky throughout scroll */
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-xl);
    z-index: 1000;
    /* High z-index to stay above content */
    color: var(--color-text-light);

    /* Default Transparent State */
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

/* Scrolled Glossy State */
.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.35);
    /* Subtle dark wash for text contrast */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: calc(var(--spacing-sm) * 0.7) var(--spacing-xl);
    /* Shrink slightly */
}

.header-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
}

/* Premium Progressive Underline Hover for Navigation */
.nav-link {
    position: relative;
    text-decoration: none;
    /* Ensure no default underline */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    /* Grows symmetrically from the center */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Slower transition */
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: center;
}

.logo-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: opacity var(--transition-fast);
}

.logo-link:hover {
    opacity: 0.7;
}

.logo-container .logo {
    height: 40px;
    width: 250px;
    fill: currentColor;
    display: block;
}

.lang-switch {
    display: flex;
    gap: var(--spacing-xs);
}

.lang {
    opacity: 0.5;
}

.lang.active {
    opacity: 1;
}

/* Hamburger — hidden on desktop, fully reset to prevent FOUC */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    outline: none;
    color: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: calc(100px + var(--spacing-xl)) var(--spacing-xl) var(--spacing-md);

    /* Background Setup (Desktop) */
    background-color: var(--color-bg-primary);
    background-image: url('https://thequirky.b-cdn.net/Assets/photos/header.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-text-light);
}

/* Élément dédié à l'image de fond — animé par GSAP JS sur mobile */
.hero-bg {
    display: none;
    /* Caché sur Desktop — on utilise le background CSS natif du parent */
}

/* Overlay sombre pour le contraste du texte */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

/* =========================================================
   MOBILE HERO — Parallax GSAP Pin (iOS-safe)
   On utilise GSAP ScrollTrigger pour fixer (pin) l'image
   et éviter tout débordement sur les sections suivantes.
   ========================================================= */
@media (max-width: 900px) {
    .hero-section {
        background-image: none;
        /* Le bg CSS natif est désactivé sur mobile */
        background-attachment: scroll;
        padding-top: calc(80px + var(--spacing-xl));
    }

    /* L'image sera "pinned" sur place par GSAP */
    .hero-bg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-image: url('https://thequirky.b-cdn.net/Assets/photos/header.webp');
        background-size: cover;
        background-position: center 30%;
        background-repeat: no-repeat;
        z-index: 0;
        will-change: transform;
    }

    /* Overlay sombre au-dessus du .hero-bg */
    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
        pointer-events: none;
    }

    /* S'assurer que le texte passe au-dessus de l'overlay */
    .hero-content {
        z-index: 2;
    }

    .hero-subtitle {
        text-align: center;
        display: block;
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 25vw;
        white-space: nowrap;
        font-size: 0.55rem;
    }

    .hero-title {
        margin-top: 0;
        margin-bottom: -1.5rem;
    }

    .hero-content .reveal-fade {
        text-align: center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Ensures content is above the background and overlay */
    width: 100%;
    /* Force la largeur complète pour aligner le bouton à droite */
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12rem;
    /* Massivement poussé pour descendre le titre sur Desktop */
    opacity: 0.7;
    white-space: nowrap;
}

/* Compensate letter-spacing expansion on left-aligned parent so it appears symmetrical */
.hero-content .btn-ghost:hover {
    transform: translateX(-0.9em);
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 7vw, 5.5rem);
    /* Reduced size by ~30% */
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    /* Collé à la description sur Desktop */
}

.hero-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 0 var(--spacing-lg) 0;
    font-style: italic;
    opacity: 0.85;
}

.hero-content .reveal-fade {
    width: 100%;
    text-align: right;
    /* Aligne le bouton OUR APPROACH complètement à droite sur Desktop */
}

.btn-ghost {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid currentColor;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    /* Symétrie : équilibre le letter-spacing */
    background: transparent;
    cursor: pointer;
    text-align: center;
    font-size: 0.75rem;
    border-radius: 2px;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Slow, premium breathing transition */
}

/* Premium minimalist hover: no heavy blocks, just a breath of space and a border fade */
.btn-ghost:hover {
    background: transparent;
    letter-spacing: 0.25em;
    text-indent: 0.25em;
    /* L'indentation grandit avec l'espacement pour rester centré */
    /* Breaths outwards */
    border-color: rgba(255, 255, 255, 0.2);
    /* Fades the box subtly */
}

/* Inverse the blend mode trick on dark bg buttons */
.dark-bg .btn-ghost {
    border-color: var(--color-text-light);
}

.dark-bg .btn-ghost:hover {
    background: transparent;
    letter-spacing: 0.25em;
    text-indent: 0.25em;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Animated Scroll Divider */
.divider-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: var(--spacing-sm) 0 var(--spacing-md) 0;
    /* Vertical rhythm bridging the two sections */
}

/* Symmetrical spacing modifier mirroring the top divider */
.portfolio-video-divider {
    padding: var(--spacing-sm) 0;
}

.reveal-divider {
    height: 1px;
    background-color: currentColor;
    opacity: 0.15;
    /* Thin elegant line */
    width: 0%;
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Slow cinematic horizontal expansion */
}

.reveal-divider.is-visible {
    width: 60%;
    /* Expands gracefully to 60% of viewport */
}

/* Portfolio Section */
.products-section {
    padding: var(--spacing-md) 0;
    overflow: hidden;
    position: relative;
}

/* Architectural Grid Featured In Banner */
.featured-grid-section {
    width: 100%;
    background-color: #FAFAFA;
}

.featured-grid-container {
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
    /* Fallback for smaller screens */
}

.featured-grid-label {
    flex: 0 0 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3rem;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #767676;
    /* WCAG AA: ratio 4.54:1 sur #FAFAFA */
}

.featured-grid-logos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.grid-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #333;
    /* Stronger contrast for logos */
}

/* Remove right border on every 3rd cell */
.grid-logo-cell:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border on the last 3 cells */
.grid-logo-cell:nth-child(n+4) {
    border-bottom: none;
}

/* Left-Aligned Transition Image & Text */
.featured-image-transition {
    width: 100%;
    /* background-color: var(--color-bg-alt); */
    /* Dark background */
    padding: 0 var(--spacing-xl) 2rem var(--spacing-xl);
    /* Reduced bottom padding */
    display: flex;
    justify-content: flex-start;
    /* Image to the left */
    align-items: center;
    /* Vertically center the text next to image */
    gap: 2rem;
    /* Space between image and text */
}

.image-transition-wrapper {
    width: 45%;
    max-width: 550px;
    overflow: hidden;
}

.image-transition-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.text-transition-wrapper {
    flex: 1;
    /* Take up the remaining 55% */
    display: flex;
    justify-content: flex-end;
    /* Align right */
}

.text-transition-wrapper .hero-title {
    text-align: right;
    margin: 0;
    /* Remove default margin for perfect vertical centering */
    font-size: clamp(1.3rem, 4.5vw, 3.5rem);
}

@media (max-width: 900px) {

    /* Keep image and text side-by-side on mobile, prioritize image */
    .featured-image-transition {
        flex-direction: row;
        align-items: center;
        gap: clamp(0.2rem, 1vw, 1rem);
    }

    .image-transition-wrapper {
        width: 60%;
        /* Image is prominently large */
        margin-bottom: 0;
    }

    .text-transition-wrapper {
        width: 40%;
        /* Text is squeezed but proportionally elegant */
        justify-content: flex-end;
    }

    .text-transition-wrapper .hero-title {
        font-size: clamp(0.78rem, 3.6vw, 1.43rem);
        /* +30% vs base mobile */
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .featured-grid-container {
        flex-direction: column;
    }

    .featured-grid-label {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

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

    .grid-logo-cell:nth-child(3n) {
        border-right: 1px solid rgba(0, 0, 0, 0.06);
        /* Reset */
    }

    .grid-logo-cell:nth-child(2n) {
        border-right: none;
        /* New pattern */
    }

    .grid-logo-cell:nth-child(n+4) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        /* Reset */
    }

    .grid-logo-cell:nth-child(n+5) {
        border-bottom: none;
        /* New pattern */
    }
}

@media (max-width: 600px) {
    .featured-grid-label {
        padding: 1.2rem 1rem;
        font-size: 0.55rem;
    }

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

    .grid-logo-cell {
        padding: 1rem 0.5rem;
        border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    .grid-logo-cell:nth-child(3n) {
        border-right: none !important;
    }

    .grid-logo-cell:nth-child(n+4) {
        border-bottom: none !important;
    }

    /* Scaling down specific logos on extreme mobile */
    .logo-grazia,
    .logo-vogue {
        font-size: 0.85rem;
    }

    .logo-wedvibes {
        font-size: 0.75rem;
    }

    .logo-sony {
        font-size: 0.85rem;
    }

    .logo-rangefinder {
        font-size: 0.55rem;
    }

    .logo-lane {
        font-size: 0.7rem;
    }
}

/* Individual logo typography styling to match the image precisely */
.logo-grazia {
    font-family: var(--font-serif);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.logo-rangefinder {
    font-family: var(--font-sans);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}

.logo-wedvibes {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1rem;
}

.logo-lane {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.35em;
}

.logo-vogue {
    font-family: var(--font-serif);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.logo-sony {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding: 0 var(--spacing-xl);
    /* Removed the massive var(--spacing-xl) bottom padding */
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    /* Editorial portrait */
    background-color: #222;
    /* Fallback */
    overflow: hidden;
    /* Prevent img overflow on scale */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
    filter: grayscale(100%);
    transform: scale(1.05);
    /* Start slightly zoomed in */
}

.product-card:hover .product-image img {
    transform: scale(1);
    /* Zoom out on hover */
    filter: grayscale(0%);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid currentColor;
    opacity: 0.8;
    /* Slightly soften the entire meta section or just the border */
    padding-bottom: 0.5rem;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
}

/* Sur mobile : "Zara &" ligne 1, "Roy" ligne 2 */
@media (max-width: 768px) {
    .product-name .name-second {
        display: block;
    }
}

.product-desc {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* Standard Video Section (Aligned with Grid) */
.video-section {
    width: 100%;
}

.video-grid-wrapper {
    /* Mêmes marges/paddings rigoureusement que .product-grid */
    padding: 0 var(--spacing-xl) var(--spacing-sm);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-grid-wrapper video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    /* Retire l'espace blanc sous la vidéo */
    background-color: #000;
}

/* GSAP Asymmetric Photo Collage Section */
.collage-section {
    width: 100%;
    background-color: var(--color-bg-dark);
    padding: var(--spacing-xxxl) 0 0 0;
    overflow: hidden;
}

.collage-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Keeps the dramatic scale of the 5 absolute items */
    min-height: 800px;
    /* Prevents crushing on small horizontal screens */
    max-width: 1600px;
    /* Matches site bounds */
    margin: 0 auto;
    /* Centers the 1600px box on ultrawide monitors */
}

/* ---------------------------------------------------
   STRUCTURE DU MASQUE (L'astuce GSAP)
--------------------------------------------------- */
.visual-item {
    position: absolute;
    /* Placement libre */
}

/* LA FENÊTRE (Le Masque) */
.visual-wrap {
    width: 100%;
    position: relative;
    /* overflow: hidden; Removed mask so image can exist naturally */
}

/* L'IMAGE ANIMÉE */
.visual-picture {
    width: 100%;
    height: auto;
    display: block;
    /* object-fit: cover; Removed crop so original ratio is preserved */
}

/* ---------------------------------------------------
   PLACEMENT ASYMÉTRIQUE DES 5 PHOTOS
--------------------------------------------------- */
.item-1 {
    top: 10%;
    left: 5%;
    width: 16%;
    z-index: 2;
}

.item-2 {
    top: 0%;
    left: 30%;
    width: 40%;
    z-index: 1;
    /* Reste fermement en arrière-plan */
}

.item-3 {
    top: 0%;
    right: 5%;
    width: 14%;
    z-index: 2;
}

.item-4 {
    bottom: 5%;
    left: 18%;
    width: 18.7%;
    z-index: 3;
}

.item-5 {
    bottom: 0%;
    right: 15%;
    width: 22%;
    z-index: 2;
}

/* ---------------------------------------------------
   MOBILE LAYOUT FOR MULTI-PHOTO COLLAGE
--------------------------------------------------- */
@media (max-width: 900px) {
    .portfolio-video-divider {
        padding: var(--spacing-xs) 0;
    }

    .video-section {
        display: none;
    }

    .collage-section {
        padding: var(--spacing-md) 0;
    }

    .collage-container {
        height: 60vh;
        min-height: 400px;
    }

    /* Scale items up for mobile, centered vertically */
    .item-1 {
        top: 12%;
        left: 2%;
        width: 26%;
    }

    .item-2 {
        top: 22%;
        left: 18%;
        width: 55%;
    }

    .item-3 {
        top: 14%;
        right: 2%;
        width: 20%;
    }

    .item-4 {
        bottom: 18%;
        left: 5%;
        width: 25.5%;
    }

    .item-5 {
        bottom: 14%;
        right: 5%;
        width: 30%;
    }
}


/* About Us Section (Dark Editorial Theme) */
.about-section {
    padding: var(--spacing-xxxl) var(--spacing-xl) var(--spacing-xxl) var(--spacing-xl);
    background-color: var(--color-bg-primary);
    /* Dark Theme Background */
    color: var(--color-text-light);
    /* Dark Theme Text */
}

.about-container {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Horizontal Section Divider Spacer */
.about-divider {
    margin: 0 0 var(--spacing-xxl) 0;
}

/* Header */
.about-header {
    width: 100%;
    margin-bottom: 4rem;
}

/* Grid Layout - 3 Columns */
.about-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 8vw;
    /* Fluid, massive horizontal space between columns */
    row-gap: var(--spacing-xl);
    /* Standard vertical space for mobile stacking */
    align-items: start;
}

/* Individual Columns */
.col-1,
.col-2,
.col-3 {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    /* Clean native vertical spacing */
}

/* Portrait Image Containers within Columns */
.about-image-portrait {
    width: 80%;
    /* Reduced from 100% to create elegance/negative space */
    margin: 0 auto;
    /* Center alignment within the column */
    /* All images span full column */
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    /* Bords légèrement arrondis */
}

.about-image-portrait img {
    width: 100%;
    height: auto;
    /* Restored original aspect ratio */
    object-fit: cover;
    display: block;
}

/* Text Content Wrapper */
.about-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Stagger column 2 image downwards by adding massive margin below its text */
.col-2 .about-text-content {
    margin-bottom: calc(var(--spacing-xxxl) * 1.5);
}

.about-col-title {
    font-family: var(--font-serif);
    color: var(--color-text-light);
    /* Changed from yellow/gold to standard light text */
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Text Content */
.about-text-small {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.8;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-text-light);
    opacity: 0.7;
    margin: 0;
    /* Native flex gap handles spacing */
}

/* The Highlighted Quote */
.about-quote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-text-light);
    margin: 0 0 2rem 0;
    /* Native flex gap handles spacing */
}

/* Liens / Boutons */
.btn-link {
    font-family: var(--font-sans);
    color: var(--color-text-light);
    /* Changed from yellow/gold to standard light text */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
    margin-top: var(--spacing-sm);
}

.btn-link:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .about-grid-3col {
        grid-template-columns: 1fr 1fr;
    }

    .col-3 {
        grid-column: 1 / -1;
        /* Spans full width on medium screens */
    }
}

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

    /* Sur mobile, on force un affichage Image puis Texte pour la cohérence */
    .col-2 {
        flex-direction: column-reverse;
    }

    .about-section {
        padding: var(--spacing-lg) 5vw var(--spacing-lg);
    }

    .about-divider {
        margin-bottom: var(--spacing-md);
    }

    .col-2 .about-text-content {
        margin-bottom: var(--spacing-md);
    }
}

/* Footer Section */
.site-footer {
    display: flex;
    flex-direction: column;
}

.footer-top {
    padding: var(--spacing-xl);
    text-align: center;
}

.footer-headline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-block {
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-md);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-block:last-child {
    border-right: none;
}


.block-label {
    min-height: 1.5em;
}

.block-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    min-height: 2.5em;
    display: flex;
    align-items: flex-end;
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-md);
}

.footer-bottom-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.bottom-left p,
.bottom-right p {
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.6;
}

.bottom-left {
    flex: 1;
    text-align: center;
}

.bottom-right {
    flex: 1;
    text-align: right;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-md) 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: space-between;
    opacity: 0.5;
}

.links-left {
    display: flex;
    gap: var(--spacing-md);
}

/* Scroll Reveal Animations */
.reveal-on-scroll,
.reveal-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-on-scroll.is-visible,
.reveal-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Mask Reveal Animation (White Coffee Style) */
.word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
}

.word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Extremely slow, elegant ease-out */
    will-change: transform;
}

/* Staggered delays for Hero Title */
.reveal-text.is-visible .word-mask:nth-child(1) .word-inner {
    transform: translateY(0);
    transition-delay: 0.1s;
}

.reveal-text.is-visible .word-mask:nth-child(3) .word-inner {
    /* child 2 is <br> */
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Stagger for the subtitle */
.hero-text.reveal-text.is-visible .word-mask:nth-child(1) .word-inner {
    transition-delay: 0.7s;
}

.hero-text.reveal-text.is-visible .word-mask:nth-child(3) .word-inner {
    transition-delay: 0.9s;
}

.reveal-fade {
    transition-delay: 0s;
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 5vw;
        gap: var(--spacing-md);
    }

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

    .footer-block {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
        padding: var(--spacing-md) 5vw;
        gap: var(--spacing-sm);
    }

    .block-title {
        font-size: 2.5rem;
        min-height: auto;
    }

    .footer-top {
        padding: var(--spacing-md) 5vw;
    }

    .footer-headline {
        margin-bottom: var(--spacing-md);
    }

    .footer-bottom {
        padding: var(--spacing-sm) 5vw var(--spacing-xs);
    }

    .footer-bottom-top {
        margin-bottom: var(--spacing-sm);
    }

    .scroll-top {
        padding: var(--spacing-xs) 0;
    }

    .footer-block * {
        text-align: center !important;
        justify-content: center !important;
    }

    .footer-block:last-child {
        border-bottom: none;
    }

    .site-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 5vw;
        gap: 0;
    }

    .header-center {
        order: 1;
        flex: 0 0 auto;
    }

    .logo-container .logo {
        height: 30px;
        width: 180px;
    }

    /* Hamburger button — show on mobile */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 32px;
        height: 32px;
        padding: 4px;
        z-index: 1001;
        order: 3;
    }

    .hamburger-btn span {
        display: block;
        width: 22px;
        height: 1px;
        background: var(--color-text-light);
        transition: all 0.3s ease;
    }

    .hamburger-btn.is-open span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .hamburger-btn.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.is-open span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Mobile nav overlay */
    .nav-left {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        /* transition added via .nav-ready to prevent FOUC on page load */
    }

    .nav-left.nav-ready {
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-left.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav-left .nav-link {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .header-right {
        position: static;
        order: 2;
        margin-right: 0;
    }

    .footer-bottom-top {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .bottom-right {
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .links-left {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* =========================================
   SCROLL TO TOP — Chevron + Tooltip
   ========================================= */

.scroll-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: var(--spacing-md) 0;
    cursor: pointer;
    background: transparent;
    border: none;
    text-decoration: none;
}

/* Thin chevron: two CSS lines forming a ^ shape */
.scroll-top-arrow {
    position: relative;
    width: 40px;
    height: 22px;
    display: block;
    transition: transform 0.35s ease;
}

.scroll-top-arrow::before,
.scroll-top-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.35s ease;
}

/* Left arm — goes from bottom-left up to center-top */
.scroll-top-arrow::before {
    left: 0;
    transform-origin: right bottom;
    transform: rotate(-45deg);
}

/* Right arm — goes from center-top down to bottom-right */
.scroll-top-arrow::after {
    right: 0;
    transform-origin: left bottom;
    transform: rotate(45deg);
}

/* "GO TO TOP" label — invisible by default */
.scroll-top-label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

/* Hover effects */
.scroll-top:hover .scroll-top-arrow {
    transform: translateY(-6px);
}

.scroll-top:hover .scroll-top-arrow::before,
.scroll-top:hover .scroll-top-arrow::after {
    background: rgba(255, 255, 255, 0.9);
}

.scroll-top:hover .scroll-top-label {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   LEGAL PAGES — Typography & Layout
   ========================================= */

.legal-section {
    padding: 10rem var(--spacing-xl) var(--spacing-xl);
}

.legal-page-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(248, 248, 248, 0.4);
    margin-bottom: var(--spacing-md);
    display: block;
}

.legal-page-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-meta {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-meta p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 2;
    color: rgba(248, 248, 248, 0.5);
}

.legal-body h2 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 248, 248, 0.85);
    margin-top: var(--spacing-md);
    margin-bottom: 1rem;
}

.legal-body p {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(248, 248, 248, 0.55);
    margin-bottom: 1.5rem;
}

/* Approach page – two-column layout */
.approach-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    padding: 10rem var(--spacing-xl) 0;
    align-items: start;
}

.approach-left {
    position: sticky;
    top: 8rem;
}

.approach-title {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 1.2rem;
}

.approach-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.approach-right p {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.04em;
    color: rgba(248, 248, 248, 0.65);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .approach-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 7rem 5vw var(--spacing-md);
    }

    .approach-left {
        position: static;
    }

    /* Investment section: title (approach-left) on top, text (approach-right) below */
    .approach-layout .approach-right {
        order: 2;
    }

    .approach-layout .approach-left {
        order: 1;
    }
}

/* Investment two-column layout */
.investment-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    padding: 5rem var(--spacing-xl) var(--spacing-xl);
    align-items: start;
}

.investment-title {
    text-align: right;
}

.investment-text p {
    font-family: var(--font-sans);
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.04em;
    color: rgba(248, 248, 248, 0.65);
    text-transform: uppercase;
    margin: 0;
}

.bookings-cta {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-style: italic;
    font-weight: 400;
    color: var(--color-text-primary);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-color: rgba(248, 248, 248, 0.3);
    transition: text-decoration-color 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.bookings-cta:hover {
    text-decoration-color: var(--color-text-primary);
    opacity: 0.8;
}

/* Approach Header Image */
.approach-header-image {
    width: 100%;
    height: 60vh;
    max-height: 800px;
    overflow: hidden;
    margin-top: 100px;
}

.approach-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.approach-top-layout {
    padding-top: 3rem !important;
    /* Requested 3rem spacing before 'Our Approach' */
}

@media (max-width: 900px) {
    .approach-header-image {
        height: 35vh;
        min-height: 250px;
        margin-top: 90px;
    }

    .approach-top-layout {
        padding-top: 1rem !important;
    }

    .approach-legal {
        padding-top: 1rem !important;
    }
}

/* Bookings Layout & Books Display */
.bookings-layout {
    grid-template-columns: 1fr 1fr;
    max-width: 90%;
    align-items: center;
    gap: 4rem;
}

.books-display {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.books-display img {
    width: 30%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
}

@media (max-width: 900px) {
    .bookings-layout {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 2rem;
    }

    .books-display {
        justify-content: center;
        width: 100%;
    }

    .books-display img {
        width: 32%;
    }
}

@media (max-width: 500px) {
    .books-display {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .books-display img {
        width: 80%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .investment-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: var(--spacing-md) 5vw;
    }

    .investment-title {
        order: 1;
        text-align: left;
    }

    .investment-text {
        order: 2;
    }
}


/* =========================================
   FAQ PAGE
   ========================================= */

.faq-hero {
    width: 100%;
    height: 55vh;
    max-height: 700px;
    overflow: hidden;
    margin-top: 100px;
}

.faq-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.faq-title-section {
    padding: 6rem var(--spacing-xl) 4rem;
    text-align: center;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

.faq-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 400;
    opacity: 0.5;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.faq-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-md) 4rem;
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3.5rem;
}

.faq-group {
    margin-bottom: 0;
}

.faq-group-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 2rem;
}

.faq-item {
    border-bottom: 1px solid rgba(248, 248, 248, 0.08);
}

.faq-item:first-of-type {
    border-top: 1px solid rgba(248, 248, 248, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text-primary);
    text-align: left;
    transition: opacity 0.3s ease;
}

.faq-question:hover {
    opacity: 0.6;
}

.faq-icon {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.3;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1.5rem;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.5;
}

.faq-answer a {
    border-bottom: 1px solid currentColor;
    transition: opacity 0.3s ease;
}

.faq-answer a:hover {
    opacity: 0.6;
}

.faq-editorial {
    padding: 3rem 0;
    display: grid;
    gap: 1.5rem;
}

.faq-editorial.faq-duo {
    grid-template-columns: 1fr 1fr;
}

.faq-editorial.faq-trio {
    grid-template-columns: 1fr 1fr 1fr;
}

.faq-editorial.faq-single {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-editorial.faq-duo img,
.faq-editorial.faq-trio img {
    aspect-ratio: 3 / 4;
}

.faq-cta-section {
    text-align: center;
    padding: 5rem var(--spacing-md) 7rem;
}

.faq-cta-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
}

.faq-cta-link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-text-primary);
    padding-bottom: 0.3rem;
    transition: opacity 0.3s ease;
}

.faq-cta-link:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .faq-hero {
        height: 35vh;
        min-height: 250px;
        margin-top: 90px;
    }

    .faq-title-section {
        padding: 4rem var(--spacing-md) 2.5rem;
    }

    .faq-content {
        padding: 0 var(--spacing-sm) 3rem;
    }

    .faq-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-editorial.faq-duo,
    .faq-editorial.faq-trio {
        grid-template-columns: 1fr;
    }

    .faq-editorial.faq-single {
        max-width: 100%;
    }

    .faq-cta-section {
        padding: 3rem var(--spacing-sm) 5rem;
    }
}


/* =========================================
   TESTIMONIALS SLIDER
   ========================================= */

.testimonials-section {
    padding: var(--spacing-lg) 15vw;
    background-color: transparent;
    color: var(--color-text-primary);
    position: relative;
    margin-bottom: 0;
    margin-top: 10rem;
}

.testimonials-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    /* height dictated by tallest active item */
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    align-items: stretch;
    gap: 80px;
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Full-size photo panel */
.testi-portrait {
    flex-shrink: 0;
    width: 52%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
}

.testi-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Quote side */
.testi-quote {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    position: relative;
}

.testi-quote blockquote {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 300;
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    line-height: 2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(248, 248, 248, 0.65);
    position: relative;
    z-index: 1;
}

.testi-quote blockquote p:first-child::before {
    content: '\201C';
    position: absolute;
    font-size: 8rem;
    color: rgba(248, 248, 248, 0.15);
    top: -0.3em;
    left: -0.3em;
    z-index: -1;
    font-family: var(--font-serif);
    font-style: normal;
    line-height: 1;
}

.testi-quote cite {
    display: block;
    margin-top: 2.5rem;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 248, 248, 0.4);
}

.testi-quote cite span {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* Reversed: photo on the right */
.testimonial-item.reverse {
    flex-direction: row-reverse;
}

.testimonial-item.reverse .testi-quote {
    text-align: right;
}

.testimonial-item.reverse .testi-quote blockquote p:first-child::before {
    left: auto;
    right: -0.3em;
}

/* Tabs */
.testimonials-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: var(--spacing-sm);
}

.tab-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(248, 248, 248, 0.2);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.tab-btn.active {
    background-color: var(--color-text-primary);
    transform: scale(1.3);
}

.tab-btn:hover {
    background-color: rgba(248, 248, 248, 0.6);
}

@media (max-width: 900px) {
    .testimonials-section {
        padding: var(--spacing-lg) 5vw;
        margin-top: var(--spacing-lg);
    }

    .testimonial-item,
    .testimonial-item.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .testi-portrait {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .testi-quote,
    .testimonial-item.reverse .testi-quote {
        text-align: center;
        padding: 0;
    }

    .testi-quote blockquote p:first-child::before,
    .testimonial-item.reverse .testi-quote blockquote p:first-child::before {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: -100px;
}

.next-arrow {
    right: -100px;
}

@media (max-width: 1200px) {
    .prev-arrow {
        left: 0;
    }

    .next-arrow {
        right: 0;
    }
}

@media (max-width: 768px) {
    .slider-arrow {
        top: 60px;
        /* Align with the portrait height horizontally centered */
    }
}

/* =========================================
   APPROACH TABS SECTION
   ========================================= */

.approach-tabs-section {
    padding: 0 15vw var(--spacing-lg);
    position: relative;
}

.approach-tabs-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 220px;
    display: grid;
}

.approach-tabs-container .prev-arrow {
    left: -80px;
}

.approach-tabs-container .next-arrow {
    right: -80px;
}

.approach-tab-item {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.approach-tab-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.approach-tab-body {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    padding: 3rem 4rem;
}

.approach-tab-body p {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 300;
    line-height: 2;
    color: rgba(248, 248, 248, 0.7);
    margin: 0;
}

/* Inner layout: photo + text */
.atab-inner {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.atab-photo {
    flex: 0 0 30%;
    overflow: hidden;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atab-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.atab-text {
    flex: 1;
}

.atab-signature {
    display: block;
    margin-top: 2rem;
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.01em;
    color: rgba(248, 248, 248, 0.7);
    text-transform: none;
}

@media (max-width: 768px) {
    .atab-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .atab-photo {
        flex: 0 0 auto;
        width: 100%;
    }
}

.approach-dots {
    margin-top: 2rem;
}

@media (max-width: 1100px) {
    .approach-tabs-container .prev-arrow {
        left: 0;
    }

    .approach-tabs-container .next-arrow {
        right: 0;
    }

    .approach-tab-body {
        padding: 2.5rem;
    }
}

/* Approach arrows: center on photo, outside edges */
.approach-tabs-container .slider-arrow {
    top: 50%;
}

.approach-tabs-container .prev-arrow {
    left: -60px;
}

.approach-tabs-container .next-arrow {
    right: -60px;
}

@media (max-width: 768px) {
    .approach-tabs-section {
        padding: 0 5vw var(--spacing-md);
    }

    .approach-tab-body {
        padding: 2rem 1.5rem;
    }
}

/* --- PORTFOLIO MASONRY GALLERY --- */
.portfolio-gallery-section {
    width: 100%;
    margin: 0 auto;
}

.portfolio-masonry {
    columns: 3;
    column-gap: var(--spacing-md);
    width: 100%;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: var(--spacing-md);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Responsive columns */
@media (max-width: 1024px) {
    .portfolio-masonry {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .portfolio-masonry {
        columns: 2;
        column-gap: var(--spacing-sm);
    }

    .masonry-item {
        margin-bottom: var(--spacing-sm);
    }
}

/* --- FILM GRID --- */
.film-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    /* Extremely tight gap for cinematic stack */
    width: 100%;
}

.film-grid .masonry-item {
    margin-bottom: 0 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 600px) {
    .film-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

/* --- RAY ROMAN LAYOUT (TEXT ON SIDE) --- */
.film-layout-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    position: relative;
    /* Gap is replaced by width calculation below */
}

.film-location-side {
    /* Float it over the left side to prevent height stretching */
    position: absolute;
    left: 0;
    top: 50%;
    /* Write vertically, bottom to top, perfectly vertically centered */
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    transform-origin: center center;

    /* Typography matching editorial style */
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-main);
    white-space: nowrap;

    display: flex;
    flex-direction: column-reverse;
    gap: 0.8em;
}

.film-names {
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: 0.25em;
}

.film-venue {
    font-weight: 300;
    opacity: 0.55;
    letter-spacing: 0.3em;
}

/* Make sure the link takes up the rest of the available space */
.film-link {
    /* Calculate remaining width minus an arbitrary gap (e.g. 3vw text room + 2vw gap) */
    width: calc(100% - 30px - 3vw);
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .film-layout-wrapper {
        flex-direction: column;
        gap: var(--spacing-sm);
        justify-content: center;
    }

    .film-location-side {
        position: relative;
        top: auto;
        left: auto;
        writing-mode: horizontal-tb;
        transform: none;
        height: auto;
        order: 2;
        padding-top: 0.5rem;
        padding-bottom: 0;
        text-align: center;
        align-items: center;
    }

    .film-link {
        width: 100%;
        order: 1;
    }
}

.film-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 1;
    /* Extreme panoramic aspect ratio */
    overflow: hidden;
    background-color: #000;
}

.film-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image fills the wide ratio without distortion */
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
}

.play-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #fff;
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    margin-bottom: 4px;
    margin-left: 2px;
}

.play-text {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.film-link:hover .film-thumbnail-wrapper img {
    transform: scale(1.05);
    filter: grayscale(100%) brightness(0.7);
}

.film-link:hover .play-layer {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- VIDEO MODAL --- */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10000;
    aspect-ratio: 16/9;
}

.video-iframe-container {
    width: 100%;
    height: 100%;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

.video-modal-close:hover {
    transform: scale(1.1);
}

/* ── MINI INQUIRE FORM (footer) ── */
.mini-inquire {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.mini-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mini-field input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(248, 248, 248, 0.25);
    color: #f8f8f8;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    padding: 0.5rem 0 0.6rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.mini-field input::placeholder {
    color: rgba(248, 248, 248, 0.35);
}

.mini-field input:focus {
    border-bottom-color: rgba(248, 248, 248, 0.7);
}

.mini-field input[type="date"] {
    color-scheme: dark;
    font-family: var(--font-sans);
}

.mini-field input[type="date"]::-webkit-datetime-edit {
    display: none;
}

.mini-field input[type="date"].has-value::-webkit-datetime-edit {
    display: inline;
}

.mini-field .date-field {
    position: relative;
}

.mini-field .date-field input[type="date"] {
    width: 100%;
    padding-right: 1.5rem;
}

.mini-field .date-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.mini-field .date-placeholder {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-primary);
    opacity: 0.5;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.mini-field input[type="date"].has-value~.date-placeholder {
    display: none;
}

.mini-field .date-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-primary);
    opacity: 0.7;
}

.mini-service {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding-top: 0.3rem;
}

.mini-opt {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.mini-opt input[type="radio"] {
    appearance: none;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(248, 248, 248, 0.4);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.mini-opt input[type="radio"]:checked {
    border-color: #f8f8f8;
}

.mini-opt input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: #f8f8f8;
    border-radius: 50%;
}

.mini-opt span {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 248, 248, 0.7);
    transition: color 0.3s ease;
}

.mini-opt:has(input:checked) span {
    color: #f8f8f8;
}

.mini-submit {
    background: none;
    border: 1px solid rgba(248, 248, 248, 0.3);
    color: #f8f8f8;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 0.84rem 1.68rem;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.mini-submit:hover {
    background: rgba(248, 248, 248, 0.07);
    border-color: rgba(248, 248, 248, 0.7);
}

/* ── FOOTER LOGO EMAIL ── */
.footer-logo-email {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.17rem;
    color: rgba(248, 248, 248, 0.5);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.footer-logo-email:hover {
    color: rgba(248, 248, 248, 0.9);
}