﻿
/* --- Premium Typography & Global Base Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Elegant font pairing: Montserrat for clean structure, falling back to clean sans-serif */
  font-family: 'Montserrat', sans-serif;
  
  /* Using your logo's deep navy as the primary text base color instead of plain black/gray */
  color: #0c3156; 
  
  /* Setting the entire site base canvas to the premium warm cream tone from your logo asset */
  background: #fdfbf7;
  
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Optional helper for beautiful classic editorial headings across the layout */
h1, h2, h3, .ms-antique-font {
  font-family: 'Playfair Display', Georgia, serif;
 
  font-weight: 600;
}

/* --- The Cromwell Inn: Asymmetrical Architectural Layout --- */

.ms-asymmetric-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent; /* Allows page layers or banners to blend nicely */
    font-family: 'Montserrat', sans-serif;
}

.ms-header-inner {
    max-width: 1550px;
    margin: 0 auto;
    display: flex;
    align-items: stretch; /* Forces left block and right side to share heights natively */
    background: #fdfbf7; /* Warm Logo Cream Background */
    box-shadow: 0 15px 40px rgba(12, 49, 86, 0.05);
    position: relative;
    border-bottom: 1px solid rgba(195, 155, 84, 0.2);
}

/* The Bold Left Brand Canvas */
.ms-brand-block {
    background-color: #0c3156; /* Logo Navy */
    padding: 20px 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid #c39b54; /* Thick base anchoring gold line */
    position: relative;
    z-index: 15;
}

.ms-brand-anchor {
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ms-asym-logo {
    height: 90px; /* Strong visibility sizing */
    width: auto;
    display: block;
    /* Soft inverse filter look to pop clean off deep dark navy backing block if needed */
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.15));
}

.ms-brand-block:hover .ms-brand-anchor {
    transform: translateY(-2px) scale(1.02);
}

/* Right Navigation Panel Wrapper */
.ms-nav-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 50px;
}

/* Top Subtle Data Line */
.ms-utility-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px 10px 0;
    border-bottom: 1px solid rgba(12, 49, 86, 0.06);
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #0c3156;
    opacity: 0.85;
}

.ms-utility-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ms-util-data i {
    color: #c39b54; /* Gold */
    margin-right: 5px;
}

.ms-util-sep {
    color: #c39b54;
    opacity: 0.4;
}

.ms-link-action {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: color 0.3s ease;
}

.ms-link-action:hover {
    color: #c39b54;
}

.ms-utility-right {
    display: flex;
    gap: 18px;
}

.ms-utility-right a {
    color: #0c3156;
    transition: color 0.3s ease, transform 0.3s ease;
}

.ms-utility-right a:hover {
    color: #c39b54;
    transform: translateY(-1px);
}

/* Main Link Row Layout */
.ms-primary-row {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px 15px 0;
}

.ms-main-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.ms-main-links a {
    text-decoration: none;
    color: #0c3156; /* Navy */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s ease;
}

/* Modern side accent indicator on hover */
.ms-main-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c39b54; /* Gold */
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ms-main-links a:hover {
    color: #c39b54;
}

.ms-main-links a:hover::after {
    width: 100%;
}

/* Call To Actions Grouping */
.ms-cta-area {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ms-contact-link {
    text-decoration: none;
    color: #0c3156;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.ms-contact-link:hover {
    color: #c39b54;
}

/* Clean Sharp Premium Button Border Inset Fill */
.ms-estate-btn {
    text-decoration: none;
    background-color: transparent;
    color: #0c3156 !important;
    border: 1px solid #c39b54;
    padding: 12px 28px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.ms-estate-btn:hover {
    color: #fdfbf7 !important;
    background-color: #0c3156;
    border-color: #0c3156;
    box-shadow: 0 4px 15px rgba(12, 49, 86, 0.12);
}

/* Responsive Mobile Layout Adjustments */
.ms-asym-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 25px;
}

.ms-toggle-bar {
    width: 25px;
    height: 2px;
    background-color: #0c3156;
    transition: all 0.3s ease;
}
.ms-asymmetric-header {
    /* ... your existing styles ... */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
@media (max-width: 1100px) {
    .ms-main-links, .ms-utility-row, .ms-cta-area {
        display: none; /* Hide standard structural parts for clean toggle setup on tablet break */
    }
    .ms-asym-toggle {
        display: flex;
    }
    .ms-nav-wrapper {
        flex: 0;
    }
    .ms-header-inner {
        justify-content: space-between;
        align-items: center;
    }
    .ms-brand-block {
        padding: 12px 25px;
    }
    .ms-asym-logo {
        height: 60px;
    }
}
/* --- MS LUXURY MOBILE OVERLAY --- */
.ms-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.5s ease-in-out;
}

.ms-mobile-menu.active {
    visibility: visible;
    pointer-events: auto;
}

/* Single fluid luxury column canvas */
.ms-menu-canvas {
    width: 100%;
    height: 100%;
    background-color: #fdfbf7; /* Warm Logo Cream Backdrop */
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ms-mobile-menu.active .ms-menu-canvas {
    transform: translateY(0);
}

/* Top Branding & Close Actions Row */
.ms-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(195, 155, 84, 0.2); /* Thin gold line divider */
}

.ms-menu-logo {
    height: 65px;
    width: auto;
    display: block;
}

/* Elegant Architectural Close Action */
.ms-close-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ms-close-label {
    color: #0c3156; /* Logo Navy */
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
}

.ms-close-icon-box {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-close-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #c39b54; /* Gold Close Lines */
    transition: transform 0.3s ease;
}

.line-1 { transform: rotate(45deg); }
.line-2 { transform: rotate(-45deg); }

.ms-close-button:hover .ms-close-line {
    transform: rotate(0deg);
    background-color: #0c3156;
}

/* Nav Panel Layout Area */
.ms-panel-nav {
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.ms-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Fine-Art Navigation Links */
.ms-menu-links a {
    color: #0c3156; /* Navy Links */
    text-decoration: none;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 45px;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease, padding-left 0.3s ease;
}

.ms-mobile-menu.active .ms-menu-links a {
    opacity: 1;
    transform: translateY(0);
}

/* Roman Numeral Map Coordinates Accents */
.ms-menu-links a::before {
    content: attr(data-index);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 500;
    color: #c39b54; /* Gold Markers */
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.ms-menu-links a:hover {
    color: #c39b54;
    padding-left: 55px;
}

/* Staggered entry animation delays */
.ms-mobile-menu.active .ms-menu-links a:nth-child(1) { transition-delay: 0.2s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(2) { transition-delay: 0.25s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(3) { transition-delay: 0.3s; }
.ms-mobile-menu.active .ms-mobile-menu.active .ms-menu-links a:nth-child(4) { transition-delay: 0.35s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(5) { transition-delay: 0.4s; }
.ms-mobile-menu.active .ms-menu-links a:nth-child(6) { transition-delay: 0.45s; }

/* Refined Base Meta Information Blocks */
.ms-panel-info {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(195, 155, 84, 0.15);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.ms-menu-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.ms-contact-box label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c39b54; /* Gold */
    font-weight: 700;
    margin-bottom: 6px;
}

.ms-contact-box p, .ms-menu-tel {
    font-size: 15px;
    color: #0c3156;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.ms-menu-tel {
    transition: color 0.3s ease;
}

.ms-menu-tel:hover {
    color: #c39b54;
}

.ms-menu-legal {
    font-size: 11px;
    color: rgba(12, 49, 86, 0.6);
    text-align: right;
}

.ms-legal-links {
    margin-top: 4px;
}

.ms-legal-links a {
    color: #0c3156;
    text-decoration: none;
    font-weight: 600;
}

.ms-legal-links a:hover {
    text-decoration: underline;
}

/* Quick Responsiveness adjustments */
@media (max-width: 600px) {
    .ms-menu-canvas {
        padding: 20px 25px;
    }
    .ms-panel-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .ms-menu-legal {
        text-align: left;
    }
}
/* --- Premium Kinetic Hero Base Style --- */
.kinetic-hero {
    position: relative;
    width: 100%;
    height: 120vh;
    background-color: #0c3156; /* Strict Solid Fallback Background Color for WCAG Compliance */
    overflow: hidden;
    margin-top: 0px;
}

/* Slide Panels Structural Defaults */
.kn-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: visibility 0s 1.4s; 
}

.kn-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    transition: none;
}

/* Split Mask Kinetic Panels Reveal */
.kn-mask-container {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 5;
}

.kn-bg-panel {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 1.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.kn-bg-panel.left { transform: translateY(100%); }
.kn-bg-panel.right { transform: translateY(-100%); }

.kn-slide.active .kn-bg-panel {
    transform: translateY(0);
}

.kn-bg-panel img {
    position: absolute;
    top: 0;
    width: 200%; 
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) contrast(1); /* Let imagery stand out brighter now that content is shielded */
    transition: transform 10s cubic-bezier(0.25, 1, 0.5, 1);
}

.kn-bg-panel.left img { left: 0; }
.kn-bg-panel.right img { right: 0; }

.kn-slide.active .kn-bg-panel img {
    transform: scale(1.05);
}

/* Content Layout Alignment Container */
.kn-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

/* --- THE ACCESSIBILITY TEXT SHIELD BOX --- */
.kn-inner-shield {
    max-width: 680px;
    background-color: rgba(12, 49, 86, 0.88); /* Brand Navy backing provides absolute high contrast contrast ratio > 7:1 */
    backdrop-filter: blur(12px); /* High-end micro-glass effect looks intentionally designed */
    -webkit-backdrop-filter: blur(12px);
    padding: 50px 60px;
    border-left: 3px solid #c39b54; /* Premium accent line anchors text */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.kn-tag, .line {
    overflow: hidden;
    margin-bottom: 8px;
}

.kn-tag span {
    display: block;
    color: #e5be7e; /* Slightly brightened gold to maximize contrast against navy box */
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 11px;
    text-transform: uppercase;
    transform: translateY(105%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.kn-title {
    font-family: 'Playfair Display', Georgia, serif;
    margin-top: 5px;
}

.kn-title span {
    display: block;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem); /* Controlled to scale elegantly inside box */
    color: #fdfbf7; 
    font-weight: 400;
    line-height: 1.25;
    transform: translateY(105%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.kn-description {
    color: rgba(253, 251, 247, 0.9); /* Maximize text weight readability */
    font-size: 15px;
    line-height: 1.65;
    margin: 20px 0 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.9s;
    font-family: 'Montserrat', sans-serif;
}

.kn-slide.active .kn-tag span,
.kn-slide.active .kn-title span,
.kn-slide.active .kn-description {
    opacity: 1;
    transform: translateY(0);
}

/* Actions Suite Component Buttons */
.kn-action {
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease 1.1s;
}

.kn-slide.active .kn-action { opacity: 1; }

.kn-btn {
    background-color: #c39b54; /* solid premium color block for definitive access compliance */
    color: #0c3156 !important;
    border: 1px solid #c39b54;
    padding: 14px 38px;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0px; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.kn-btn:hover {
    background: transparent;
    color: #fdfbf7 !important;
    border-color: #fdfbf7;
}

/* Architectural Meta Info Section (Safely Isolated outside Box with defined solid backing rules) */
.kn-meta-anchor {
    position: absolute;
    bottom: 50px;
    left: 10%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #0c3156; /* Solid backdrop protects compliance */
    padding: 8px 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: transform 0.8s ease 1s, opacity 0.8s ease 1s;
}

.kn-slide.active .kn-meta-anchor {
    opacity: 1;
    transform: translateY(0);
}

.meta-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e5be7e;
    font-weight: 700;
}

.meta-value {
    font-size: 13px;
    color: #fdfbf7;
    font-weight: 500;
}

/* Navigation System Array Controls */
.kn-controls {
    position: absolute;
    bottom: 45px;
    right: 10%;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 30px;
}

.kn-progress-circle {
    position: relative;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-circle {
    fill: none;
    stroke: rgba(253, 251, 247, 0.15);
    stroke-width: 1;
}

.progress-path {
    fill: none;
    stroke: #c39b54;
    stroke-width: 2;
    stroke-dasharray: 176; 
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 8s linear; 
    transform: rotate(-90deg);
    transform-origin: center;
}

.kn-slide.active ~ .kn-controls .progress-path {
    stroke-dashoffset: 0;
}

.kn-counter {
    position: absolute;
    color: #fdfbf7;
    font-weight: 500;
    font-size: 13px;
}

.kn-dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dot {
    width: 4px;
    height: 4px;
    background: rgba(253, 251, 247, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #c39b54;
    transform: scale(1.6);
}

.kn-arrows {
    display: flex;
    gap: 6px;
}

.kn-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(253, 251, 247, 0.2);
    background: rgba(12, 49, 86, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kn-arrow-btn svg {
    width: 18px;
    height: 18px;
    fill: #fdfbf7;
}

.kn-arrow-btn:hover {
    background: #c39b54;
    border-color: #c39b54;
}

.kn-arrow-btn:hover svg {
    fill: #0c3156;
}
/* --- Optimized Responsive Adaptations --- */
@media (max-width: 1024px) {
    .kinetic-hero {
        height: 80vh; 
        min-height: 500px;
    }

    /* Entirely strip out content frames to leave image backgrounds completely clean */
    .kn-inner-shield,
    .kn-meta-anchor {
        display: none !important;
    }

    /* --- DISABLE HALF-AND-HALF ANIMATION FOR TABLET & MOBILE --- */
    .kn-bg-panel {
        width: 50%; /* Stays aligned together */
        transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    }
    
    /* Cancel the vertical split translations entirely */
    .kn-bg-panel.left { transform: translateY(0) !important; }
    .kn-bg-panel.right { transform: translateY(0) !important; }

    /* Create a smooth premium cross-fade between active state layers */
    .kn-slide {
        opacity: 0;
        transition: opacity 1.2s ease-in-out, visibility 1.2s;
    }
    
    .kn-slide.active {
        opacity: 1;
        transition: opacity 1.2s ease-in-out;
    }

    /* Soften the image scaling effect so it doesn't stutter on mobile processors */
    .kn-slide.active .kn-bg-panel img {
        transform: scale(1.02);
    }

    /* Re-center and clean layout controls on smaller screens */
    .kn-controls {
        position: absolute;
        bottom: 30px;
        right: 50%;
        transform: translateX(50%);
        z-index: 100;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    /* Flip navigation dots horizontally for mobile layout aesthetics */
    .kn-dots {
        flex-direction: row;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .kinetic-hero {
        height: 70vh; /* Scaled down slightly further for absolute comfort on smartphones */
    }

    .kn-bg-panel img { 
        width: 100vw; 
    }
    
    .kn-bg-panel.left img { 
        left: 0; 
    }
    
    .kn-bg-panel.right img {
        right: 0;
        left: auto;
        transform: translateX(50%); 
    }
}
/* --- EDITORIAL LAYOUT STYLE SYSTEM --- */
.editorial-intro {
    position: relative;
    padding:40px 0;
    background-color: #fcfbfa; /* Warm minimalist linen tone */
    overflow: hidden;
}

/* Structural Background Grid Accents */
.ed-matrix-lines {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 8%;
    pointer-events: none;
    z-index: 1;
}
.ed-matrix-lines span {
    width: 1px;
    height: 100%;
    background: rgba(12, 49, 86, 0.04);
}

/* Master Container: Asymmetric Flex Engine */
.ed-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
}

/* --- COLUMN A: THE IMAGE CARD FRAME --- */
.ed-media-card {
    width: 52%;
    position: relative;
    flex-shrink: 0;
}

.ed-image-container {
    position: relative;
    width: 100%;
    height: 640px;
    background-color: #0c3156; /* Strict Fallback background to protect text contrast maps */
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(12, 49, 86, 0.12);
    cursor: pointer;
}

.ed-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Hover state changes image depth to pass contrast requirements */
.ed-image-container:hover .ed-hero-img {
    transform: scale(1.04);
    opacity: 0.35;
}

/* Minimalist Square Video Trigger Overlay */
.ed-video-button-group {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: scale(0.96);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(12, 49, 86, 0.45);
}

.ed-image-container:hover .ed-video-button-group {
    opacity: 1;
    transform: scale(1);
}

.ed-video-label {
    color: #fdfbf7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ed-play-square {
    width: 50px;
    height: 50px;
    background: #c39b54; /* Brand Luxury Bronze-Gold */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-play-square svg {
    width: 20px;
    height: 20px;
    fill: #0c3156; /* Deep Contrast Value Vector */
    transform: translateX(1px);
}

/* Industrial Coordinate Track Base */
.ed-location-axis {
    display: flex;
    gap: 40px;
    margin-top: 25px;
    padding-left: 5px;
}

.axis-node {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.axis-node span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #c39b54;
}

.axis-node strong {
    font-size: 12px;
    color: #0c3156;
    letter-spacing: 0.5px;
}

/* --- COLUMN B: THE SHIFTED FLOATING TEXT BOX --- */
.ed-text-shield {
    width: 54%;
    margin-left: -6%; /* Creates the elegant overlapping offset layout */
    background: #0c3156; /* Deep Brand Navy Box provides a pristine high contrast environment */
    padding: 70px 80px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.ed-text-shield::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #c39b54; /* Structural visual anchor mark */
}

/* Header Elements Inside Shield Box */
.ed-shield-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ed-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #c39b54;
}

.ed-divider-line {
    width: 30px;
    height: 1px;
    background: rgba(195, 155, 84, 0.3);
}

.ed-subtitle {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(253, 251, 247, 0.6);
}

/* Typography Scale Matrix */
.ed-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 3.5vw, 3.4rem);
    color: #fdfbf7;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
}

.ed-main-title span {
    color: #c39b54;
   
}

.ed-editorial-lead {
    font-size: 19px;
    line-height: 1.5;
    color: rgba(253, 251, 247, 0.95);
    font-weight: 500;
    margin-bottom: 25px;
}

/* Scrollable structural body zone */
.ed-scrollable-body-frame {
    max-height: 190px;
    overflow-y: auto;
    padding-right: 25px;
    margin-bottom: 45px;
}

.ed-scrollable-body-frame::-webkit-scrollbar { width: 3px; }
.ed-scrollable-body-frame::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.ed-scrollable-body-frame::-webkit-scrollbar-thumb { background: #c39b54; }

.ed-paragraph {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(253, 251, 247, 0.8);
    margin-bottom: 18px;
}

/* Drawer Trigger Button Design */
.ed-action-drawer {
    border-top: 1px solid rgba(253, 251, 247, 0.1);
    padding-top: 30px;
}

.ed-drawer-trigger-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    padding: 0;
}

.ed-btn-text-content {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fdfbf7;
    transition: color 0.3s ease;
}

.ed-arrow-wrapper {
    width: 44px;
    height: 44px;
    background: rgba(253, 251, 247, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-arrow-wrapper svg {
    width: 20px;
    fill: #c39b54;
}

/* Hover Physics for Button Module */
.ed-drawer-trigger-btn:hover .ed-btn-text-content { color: #c39b54; }
.ed-drawer-trigger-btn:hover .ed-arrow-wrapper {
    background: #c39b54;
    transform: translateX(5px);
}
.ed-drawer-trigger-btn:hover .ed-arrow-wrapper svg { fill: #0c3156; }

/* --- PREMIUM SIDE PANEL SLIDE OVERLAY --- */
.ed-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 49, 86, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.ed-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ed-panel-container {
    width: 660px;
    max-width: 100%;
    height: 100%;
    background: #0c3156;
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
    padding: 60px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-panel-overlay.active .ed-panel-container {
    transform: translateX(0);
}

.ed-panel-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(253, 251, 247, 0.1);
    padding-bottom: 25px;
    margin-bottom: 40px;
}

.ed-panel-top-nav h4 {
    font-size: 13px;
    letter-spacing: 2px;
    color: #c39b54;
    font-weight: 700;
}

.ed-close-panel-btn {
    background: none;
    border: none;
    color: #fdfbf7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.ed-close-panel-btn:hover { color: #c39b54; }

.ed-panel-scroll-wrapper {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 15px;
}
.ed-panel-scroll-wrapper::-webkit-scrollbar { width: 3px; }
.ed-panel-scroll-wrapper::-webkit-scrollbar-thumb { background: #c39b54; }

.ed-split-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.ed-grid-pane h5 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #fdfbf7;
    margin-bottom: 15px;
    font-weight: 400;
}

.ed-grid-pane p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(253, 251, 247, 0.8);
}

/* --- LIGHTBOX VIDEO FRAME OVERLAY --- */
.ew-video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 49, 86, 0.98);
    z-index: 10001;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.ew-video-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #c39b54;
    border: none;
    padding: 14px 30px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    color: #0c3156;
    border-radius: 0px;
}
.ew-video-close:hover { background: #fdfbf7; }

#ew-video-target {
    width: 90%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}

/* --- SYSTEM DEVICE RESPONSIVE SYSTEM --- */
@media (max-width: 1100px) {
    .ed-wrapper { padding: 0 40px; }
    .ed-text-shield { padding: 50px 45px; }
}

@media (max-width: 960px) {
    .editorial-intro { padding: 80px 0; }
    .ed-wrapper { flex-direction: column; padding: 0 30px; }
    .ed-media-card { width: 100%; }
    .ed-image-container { height: 440px; }
    
    /* Strip the absolute positioning overlap rules for mobile readability */
    .ed-text-shield {
        width: 100%;
        margin-left: 0;
        margin-top: 40px;
        padding: 45px 35px;
    }
    
    .ed-video-button-group {
        opacity: 1;
        transform: scale(1);
        background: rgba(12, 49, 86, 0.2);
    }
}

/* -----------------------------------------------------------
   SECTION: ARCHITECTURAL AMENITIES MATRIX (DEEP BOUTIQUE NAVY)
   ----------------------------------------------------------- */
.amenities-matrix-layout {
  position: relative;
  width: 100%;
  background-color: #0c3156; /* Strict Brand Deep Navy Core Canvas */
  padding:40px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.amenities-matrix-layout * {
  box-sizing: border-box;
}

/* Base Master Grid Frame Wrapper */
.arch-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

/* --- Section Header Block Styling --- */
.matrix-header-box {
  text-align: left; /* Shifted left to establish editorial alignment asymmetry */
  margin-bottom: 80px;
  max-width: 700px;
}

.matrix-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  color: #c39b54; /* Luxury Bronze Gold Accent */
  letter-spacing: 5px;
  font-weight: 700;
  margin-bottom: 15px;
}

.matrix-title-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #fdfbf7; /* Premium Light Cream */
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.matrix-title-h2 span {
  color: #c39b54;
  
}

.matrix-lead-text {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(253, 251, 247, 0.7);
  margin: 0;
}

/* --- Asymmetric 3-Column Display Layout --- */
.matrix-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
}

/* --- Premium Structural Card Modules --- */
.matrix-card {
  background: #113a63; /* Contrasting slate-blue box ensures WCAG text readability levels */
  border: 1px solid rgba(195, 155, 84, 0.15);
  border-radius: 0px; /* Sharp corners for modern architectural layout lines */
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background-color 0.4s ease;
  position: relative;
}

/* Top functional positioning frame within the element */
.matrix-card-frame {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  width: 100%;
}

/* Architectural Icon Housing Block */
.matrix-icon-wrapper {
  color: #c39b54;
  font-size: 28px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Monolithic Layout Watermark Number */
.matrix-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: rgba(195, 155, 84, 0.35);
  font-weight: 400;
  line-height: 1;
}

.matrix-card-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fdfbf7;
  letter-spacing: -0.2px;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.matrix-card-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(253, 251, 247, 0.75);
  margin: 0;
}

/* --- Premium Interactive Hover States --- */
.matrix-card:hover {
  transform: translateY(-6px);
  background: #144473; /* Richer blue reveal */
  border-color: #c39b54; /* Gold accent edge illumination */
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.matrix-card:hover .matrix-icon-wrapper {
  transform: scale(1.1) rotate(-3deg);
}

/* Integrated Fine Print Layout Footer Element */
.matrix-footnote {
  width: 100%;
  margin-top: 50px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(253, 251, 247, 0.4);
}

/* --- System Mobile Responsive Profiles --- */
@media (max-width: 1200px) {
  .amenities-matrix-layout {
    padding: 100px 0;
  }
  .arch-container {
    padding: 0 40px;
  }
  .matrix-grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2-Column Balanced Table Layout */
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .amenities-matrix-layout {
    padding: 80px 0;
  }
  .arch-container {
    padding: 0 30px;
  }
  .matrix-header-box {
    margin-bottom: 50px;
  }
  .matrix-grid-container {
    grid-template-columns: 1fr; /* Pure linear stack layout on phone formats */
    gap: 25px;
  }
  .matrix-card {
    padding: 35px 30px;
  }
}
/* --- SECTION & BACKGROUND --- */
.room-editorial-v2 {
    padding: 140px 0;
    /* Deep Brand Navy linear overlay for elegant text contrast */
    background: linear-gradient(rgba(12, 49, 86, 0.94), rgba(12, 49, 86, 0.94)), 
                url('../images/exterior.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fdfbf7; /* Premium Light Cream */
    font-family: 'Mulish', sans-serif;
    position: relative;
    overflow: hidden;
}

.re-v2-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.re-v2-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    position: relative;
    gap: 60px;
}

/* Sidebar Branding Navigation Elements */
.re-v2-eyebrow {
    color: #c39b54; /* Luxury Bronze Gold Accent */
    letter-spacing: 6px;
    font-size: 15px;
    font-weight: 400;
    display: block;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.re-v2-title {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 0.95;
    font-weight: 400;
    margin-bottom: 40px;
    
}

.re-v2-title span {
    display: block;
    -webkit-text-stroke: 1.5px rgba(253, 251, 247, 0.4);
    color: transparent;
    
}

/* --- VISUAL PRESENTATION STAGE PANELS --- */
.re-v2-main-visual {
    position: relative;
    z-index: 5;
}

.re-v2-image-frame {
    position: relative;
    height: 700px;
    width: 100%;
    overflow: hidden; 
    clip-path: inset(0% 0% 0% 0% round 150px 0 0 0); /* Sharp asymmetrical architectural edge crop */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(195, 155, 84, 0.2);
}

.re-v2-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.re-v2-main-visual:hover #re-main-img {
    transform: scale(1.04);
}

/* Overlapping Editorial Details Card Component */
.re-v2-details-card {
    position: absolute;
    bottom: -100px;
    left: -160px; /* Overlap grid layout breaker style */
    background: #113a63; /* Deep contrast secondary layout slate-blue */
    color: #fdfbf7;
    padding: 50px;
    width: 480px;
    z-index: 10; 
    box-shadow: 30px 30px 70px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(195, 155, 84, 0.25);
    border-bottom: 5px solid #c39b54; /* Gold anchor edge highlight */
}

.re-v2-desc {
    font-size: 16.5px;
    line-height: 1.75;
    margin-bottom: 30px;
    color: rgba(253, 251, 247, 0.8);
}

.re-v2-specs {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(253, 251, 247, 0.1);
}

.spec-item small { 
    display: block; 
    font-size: 11px; 
    color: #c39b54; /* Gold metadata headers */
    margin-bottom: 8px; 
    letter-spacing: 1.5px;
    font-weight: 600;
}

.spec-item b { 
    font-size: 19px; 
    font-weight: 400; 
    color: #fdfbf7;
}

/* Call to Action Transaction Buttons */
.re-v2-cta {
    display: inline-block;
    padding: 20px 40px;
    background: #0c3156; /* Core Navy Base */
    color: #fdfbf7;
    border: 1px solid rgba(195, 155, 84, 0.3);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
}

.re-v2-cta:hover { 
    background: #c39b54; /* Gold hover reveal state */
    color: #0c3156; 
    border-color: #c39b54;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(195, 155, 84, 0.25);
}

/* Controller Navigation Arrows */
.re-v2-nav { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-top: 30px; 
}

.re-v2-num { 
    font-size: 24px; 
    color: #c39b54; 
    font-weight: 700; 
    
}

.re-v2-arrow {
    background: transparent; 
    border: 1px solid rgba(253, 251, 247, 0.2);
    color: #fdfbf7; 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.re-v2-arrow:hover { 
    background: #c39b54; 
    color: #0c3156; 
    border-color: #c39b54; 
}

/* Typography Watermark Background Mesh */
.re-v2-ghost-bg {
    position: absolute;
    top: -20px;
    right: 0px;
    font-size: 400px;
    font-weight: 900;
    color: rgba(253, 251, 247, 0.03);
    z-index: -1;
    line-height: 1;
}

/* --- SYSTEM ADAPTABILITY ENGINE --- */
@media (max-width: 1100px) {
    .room-editorial-v2 { padding: 100px 0; }
    .re-v2-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .re-v2-title { font-size: 55px; }
    .re-v2-details-card { 
        position: relative; 
        left: 0; 
        bottom: 0; 
        width: 100%; 
        margin-top: -80px; 
        padding: 40px 30px; 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    .re-v2-image-frame { height: 450px; clip-path: none; border-radius: 20px 20px 0 0; }
    .re-v2-ghost-bg { display: none; }
}

@media (max-width: 768px) {
    .room-editorial-v2 { padding: 80px 0; }
    .re-v2-container { padding: 0 25px; }
    .re-v2-title { font-size: 42px; }
    .re-v2-details-card { padding: 35px 25px; margin-top: 0; border-radius: 0 0 12px 12px; }
    .re-v2-image-frame { height: 350px; border-radius: 12px 12px 0 0; }
    .re-v2-specs { gap: 25px; }
}
/* --- Root Container --- */
.attr-cinematic {
    position: relative;
    height: 500vh; /* Controls scroll duration for 5 items */
    background: #0c3156; /* Core Brand Deep Navy Canvas */
    overflow: clip;
}

/* --- Sticky Mechanism --- */
.attr-sticky-guard {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #0c3156;
}

/* --- Background Image Engine --- */
.attr-bg-system {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.attr-slide {
    position: absolute;
    inset: 0;
    /* CHANGED: Adjusted focal anchor down to 85% vertical alignment to prevent cutoffs */
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.attr-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* --- The Editorial Color Wash --- */
.attr-overlay {
    position: absolute;
    inset: 0;
    /* Immersive Deep Navy wash moving rightward to preserve high readability metrics */
    background: linear-gradient(to right, 
        rgba(12, 49, 86, 1) 0%, 
        rgba(12, 49, 86, 0.95) 30%, 
        rgba(12, 49, 86, 0.5) 65%, 
        rgba(12, 49, 86, 0.1) 100%);
    z-index: 2;
}

/* --- Content Layout --- */
.attr-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.attr-body, .attr-pillar {
    pointer-events: auto;
}

/* --- Typography & Info Blocks --- */
.attr-info {
    display: none;
    max-width: 650px;
}

.attr-info.is-active {
    display: block;
    animation: attrRevealLight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes attrRevealLight {
    from { opacity: 0; transform: translateX(-30px); filter: blur(10px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.attr-tag { 
    color: #c39b54; /* Luxury Bronze Gold Accent */
    letter-spacing: 5px; 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 13px;
    display: block;
    margin-bottom: 20px;
}

.attr-name { 
    
    font-size: clamp(40px, 6vw, 75px); 
    font-weight: 400; 
    margin: 0 0 25px 0; 
    line-height: 1.05; 
    text-transform: uppercase;
    color: #fdfbf7; /* Clean Light Cream Text */
}

.attr-desc { 
    font-size: 16.5px; 
    color: rgba(253, 251, 247, 0.8); /* Highly accessible opacity configuration */
    line-height: 1.75;
    margin-bottom: 45px; 
    max-width: 520px;
}

.attr-explore { 
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fdfbf7; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #c39b54; /* Gold anchor underline */
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

.attr-explore:hover {
    gap: 18px;
    color: #c39b54;
    border-color: #fdfbf7;
}

/* --- Vertical Pillar Navigation Track --- */
.attr-pillar { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}

.pillar-item {
    width: 55px; 
    height: 55px; 
    border: 1px solid rgba(195, 155, 84, 0.25); 
    background: rgba(17, 58, 99, 0.85); /* Cohesive secondary slate-blue background blocks */
    backdrop-filter: blur(10px);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: 700; 
    color: #fdfbf7; 
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 14px;
    border-radius: 0px; /* Sharp architectural layout edges matching core sections */
}

.pillar-item.is-active { 
    background: #c39b54; /* Gold fill state for active focus tracking */
    color: #0c3156; 
    border-color: #c39b54;
    transform: scale(1.15) translateX(-8px); 
    box-shadow: 0 15px 35px rgba(195, 155, 84, 0.3);
}

.pillar-item:hover:not(.is-active) {
    background: #0c3156;
    border-color: #c39b54;
    color: #c39b54;
}
/* --- Keep your existing Desktop CSS here as is --- */

/* ==========================================================================
   UPDATED RESPONSIVE RESPONSIVENESS (iPad & Mobile Card Integration)
   ========================================================================== */
@media (max-width: 1024px) {
    .attr-cinematic {
        height: auto !important;
        overflow: visible !important;
        background: #06192c; /* Slightly darker depth fallback */
    }

    .attr-sticky-guard {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        padding: 80px 0;
        background: transparent;
    }

    /* Hide global absolute engine blocks */
    .attr-bg-system, .attr-overlay {
        display: none !important;
    }

    .attr-wrapper {
        flex-direction: column;
        height: auto;
        padding: 0 4%;
        gap: 0;
        pointer-events: auto;
    }

    .attr-body {
        display: flex;
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }

    /* Transform hidden elements into beautiful card containers */
    .attr-info {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-end;
        max-width: 100%;
        min-height: 450px; /* Generous card canvas ratio */
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        position: relative;
        padding: 40px;
        border-radius: 0px;
        overflow: hidden;
        box-shadow: 0 20px 45px rgba(6, 25, 44, 0.3);
        border: 1px solid rgba(195, 155, 84, 0.15);
    }

    /* Inject the specific background image inside the mobile card view */
    .attr-info::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: var(--bg-img);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -2;
        transition: transform 0.8s ease;
    }

    /* Dark vignette wash overlay to protect high text readability scores over images */
    .attr-info::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, #06192c 0%, rgba(12, 49, 86, 0.9) 50%, rgba(6, 25, 44, 0.4) 100%);
        z-index: -1;
    }

    .attr-name {
        font-size: clamp(28px, 4.5vw, 42px);
        margin: 0 0 15px 0;
    }

    .attr-desc {
        margin-bottom: 25px;
        max-width: 100%;
        font-size: 15px;
    }

    .attr-pillar {
        display: none !important; /* Hide pagination numbers since it flows organically */
    }
}

@media (max-width: 600px) {
    .attr-sticky-guard {
        padding: 40px 0;
    }

    .attr-info {
        padding: 30px 20px;
        min-height: 400px;
    }

    .attr-name {
        font-size: 26px;
    }
}

/* --- Root Container Layout Control System --- */
.mke-archive-v5 {
    min-height: 90vh;
    background: #fdfbf7; /* Premium Light Cream Base */
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 80px 0 80px 4%;
}

.mke-v5-container {
    display: grid;
    grid-template-columns: 450px 1fr; /* Dynamic Side-by-Side Flex Grid System Configuration */
    align-items: center;
    width: 100%;
    gap: 50px;
}

/* --- LEFT COLUMN PANEL --- */
.mke-v5-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 20px;
}

.mke-v5-side-header {
    margin-bottom: 40px;
}

.mke-v5-eyebrow {
    color: #c39b54; /* Luxury Bronze Gold Accent */
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 5px;
    font-weight: 700;
  
    display: block;
}

.mke-v5-title {
    font-size: clamp(38px, 4vw, 54px);
    color: #0c3156; /* Brand Deep Navy Base */
    line-height: 1.05;
    margin: 15px 0;
    font-weight: 400;
   
}

.mke-v5-title span { 
    display: block;
    color: #c39b54; 
    font-style: italic;
}

.mke-v5-info p { 
    font-size: 13px; 
    color: #0c3156; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 700;
    margin: 2px 0;
}

.mke-v5-address {
    color: #718096 !important;
    font-weight: 400 !important;
}

/* --- BRAND FAQ ACCORDION ARCHITECTURE --- */
.mke-v5-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.faq-v5-item {
    border-bottom: 1px solid rgba(12, 49, 86, 0.12);
    padding-bottom: 15px;
}

.faq-v5-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 10px 0;
    cursor: pointer;
  
    font-size: 16px;
    font-weight: 600;
    color: #0c3156;
    gap: 15px;
    transition: color 0.3s ease;
}

.faq-v5-trigger i {
    font-size: 14px;
    color: #c39b54;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-v5-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-v5-content p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4a5568;
    padding: 8px 0 5px 0;
    margin: 0;
}

/* Open Accordion Interactive States */
.faq-v5-item.is-active .faq-v5-trigger {
    color: #c39b54;
}

.faq-v5-item.is-active .faq-v5-trigger i {
    transform: rotate(-180deg);
}

.faq-v5-item.is-active .faq-v5-content {
    max-height: 200px; /* Safe upper clipping context envelope for text expansion */
    opacity: 1;
}

/* --- RIGHT COLUMN: FILMSTRIP SYSTEM --- */
.mke-v5-filmstrip {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 40px 0;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: #c39b54 rgba(12, 49, 86, 0.1);
}

.mke-v5-filmstrip::-webkit-scrollbar { height: 4px; }
.mke-v5-filmstrip::-webkit-scrollbar-track { background: rgba(12, 49, 86, 0.05); }
.mke-v5-filmstrip::-webkit-scrollbar-thumb { background: #c39b54; }

.mke-v5-filmstrip.active { cursor: grabbing; }

.mke-v5-track {
    display: flex;
    gap: 30px;
    padding-right: 80px;
}

.mke-v5-card {
    flex: 0 0 440px;
    height: 58vh;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(12, 49, 86, 0.08);
}

.mke-v5-card img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mke-v5-card:hover img { transform: scale(1.05); }
.mke-v5-card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(12, 49, 86, 0.18);
}

/* Label Linear Contrast Overlay */
.mke-v5-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 49, 86, 0.85) 0%, transparent 45%);
    z-index: 1;
}

.mke-v5-label {
    position: absolute;
    bottom: 25px; 
    left: 25px;
    color: #fdfbf7;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    z-index: 2;
}

.mke-v5-label span { 
    color: #c39b54; 
    margin-right: 10px; 
    font-weight: 700;
}

/* --- LIGHTBOX PORTAL OVERLAYS --- */
.mke-lightbox {
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(12, 49, 86, 0.98); 
    z-index: 2500;
    align-items: center; 
    justify-content: center;
    backdrop-filter: blur(12px);
}

.mke-lightbox img { 
    max-width: 90%; 
    max-height: 82vh; 
    object-fit: contain; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(195, 155, 84, 0.2);
}

.mke-lightbox .close-btn { 
    position: absolute; 
    top: 30px; 
    right: 40px; 
    color: #c39b54; 
    font-size: 50px; 
    cursor: pointer; 
    transition: transform 0.3s ease;
    line-height: 1;
}

.mke-lightbox .close-btn:hover { transform: rotate(90deg) scale(1.15); }

/* --- RESPONSIVE MEDIA BREAKPOINTS ENGINE --- */
@media (max-width: 1200px) {
    .mke-v5-container { grid-template-columns: 380px 1fr; gap: 30px; }
    .mke-v5-card { flex: 0 0 380px; height: 50vh; }
}

@media (max-width: 991px) {
    .mke-archive-v5 { padding: 80px 0 80px 5%; height: auto; }
    .mke-v5-container { grid-template-columns: 1fr; gap: 60px; }
    .mke-v5-left-panel { padding-right: 5%; }
    .mke-v5-card { flex: 0 0 70vw; height: 48vh; }
}

@media (max-width: 600px) {
    .mke-v5-card { flex: 0 0 82vw; height: 42vh; }
    .mke-v5-title { font-size: 34px; }
}
/* --- CROMWELL INN BRANDED FOOTER --- */
.mke-footer-wrap {
  /* PROFESSIONAL GRADIENT: 
     A subtle radial gradient creates a "spotlight" effect in the center, 
     making your brand elements pop smoothly against the dark backdrop.
  */
  background: radial-gradient(circle at 20% 30%, #113c69 0%, #0c3156 50%, #06192c 100%);
  padding-top: 90px;
  color: #fdfbf7; /* Clean Light Cream Text */
  position: relative;
  overflow: hidden;
}

.mke-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.mke-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 80px;
}

/* --- BRAND SECTION --- */
.mke-footer-brand { 
  flex: 1.2; 
}

/* --- LOGO POD --- */
.mke-logo-pod {
    display: inline-flex;
    align-items: center;
    background: #ffffff; 
    padding: 20px 35px;
    border-radius: 0px; /* Sharp architectural edges matching template updates */
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(6, 25, 44, 0.25); 
    border-bottom: 5px solid #c39b54; /* Luxury Bronze Gold Base Anchor Line */
}

.mke-footer-logo {
    height: 120px;
    width: auto;
    display: block;
}

.mke-footer-slogan {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 45px;
  font-weight: 400;
  color: #fdfbf7;
  text-transform: uppercase;
}

.mke-footer-slogan span { 
  display: block;
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: #c39b54; /* Gold variant branding focus */
}

/* --- ACTION BUTTON --- */
.mke-btn-primary {
  background: #c39b54; /* Gold Action State */
  color: #0c3156; /* Navy contrast background text link */
  padding: 18px 35px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0px;
}

.mke-btn-primary:hover { 
  background: #fdfbf7;
  color: #0c3156;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.mke-action-group { 
  display: flex; 
  align-items: center; 
  gap: 30px; 
}

/* --- SOCIAL LINKS --- */
.mke-footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mke-footer-social a { 
  color: #fdfbf7; 
  font-size: 20px; 
  opacity: 0.7;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mke-footer-social a:hover { 
  opacity: 1; 
  color: #c39b54; 
  transform: translateY(-3px); 
}

/* --- DATA PILLARS --- */
.mke-footer-details {
  flex: 2;
  display: flex;
  gap: 70px;
  border-left: 1px solid rgba(195, 155, 84, 0.2); /* Subdued bronze border rule */
  padding-left: 70px;
}

.mke-detail-col { 
  flex: 1; 
}

.mke-detail-label {
  font-family: 'Outfit', sans-serif;
  display: block;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c39b54; 
  margin-bottom: 35px;
  font-weight: 500;
}

/* 2-COLUMN LINKS GRID */
.mke-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}

.mke-quick-grid a {
  color: rgba(253, 251, 247, 0.8);
  text-decoration: none;
  font-size: 16.5px;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 400;
}

.mke-quick-grid a:hover {
  color: #c39b54;
  transform: translateX(6px);
}

/* CONTACT SECTION */
.mke-address {
  font-style: normal;
  color: rgba(253, 251, 247, 0.8);
  line-height: 1.8;
  font-size: 16.5px;
  margin-bottom: 25px;
}

.mke-phone {
  font-weight: 700;
  color: #fdfbf7;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mke-phone:hover { 
  color: #c39b54; 
}

/* --- LEGAL FLOOR SECTION --- */
.mke-footer-bottom {
  background-color: #06192c; /* Deepest dark brand navy footer canvas edge */
  border-top: 1px solid rgba(253, 251, 247, 0.05);
  padding: 50px 0;
}

.mke-ownership-statement {
  color: rgba(253, 251, 247, 0.45);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 35px;
  text-align: center;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.mke-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(253, 251, 247, 0.05);
}

.mke-legal-links a, 
.mke-f-credit, 
.mke-f-credit a {
  color: rgba(253, 251, 247, 0.4);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mke-sep {
  color: #c39b54;
  margin: 0 12px;
}

.mke-legal-links a:hover, 
.mke-f-credit a:hover {
  color: #c39b54;
}

/* --- RESPONSIVE BREAKPOINT REFINEMENTS --- */

/* 1. TABLET MEDIA QUERY MODULE */
@media (max-width: 1150px) {
  .mke-footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }

  .mke-footer-brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mke-footer-details {
    width: 100%;
    border-left: none;
    padding-left: 0;
    justify-content: space-around;
  }

  .mke-action-group {
    justify-content: center;
  }

  .mke-footer-slogan {
    font-size: 36px;
    margin-bottom: 30px;
  }
}

/* 2. SMARTPHONES & MOBILE VIEWS */
@media (max-width: 850px) {
  .mke-footer-details {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .mke-quick-grid {
    justify-items: start;
    display: inline-grid; 
    text-align: left;
  }

  .mke-bottom-flex {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .mke-ownership-statement {
    font-size: 12px;
    padding: 0 10px;
  }
}

/* 3. ULTRA-NARROW DEVICES */
@media (max-width: 500px) {
  .mke-footer-wrap {
    padding-top: 60px;
  }

  .mke-quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .mke-footer-slogan {
    font-size: 30px;
  }

  .mke-phone {
    font-size: 18px;
  }

  .mke-btn-primary {
    width: 100%;
    text-align: center;
  }
  
  .mke-action-group {
    flex-direction: column;
    width: 100%;
  }
}

/* --- BRANDED BACK TO TOP BUTTON --- */
#mke-back-to-top {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: #9CD9C5; /* Your Brand Teal */
    color: #0A2533; /* Your Brand Navy */
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 2px; /* Matching the sharp logo-pod style */
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#mke-back-to-top:hover {
    background-color: #0A2533; /* Switch to Navy on hover */
    color: #9CD9C5; /* Switch to Teal on hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Ensure it stays readable on mobile */
@media (max-width: 768px) {
    #mke-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}