@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap');

:root {
    --luxury-white: #eceeed;
    --loretto-brown: #5c4a3c;
    --transition-speed: 2.5s;
}

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

body {
    background-color: #000;
    color: var(--luxury-white);
    font-family: "futura-100-book", sans-serif;
    font-weight: 400;
    overflow-x: hidden; /* Prevent horizontal scroll, allow natural vertical page document flow */
}

/* --- VIDEO BACKGROUND --- */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* --- FULLSCREEN MENU --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #31261d;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

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

.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.menu-link {
    font-family: "futura-100-book", sans-serif;
    font-size: 34px;
    font-weight: 400;
    color: var(--luxury-white);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-rendering: geometricPrecision;
}

.menu-link:hover {
    opacity: 0.5;
    transform: scale(1.05);
}

.menu-close {
    position: absolute;
    top: 40px;
    left: 15vw;
    font-size: 1.5rem;
    cursor: pointer;
    font-family: "futura-100-book", sans-serif;
    font-weight: 400;
    color: var(--luxury-white);
    transition: opacity 0.3s;
}

.menu-close:hover {
    opacity: 0.5;
}

.stage-header {
    position: fixed; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 70vw;
    height: 18px; 
    display: flex;
    justify-content: space-between;
    align-items: center; 
    margin-top: 40px; 
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 100;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 26px; 
    z-index: 8000;
}

.burger-menu {
    width: 25px; height: 10px;
    display: flex; flex-direction: column; 
    justify-content: space-between;
    cursor: pointer;
}
.burger-menu span { width: 100%; height: 1px; background: #fff; }

/* --- SLIDESHOW ENGINE --- */
.slider-container { position: fixed; inset: 0; z-index: 0; }
.slide {
    position: absolute; inset: 0;
    background-size: cover; 
    background-position: center;
    opacity: 0; 
    transition: opacity var(----transition-speed) ease-in-out;
    filter: brightness(0.9);
    overflow: hidden;
}
.slide.active { opacity: 1; z-index: 2; }

/* --- CINEMA SMOKE --- */
.cinema-smoke {
    position: fixed; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
    filter: blur(100px); pointer-events: none; z-index: 5;
    animation: rotateSmoke 60s infinite linear;
}
@keyframes rotateSmoke { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- CASE HEADLINE (Clean fluid scroll placement layout adjustments) --- */
.item-image-caption {
    position: fixed; 
    bottom: 30px; 
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 30px; 
    line-height: 1;
    letter-spacing: 1px; 
    text-transform: uppercase;
    text-rendering: geometricPrecision;
    transition: opacity 1s; 
    z-index: 6;
    font-family: "futura-100-book", sans-serif;
}

.item-image-caption .first-word {
    font-family: 'Quattrocento', serif;
    font-weight: 100;
    font-size: 34px;
    font-style: italic;
    transform: skewX(-8deg); 
    -webkit-text-stroke: 0.2px rgba(0,0,0,0.5);
    text-rendering: geometricPrecision;
    letter-spacing: 0px; 
}

.item-case-caption {
    position: relative; /* Fixed: Changed from fixed to relative layout stream so it stays inside editorial */
    display: block;
    width: 100%;
    text-align: center;
    font-size: 60px; 
    line-height: 1;
    letter-spacing: 1px; 
    text-transform: uppercase;
    text-rendering: geometricPrecision;
    font-family: "futura-100-book", sans-serif;
     font-weight: 100;
    margin: 0 0 40px 0;
    z-index: 6;
}

.item-case-caption .first-word {
    font-family: 'Quattrocento', serif;
    font-weight: 100;
    font-size: 68px;
    font-style: italic;
    transform: skewX(-8deg); 
    display: inline-block;
    -webkit-text-stroke: 0.2px rgba(0,0,0,0.5);
    text-rendering: geometricPrecision;
    letter-spacing: 0px; 
}

/* --- BROADCAST CONTAINER --- */
.enter-broadcast-container.header-version {
    display: flex; 
    align-items: center; 
    gap: 12px;
}

.button-text {
    font-size: 0.7rem; 
    letter-spacing: 2px; 
    text-transform: uppercase;
    color: var(--luxury-white); 
    opacity: 0.8;
}

.play-circle {
    width: 28px; 
    height: 28px;
    background-color: var(--loretto-brown);
    border-radius: 50%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    cursor: pointer; 
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.play-circle:hover { transform: scale(1.1); background-color: #7a6352; }

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

/* --- ABOUT PAGE SPECIFIC STYLES --- */
.about-page {
    overflow-y: visible !important; /* Fixed body blocking issues */
    background-color: #000;
    scroll-behavior: smooth;
}

.about-content-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100px; 
    padding-bottom: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000; 
}

.content-block {
    width: 40vw;
    margin-bottom: 120px; 
}

/* Typography styles */
.bespoke-text {
    font-family: "futura-100-book", sans-serif;
    font-size: 24px;
    line-height: 1.6; 
    letter-spacing: 1px;
    color: var(--luxury-white);
    text-rendering: geometricPrecision;
}

.bespoke-text .first-word {
    font-family: 'Quattrocento', serif;
    font-weight: 100;
    font-size: 27px;
    font-style: italic;
    transform: skewX(-6deg);
    display: inline-block;
    margin-right: 7px;
    -webkit-text-stroke: 0.2px rgba(0,0,0,0.5);
    letter-spacing: 0px;
}

.about-divider {
    width: 40vw;
    border: none;
    border-top: 1px solid var(--loretto-brown);
    margin-bottom: 80px;
    opacity: 0.6;
}

/* --- EDITORIAL / PORTFOLIO AREA DEFINITION (88vw Constraints) --- */
.editorial-portfolio-container {
    width: 88vw;
    margin: 0 auto;
    padding: 140px 0;
    display: flex;
    flex-direction: column;
    gap: 160px; /* Generous spacing layout harmony */
}

.editorial-section {
    width: 100%;
    position: relative;
}

.introductory-section {
    margin-top: 60px; 
}

.main-hero-gap {
    margin-top: 40px;  
}

.full-width-image-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #1a1a1a;
}

/* Grid Top Alignment Setup */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 35px;
}

.two-column-layout .bespoke-text {
    margin: 0;
    padding: 0;
}

.text-right-aligned {
    grid-template-columns: 1fr 1fr;
}

.two-column-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.two-column-images .image-box, .vertical-rect {
    aspect-ratio: 3 / 4;
    background-color: #1a1a1a;
}

/* Fixed vertical alignment conflict - set cleanly to start */
.staggered-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start; 
}

.staggered-block .bespoke-text {
    padding-top: 5px;
    margin: 0;
}

/* --- HERO VIDEO CONFIGURATION --- */
.hero-video-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

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

/* --- RESPONSIVE 16:9 QUOTE BOXES --- */
.full-width-quote-box {
    width: 100%;
    box-sizing: border-box;
    aspect-ratio: 4 / 3; 
    background-color: var(--loretto-brown);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 60px;
    overflow: hidden;
}

.full-width-quote-box.bg-black {
    background-color: #000000; 
}

.quote-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.quote-centered {
    text-align: center !important;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.parallax-quote {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.quote-author {
    display: block;
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* --- HOTSPOT DESIGN ENGINE --- */
.hotspot-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: visible; 
    background-color: #1a1a1a;
}

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

.hotspot-pin {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%); 
    cursor: pointer;
    z-index: 10;
}

.hotspot-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hotspot-pin::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: hotspotPulse 2.5s infinite ease-out;
    pointer-events: none;
}

@keyframes hotspotPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hotspot-pin.active .hotspot-icon {
    transform: rotate(45deg); 
    background-color: var(--loretto-brown); 
    color: #ffffff;
}

.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 15px); 
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    padding: 25px;
    background-color: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; 
    z-index: 12;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(10, 10, 10, 0.95) transparent transparent transparent;
}

.hotspot-pin.active .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.tooltip-title {
    font-family: "futura-100-book", sans-serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.tooltip-desc.bespoke-text {
    font-size: 11px !important;
    line-height: 1.5 !important;
    opacity: 0.7;
    margin: 0;
}

/* --- SCROLL REVEAL ENTRY ENGINE --- */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 2s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* --- BOX MODEL FOOTER CONTROL --- */
.footer-lockup {
    width: 70vw; 
    margin: 10% auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    width: 100%;
    display: block;
    line-height: 0.7;
    margin: 0;
}

.footer-box.appear {
    opacity: 1;
    transform: translateY(0);
}

.box-1 { margin-bottom: 3%; }
.box-2 { margin-top: 2%; margin-bottom: 3%; text-align: right; }
.box-3 { margin-top: 4%; text-align: center; }

.footer-sans {
    font-family: "futura-100-book", sans-serif;
    font-size: 13vw;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-rendering: geometricPrecision;
}

.footer-italic-serif {
    font-family: 'Quattrocento', serif;
    font-size: 14.3vw;
    font-style: italic;
    font-weight: 100;
    -webkit-text-stroke: 0.15px rgba(236, 238, 237, 0.4); 
    text-rendering: geometricPrecision;
    position: relative;
    top: -0.02em; 
    transform: skewX(-6deg);
    display: inline-block;
}

/* --- BESPOKE FORM STYLING --- */
.mailchimp-section {
    width: 40vw; 
    margin: 0 auto;
}

.mc-field-group {
    width: 100%;
    margin-bottom: 20px; 
}

.ars-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid rgba(49, 38, 29, 1); 
    padding: 30px 0 10px 0;
    font-family: "futura-100-book", sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--luxury-white);
    text-transform: uppercase;
    outline: none;
    border-radius: 0;
    transition: border-color 0.6s ease;
}

.ars-input:focus { border-bottom: 0.5px solid rgba(236, 238, 237, 0.8); }
.ars-input::placeholder { color: rgba(236, 238, 237, 0.35); font-size: 13px; }

.checkbox-container { display: flex; align-items: center; cursor: pointer; }
.checkbox-container input { display: none; } 

.checkmark {
    width: 14px; height: 14px;
    border: 0.5px solid rgba(236, 238, 237, 0.4);
    margin-top: 30px; margin-right: 15px;
    position: relative; transition: all 0.3s;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--loretto-brown);
    border-color: var(--loretto-brown);
}

.gdpr-text {
    font-family: "futura-100-book", sans-serif;
    margin-top: 30px; font-size: 13px; letter-spacing: 1.5px;
    color: rgba(236, 238, 237, 0.5);
}

#mc-embedded-subscribe {
    display: flex; align-items: center; justify-content: center;
    margin: 60px auto; padding: 20px 60px;
    position: relative; overflow: hidden;    
    background-color:  #222;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--luxury-white);
    border-radius: 200px; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: "futura-100-book", sans-serif;
    font-size: 24px; 
    font-weight: 100;
    text-rendering: geometricPrecision;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}

#mc-embedded-subscribe::after {
    content: ''; position: absolute;
    left: 0; top: 100%; width: 100%; height: 100%;
    background: linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    z-index: 1; pointer-events: none;
}

#mc-embedded-subscribe:hover { border-color: rgba(255, 255, 255, 0.5); filter: brightness(1.1); }
#mc-embedded-subscribe:hover::after { animation: shimmerSlideUp 0.7s ease forwards; }
#mc-embedded-subscribe:active { transform: scale(0.96); background-color: rgba(255, 255, 255, 0.2); }

@keyframes shimmerSlideUp { 0% { top: 100%; } 100% { top: -100%; } }

.clear { width: 100%; display: flex; justify-content: flex-start; }

/* ==========================================================================
   1. MASTER EDITORIAL GRID CONTAINERS
   ========================================================================== */

/* Layout 1: Full-Width Horizontal Window */
.layout-fullwidth {
    width: 100%;
    margin-bottom: 6rem;
}

/* Layout 2: Staggered Split (Text + Vertical Image) */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}

/* Layout 3: Side-by-Side Dual Columns */
.layout-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

/* ==========================================================================
   2. CORE INNER PARALLAX MECHANICS
   ========================================================================== */

/* The outer window frame. It defines the size shape and clips the moving image */
.parallax-window {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #1a1a1a; /* Sleek structural fallback color */
}

/* Enforced Aspect Ratios to match Bildschirmfoto 2026-06-11 um 09.25.24.png */
.parallax-window.landscape {
    aspect-ratio: 4 / 3;
}

.parallax-window.portrait {
    aspect-ratio: 3 / 4;
}

/* The hidden, oversized canvas inside that moves on scroll */
.parallax-asset-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%; /* Gives exactly 30% of overflow space to glide */
    will-change: transform;
    transform: translateY(-15%); /* Default starting rest position center */
}

.parallax-asset-wrapper img,
.parallax-asset-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces video to crop perfectly to the aspect ratio window */
    display: block;
}

.parallax-window.noparallax .parallax-asset-wrapper {
    position: relative;
    height: 100% !important;
    transform: none !important;
    top: 0 !important;
}

/* ==========================================================================
   PRE-FOOTER GATEWAY SYSTEM (REFINED OUTLINE VERSION)
   ========================================================================= */

/* The Pre-Footer Two-Column Grid Setup */
.layout-pre-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 8rem;
    margin-bottom: 4rem;
}

/* Base interactive card container */
.gateway-card {
    display: block;
    position: relative; /* Core anchor point for the outline overlay */
    text-decoration: none;
    cursor: pointer;
}

/* THE ELEGANT OUTLINE LAYER
   Uses a pseudo-element to build the frame without bloating your HTML markup */
.gateway-card::after {
    content: '';
    position: absolute;
    inset: 0; /* Stretches perfectly to the bounds of the image box */
    /* Starts completely transparent using an inset shadow line to prevent sub-pixel layout shifts */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
    z-index: 4; /* Sits safely on top of the image and color blends */
    pointer-events: none;
    transition: box-shadow 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Aspect ratio variant to keep side-by-side horizontal shapes proportional */
.parallax-window.landscape-split {
    aspect-ratio: 3 / 2;
}

/* The Graphic Asset Component */
.gateway-asset {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gateway-asset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The Luxury Loretto-Brown Overlay Block */
.gateway-overlay {
    position: absolute;
    inset: 0;
    background-color: #5C4033; /* Replace with your exact custom Loretto-Brown token */
    mix-blend-mode: multiply;
    opacity: 0.65;
    z-index: 2;
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Centered Typography Envelope */
.gateway-text-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

/* Clean, locked typography styling */
.gateway-card .bespoke-text {
    color: #ffffff;
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   HIGH-END HOVER FLUID STATES
   ========================================================================== */

/* 1. Light up the very thin elegant interior frame */
.gateway-card:hover::after {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); /* Soft, premium illumination */
}

/* 2. Lift and fade out the custom color tint mask */
.gateway-card:hover .gateway-overlay {
    opacity: 0.15;
}

/* 3. Micro camera lens zoom inside the window frame */
.gateway-card:hover .gateway-asset {
    transform: scale(1.03); /* Dropped from 1.04 to 1.03 to keep the outline sharp and balanced */
}

.gateway-card:hover .gateway-asset img {
    filter: grayscale(0%) brightness(1);
}



/* Target the right cell within the existing side-by-side framework */
.layout-side-by-side .accent-frame-half {
    /* Retains its width, but slashes its height presence to roughly half size */
    aspect-ratio: 3 / 2; 
    
    /* Grounds it directly to the bottom line of the left image's row */
    align-self: end; 
    
    /* Optional: Slight bottom margin if you want to dial in its rest alignment */
    margin-bottom: 0; 
}


/* ==========================================================================
   ASYMMETRIC VERTICAL RIGHT-SIDE MODIFIER (FIXED)
   ========================================================================== */

/* Target the right cell within the existing side-by-side framework */
.layout-side-by-side .accent-frame-half {
    /* 1. KEEPS IT VERTICAL: Forces the exact same vertical portrait shape as the left */
    aspect-ratio: 3 / 4 !important; 
    
    /* 2. MAKES IT HALF SIZE: Slashes its physical width down to half the column lane */
    width: 50% !important; 
    
    /* 3. ALIGNMENT: Grounds it to the bottom line of the left image's row */
    align-self: center; 
    
    /* Centers it elegantly within its right-side column track */
    justify-self: center; 
}
/* ==========================================================================
   HORIZONTAL CINEMATIC SLIDESHOW COMPONENT (UPDATED & VISIBILITY FIXED)
   ========================================================================== */

.horizontal-slideshow-module {
    margin-bottom: 8rem;
}

/* Ensure the display row sits proudly on top */
.slideshow-display-row {
    width: 100%;
    margin-bottom: 2.5rem; /* Elegant structural gap before footer alignment */
}

/* Base structural lock for the horizontal 16:9 frame */
.horizontal-slideshow-module .slideshow-window {
    position: relative;
    width: 100%;
    /* FORCE THE HEIGHT: Because JS skips this box due to .noparallax, 
       we explicitly force the 16:9 viewport ratio layout bounds right here */
    aspect-ratio: 16 / 9 !important; 
    overflow: hidden;
}

/* CRUCIAL NOPARALLAX FIX: Forces the canvas layer inside an absolute slider 
   to stretch out to full height instead of collapsing to 0px */
.horizontal-slideshow-module .slideshow-window.noparallax .parallax-asset-wrapper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    top: 0 !important;
}

/* Swaps the fade transition logic to allow the image canvas itself to fade cleanly */
.horizontal-slideshow-module .slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1); /* Slower premium cinematic transition */
}

.horizontal-slideshow-module .slide-item.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

/* Ensure images fill up the canvas correctly inside the absolute positions */
.horizontal-slideshow-module .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Footer Layout Grid: Perfectly aligning the elements below the image canvas */
.slideshow-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Strict 50/50 split */
    gap: 3rem;
    align-items: flex-start;
    position: relative;
    z-index: 10; /* Ensures absolute image layers can't accidentally mask click bounds */
}

/* Minimalist navigation arrows - Left Aligned in Loretto Brown */
.luxury-nav-cluster {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start; /* Aligns triggers to the far-left grid margin */
}

.slide-nav-btn {
    background: none;
    border: none;
    
    /* DEFINES YOUR LUXURY COLOR */
    color: #5C4033; /* Elegant Loretto Brown */
    
    font-size: 1.25rem; /* Large minimalist arrow glyphs */
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: auto !important; /* Locks click access */
}

.slide-nav-btn:hover {
    opacity: 0.6;
}

/* Captions Track alignment to far-right column margin */
.caption-cell {
    position: relative;
}

.slideshow-captions-track {
    position: relative;
    width: 100%;
    min-height: 80px;
}

.slide-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: left; /* Forces caption text to align to the far-right grid margin */
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-caption.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-image-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    display: block;
    background-color: #000;
}

.hero-image-container img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* 2. ELEVATE HEADER TRACK LAYER (Fixes Mobile Invisibility) */
.stage-header {
    z-index: 9999 !important; /* Forces layout context above hero layer */
}

.stage-header * {
    pointer-events: auto !important; /* Guarantees burger & play button clicks register */
}

.header-logo, 
.header-logo a, 
.header-logo img {
    z-index: 10000 !important; /* Keeps branding layers clearly on top */
}

/* Mobile-Specific Header Alignment Safeguard */
@media (max-width: 768px) {
    .stage-header {
        position: fixed; /* Ensures header floats elegantly above the scrolling hero image */
        height: auto;
        top: 0;
    }
    
    .hero-image-container {
        padding-top: 0; /* Ensures seamless image tracking on phone viewports */
    }
}

/* --- MOBILE COMPATIBILITY --- */
@media (max-width: 768px) {
    .slideshow-footer-grid {
        grid-template-columns: 1fr; /* Collapse footer grid to a vertical stack */
        gap: 2rem;
    }
    .luxury-nav-cluster {
        justify-content: center; /* Centers navigation triggers on mobile screens */
    }
    .slide-caption {
        text-align: center; /* Centers text for optimal mobile reading flow */
    }
    .slideshow-captions-track {
        min-height: 120px; /* Reserves extra room for text line-wrapping on phones */
    }
}



/* ==========================================================================
   PRODUCTION-READY MOBILE REFINEMENTS (< 768px Viewport)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* --- 1. GLOBAL LAYOUT CONTAINERS --- */
    .content-block, 
    .mailchimp-section, 
    .footer-lockup, 
    .about-divider,
    .editorial-container {
        width: 88vw !important;
    }
    
    .editorial-container {
        padding: 2rem 0; /* Tighten spatial breathing room for smaller screens */
    }

    /* --- 2. LUXURY MULTI-COLUMN COMPONENT RESPONSIVENESS --- */
    
    /* Force side-by-side splits and pre-footers into clean vertical stacks */
    .layout-side-by-side,
    .layout-pre-footer {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    /* The Chrome/Safari Hybrid Solution for Layout-Split */
    .layout-split {
        display: grid !important; 
        grid-template-columns: 1fr !important;
        gap: 2rem;
        align-items: start;
    }

    /* Absolute structural grid routing: Forces text column to the absolute top */
    .layout-split .text-column {
        grid-row: 1 !important;
        width: 100%;
    }

    /* Forces the parallax frame wrapper cleanly beneath the ordered text */
    .layout-split .parallax-window {
        grid-row: 2 !important;
        width: 100%;
        
        /* The Chromium Fix: Isolates the frame rendering layer to prevent Chrome clipping bugs */
        contain: paint; 
        isolation: isolate;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    /* --- 3. ASPECT RATIO & PARALLAX ENGINE ADJUSTMENTS --- */
    .parallax-window.landscape-split {
        aspect-ratio: 4 / 3; /* Gives horizontal pre-footer cards extra vertical weight on mobile */
    }
    
    .parallax-window.portrait {
        aspect-ratio: 3 / 4; /* Softens 3:4 portrait crops so they don't engulf the full phone screen */
    }

    /* Tweak translation speeds to reduce processing workload on mobile GPUs */
    .inner-parallax-img {
        height: 115% !important; /* Reduces oversized image canvas height from 135% */
        top: -7.5% !important;   /* Centers the condensed canvas bounds */
    }

    .layout-split .parallax-asset-wrapper {
        position: absolute;
        min-height: 115% !important; 
        will-change: transform;
    }

    /* --- 4. HARDWARE DISABLED HOTSPOT TARGETS --- */
    .hotspot-wrapper {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    /* --- 5. PRE-FOOTER MOBILE TOUCH STATES --- */
    .gateway-overlay {
        opacity: 0.45; /* Lightens brown overlay default on touch screens for immediate visibility */
    }

    /* Simulates desktop hover features instantaneously when a finger taps down (:active) */
    .gateway-card:active::after {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); 
    }
    
    .gateway-card:active .gateway-overlay {
        opacity: 0.15; 
    }

    /* --- 6. CORE TYPOGRAPHY & HEADER ALIGNMENTS --- */
    .bespoke-text { 
        font-size: 18px; 
        line-height: 1.5; 
    }
    
    .footer-sans { font-size: 18vw; }
    .footer-italic-serif { font-size: 19vw; }
    
    .stage-header {
        width: 88vw !important; 
        margin-left: auto !important; 
        margin-right: auto !important;
        padding-left: 0 !important; 
        padding-right: 0 !important;
        display: flex !important; 
        justify-content: space-between !important;
    }
    
    .header-logo img {
        height: 25px; 
        position: absolute; 
        left: 50%; 
        transform: translateX(-50%);
    }

    .header-version .button-text { display: none; }
    .enter-broadcast-container { gap: 0; }
    .play-circle { width: 35px; height: 35px; }

    .first-word {
        font-family: 'Quattrocento', serif; 
        font-weight: 100; 
        font-size: 34px; 
        font-style: italic;
        transform: skewX(-8deg); 
        -webkit-text-stroke: 0.2px rgba(0,0,0,0.5); 
        text-rendering: geometricPrecision; 
        letter-spacing: 0px; 
    }
    
    .staggered-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

.bespoke-text {
    font-family: "futura-100-book", sans-serif;
    font-size: 24px;
    line-height: 1.6; 
    letter-spacing: 1px;
    color: var(--luxury-white);
    text-rendering: geometricPrecision;
}

.bespoke-text .first-word {
    font-family: 'Quattrocento', serif;
    font-weight: 100;
    font-size: 27px;
    font-style: italic;
    transform: skewX(-6deg);
    display: inline-block;
    margin-right: 7px;
    -webkit-text-stroke: 0.2px rgba(0,0,0,0.5);
    letter-spacing: 0px;
}

@media (max-width: 768px) {
    .layout-asymmetric-stagger {
        grid-template-columns: 1fr !important; /* Stack columns vertically on phones */
        gap: 3rem;
    }
    .layout-asymmetric-stagger .accent-frame {
        width: 100%;
        margin-top: 0;
    }



}

/* --- MOBILE COMPATIBILITY OVERWRITE --- */
@media (max-width: 768px) {
    .layout-asymmetric-stagger {
        grid-template-columns: 1fr !important; /* Stack columns vertically on phones */
        gap: 3rem;
    }
    .layout-asymmetric-stagger .accent-frame {
        width: 100%;
        margin-top: 0;
    }



}

/* --- MOBILE STACK RESET --- */
@media (max-width: 768px) {
    .layout-side-by-side .accent-frame-half {
        aspect-ratio: 4 / 5 !important; 
        width: 100% !important; /* Returns to clean full-width stacking on mobile */
    }
}
}
