/* --- Nuthurst Grange - Phase 1 Homepage --- */
:root {
    --color-bg: #0A0A0A;
    --color-text: #A19E95;
    --color-text-muted: #7A7872;
    --color-ivory: #FAF9F6;
    --color-ivory-muted: #D1CFCA;
    --color-gold: #C5A059;
    --color-gold-hover: #E2BD75;
    --color-border: rgba(250, 249, 246, 0.08);

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    margin: 0;
}

/* Loading */
#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-gold);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#loading.hidden {
    opacity: 0;
}

/* --- Main Full Navigation --- */






.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}









.nav-links > li > a:hover {
    color: var(--color-gold);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0F0F0F;
    border: 1px solid var(--color-border);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--color-text);
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.dropdown-menu li a:hover {
    color: var(--color-gold);
    background: rgba(250, 249, 246, 0.02);
}




/* --- Persistent Nav Button (Floating Menu) --- */
#persistent-nav-btn {
    position: fixed;
    top: 2.2rem;
    right: 4%;
    width: 112px;
    height: 48px;
    background: rgba(15, 14, 12, 0.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.60);
    border-radius: 999px;
    cursor: pointer;
    z-index: 105;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
}

#persistent-nav-btn:hover {
    background: rgba(25, 24, 22, 0.90);
    border-color: var(--color-gold);
    transform: scale(1.03);
}

#persistent-nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8) translateY(-20px);
}

#persistent-nav-btn .hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#persistent-nav-btn .hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

#persistent-nav-btn .menu-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #F3EEE3;
}

/* --- Sidebar Menu --- */
#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

#sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

#sidebar-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #0F0F10;
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    z-index: 201;
    display: flex;
    flex-direction: column;
    padding: 4rem 3rem;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

#sidebar-menu.active {
    right: 0;
}

#close-sidebar-btn {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
}

#close-sidebar-btn:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.sidebar-logo {
    margin-bottom: 3rem;
    background-color: #ffffff;
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    align-self: flex-start;
}

.sidebar-logo img {
    height: 40px;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-links li a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #F3EEE3;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.sidebar-links li a:hover {
    color: var(--color-gold);
    transform: translateX(10px);
}

/* --- Cinematic Scroll Sequence --- */
#scroll-container { position: relative; height: 800vh; }

.sticky-hero {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: #080808;
}

.hero-canvas {
    z-index: 1;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#canvas-interior, #canvas-stables {
    opacity: 0; /* Hidden initially */
}

#black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

/* --- Cinematic Text Overlays --- */
#cinematic-overlays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.overlay-text {
    position: absolute;
    opacity: 0;
    transition: none;
}



.center-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30px);
    text-align: center;
    width: 100%;
    max-width: 800px;
}
.center-center.active { transform: translate(-50%, -50%); }

.bottom-left {
    bottom: 15%;
    left: 8%;
    max-width: 400px;
}

.center-left {
    top: 40%;
    left: 8%;
    max-width: 400px;
}

.overlay-cta {
    position: absolute;
    bottom: 10%;
    right: 8%;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #FAF9F6;
    text-decoration: none;
    border-bottom: 1px solid rgba(250, 249, 246, 0.4);
    padding-bottom: 4px;
    pointer-events: auto;
    opacity: 0;
    transition: all 0.6s ease;
}
.overlay-cta:hover { color: var(--color-gold); border-color: var(--color-gold); }

.label-small {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #FAF9F6;
    margin-bottom: 1.5rem;
    display: block;
}

.large-serif {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #FAF9F6;
    margin-bottom: 1.5rem;
}

.gold-italic {
    font-style: italic;
    color: var(--color-gold);
    font-weight: 300;
}

.supporting-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.chapter-marker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.chapter-marker .num {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
}

.chapter-marker .gold-rule {
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
}

/* --- Transition Section --- */
.black-transition-section {
    height: 100vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.small-logo {
    width: 60px;
    margin-bottom: 2rem;
    opacity: 0.8;
}


/* --- Normal Homepage Content --- */
.normal-homepage {
    position: relative;
    background-color: #FCFAF6;
    z-index: 20;
}

.editorial-section {
    position: relative;
    overflow: hidden;
}

/* Container Spacing overrides */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 4%;
}
.section-padding { padding: 9rem 0; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.pt-4 { padding-top: 2rem; }

/* Backgrounds */
.bg-alt { background-color: #F6F3EB; }
.bg-charcoal { background-color: #1A1A1A; }
.bg-charcoal .large-serif { color: #FAF9F6; }

/* Common Typography */
.editorial-section .large-serif {
    color: #1C1B19;
}
.editorial-section .editorial-p {
    font-size: 1.05rem;
    color: #4E4C46;
    max-width: 450px;
    line-height: 1.8;
}

.text-link-cta {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1C1B19;
    text-decoration: none;
    border-bottom: 1px solid rgba(28, 27, 25, 0.2);
    padding-bottom: 4px;
    transition: all 0.4s ease;
}
.text-link-cta:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}
.text-white { color: #FAF9F6 !important; border-color: rgba(250, 249, 246, 0.4) !important; }

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Dining Layout */
.dining-layout {
    position: relative;
    width: 100%;
}
.dining-image-wrapper {
    width: 70%;
    margin-left: auto;
    overflow: hidden;
}
.dining-image-wrapper img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: block;
}
.dining-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) !important; /* Overrides reveal-up transform when visible */
    background: #FCFAF6;
    padding: 3rem 4rem 3rem 0;
    max-width: 500px;
    z-index: 2;
}
.dining-text.reveal-up { opacity: 0; margin-top: 30px; }
.dining-text.reveal-up.visible { opacity: 1; margin-top: 0; }

/* 2. Weddings Layout */
.weddings-image-wrapper {
    position: relative;
    width: 100%;
    height: 110vh;
    overflow: hidden;
}
.weddings-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.weddings-image-wrapper.in-view img {
    transform: scale(1);
}
.weddings-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%) !important;
}
.weddings-text.reveal-up { opacity: 0; margin-top: 30px; }
.weddings-text.reveal-up.visible { opacity: 1; margin-top: 0; }
.weddings-section .large-serif { color: #FAF9F6; }

/* 3. Private Events Split Layout */
.private-events-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.pe-image-wrapper {
    width: 100%;
    height: 85vh;
    overflow: hidden;
}
.pe-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. Events Rows */
.events-list {
    border-top: 1px solid var(--color-border);
}
.event-row {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr auto;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: #1C1B19;
    transition: background 0.4s ease;
    position: relative;
}
.event-date { font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.1em; }
.event-title { font-family: var(--font-serif); font-size: 2rem; }
.event-cat { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-gold); }
.event-arrow { font-size: 1.2rem; transition: transform 0.4s ease; }
.event-row:hover .event-arrow { transform: translateX(10px); }
.event-row:hover { background: #FFFFFF; padding-left: 1.5rem; padding-right: 1.5rem; }

.event-hover-img {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    width: 280px;
    height: 180px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}
.event-hover-img img { width: 100%; height: 100%; object-fit: cover; }
.event-row:hover .event-hover-img { opacity: 1; transform: translateY(-50%) scale(1); }

/* 5. Explore Hub */
.explore-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}
.explore-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.explore-link {
    font-family: var(--font-sans);
    font-size: 3rem;
    font-weight: 300;
    color: #4E4C46;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}
.explore-link:hover { color: #FAF9F6; padding-left: 1.5rem; }
.explore-link .arrow { opacity: 0; transform: translateX(-20px); transition: all 0.4s ease; }
.explore-link:hover .arrow { opacity: 1; transform: translateX(0); color: var(--color-gold); }

.explore-images {
    position: relative;
    width: 100%;
    height: 70vh;
}
.explore-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.explore-images img.active { opacity: 1; }


/* --- Fix Text Class Mismatches --- */
.hero-canvas {
    z-index: 1;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.extra-large-serif {
    font-family: var(--font-serif);
    font-size: clamp(72px, 7vw, 124px);
    line-height: .90;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: #F3EEE3;
}

.align-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(528px, 36vw);
    text-align: center;
}

.align-left {
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    width: min(432px, 30vw);
    text-align: left;
}

.align-right {
    top: 50%;
    right: 7%;
    transform: translateY(-50%);
    width: min(432px, 30vw);
    text-align: left;
}

.tracking-wide {
    letter-spacing: .22em;
}

.inline-block {
    display: inline-block;
}

.justify-center {
    justify-content: center;
}

.supporting-text.small {
    font-size: 16px;
}



/* --- Cinematic Text Overlays Polish --- */
.overlay-content {
    position: relative;
    isolation: isolate;
}



.overlay-content h2.extra-large-serif {
    color: #171614;
}

.overlay-content .supporting-text {
    color: #4B4842;
    font-size: 21px;
}

.overlay-content .label-uppercase {
    color: #26231F;
    font-size: 16px;
}

.overlay-content .cta-text, .overlay-content .text-link-cta, .overlay-content a {
    color: #171614;
    font-size: 17px;
}


.logo img { transform: scale(1.09); }



/* --- New CTA Styles --- */
.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    border: 1px solid rgba(197,160,89,.85);
    background: rgba(197,160,89,.07);
    color: #171614 !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow:
        0 0 0 1px rgba(197,160,89,.08),
        0 0 22px rgba(197,160,89,.14);
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #C5A059;
    color: #111 !important;
    box-shadow: 0 0 30px rgba(197,160,89,.32);
    transform: translateY(-2px);
}



/* --- Fix Light Text on Light Backgrounds --- */
.bg-alt .large-serif, .bg-alt .extra-large-serif, .bg-alt h1, .bg-alt h2, .bg-alt h3 {
    color: #1C1B19 !important;
}
.bg-alt .editorial-p, .bg-alt .supporting-text, .bg-alt p {
    color: #4E4C46 !important;
}
.bg-alt .label-uppercase, .bg-alt .chapter-marker {
    color: #6B675F !important;
}
.bg-alt .gold-italic, .bg-alt .gold-rule, .bg-alt .num {
    color: #C5A059 !important;
}


/* --- Hero Quick Links --- */
.hero-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid rgba(197,160,89,.75);
    background: rgba(246,243,235,.78);
    color: #171614;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(197,160,89,.14);
    transition: all .35s ease;
    text-decoration: none;
}
.hero-quick-link:hover {
    background: #C5A059;
    color: #171614;
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(197,160,89,.30);
}
@media (max-width: 768px) {
    .quick-access-ctas {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Footer Links --- */
.footer-explore-link {
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 15px;
    color: #C9C6BF;
    text-decoration: none;
    line-height: 1.9;
    transition: all 0.3s ease;
}
.footer-explore-link::after {
    content: "→";
    margin-left: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.footer-explore-link:hover {
    color: #C5A059;
}
.footer-explore-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}
.footer-sec-link {
    font-family: var(--font-sans);
    font-size: 14px;
    color: #77736C;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-sec-link:hover {
    color: #C9C6BF;
}
@media (max-width: 768px) {
    .site-footer { padding: 64px 24px 28px !important; }
    .footer-top-area { flex-direction: column; gap: 2rem !important; margin-bottom: 3rem !important; }
    .footer-top-area > div { width: 100% !important; max-width: 100% !important; }
    .footer-main-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
    .footer-bottom-area { flex-direction: column; text-align: center; gap: 0.5rem !important; }
}

/* --- Hero & Cinematic Readability Polish --- */

.overlay-copy {
    text-shadow: 0 1px 1px rgba(255,255,255,.18);
}
.overlay-copy-dark {
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
}





/* --- Cinematic CTA --- */



/* --- Chapter Marker Polish --- */
.chapter-marker {
    margin-top: 1rem;
}
.chapter-marker .num {
    font-size: 13px !important;
}
.chapter-marker .label-uppercase {
    font-size: 13px !important;
    letter-spacing: .14em !important;
}
.chapter-marker .gold-rule {
    width: 60px !important;
}





/* --- Hero Layout Fixes --- */

.hero-copy .extra-large-serif {
    font-size: clamp(64px, 6.2vw, 110px);
    line-height: .90;
}
.hero-copy .gold-italic {
    font-size: .82em;
}
.hero-copy::before,



.hero-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}









.hero-copy .supporting-text,
.overlay-content .supporting-text {
    font-size: 24px;
    line-height: 1.6;
    font-weight: 500;
    color: #26231f !important;
    text-shadow: 0 1px 2px rgba(255,255,255,.28);
}
.hero-copy .supporting-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.overlay-content.dark-scene .supporting-text {
    color: rgba(250,248,243,.96) !important;
    font-weight: 500 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}

/* --- True Centered Hero Fix --- */
#overlay-ext-1 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transform: none !important;
}

#overlay-ext-1 .overlay-content {
    position: relative;
    width: min(680px, 38vw) !important;
    max-width: 680px !important;
    padding: 34px 40px !important;
    margin: 0 auto !important;
    text-align: center;
    transform: translateY(4vh);
}

#overlay-ext-1 .extra-large-serif {
        font-size: clamp(41px, 10.3vw, 51px) !important;
        line-height: 1.05 !important;
        color: #FAF9F6 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
        margin-bottom: 0.4rem !important;
    }

#overlay-ext-1 .gold-italic {
        font-size: clamp(31px, 8vw, 39px) !important;
        line-height: 1.05 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        color: #D4AF37 !important;
        display: block !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

#overlay-ext-1 .supporting-text {
    font-size: 24px;
    font-weight: 500;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-quick-links {
    justify-content: center;
}

/* --- Full Navigation Styling --- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: #ffffff;
    padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
}

#main-nav.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

#main-nav .logo {
    display: inline-flex;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

#main-nav .logo img { width: 165px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 1.4rem;
    align-items: center;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links > li {
    white-space: nowrap;
}

.nav-links > li > a { font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .04em;
    color: #1B1916;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links > li > a:hover {
    color: #C5A059;
}











/* === PREMIUM EDITORIAL REDESIGN === */

/* Content Panel (replacing haze) */
.overlay-content {
    background: rgba(248,244,236,0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(197,160,89,0.25);
    border-radius: 4px;
    padding: 2.5rem 3rem;
    position: relative;
}
.overlay-content.dark-scene {
    background: rgba(24,24,24,0.75);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Typography Overrides */
#cinematic-overlays .extra-large-serif {
    font-size: clamp(34px, 3vw, 44px) !important;
    color: #171614 !important;
    line-height: 0.95 !important;
    margin-bottom: 0.5rem;
}
#overlay-ext-1 .extra-large-serif {
        font-size: clamp(41px, 10.3vw, 51px) !important;
        line-height: 1.05 !important;
        color: #FAF9F6 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
        margin-bottom: 0.4rem !important;
    }
.overlay-content.dark-scene .extra-large-serif {
    color: #FAF9F6 !important;
}

#cinematic-overlays .gold-italic {
        font-size: clamp(32px, 8.6vw, 44px) !important;
        color: #D4AF37 !important;
    }
#overlay-ext-1 .gold-italic {
        font-size: clamp(31px, 8vw, 39px) !important;
        line-height: 1.05 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        color: #D4AF37 !important;
        display: block !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

#cinematic-overlays .label-uppercase {
    font-size: 11px !important;
    letter-spacing: 0.25em !important;
    color: #77736C !important;
    text-transform: uppercase !important;
    margin-bottom: 1.5rem;
}

#cinematic-overlays .supporting-text,
#cinematic-overlays .overlay-content > p:not(.label-uppercase) {
    font-size: 13px !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
    color: #26231f !important;
    text-shadow: none !important;
    max-width: 820px;
    margin-top: 1.5rem;
}
#overlay-ext-1 .supporting-text {
    font-size: 11px !important;
    line-height: 1.5 !important;
    max-width: 900px;
}
.overlay-content.dark-scene .supporting-text {
    color: rgba(250,248,243,.96) !important;
}

#cinematic-overlays .supporting-text.small {
    font-size: 11px !important;
    line-height: 1.55 !important;
    color: #4B4842 !important;
}
.overlay-content.dark-scene .supporting-text.small {
    color: rgba(250,248,243,.75) !important;
}

/* CTAs */
.cinematic-cta, .btn-book {
    background: #C5A059 !important;
    color: #171614 !important;
    border: 1px solid #C5A059 !important;
    padding: 10px 18px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    font-family: var(--font-sans) !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.cinematic-cta:hover, .btn-book:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4) !important;
    background: #d4ae65 !important;
    border-color: #d4ae65 !important;
}

/* Fix CTA Rows Baseline */
.hero-quick-links, .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: baseline;
    margin-top: 2rem;
}

/* Floating Menu adjustments */
#persistent-nav-btn {
    width: 140px !important;
    height: 48px !important;
    border-radius: 24px !important;
    background: #171614 !important;
    color: #C5A059 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}
#persistent-nav-btn span {
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    display: inline-block !important;
}


/* === PART 1: 100% SCALE FIXES === */

.site-container,
.section-inner,
.nav-container,
.container {
    width: min(86vw, 1080px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.editorial-inner {
    width: min(84vw, 1020px) !important;
    max-width: none !important;
    margin-inline: auto !important;
}

.normal-homepage .extra-large-serif,
.normal-homepage .large-serif,
.editorial-heading {
    font-size: clamp(40px, 3.2vw, 60px) !important;
    line-height: .96 !important;
    letter-spacing: -.025em !important;
}

.normal-homepage .gold-italic,
.normal-homepage h2 .gold-italic {
    font-size: .92em !important;
}

.normal-homepage p.supporting-text,
.normal-homepage p,
.editorial-copy {
    font-size: clamp(14px, 0.8vw, 15px) !important;
    line-height: 1.65 !important;
}

.normal-homepage .label-uppercase,
.section-eyebrow {
    font-size: 10px !important; letter-spacing: .20em !important;
}

.normal-section,
.normal-homepage section:not(#explore-section) {
    padding-top: clamp(56px, 5.2vw, 90px) !important;
    padding-bottom: clamp(56px, 5.2vw, 90px) !important;
}

.editorial-large-image {
    height: min(60vh, 540px) !important;
    object-fit: cover !important;
    width: 100%;
}

.editorial-medium-image {
    height: min(48vh, 450px) !important;
    object-fit: cover !important;
    width: 100%;
}

/* Ensure Corporate/Spaces layout isn't gigantic */
#corporate > div:first-child {
    flex: 0 0 52% !important;
    max-width: 52% !important;
}
#corporate > div:last-child {
    flex: 0 0 48% !important;
    max-width: 48% !important;
}

/* Fix grid layouts for standard sections */
.grid-2-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}


/* === PART 2: WHERE WILL YOU BEGIN REBUILD === */
#explore-hub {
    position: relative;
    width: 100%;
    min-height: 92vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(197,160,89,.035) 0%,
            rgba(197,160,89,0) 42%
        ),
        #181818;
    color: #F4F0E8;
}

.explore-hub-inner {
    width: min(82vw, 1060px);
    min-height: 92vh;
    margin: 0 auto;
    padding: 68px 0;
    display: grid;
    grid-template-columns: minmax(430px, .82fr) minmax(620px, 1.18fr);
    align-items: center;
    gap: clamp(40px, 4vw, 65px);
}

.explore-copy {
    max-width: 390px;
}

.explore-eyebrow { margin-bottom: 22px; font-size: 10px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #C5A059;
}

.explore-heading {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(44px, 3.5vw, 62px);
    line-height: .95;
    font-weight: 400;
    letter-spacing: -.025em;
    color: #F4F0E8;
}

.explore-heading em {
    display: block;
    margin-top: 4px;
    color: #C5A059;
    font-style: italic;
    font-weight: 400;
}

.explore-intro { margin-top: 32px; margin-bottom: 26px; font-size: 12px;
    line-height: 1.6;
    color: rgba(244,240,232,.78);
}

.explore-destination {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(197,160,89,.18);
    cursor: pointer;
    text-decoration: none;
}

.explore-destination .label {
    font-family: Inter, sans-serif;
    font-size: clamp(18px, 1.3vw, 22px);
    font-weight: 300;
    letter-spacing: .01em;
    color: rgba(244,240,232,.42);
    transition: color .35s ease;
}

.explore-destination .arrow {
    font-size: 21px;
    color: rgba(197,160,89,.5);
    transition:
        transform .35s ease,
        color .35s ease;
}

.explore-destination.is-active .label {
    color: #F4F0E8;
}

.explore-destination.is-active {
    border-bottom-color: rgba(197,160,89,.65);
}

.explore-destination.is-active .arrow {
    color: #C5A059;
}

.explore-destination:hover .label {
    color: #F4F0E8;
}

.explore-destination:hover .arrow {
    color: #C5A059;
    transform: translateX(7px);
}

.explore-visual {
    position: relative;
    width: 100%;
    height: min(65vh, 530px);
}

.explore-card {
    position: absolute;
    transition: all 520ms cubic-bezier(.22,.61,.36,1);
    opacity: 0;
    z-index: 1;
    transform: scale(.985);
    pointer-events: none;
    border-radius: 16px;
    overflow: hidden;
}

.explore-card.card-front {
    left: 0;
    top: 0;
    width: 72%;
    height: 100%;
    z-index: 10;
    opacity: 1;
    filter: brightness(1);
    box-shadow: 0 26px 70px rgba(0,0,0,.36);
    transform: scale(1);
    pointer-events: auto;
}

.explore-card.card-2 {
    left: 67%;
    top: 5%;
    width: 20%;
    height: 90%;
    z-index: 7;
    opacity: .72;
    filter: brightness(.72);
    border-radius: 15px;
    transform: scale(.985);
}

.explore-card.card-3 {
    left: 79%;
    top: 10%;
    width: 16%;
    height: 80%;
    z-index: 5;
    opacity: .55;
    filter: brightness(.62);
    border-radius: 14px;
    transform: scale(.985);
}

.explore-card.card-4 {
    left: 89%;
    top: 15%;
    width: 11%;
    height: 70%;
    z-index: 3;
    opacity: .4;
    filter: brightness(.55);
    border-radius: 13px;
    transform: scale(.985);
}

.explore-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .explore-hub-inner {
        grid-template-columns: 44% 56%;
    }
}

@media (max-width: 768px) {
    .explore-hub-inner {
        grid-template-columns: 1fr;
    }
    .explore-visual {
        height: 400px;
        margin-top: 40px;
    }
    .explore-card.card-front {
        width: 100%;
    }
    .explore-card.card-2,
    .explore-card.card-3,
    .explore-card.card-4 {
        display: none !important;
    }
}


/* === NORMAL HOMEPAGE CTA SCALE === */
.normal-homepage .cinematic-cta, .site-footer .cinematic-cta {
    padding: 12px 20px !important;
    font-size: 11px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

















/* FINAL CTA & FOOTER STYLES */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197,160,89,0.3) !important;
}
.btn-primary:hover span {
    transform: translateX(5px);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197,160,89,0.15) !important;
    background: rgba(197,160,89,0.1) !important;
}
.btn-secondary:hover span {
    transform: translateX(5px);
}
.footer-link {
    color: #FAF9F6;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}
.footer-link:hover {
    color: #C5A059;
}
.flex-link {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.flex-link .arrow {
    transition: transform 0.3s ease;
}
.flex-link:hover {
    color: #C5A059;
}
.flex-link:hover .arrow {
    transform: translateX(4px);
}

/* Mobile-only elements hidden on desktop */
.hero-menu-hint,
.mobile-short-copy {
    display: none !important;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .footer-col {
        border-left: none !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 768px) {
    #final-cta {
        min-height: 620px !important;
    }
    #final-cta h2 {
        font-size: clamp(52px, 8vw, 60px) !important;
    }
    #final-cta h2 i {
        font-size: clamp(48px, 7vw, 52px) !important;
    }
    #final-cta p {
        font-size: 17px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
    .footer-bottom-row {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .right-detail {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE PASS (max-width: 768px)
   Preserves desktop completely via media query isolation.
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1 & 18. GENERAL SPACING & CONTAINERS */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    section, .editorial-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    /* 2. MOBILE NAVIGATION */
    #main-nav {
        background: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
        pointer-events: none !important;
        padding: 0 !important;
        height: 0 !important;
    }
    #main-nav .logo {
        pointer-events: auto !important;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
        position: absolute !important;
        left: 16px !important;
        top: 16px !important;
    }
    #main-nav .logo img {
        max-width: 150px !important;
        width: auto !important;
        height: auto !important;
    }
    .nav-links {
        display: none !important;
    }
    #persistent-nav-btn,
    #persistent-nav-btn.hidden {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        top: 16px !important;
        right: 16px !important;
        width: auto !important;
        max-width: 72px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 14px !important;
        z-index: 9999 !important;
        background: rgba(18, 17, 15, 0.78) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(197, 160, 89, 0.45) !important;
        border-radius: 22px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
        cursor: pointer !important;
    }
    #persistent-nav-btn .hamburger {
        display: flex !important;
        flex-direction: column !important;
        gap: 3.5px !important;
    }
    #persistent-nav-btn .hamburger span {
        display: block !important;
        width: 14px !important;
        height: 1.5px !important;
        background-color: var(--color-gold) !important;
    }
    #persistent-nav-btn .menu-text {
        font-family: var(--font-sans) !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        letter-spacing: 0.1em !important;
        text-transform: uppercase !important;
        color: #F3EEE3 !important;
        line-height: 1 !important;
    }

    /* 3. HERO MOBILE (MOMENT 1) */
    #overlay-ext-1 {
        position: absolute !important;
        top: 58% !important;
        left: 50% !important;
        bottom: auto !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 40px) !important;
        max-width: 390px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 20px 0 !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
        background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0) 70%) !important;
    }
    #overlay-ext-1 .overlay-content {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 440px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        transform: none !important;
        pointer-events: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    #overlay-ext-1 .label-uppercase {
        font-size: 11px !important;
        letter-spacing: 0.22em !important;
        color: #C5A059 !important;
        margin-bottom: 0.5rem !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
    }
    #overlay-ext-1 .extra-large-serif {
        font-size: clamp(41px, 10.3vw, 51px) !important;
        line-height: 1.05 !important;
        color: #FAF9F6 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
        margin-bottom: 0.4rem !important;
    }
    #overlay-ext-1 .gold-italic {
        font-size: clamp(31px, 8vw, 39px) !important;
        line-height: 1.05 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        color: #D4AF37 !important;
        display: block !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    #overlay-ext-1 .supporting-text {
        display: none !important;
    }
    #cinematic-overlays #cinematic-overlays .cta-row,
    #cinematic-overlays .cta-row {
        display: none !important;
    }
    #overlay-ext-1 .label-small {
        color: #C5A059 !important;
        letter-spacing: 0.16em !important;
        font-size: 11.5px !important;
        text-transform: uppercase !important;
        margin-top: 14px !important;
        margin-bottom: 6px !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
    }
    .hero-menu-hint {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: auto !important;
        font-family: var(--font-sans) !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        letter-spacing: 0.06em !important;
        color: rgba(243, 238, 227, 0.85) !important;
        background: rgba(18, 17, 15, 0.65) !important;
        border: 1px solid rgba(197, 160, 89, 0.35) !important;
        border-radius: 16px !important;
        padding: 9px 14px !important;
        margin-top: 4px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content !important;
        max-width: calc(100vw - 48px) !important;
        cursor: pointer !important;
        text-decoration: none !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }
    .hero-menu-hint span {
        color: #C5A059 !important;
        font-weight: 500 !important;
        margin-left: 4px !important;
    }

    /* 4. CINEMATIC OVERLAYS (MOMENTS 2–11) */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) {
        position: absolute !important;
        inset: auto !important;
        top: 55% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 40px) !important;
        max-width: 440px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        pointer-events: none !important;
        background: transparent !important;
    }
    
    /* Scene-specific tweaks */
    #overlay-ext-2 { top: 50% !important; }
    #overlay-ext-3 { top: 60% !important; }
    #overlay-ext-4 { top: 55% !important; }
    #overlay-int-1 { top: 50% !important; }
    #overlay-int-2 { top: 60% !important; }
    #overlay-bath-1 { top: 50% !important; }
    #overlay-bath-2 { top: 55% !important; }
    #overlay-stables-1 { top: 50% !important; }
    #overlay-stables-2 { top: 60% !important; }
    #overlay-stables-3 { top: 50% !important; }
    #overlay-stables-4 { top: 55% !important; }

    #cinematic-overlays .overlay-text.align-left,
    #cinematic-overlays .overlay-text.align-right,
    #cinematic-overlays .overlay-text.align-center {
        /* Clear any conflicting desktop positioning */
    }
    
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-copy,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content.dark-scene {
        background: radial-gradient(ellipse at center, rgba(15, 15, 15, 0.65) 0%, rgba(15, 15, 15, 0) 75%) !important;
        backdrop-filter: blur(2px) !important;
        -webkit-backdrop-filter: blur(2px) !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 12px !important;
        width: 100% !important;
        padding: 24px 16px !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-width: 440px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        transform: none !important;
        pointer-events: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Hide long paragraphs in cinematic overlays on mobile */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) p.supporting-text,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) p.editorial-p {
        display: none !important;
    }

    /* Display short concise mobile copy */
    .mobile-short-copy {
        display: inline-block !important; /* Hug the sentence closely */
        font-family: var(--font-sans) !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
        color: #F0EDE6 !important; /* Preserving contrast as 0.2 alpha is very dark */
        margin: 8px auto 14px auto !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
        max-width: 380px !important;
        background: rgba(255, 250, 240, 0.22) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        border: 1px solid rgba(255, 255, 255, 0.20) !important;
        border-radius: 8px !important;
        padding: 7px 12px !important;
    }

    /* Cinematic Typography */
    #cinematic-overlays .label-uppercase,
    #cinematic-overlays .chapter-marker {
        font-size: 11px !important;
        letter-spacing: 0.22em !important;
        color: #C5A059 !important;
        margin-bottom: 6px !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #cinematic-overlays .chapter-marker .num {
        color: #C5A059 !important;
        font-size: 11px !important;
    }
    #cinematic-overlays .chapter-marker .gold-rule {
        width: 24px !important;
        height: 1px !important;
        background: #C5A059 !important;
        margin: 0 8px !important;
    }

    #cinematic-overlays .extra-large-serif,
    #cinematic-overlays .large-serif {
        font-size: clamp(39px, 9.75vw, 51px) !important;
        line-height: 1.06 !important;
        color: #FAF9F6 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
        margin-bottom: 4px !important;
    }
    #cinematic-overlays .gold-italic {
        font-size: clamp(32px, 8.6vw, 44px) !important;
        color: #D4AF37 !important;
    }

    /* Stables 4 Heading scaling */
    #overlay-stables-4 h2 {
        font-size: clamp(32px, 8vw, 42px) !important;
        line-height: 1.06 !important;
        color: #FAF9F6 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
        margin-bottom: 6px !important;
    }

    /* Mobile CTA buttons in cinematic overlays */
    #cinematic-overlays .cinematic-cta {
        min-height: 44px !important;
        height: 44px !important;
        padding: 0 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 13px !important;
        letter-spacing: 0.12em !important;
        background: rgba(20, 19, 17, 0.85) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        color: #FAF9F6 !important;
        border: 1px solid rgba(197, 160, 89, 0.7) !important;
        border-radius: 4px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
        margin-top: 6px !important;
        width: auto !important;
        max-width: calc(100vw - 40px) !important;
    }
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .cta-row {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 0 !important;
    }
    /* Exactly 1 CTA in cinematic scene 10 (Weddings) */
    #overlay-stables-2 .cta-row a:nth-child(2) {
        display: none !important;
    }

    /* 5. NORMAL HOMEPAGE — DINING & PRIVATE EVENTS */
    .dining-layout, .private-events-layout {
        display: flex !important;
        flex-direction: column !important;
    }
    .dining-image-wrapper {
        order: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
    }
    .dining-text {
        order: 2 !important;
        position: static !important;
        transform: none !important;
        width: 100% !important;
        padding: 40px 20px !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .pe-text {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        padding: 40px 20px !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .pe-image-wrapper {
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
    }
    .dining-image-wrapper img, .pe-image-wrapper img {
        height: auto !important;
        aspect-ratio: 4/3 !important;
        object-fit: cover !important;
        position: static !important;
    }
    .dining-text p.editorial-p:nth-of-type(2) {
        display: none !important;
    }
    .pe-text p.supporting-text.small {
        display: none !important;
    }

    /* 6. WEDDINGS SECTION MOBILE VISIBILITY FIX */
    .weddings-section .weddings-image-wrapper {
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        width: 100% !important;
        margin: 0 !important;
        height: auto !important;
    }
    /* Remove dark overlay covering photo on mobile */
    .weddings-image-wrapper > div[style*="position: absolute; inset: 0"] {
        display: none !important;
    }
    .weddings-image-wrapper img {
        order: 1 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4/3 !important;
        object-fit: cover !important;
        object-position: center center !important;
        position: static !important;
        display: block !important;
        filter: brightness(1.02) contrast(1.02) !important;
    }
    .weddings-text {
        order: 2 !important;
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        background: #11100E !important;
        padding: 40px 20px 48px 20px !important;
        text-shadow: none !important;
    }
    .weddings-text h2.large-serif {
        font-size: clamp(34px, 8.5vw, 44px) !important;
        line-height: 1.08 !important;
        color: #FAF9F6 !important;
        margin-bottom: 0.75rem !important;
    }
    .weddings-text p.editorial-p {
        color: #D1CFCA !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    .weddings-text p.editorial-p:nth-of-type(2) {
        display: none !important;
    }
    .weddings-text div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
    }
    .weddings-text .cinematic-cta {
        width: 100% !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* 7. CORPORATE SECTION MOBILE REFINEMENT */
    #corporate {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    #corporate > div:first-child {
        flex: none !important;
        width: 100% !important;
        height: 280px !important;
        min-height: 280px !important;
        position: relative !important;
    }
    #corporate > div:first-child img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    #corporate > div:last-child {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 40px 20px 52px 20px !important;
        background: #151513 !important;
    }
    #corporate .label-uppercase {
        font-size: 11px !important;
        letter-spacing: 0.16em !important;
        margin-bottom: 12px !important;
    }
    #corporate h2.extra-large-serif {
        font-size: clamp(30px, 7.8vw, 42px) !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
    #corporate h3.gold-italic {
        font-size: clamp(24px, 6.2vw, 34px) !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    #corporate p.supporting-text {
        font-size: 15px !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        margin-bottom: 28px !important;
    }
    #corporate div[style*="max-width: 450px"] {
        max-width: 100% !important;
        margin-bottom: 28px !important;
    }
    #corporate div[style*="max-width: 450px"] > div {
        font-size: 12.5px !important;
        letter-spacing: 0.08em !important;
        padding-bottom: 0.75rem !important;
    }
    #corporate div[style*="gap: 1.5rem"] {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 28px !important;
    }
    #corporate .cinematic-cta {
        width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    #corporate p[style*="Day Delegate Rate"] {
        font-size: 12px !important;
        line-height: 1.5 !important;
        letter-spacing: 0.03em !important;
        text-align: center !important;
    }
    
    /* 12. OUR SPACES */
    .space-card {
        margin-bottom: 40px !important;
    }
    .space-card img {
        aspect-ratio: 16/10 !important;
    }
    
    /* 13. WHAT'S ON / EVENTS */
    .event-row {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 30px 20px !important;
    }
    /* Move Date/Category to top visually */
    .event-row > div:first-child {
        text-align: left !important;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
    .event-row > div:first-child br {
        display: none;
    }
    .event-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
    }
    .event-row > div:last-child {
        width: 100% !important;
        height: auto !important;
    }

    /* 14. "WHERE WILL YOU BEGIN?" EXPLORE HUB */
    .explore-hub-inner {
        flex-direction: column !important;
        gap: 40px !important;
    }
    .explore-copy, .explore-visual {
        width: 100% !important;
        padding: 0 !important;
    }
    .explore-visual {
        height: 60vh !important;
        min-height: 400px !important;
        position: relative !important;
    }
    .explore-card {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        opacity: 0 !important;
        box-shadow: none !important;
    }
    .explore-card.card-front {
        opacity: 1 !important;
        z-index: 10 !important;
    }
    .explore-destination {
        border-bottom: 1px solid rgba(197,160,89,0.3) !important;
        padding: 16px 0 !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .explore-destination.is-active {
        color: var(--color-gold) !important;
        border-bottom-color: var(--color-gold) !important;
        font-weight: 600 !important;
    }
    .explore-destination.is-active .arrow {
        color: var(--color-gold) !important;
        transform: translateX(4px) !important;
    }

    /* Button Usability: minimum 44px tap target */
    .cinematic-cta,
    .btn-primary,
    .btn-secondary,
    .primary-btn {
        min-height: 44px !important;
        box-sizing: border-box !important;
    }
    .dining-text div[style*="display: flex"],
    .weddings-text div[style*="display: flex"] {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    .dining-text .cinematic-cta,
    .weddings-text .cinematic-cta {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Section Density: consistent 60px padding */
    #events {
        padding: 60px 0 !important;
    }
    #discover-nuthurst {
        padding: 60px 20px !important;
    }

    /* 15. FINAL CTA MOBILE */
    #final-cta {
        min-height: 560px !important;
        height: auto !important;
        background-position: center center !important;
        align-items: center !important;
        padding: 70px 0 !important;
    }
    #final-cta h2 {
        font-size: clamp(42px, 9vw, 54px) !important;
        line-height: 1.05 !important;
    }
    #final-cta h2 i {
        font-size: clamp(38px, 8.5vw, 48px) !important;
    }
    #final-cta p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin: 1.5rem 0 2rem !important;
    }
    #final-cta .cta-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    #final-cta .cta-buttons a {
        width: 100% !important;
        height: 50px !important;
    }
    
    /* 16. FOOTER MOBILE */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 36px !important;
    }
    .footer-col {
        border-left: none !important;
        padding-left: 0 !important;
    }
    .footer-bottom-row {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    /* 14. "WHERE WILL YOU BEGIN?" EXPLORE HUB RE-ORDERING */
    .explore-hub-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .explore-copy {
        display: contents !important;
    }
    .explore-eyebrow { order: 1 !important; }
    .explore-heading { order: 2 !important; }
    .explore-intro { order: 3 !important; }
    .explore-visual { 
        order: 4 !important; 
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        height: 50vh !important;
        min-height: 300px !important;
    }
    .explore-destinations { 
        order: 5 !important; 
        display: flex !important;
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    .event-row { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 16px !important;
        padding: 30px 20px !important;
    }
    .event-row > div:nth-child(1) { order: 1 !important; text-align: left !important; font-size: 1.2rem !important; } /* Date */
    .event-row > div:nth-child(1) span { display: inline-block !important; margin-left: 6px !important; }
    .event-row > div:nth-child(1) br { display: none !important; }
    
    .event-row > div:nth-child(4) { order: 2 !important; width: 100% !important; height: auto !important; } /* Image wrapper */
    .event-row > div:nth-child(4) img { aspect-ratio: 16/9 !important; object-fit: cover !important; }
    
    .event-row > div:nth-child(2) { order: 3 !important; margin-top: 8px !important; } /* Category + Title */
    .event-row > div:nth-child(3) { order: 4 !important; } /* Description */
}

@media (max-width: 768px) {
    /* Ensure Our Spaces strictly stacks 1 column on all mobile/tablet <= 768px */
    .space-card { margin-bottom: 0 !important; }
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 768px) {
    /* 8. FINAL CINEMATIC HANDOVER SECTION */
    .black-transition-section {
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    .black-transition-section .label-uppercase {
        font-size: 12px !important;
    }
    .black-transition-section .large-serif {
        font-size: clamp(38px, 9vw, 48px) !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }
    .black-transition-section .gold-italic {
        font-size: clamp(30px, 7.5vw, 38px) !important;
        display: block !important;
    }
    .black-transition-section .supporting-text {
        font-size: 16px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* --- Mobile Text Toggle --- */
.mobile-only-text, .mobile-only-br {
    display: none;
}
@media (max-width: 768px) {
    .desktop-only-text {
        display: none !important;
    }
    .mobile-only-text {
        display: inline !important;
    }
    .mobile-only-br {
        display: block !important;
    }
}

@media (max-width: 768px) {
    /* 3. MOBILE LOGO */
    #main-nav .logo {
        left: 18px !important;
        top: 16px !important;
    }
    #main-nav .logo img {
        max-width: 135px !important;
    }

    /* 4. MOBILE MENU CONTROL */
    #persistent-nav-btn,
    #persistent-nav-btn.hidden {
        right: 18px !important;
        top: 16px !important;
    }
}

@media (max-width: 430px) {
    /* Menu text hide on narrow screens */
    #persistent-nav-btn .menu-text {
        display: none !important;
    }
}

@media (max-width: 375px) {
    /* Hero menu hint font shrink */
    .hero-menu-hint {
        font-size: 11.5px !important;
    }
}

/* =========================================================
   FINAL CINEMATIC TYPOGRAPHY AMENDMENTS (APPEND)
   ========================================================= */

@media (max-width: 768px) {
    /* 1. MOBILE � REMOVE HIGHLIGHTED SUBTEXT */
    #cinematic-overlays .mobile-short-copy,
    .mobile-short-copy {
        display: none !important;
    }

    /* Fix Stables 4 Heading scaling */
    #overlay-stables-4 h2 {
        font-size: clamp(39px, 9.75vw, 51px) !important;
    }
}

/* 3 & 4. DESKTOP � MATCH MOBILE STYLE & ADD IVORY PANEL */
@media (min-width: 769px) {
    /* Restore desktop font-size for gold-italic that was accidentally touched by regex */
    #cinematic-overlays .gold-italic {
        font-size: clamp(28px, 2.8vw, 36px) !important;
        color: #D4AF37 !important;
        font-style: italic !important;
    }

    /* MATCH MOBILE STYLE: Main Headlines */
    #cinematic-overlays .extra-large-serif,
    #cinematic-overlays .large-serif,
    #overlay-stables-4 h2 {
        font-family: var(--font-serif) !important;
        color: #FAF9F6 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
    }
    
    /* Ensure hero headline text color matches */
    #overlay-ext-1 .extra-large-serif {
        color: #FAF9F6 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
    }

    /* MATCH MOBILE STYLE: Uppercase Labels / Chapter Markers */
    #cinematic-overlays .label-uppercase,
    #cinematic-overlays .chapter-marker {
        color: #C5A059 !important;
        letter-spacing: 0.22em !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
    }
    
    #cinematic-overlays .chapter-marker .num {
        color: #C5A059 !important;
    }

    /* REMOVED IVORY PANEL */
}

@media (min-width: 769px) {
    /* Restore desktop font-size for hero heading */
    #overlay-ext-1 .extra-large-serif {
        font-size: clamp(40px, 3.8vw, 58px) !important;
    }
}

@media (min-width: 769px) {
    /* Restore desktop font-size for hero gold-italic */
    #overlay-ext-1 .gold-italic {
        font-size: clamp(32px, 3.2vw, 44px) !important;
        white-space: normal !important;
        width: auto !important;
        max-width: none !important;
        text-align: left !important;
        display: inline !important;
    }
}

/* =========================================================
   HERO REFINEMENT TASK (NAV + HERO BG)
   ========================================================= */

/* Nav Spacing Improvements (Desktop) */
@media (min-width: 769px) {
    #main-nav .nav-container {
        width: 92vw !important;
        max-width: 1440px !important;
    }
    .nav-links {
        gap: 2.5rem !important;
    }
    #main-nav {
        padding: 20px 0 !important;
    }
    
    /* Remove bulky frosted box from desktop hero */
    #overlay-ext-1 .overlay-content {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
}

/* Scroll Cue Animation */
.scroll-cue span:last-child {
    position: relative;
    overflow: hidden;
}
.scroll-cue span:last-child::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FAF9F6;
    animation: scrollLineDrop 2s infinite ease-in-out;
}
@keyframes scrollLineDrop {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

/* =========================================================
   HERO & CINEMATIC TEXT REFINEMENT PASS
   ========================================================= */

@media (min-width: 769px) {
    /* 1. HERO TYPOGRAPHY 30% LARGER */
    #overlay-ext-1 .extra-large-serif {
        font-size: clamp(52px, 5vw, 75px) !important;
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7) !important;
    }
    #overlay-ext-1 .gold-italic {
        font-size: clamp(42px, 4.2vw, 57px) !important;
        color: #D4AF37 !important;
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7) !important;
    }
    
    /* 2. HERO CONTRAST (SUBTLE RADIAL) */
    #overlay-ext-1 .overlay-content {
        background: radial-gradient(ellipse at center, rgba(16, 15, 13, 0.5) 0%, rgba(16, 15, 13, 0.25) 35%, rgba(16, 15, 13, 0) 70%) !important;
        padding: 4rem 2rem !important; /* give it space so the gradient is smooth */
        max-width: 800px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
}

/* 3. HERO CTAs REFINEMENT */
#cinematic-overlays .cta-row {
    gap: 16px !important; 
}
#cinematic-overlays .cinematic-cta {
    background: rgba(16, 15, 13, 0.68) !important;
    border: 1px solid rgba(197, 160, 89, 0.75) !important;
    color: #FAF9F6 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 999px !important;
    padding: 0 24px !important;
    height: 46px !important;
    line-height: 44px !important;
    letter-spacing: 0.15em !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
}
#cinematic-overlays .cinematic-cta:hover {
    background: rgba(197, 160, 89, 0.95) !important;
    color: #100F0D !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(197, 160, 89, 1) !important;
}

/* REMOVED HIGH CONTRAST IVORY */
}

/* =========================================================
   FINAL DESKTOP CINEMATIC CLEANUP
   ========================================================= */

@media (min-width: 769px) {
    /* 2. REMOVE ALL LARGE DESKTOP TEXT BOXES & 7. LATER CINEMATIC SCENES */
    #cinematic-overlays .overlay-content,
    #cinematic-overlays .overlay-copy,
    #cinematic-overlays .overlay-content.dark-scene {
        background: radial-gradient(ellipse at center, rgba(16, 15, 13, 0.5) 0%, rgba(16, 15, 13, 0.25) 35%, rgba(16, 15, 13, 0) 70%) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 4rem 2rem !important; /* smooth gradient falloff */
        border-radius: 0 !important;
    }

    #cinematic-overlays .mobile-short-copy {
        display: none !important;
    }

    /* 4. MAKE CHAPTER LABELS MUCH BIGGER */
    #cinematic-overlays .label-uppercase,
    #cinematic-overlays .chapter-marker {
        font-size: 17px !important;
        font-weight: 600 !important;
        letter-spacing: 0.20em !important;
        color: #C5A059 !important;
        text-transform: uppercase !important;
        text-shadow: 0 1px 5px rgba(0,0,0,0.8) !important;
        margin-bottom: 1.25rem !important;
    }
    
    #cinematic-overlays .chapter-marker .num {
        font-size: 17px !important;
        color: #C5A059 !important;
    }

    /* 6. HERO CTAS REFINEMENT */
    #cinematic-overlays .cinematic-cta {
        background: rgba(18, 17, 15, 0.78) !important;
        border: 1px solid rgba(197, 160, 89, 0.70) !important;
        color: #FAF9F6 !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        min-height: 48px !important;
        padding: 0 28px !important;
        letter-spacing: 0.12em !important;
        font-weight: 600 !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }

    #cinematic-overlays .cinematic-cta:hover {
        background: #C5A059 !important;
        color: #171614 !important;
        transform: translateY(-2px) !important;
    }
}

@media (max-width: 768px) { #static-hq-hero { display: none !important; } }

@media (min-width: 769px) {
    /* 100% TRANSPARENT CONTAINERS FOR LATER SCENES */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-copy,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content.dark-scene {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    /* MATCH DESKTOP TYPOGRAPHY SHADOWS */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .extra-large-serif,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .large-serif,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) h2 {
        font-family: var(--font-serif) !important;
        color: #FAF9F6 !important;
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
    }

    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .gold-italic {
        color: #D4AF37 !important;
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
        font-style: italic !important;
    }
}

@media (min-width: 769px) {
    /* FINAL MICRO-AMENDMENT: CINEMATIC TYPOGRAPHY SCALE (25% INCREASE) */

    /* 2. Gold Italic Heading Text (Continuation lines) */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .gold-italic {
        font-size: clamp(35px, 3.5vw, 45px) !important;
    }

    /* 1. Main Serif Headings */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .extra-large-serif {
        font-size: clamp(43px, 3.75vw, 55px) !important;
    }

    /* Stables 4 Special Exception */
    #cinematic-overlays #overlay-stables-4 h2.large-serif {
        font-size: clamp(70px, 6vw, 140px) !important;
    }

    /* 3. Gold Uppercase Labels */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .label-uppercase,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .chapter-marker,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .chapter-marker .num {
        font-size: 21px !important;
    }

    /* 4. CTA Button Text & Dimensions */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .cinematic-cta {
        font-size: 16px !important;
        min-height: 52px !important;
        padding: 0 32px !important;
    }
}

@media (min-width: 769px) {
    /* 1. EVERY DESKTOP CINEMATIC OVERLAY MUST APPEAR CENTRE */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) {
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        width: min(760px, calc(100vw - 80px)) !important;
        max-width: 760px !important;
    }

    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-copy,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content.dark-scene {
        text-align: center !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        z-index: 1 !important;
        background: transparent !important;
    }

    /* Force all child paragraphs/headings inside the content to be centered */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content > * {
        text-align: center !important;
    }
    
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .cta-row {
        justify-content: center !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
    }

    /* 6. OPTIONAL READABILITY SCRIM � NOT A BOX */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-content::before,
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .overlay-copy::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 160%;
        height: 160%;
        background: radial-gradient(
            ellipse at center,
            rgba(0,0,0,.28) 0%,
            rgba(0,0,0,.10) 45%,
            rgba(0,0,0,0) 72%
        );
        z-index: -1;
        pointer-events: none;
        border-radius: 50%;
    }

    /* 3. FIX THE SUBTEXT PROPERLY */
    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .supporting-text {
        display: block !important;
        font-size: clamp(18px, 1.15vw, 21px) !important;
        line-height: 1.55 !important;
        font-weight: 500 !important;
        color: #FAF9F6 !important;
        text-shadow: 0 2px 10px rgba(0,0,0,.9) !important;
        max-width: 680px !important;
        margin: 18px auto 0 auto !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    #cinematic-overlays .overlay-text:not(#overlay-ext-1) .supporting-text.small {
        font-size: clamp(15px, 1vw, 18px) !important;
        line-height: 1.5 !important;
        color: rgba(250,249,246,.92) !important;
    }
}

/* WORDPRESS ADMIN BAR COMPATIBILITY */
body.admin-bar #main-nav {
    top: 32px !important;
}
body.admin-bar #persistent-nav-btn {
    top: calc(18px + 32px) !important; /* adjust floating button */
}
@media screen and (max-width: 782px) {
    body.admin-bar #main-nav {
        top: 46px !important;
    }
    body.admin-bar #persistent-nav-btn {
        top: calc(16px + 46px) !important;
    }
}
