/* ============================================
   MARTIN FROM LAS VEGAS  -  ELEVATED MINIMAL
   Aman Resorts restraint. The Agency precision.
   EB Garamond + Sora. Space as luxury.
   ============================================ */

/* ─────────────────────────────────────────────
   1. DESIGN TOKENS
   ───────────────────────────────────────────── */
:root {
    /* Palette  -  Warm Minimal */
    --black:       #1a1a1a;
    --dark:        #1a1714;
    --charcoal:    #2a2723;

    /* Warm accent for decorative lines */
    --warm-accent: #c4a265;

    --warm-white:  #f7f6f4;
    --stone:       #f0ede8;
    --cream:       #eae7e1;
    --white:       #ffffff;

    --text:        #1a1a1a;
    --text-light:  #6b6560;
    --text-muted:  #9e9893;
    --text-inverse:#faf9f7;

    --border:      rgba(0,0,0,0.08);
    --border-light:rgba(0,0,0,0.05);
    --border-dark: rgba(255,255,255,0.12);

    /* Dark Navy Accents */
    --navy-accent: #14213d;
    --navy-hover:  #0b1528;
    --navy-muted:  #264066;
    --navy-subtle: rgba(20, 33, 61, 0.05);

    /* Legacy aliases */
    --navy:        #1a1a1a;
    --navy-light:  #2a2a2a;
    --navy-dark:   #111111;
    --blue:        #1a1a1a;
    --blue-light:  #2a2a2a;
    --blue-hover:  #111111;
    --blue-subtle: #f3f1ed;
    --gold:        #1a1a1a;
    --gold-light:  #6b6560;
    --gold-dark:   #111111;
    --bronze-light:#6b6560;
    --accent:      #1a1a1a;
    --accent-light:#6b6560;
    --off-white:   #faf9f7;
    --gray-50:     #f3f1ed;
    --gray-100:    #eae7e1;
    --gray-200:    #d4d0ca;
    --gray-300:    #9e9893;
    --gray-400:    #6b6560;
    --gray-500:    #3a3632;
    --gray-600:    #2a2a2a;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans:    'Outfit', 'Helvetica Neue', sans-serif;
    --font-body:    'Inter', 'Helvetica Neue', sans-serif;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    --text-2xl:  clamp(1.5rem, 1.2rem + 1vw, 2rem);
    --text-3xl:  clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
    --text-4xl:  clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
    --text-5xl:  clamp(3rem, 1.8rem + 4vw, 5rem);

    /* Legacy type aliases */
    --xs:       var(--text-xs);
    --small:    var(--text-sm);
    --body:     var(--text-base);
    --body-lg:  var(--text-lg);

    /* Spacing  -  generous, luxury breathing room */
    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --space-4xl: 7rem;
    --space-5xl: 10rem;

    /* Layout */
    --container:    1440px;
    --container-sm: 800px;
    --container-narrow: 640px;
    --gutter:       clamp(1.5rem, 4vw, 3rem);
    --gap:          clamp(1rem, 2vw, 1.75rem);

    /* Radius */
    --radius-xs:  2px;
    --radius-sm:  3px;
    --radius-md:  4px;
    --radius-lg:  6px;
    --radius-xl:  8px;

    /* Shadows  -  barely there */
    --shadow-sm:  0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 2px 8px rgba(0,0,0,0.05);
    --shadow-lg:  0 4px 16px rgba(0,0,0,0.06);

    /* Motion */
    --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --duration:    0.3s;
    --duration-lg: 0.45s;

    /* Header */
    --header-height: 100px;
}


/* ─────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 300;
    line-height: 1.75;
    color: var(--text);
    background: var(--warm-white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 100; }

::selection {
    background: var(--navy-accent);
    color: var(--white);
}

/* Scrollbar  -  minimal */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }


/* ─────────────────────────────────────────────
   3. LAYOUT
   ───────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container--sm { max-width: var(--container-sm); }
.container--narrow { max-width: var(--container-narrow); }

.section {
    padding: clamp(5rem, 10vw, 10rem) 0;
}

.section--light {
    background: var(--stone);
}

/* About intro  -  half/half desktop, full-bleed mobile */
.about-intro-band {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.about-intro-band.section--light {
    background: var(--stone);
}



/* BG image + overlay: hidden on desktop, visible on mobile */
.about-intro-band-bg,
.about-intro-band-overlay {
    display: none;
}

.about-intro-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.about-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}
.about-intro-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1rem + 3vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.about-intro-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.about-intro-content .btn {
    margin-top: 1.5rem;
    align-self: flex-start;
}

.about-intro-image {
    overflow: hidden;
    max-height: 580px;
}
.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.about-intro-image:hover img {
    transform: scale(1.02);
}

/* Desktop: show desktop image, hide mobile image */
.about-intro-image--mobile { display: none; }

/* Centered variant (no image, no CTA) */
.about-intro-band--centered .about-intro-band-inner {
    grid-template-columns: 1fr;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.about-intro-band--centered .about-intro-content {
    align-items: center;
}

.gold-rule {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin-top: 1.5rem;
}

/* Mobile: stacked image + text */
@media (max-width: 768px) {
    .about-intro-band-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    .about-intro-image--desktop { display: none; }
    .about-intro-image--mobile {
        display: none;
    }
    .about-intro-content {
        padding: 1.5rem var(--gutter);
    }
}

.section--navy,
.section--dark {
    background: var(--dark);
    color: var(--text-inverse);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.section-header .label {
    margin-bottom: 1.25rem;
}

.section-header .label::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--warm-accent);
    margin: 1rem auto 0;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.section-header p {
    color: var(--text-light);
    margin-top: 1.25rem;
    font-size: var(--text-base);
}


/* ─────────────────────────────────────────────
   4. TYPOGRAPHY
   ───────────────────────────────────────────── */
h1 {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 100;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 100;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 100;
    line-height: 1.25;
}

h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 200;
    letter-spacing: 0.02em;
}

.label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy-muted);
}
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mobile-only { display: none; }
@media (max-width: 768px) { .mobile-only { display: inline; } }

/* Refined link underline animation */
.split-content a:not(.btn),
.card a:not(.btn),
.footer-col a {
    position: relative;
}
.split-content a:not(.btn)::after,
.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--duration) var(--ease);
}
.split-content a:not(.btn):hover::after,
.footer-col a:hover::after {
    width: 100%;
}


/* ─────────────────────────────────────────────
   5. BUTTONS
   ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.3rem 3.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 0.5px solid transparent;
    cursor: pointer;
    transition: all var(--duration) var(--ease), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary,
.btn-gold {
    background: var(--navy-accent);
    color: var(--white);
    border-color: var(--navy-accent);
}
.btn-primary:hover,
.btn-gold:hover {
    background: var(--navy-hover);
    border-color: var(--navy-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20,33,61,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 0.5px solid rgba(0,0,0,0.2);
}
.btn-outline:hover {
    border-color: var(--text);
    transform: none;
    box-shadow: none;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-inverse);
    border: 0.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    transform: none;
    box-shadow: none;
}

.btn-white {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.btn-sm { padding: 0.85rem 1.75rem; font-size: 0.8rem; }
.btn-lg { padding: 1.5rem 4rem; font-size: 0.95rem; letter-spacing: 0.2em; }
.btn-xl { padding: 1.75rem 4.5rem; font-size: 1rem; letter-spacing: 0.22em; }
.btn-block { width: 100%; }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}


/* ─────────────────────────────────────────────
   6. HEADER  -  Logo + Hamburger Only
   ───────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), color var(--duration) var(--ease), transform 0.3s var(--ease);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.scrolled {
    background: rgba(250,249,247,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border-light);
}

/* White header over dark heroes (all pages) */
.site-header:not(.scrolled) {
    color: var(--white);
}
.site-header.scrolled {
    color: var(--text);
}

/* Pages without a dark hero  -  force scrolled header style immediately */
.page-no-hero .site-header {
    background: rgba(250,249,247,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    color: var(--text);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    height: 100%;
    padding: 0 var(--gutter);
    max-width: none;
    margin: 0;
}
@media (min-width: 1024px) {
    .header-inner {
        align-items: flex-start;
        padding: 0 var(--gutter) 0 clamp(2rem, 6vw, 7rem);
    }
}

/* Logo */
.header-logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    margin-right: auto;
    position: relative;
}
.logo-img {
    height: clamp(70px, 7vw, 100px);
    width: auto;
}
/* Default: white logo (over dark hero) */
.logo-img--black { display: none !important; }
.logo-img--white { display: block !important; }
/* Scrolled: black logo (light bg) */
.site-header.scrolled .logo-img--white { display: none !important; }
.site-header.scrolled .logo-img--black { display: block !important; }

/* No-hero pages: black logo immediately (matches light header bg) */
.page-no-hero .logo-img--white { display: none !important; }
.page-no-hero .logo-img--black { display: block !important; }

/* Text logo fallback (footer, etc.) */
.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-top: 2px;
}

/* Desktop nav  -  minimal primary links */
.header-nav {
    display: none;
}
@media (min-width: 900px) {
    .header-nav {
        display: flex;
        align-items: center;
        align-self: center;
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
    .header-nav a {
        font-family: var(--font-body);
        font-size: var(--text-xs);
        font-weight: 400;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: inherit;
        opacity: 0.7;
        transition: opacity var(--duration) var(--ease);
        white-space: nowrap;
        position: relative;
    }
    .header-nav a:hover {
        opacity: 1;
    }
    .header-nav a.active {
        opacity: 1;
    }
    /* Contact CTA button */
    .header-nav a.nav-cta {
        opacity: 1;
        padding: 0.45rem 1.25rem;
        border: 1px solid rgba(255,255,255,0.35);
        border-radius: 3px;
        transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease), opacity var(--duration) var(--ease);
    }
    .header-nav a.nav-cta:hover {
        border-color: rgba(255,255,255,0.6);
        background: rgba(255,255,255,0.08);
    }
    /* CTA in scrolled / no-hero state */
    .site-header.scrolled .header-nav a.nav-cta,
    .page-no-hero .header-nav a.nav-cta {
        border-color: var(--navy-accent);
        background: var(--navy-accent);
        color: var(--white);
    }
    .site-header.scrolled .header-nav a.nav-cta:hover,
    .page-no-hero .header-nav a.nav-cta:hover {
        background: var(--navy-hover);
        border-color: var(--navy-hover);
    }
}

/* Header actions  -  lang toggle + burger, always visible */
.header-actions {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 1rem;
}
/* Hide lang toggle on mobile  -  it's in the overlay */
.header-actions > .lang-toggle-btn {
    display: none;
}
@media (min-width: 900px) {
    .header-actions > .lang-toggle-btn {
        display: flex;
    }
}

/* Menu toggle  -  always visible (desktop + mobile) */
.menu-toggle {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 0.5rem;
    transition: opacity var(--duration) var(--ease);
    opacity: 0.6;
}
.menu-toggle:hover {
    opacity: 1;
}
.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 16px;
}
.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

/* Language toggle */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: inherit;
    opacity: 0.5;
    transition: opacity var(--duration) var(--ease);
}
.lang-toggle-btn:hover { opacity: 1; }
.lang-sep { opacity: 0.3; }
.lang-toggle-btn[data-active="en"] .lang-en { opacity: 1; font-weight: 500; }
.lang-toggle-btn[data-active="en"] .lang-es { opacity: 0.5; }
.lang-toggle-btn[data-active="es"] .lang-es { opacity: 1; font-weight: 500; }
.lang-toggle-btn[data-active="es"] .lang-en { opacity: 0.5; }


/* ─────────────────────────────────────────────
   7. OVERLAY MENU (slide-in panel)
   ───────────────────────────────────────────── */
.overlay-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(460px, 85vw);
    z-index: 10001;
    background: #fff;
    box-shadow: -30px 0 80px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--duration-lg) var(--ease), visibility var(--duration-lg) var(--ease);
}
.overlay-nav.open {
    transform: translateX(0);
    visibility: visible;
}

.overlay-nav-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.overlay-nav-close {
    position: absolute;
    top: calc((var(--header-height) - 36px) / 2);
    right: var(--gutter);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0,0,0,0.4);
    padding: 0.5rem;
    transition: color var(--duration) var(--ease);
    line-height: 0;
    z-index: 10;
}
.overlay-nav-close:hover { color: var(--black); }

.overlay-nav-grid {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Primary nav links */
.overlay-nav-primary {
    margin-top: calc(var(--header-height) + 1.5rem);
    margin-bottom: auto;
    padding: 0 clamp(2rem, 5vw, 3.5rem);
}
.overlay-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.overlay-nav-list li {
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.overlay-nav-list li:first-child {
    border-top: 1px solid rgba(0,0,0,0.07);
}
.overlay-nav-list a {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    padding: 1rem 0;
    opacity: 0.7;
    transition: opacity var(--duration) var(--ease);
}
.overlay-nav-list a:hover {
    opacity: 1;
}
.overlay-nav-list a.active {
    opacity: 1;
    font-weight: 500;
}
.overlay-nav-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.4;
    padding: 1.25rem 0 0.5rem;
    border-bottom: none !important;
}
.overlay-nav-label:first-child {
    padding-top: 0;
}
.overlay-nav-divider {
    border-bottom: none !important;
    height: 0.5rem;
}

/* Secondary list in overlay  -  smaller, for resources */
.overlay-nav-list--secondary a {
    font-size: var(--text-xs);
    padding: 0.75rem 0;
}

.overlay-nav-bb {
    margin-top: 1.25rem;
}
.overlay-nav-bb bb-widget {
    display: block;
}

/* Secondary  -  contact + lang */
.overlay-nav-secondary {
    padding: 2rem clamp(2rem, 5vw, 3.5rem);
    border-top: 1px solid rgba(0,0,0,0.07);
}
.overlay-nav-contact h4 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.overlay-nav-contact a {
    display: block;
    color: var(--text);
    font-size: var(--text-xs);
    opacity: 0.4;
    transition: opacity var(--duration) var(--ease);
    margin-bottom: 0.35rem;
}
.overlay-nav-contact a:hover { opacity: 0.8; }

.overlay-nav-lang {
    margin-top: 1rem;
}
.overlay-nav-lang .lang-toggle-btn {
    color: var(--text);
}


/* ─────────────────────────────────────────────
   8. HERO
   ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 30%;
    will-change: transform;
    filter: saturate(1.05) sepia(0.12) brightness(0.95);
}

.hero-video-fallback {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.18) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: none;
    padding: 0 var(--gutter) 5rem clamp(2rem, 6vw, 7rem);
    width: 100%;
}

.hero h1 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 3rem + 5vw, 6.5rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--text-base);
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.6;
    max-width: 420px;
    margin: 0 auto;
}

.hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: var(--text-lg);
    font-weight: 300;
    line-height: 1.6;
    max-width: 520px;
    margin-top: 0.75rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
    margin-bottom: 0.875rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 1.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.hero .btn-group {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 0;
}

/* Hero button refinements */
.hero .btn {
    padding: 1.35rem 3.5rem;
    font-size: 0.9375rem;
    letter-spacing: 0.15em;
    transition: all var(--duration) var(--ease);
}
.hero .btn-white {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.hero .btn-white:hover {
    background: rgba(255,255,255,0.9);
    transform: none;
    box-shadow: none;
}
.hero .btn-ghost {
    border-color: rgba(255,255,255,0.3);
    border-width: 1px;
}
.hero .btn-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    transform: none;
    box-shadow: none;
}



/* ─────────────────────────────────────────────
   9. PAGE HERO (subpages)
   ───────────────────────────────────────────── */
.page-hero {
    position: relative;
    background: var(--dark);
    color: var(--text-inverse);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-height) 0 0;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .label {
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 1.2rem + 4.5vw, 4.25rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

/* Hero inline form wrapper (e.g. CMA form in valuation hero) */
.hero-form-wrap {
    max-width: 480px;
    margin: 2.5rem auto 0;
    text-align: left;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

/* Valuation address search */
.valuation-search {
    max-width: 720px;
    margin: 2.5rem auto 0;
}
.valuation-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    gap: 0.75rem;
    transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.valuation-search-bar:focus-within {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}
.valuation-search-icon {
    flex-shrink: 0;
    opacity: 0.5;
    color: var(--white);
}
.valuation-search-bar input[type="text"] {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    padding: 0.75rem 0;
}
.valuation-search-bar input[type="text"]::placeholder {
    color: rgba(255,255,255,0.45);
}
.valuation-search-btn {
    flex-shrink: 0;
    background: var(--white);
    color: var(--dark);
    border: none;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.85rem 1.75rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background var(--duration) var(--ease), opacity var(--duration) var(--ease);
    white-space: nowrap;
}
.valuation-search-btn:hover {
    background: #f0f0f0;
}
@media (max-width: 640px) {
    .valuation-search-bar {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }
    .valuation-search-icon {
        display: none;
    }
    .valuation-search-btn {
        width: 100%;
        text-align: center;
    }
}


/* ─────────────────────────────────────────────
   10. TRUST STRIP
   ───────────────────────────────────────────── */
.trust-strip {
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
}

.trust-strip-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.trust-item svg {
    opacity: 0.4;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────
   11. SPLIT LAYOUT
   ───────────────────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split-image {
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.split-image--portrait img {
    aspect-ratio: 4/5;
    object-position: center top;
}

.split-image:hover img {
    transform: scale(1.02);
}

.split-content .label {
    margin-bottom: 0.75rem;
}

.split-content h2 {
    margin-bottom: 1.25rem;
}

.split-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}


/* Market Stats Section */
.section--market-stats {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
}
.market-stats-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.market-stats-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.market-stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,25,47,0.88) 0%, rgba(10,25,47,0.92) 100%);
    z-index: 1;
}
.section--market-stats .container {
    position: relative;
    z-index: 2;
}
.market-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 3rem auto 0;
}
.market-stat-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}
.market-stat-card + .market-stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.market-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.market-stat-label {
    display: block;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .market-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .market-stat-card:nth-child(3)::before { display: none; }
}
@media (max-width: 480px) {
    .market-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .market-stat-card + .market-stat-card::before { display: none; }
}

/* Testimonial Split */
.split--testimonial {
    align-items: center;
}
.split--testimonial .split-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 1.5rem;
}
.split--testimonial .split-content p {
    font-size: var(--text-base);
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.testimonial-link {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--navy);
    transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.testimonial-link:hover {
    color: var(--blue);
    border-color: var(--blue);
}

/* ─────────────────────────────────────────────
   12. GRIDS & CARDS
   ───────────────────────────────────────────── */
.grid {
    display: grid;
    gap: var(--gap);
}

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

.card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 0.75rem;
}

.card p {
    font-size: var(--text-sm);
    color: var(--text-light);
    line-height: 1.7;
}

/* Cards on dark backgrounds */
.section--dark .card { background: transparent; border: none; border-top: 1px solid var(--warm-accent); padding: 2.5rem 0; }
.section--dark .card:hover { box-shadow: none; }
.section--dark .card h3 { color: var(--white); }
.section--dark .card p { color: rgba(255,255,255,0.55); }
.section--dark .card-icon { color: var(--warm-accent); opacity: 0.7; }


/* ─────────────────────────────────────────────
   13. COMMUNITY CARDS
   ───────────────────────────────────────────── */
.community-card {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.community-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.community-card:hover img {
    transform: scale(1.04);
}

.community-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
    transition: background 0.6s var(--ease);
}

.community-card:hover .community-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 70%);
}

.community-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--white);
    transition: transform 0.8s var(--ease-out);
}

.community-card:hover .community-card-content {
    transform: translateY(-4px);
}

.community-card-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: 0.25rem;
}

.community-card-content p {
    font-size: var(--text-xs);
    opacity: 0.6;
    font-weight: 300;
}


/* ─────────────────────────────────────────────
   14. STAT GRID
   ───────────────────────────────────────────── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
}

.stat-card {
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--warm-white);
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}


/* ─────────────────────────────────────────────
   15. TESTIMONIALS
   ───────────────────────────────────────────── */
.testimonial-card {
    padding: 2rem;
    border: 1px solid var(--border-light);
    background: var(--white);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--black);
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--stone);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--text-light);
}

.testimonial-name {
    font-size: var(--text-sm);
    font-weight: 400;
}

.testimonial-detail {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Editorial variant  -  no box, just quote + attribution */
.testimonial-card--editorial {
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-light);
    padding: 2.5rem 0;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.testimonial-card--editorial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.testimonial-card--editorial .testimonial-text {
    font-size: var(--text-xl);
    margin-bottom: 2rem;
}

.testimonial-card--editorial .testimonial-name {
    font-size: var(--text-sm);
    letter-spacing: 0.04em;
}

.testimonial-card--editorial .testimonial-detail {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* Testimonials page  -  stats bar */
.stats-bar {
    background: var(--dark);
    padding: 2.5rem 0;
}

.stats-bar-inner {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.stats-bar-item { text-align: center; }
.stats-bar-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--white);
}
.stats-bar-label {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
}

.featured-testimonial {
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.featured-testimonial .testimonial-text {
    font-size: var(--text-2xl);
}


/* ─────────────────────────────────────────────
   16. SELLER BAND
   ───────────────────────────────────────────── */
.seller-band {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 8vw, 7rem) 0;
    overflow: hidden;
}

.seller-band-bg {
    position: absolute;
    inset: 0;
}
.seller-band-bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
}

.seller-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.15) 100%
    );
}

.seller-band .container { position: relative; z-index: 2; max-width: none; padding: 0 var(--gutter) 0 clamp(2rem, 6vw, 7rem); }
.seller-band .split { grid-template-columns: 1fr 0.4fr; }

.seller-band .label { color: rgba(255,255,255,0.4); }
.seller-band { color: var(--white); }
.seller-band h2,
.seller-band h3,
.seller-band h4,
.seller-band strong { color: var(--white); }
.seller-band p { color: rgba(255,255,255,0.7); }
.seller-band .split-content p { color: rgba(255,255,255,0.6); }
.seller-band .qual-icon { color: var(--white); }


/* ─────────────────────────────────────────────
   17. PROCESS STEPS  -  TIMELINE
   ───────────────────────────────────────────── */
.process-timeline {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding-left: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 0.6875rem; /* center of 22px node */
    top: 0.6875rem;
    bottom: 0.6875rem;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 1.75rem;
    padding-bottom: 2.75rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.timeline-content {
    padding-top: 0.05rem;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.timeline-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.timeline-content p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0;
}

/* Light variant */
.process-timeline--light {
    max-width: 640px;
}
.process-timeline--light::before {
    background: var(--border);
}
.process-timeline--light .timeline-node {
    background: var(--gray-300);
    border: none;
    width: 0.75rem;
    height: 0.75rem;
    left: -1.7rem;
    top: 0.25rem;
}
.process-timeline--light .timeline-content h4 {
    color: var(--text);
    font-size: var(--text-xl);
    margin-bottom: 0.6rem;
}
.process-timeline--light .timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}
.process-timeline--light .timeline-item {
    padding-bottom: 3.5rem;
}


/* ─────────────────────────────────────────────
   18. CTA BAND
   ───────────────────────────────────────────── */
.cta-band {
    background: var(--dark);
    color: var(--white);
    padding: clamp(6rem, 12vw, 10rem) 0;
    text-align: center;
}

.cta-band h2 {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-band p {
    color: rgba(255,255,255,0.5);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
}

.cta-band .btn-group {
    justify-content: center;
}


/* ─────────────────────────────────────────────
   19. INLINE LEAD CAPTURE
   ───────────────────────────────────────────── */
.section--capture {
    background: var(--stone);
}

.inline-capture {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.inline-capture-lead .section-header {
    text-align: left;
    margin: 0 0 1.5rem;
    max-width: none;
}

.inline-capture-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inline-capture-bullet {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-light);
}

.inline-capture-bullet svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.inline-capture-form {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.inline-capture-form .form-group { margin-bottom: 0.625rem; }
.inline-capture-form .form-group label { font-size: 0.6875rem; margin-bottom: 0.25rem; }
.inline-capture-form .form-group input:not([type="checkbox"]),
.inline-capture-form .form-group textarea { padding: 0.5rem 0; font-size: var(--text-sm); }
.inline-capture-form .form-group textarea { min-height: 60px; }
.inline-capture-form .form-group--checkbox { margin-top: 0.5rem; }

/* Interest selector */
.interest-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.interest-selector input[type="radio"] { display: none; }
.interest-selector label {
    display: block;
    padding: 0.4rem 0.5rem;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-light);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}
.interest-selector label:hover {
    border-color: var(--text-muted);
    color: var(--text);
}
.interest-selector input[type="radio"]:checked + label {
    background: var(--navy-accent);
    border-color: var(--navy-accent);
    color: var(--white);
}

/* Form success state */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}
.form-success.is-visible { display: block; }
.form-success-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: #22c55e;
}
.form-success h3 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}
.form-success p {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* Form error banner */
.form-error-banner {
    display: none;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: var(--text-xs);
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.375rem;
}
.form-error-banner.is-visible { display: block; }

/* Consent fine-print */
.consent-fine-print {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    padding-left: 1.75rem;
}


/* ─────────────────────────────────────────────
   20. FORMS
   ───────────────────────────────────────────── */
.form-group {
    margin-bottom: 1rem;
}

.form-label,
.form-group label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.375rem;
}

.form-input,
.form-select,
.form-textarea,
.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    outline: none;
    transition: border-color var(--duration) var(--ease);
    -webkit-appearance: none;
    border-radius: 0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--black);
}

.form-textarea,
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    font-size: var(--text-xs);
    color: #c44;
    margin-top: 0.25rem;
}

input.error,
select.error,
textarea.error {
    border-bottom-color: #c44;
}

.form-select { cursor: pointer; }


/* ─────────────────────────────────────────────
   21. CONTACT PAGE
   ───────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.contact-form-card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
}

.contact-info-card {
    padding: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.contact-method h4 {
    font-size: var(--text-sm);
    font-weight: 400;
    margin-bottom: 0.125rem;
}

.contact-method p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin: 0;
}

.contact-method p a {
    color: var(--text);
    transition: opacity var(--duration) var(--ease);
}
.contact-method p a:hover { opacity: 0.6; }


/* ─────────────────────────────────────────────
   22. IDX PLACEHOLDER
   ───────────────────────────────────────────── */
.idx-placeholder {
    padding: 3rem;
    text-align: center;
    border: 1px dashed var(--border);
    color: var(--text-muted);
}

.idx-placeholder h3 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.idx-placeholder p {
    font-size: var(--text-sm);
}


/* ─────────────────────────────────────────────
   23. ABOUT PAGE
   ───────────────────────────────────────────── */
.about-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.credential-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: var(--text-xs);
    color: var(--text-light);
    border: 1px solid var(--border-light);
}

.philosophy-card {
    padding: 2rem;
    border: 1px solid var(--border-light);
    background: var(--white);
}

.philosophy-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 0.75rem;
}

.philosophy-card p {
    font-size: var(--text-sm);
    color: var(--text-light);
}


/* ─────────────────────────────────────────────
   24. BUY / SELL PAGES
   ───────────────────────────────────────────── */
.pillar-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--cream);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.pillar-card {
    padding: 2rem;
    border: 1px solid var(--border-light);
    background: var(--white);
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* Process / Phase Steps on Buy/Sell */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.phase-card {
    padding: 2rem;
    border: 1px solid var(--border-light);
    background: var(--white);
}

.phase-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.phase-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 0.5rem;
}

.phase-card p {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* Valuation form */
.valuation-form {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
}

/* Negotiation stats */
.negotiation-stat {
    text-align: center;
    padding: 2rem 1rem;
}

.negotiation-stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.negotiation-stat-label {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}


/* ─────────────────────────────────────────────
   25. FOOTER
   ───────────────────────────────────────────── */
.site-footer {
    background: var(--warm-white);
    border-top: 1px solid var(--warm-accent);
}

.footer-cta-band {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-cta-text h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: 0.25rem;
}

.footer-cta-text p {
    font-size: var(--text-sm);
    color: var(--text-light);
}

.footer-main {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    color: var(--text);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.footer-contact-info a {
    font-size: var(--text-sm);
    color: var(--text-light);
    transition: color var(--duration) var(--ease);
}
.footer-contact-info a:hover { color: var(--text); }

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}
.social-link:hover { color: var(--text); }

.footer-col h4 {
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
    font-size: var(--text-sm);
    color: var(--text-light);
    transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--text); }

/* Legal footer */
.footer-legal-links {
    border-top: 1px solid var(--border-light);
    padding: 1.25rem 0;
    font-size: var(--text-xs);
    color: var(--text-muted);
}
.footer-legal-links .container {
    display: flex;
    justify-content: center;
}
.legal-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-legal-links a {
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}
.footer-legal-links a:hover { color: var(--text-light); }

/* BB Disclaimer */
.footer-bb-disclaimer {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 0;
    font-size: var(--text-xs);
    color: var(--text-muted);
}
bb-widget:not(:defined) { display: none; }
bb-widget:not(:defined) ~ * { display: none; }
.footer-bb-disclaimer:has(bb-widget:not(:defined)) { display: none; }


.footer-legal {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 0;
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
}

.footer-brokerage { margin-bottom: 0.5rem; }
.footer-brokerage p { margin: 0; }

.footer-equal-housing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.equal-housing-icon { font-size: 1.25rem; }

/* MLS Disclaimer (in-page) */
.mls-disclaimer {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    background: var(--gray-50, #f5f5f0);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}
.mls-disclaimer .disclaimer-text {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.mls-disclaimer .disclaimer-text + .disclaimer-text {
    margin-top: 0.75rem;
}


/* ─────────────────────────────────────────────
   26. EXIT-INTENT MODAL
   ───────────────────────────────────────────── */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--white);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.exit-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.exit-modal {
    background: var(--white);
    padding: 2.5rem;
    max-width: 640px;
    width: 92%;
    position: relative;
}

/* Tailored listings layout  -  fullscreen */
.exit-modal--listings {
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    overflow: hidden;
}
.exit-modal--listings .exit-modal-close {
    top: 1rem;
    right: 1rem;
    z-index: 2;
    color: var(--white);
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    backdrop-filter: blur(4px);
}
.exit-modal--listings .exit-modal-close:hover {
    background: rgba(0,0,0,0.7);
    color: var(--white);
}
.exit-modal-hero-img {
    width: 50%;
    flex-shrink: 0;
    overflow: hidden;
}
.exit-modal-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.exit-modal--listings .exit-modal-body {
    flex: 1;
    padding: 3rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    overflow-y: auto;
    background: var(--white);
}
.exit-modal--listings h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-align: left;
    margin-bottom: 0.75rem;
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 300;
}
.exit-modal--listings > .exit-modal-body > #exitModalForm > p {
    text-align: left;
    font-size: var(--text-base);
    color: var(--text-light);
    margin-bottom: 2rem;
}
.listings-eyebrow {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.listings-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
}
.listings-field { margin-bottom: 0 !important; }
.listings-field--full { margin-bottom: 0 !important; margin-top: 1rem; }
.listings-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.listings-select {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    padding: 0.6rem 0;
    font-size: var(--text-base);
    color: var(--text);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    transition: border-color var(--duration) var(--ease);
}
.listings-select:focus { border-bottom-color: var(--navy); }
.listings-select option { color: var(--text); }
.exit-modal--listings .form-group input:not([type="checkbox"]) {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    padding: 0.6rem 0;
    font-size: var(--text-base);
    color: var(--text);
    outline: none;
    transition: border-color var(--duration) var(--ease);
}
.exit-modal--listings .form-group input::placeholder {
    color: var(--text-muted);
}
.exit-modal--listings .form-group input:not([type="checkbox"]):focus {
    border-bottom-color: var(--navy);
}
.exit-modal-consent {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 1.5rem 0;
    text-align: left;
}
.exit-modal-consent label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.exit-modal-consent label span {
    flex: 1;
}
.exit-modal-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--navy);
    cursor: pointer;
}
.exit-modal--listings .btn { width: 100%; letter-spacing: 0.14em; font-size: var(--text-sm); padding: 1rem; }
.exit-modal--listings .btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.exit-modal--listings .btn-primary:hover { background: #0f1a33; border-color: #0f1a33; box-shadow: 0 6px 20px rgba(0,0,0,0.15); transform: translateY(-2px); }
.exit-modal--listings .exit-modal-confirm h4,
.exit-modal--listings .exit-modal-confirm p { color: var(--text); }
.exit-modal--listings .exit-modal-confirm svg { stroke: var(--navy); }

.exit-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--duration) var(--ease);
}
.exit-modal-close:hover { color: var(--text); }

.exit-modal-eyebrow {
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.exit-modal h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: 0.75rem;
}

.exit-modal p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.exit-modal .form-group { margin-bottom: 0.75rem; }
.exit-modal .btn { width: 100%; }

.exit-modal-confirm {
    text-align: center;
    padding: 1rem 0;
}
.exit-modal-confirm h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 0.5rem;
}
.exit-modal-confirm p {
    text-align: center;
}


/* ─────────────────────────────────────────────
   26b. MOBILE STICKY CTA BAR
   ───────────────────────────────────────────── */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9900;
    background: var(--navy);
    transform: translateY(100%);
    transition: transform 0.35s var(--ease);
    padding: 0.75rem 1.25rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
}
.mobile-cta-bar.visible {
    transform: translateY(0);
}
.mobile-cta-inner {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.mobile-cta-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.mobile-cta-text strong {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--white);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-cta-text span {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.55);
    line-height: 1.3;
}
.mobile-cta-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    flex-shrink: 0;
    transition: background var(--duration) var(--ease);
}
.mobile-cta-call:hover { background: rgba(255,255,255,0.1); }
.mobile-cta-btn {
    flex-shrink: 0;
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
}


/* ─────────────────────────────────────────────
   27. FLOATING CONTACT WIDGET
   ───────────────────────────────────────────── */
.float-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9800;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.float-widget.widget-ready.widget-past-hero {
    opacity: 1;
    transform: translateY(0);
}

.float-btn {
    width: auto;
    min-width: 180px;
    height: auto;
    border-radius: 0;
    background: var(--navy-accent);
    color: var(--white);
    border: 1px solid var(--navy-accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all var(--duration) var(--ease), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    box-shadow: 0 4px 24px rgba(20,33,61,0.18);
}
.float-btn:hover {
    background: var(--navy-hover);
    border-color: var(--navy-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(20,33,61,0.28);
}

.float-btn-label { display: inline; flex: 1; }

.float-btn-icon-close { display: none; }
.widget-open .float-btn-icon-open { display: none; }
.widget-open .float-btn-icon-close { display: flex; }
.widget-open .float-btn-label { display: inline; }
.widget-open .float-btn {
    padding: 0.875rem 1.25rem;
}

.float-panel {
    position: absolute;
    bottom: calc(100% + 0.75rem);
    right: 0;
    width: 340px;
    padding: 1.75rem 1.75rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--duration) var(--ease);
    max-height: 80vh;
    overflow-y: auto;
}

.widget-open .float-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-panel-label {
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.float-panel p {
    font-size: var(--text-xs);
    color: var(--text-light);
    margin-bottom: 1rem;
}

.float-panel .form-group { margin-bottom: 0.5rem; }
.float-panel .form-group select { cursor: pointer; }
.float-panel .form-group textarea { border: 1px solid var(--border); padding: 0.6rem; font-size: var(--text-sm); resize: vertical; min-height: 80px; }
.float-panel .form-group textarea:focus { border-color: var(--navy-accent); }
.float-panel .btn { width: 100%; font-size: 0.6875rem; }
.float-panel .btn-outline-navy { background: transparent; color: var(--navy-accent); border: 2px solid var(--navy-accent); letter-spacing: 0.12em; font-weight: 600; padding: 0.75rem; }
.float-panel .btn-outline-navy:hover { background: var(--navy-accent); color: var(--white); }
.float-panel-close { position: absolute; top: 0.75rem; right: 0.75rem; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.25rem; transition: color var(--duration) var(--ease); }
.float-panel-close:hover { color: var(--text); }
.float-panel-heading { font-family: var(--font-display); font-size: var(--text-xl); color: var(--navy-accent); margin-bottom: 0.25rem; }
.float-panel-sub { font-size: var(--text-sm); color: var(--text-light); margin-bottom: 1.25rem; }
.float-panel-consent { font-size: 0.6rem; color: var(--text-muted); line-height: 1.5; margin-top: 0.5rem; }
.float-panel-consent label { display: block; cursor: pointer; }
.float-panel-consent input[type="checkbox"] { -webkit-appearance: checkbox; appearance: checkbox; width: 14px; height: 14px; vertical-align: top; margin-top: 2px; margin-right: 0.3rem; accent-color: var(--navy-accent); border: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-shrink: 0; }
.float-panel-consent a { color: var(--navy-accent); text-decoration: underline; }

.float-panel-thanks {
    text-align: center;
    padding: 1rem 0;
}
.float-panel-thanks p {
    text-align: center;
}

/* Float panel  -  mobile full-screen overlay */
@media (max-width: 600px) {
    .float-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 10001;
        padding: 2rem 1.5rem 1.5rem;
        border: none;
        box-shadow: none;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        transform: translateY(100%) !important;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    }
    .float-widget.widget-open {
        opacity: 1 !important;
        z-index: 10002 !important;
        transform: none !important;
    }
    .widget-open .float-panel {
        transform: translateY(0) !important;
    }
    .exit-modal--listings {
        flex-direction: column;
    }
    .exit-modal-hero-img {
        display: none;
    }
    .exit-modal--listings .exit-modal-close {
        color: var(--text-muted);
        background: var(--off-white, #f5f5f5);
    }
    .exit-modal--listings .exit-modal-close:hover {
        color: var(--text);
        background: var(--border, #e0e0e0);
    }
    .exit-modal--listings .exit-modal-body {
        flex: 1;
        padding: 4.5rem 1.5rem 1.5rem;
        justify-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .exit-modal--listings h3 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    .exit-modal--listings > .exit-modal-body > #exitModalForm > p {
        font-size: var(--text-sm);
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    .exit-modal--listings .listings-eyebrow {
        margin-bottom: 0.4rem;
    }
    .exit-modal-consent {
        margin: 0.75rem 0;
    }
    .exit-modal--listings .btn {
        padding: 0.85rem;
    }
    .listings-form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}


/* ─────────────────────────────────────────────
   28. SCROLL REVEAL  -  Cinematic
   ───────────────────────────────────────────── */

/* Section-level entrance  -  fade up */
.section-cinematic {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.section-cinematic.section-revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .section-cinematic {
        transform: none;
        transition: opacity 0.4s ease;
    }
}

/* Element-level fade-up  -  slide from alternating sides */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        transition: opacity 0.3s ease;
        transform: none;
    }
}


/* ─────────────────────────────────────────────
   29. COOKIE BANNER
   ───────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9500;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-light);
    padding: 0.875rem var(--gutter);
    font-size: var(--text-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.cookie-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    max-width: var(--container);
    margin: 0 auto;
    padding-right: 3.5rem;
}

.cookie-banner p { color: var(--text-muted); margin: 0; }
.cookie-banner a { text-decoration: underline; }

.cookie-banner-actions {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────
   30. RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid-cinematic { grid-template-columns: repeat(2, 1fr); }
    .stat-card-cinematic { border-bottom: 1px solid rgba(0,0,0,0.08); }
    .phase-grid { grid-template-columns: repeat(2, 1fr); }
    .inline-capture { grid-template-columns: 1fr; }
    .newsletter-form { grid-template-columns: 1fr 1fr; }
    .newsletter-form .btn { width: 100%; grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .split { grid-template-columns: 1fr; gap: 2rem; }
    .split--reverse { direction: ltr; }
    .split-image { order: -1; }

    .grid--3,
    .grid--2 { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .about-hero-split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta-inner { flex-direction: column; text-align: center; }

    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid-cinematic { grid-template-columns: repeat(2, 1fr); }
    .phase-grid { grid-template-columns: 1fr; }

    .community-carousel-track .community-card { flex: 0 0 88%; }
    .community-carousel-track .community-card img { aspect-ratio: 3 / 4; }

    .seller-band .split { grid-template-columns: 1fr; }

    .hero { min-height: 90vh; align-items: flex-end; justify-content: flex-start; }
    .hero-content { padding: 0 var(--gutter) 3rem; text-align: left; }
    .hero-eyebrow { justify-content: flex-start; }
    .search-hero { align-items: center; justify-content: center; }
    .search-hero .hero-content { text-align: center; padding: 0 var(--gutter); }
    .search-hero .hero-eyebrow { justify-content: center; }

    .btn-group { flex-direction: column; }
    .btn-group .btn { width: 100%; text-align: center; }

    /* Hero buttons  -  allow wrap so bilingual text doesn't overflow */
    .hero .btn-group { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 0.75rem; }
    .hero .btn-group .btn { flex: 1 1 auto; min-width: 0; padding: 1.1rem 1.75rem; font-size: 0.8rem; text-align: center; }

    .cookie-banner-inner { flex-direction: column; text-align: center; gap: 0.75rem; padding-right: 0; }
    .cookie-banner { z-index: 9900; }
    body.cookie-banner-active .float-widget.widget-ready.widget-past-hero {
        transform: translateY(-9rem);
    }
}

@media (max-width: 480px) {
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .trust-strip-inner { flex-direction: column; align-items: center; gap: 0.75rem; }
    .stats-bar-inner { flex-direction: column; gap: 1.5rem; }
}


/* ─────────────────────────────────────────────
   31. CINEMATIC HOME PAGE ADDITIONS
   ───────────────────────────────────────────── */

/* Pillar items  -  borderless text grid */
.pillar-item {
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
}
.pillar-item h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.pillar-item p {
    font-size: var(--text-sm);
    color: var(--text-light);
    line-height: 1.7;
}

/* About Martin  -  photo + bio split */
.section--about-martin {
    background: var(--white);
    padding: clamp(4rem, 8vw, 7rem) 0;
}
.about-martin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about-martin-photo img {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}
.about-martin-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1rem + 3vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text);
    margin-top: 0.5rem;
}
.about-martin-text p {
    color: var(--text-light);
    font-size: var(--text-base);
    line-height: 1.75;
    margin-top: 1.25rem;
}
.about-martin-text .btn {
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .about-martin-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-martin-photo {
        order: -1;
    }
    .about-martin-photo img {
        max-width: 320px;
    }
    .about-martin-text .label {
        text-align: center;
    }
}

.section--dark .section-header h2 {
    color: var(--white);
}

/* Market stats  -  compact bar */
.section--stats-cinematic {
    padding: clamp(2rem, 3.5vw, 3rem) 0;
}
.stat-grid-cinematic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-card-cinematic {
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
}
.stat-card-cinematic + .stat-card-cinematic::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(0,0,0,0.1);
}
.stat-card-cinematic .stat-value {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 300;
    line-height: 1;
    color: var(--navy-accent);
    margin-bottom: 0.5rem;
}
.stat-card-cinematic .stat-label {
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Section divider  -  thin line with subtle accent */
.section--bordered {
    border-top: none;
    position: relative;
}
.section--bordered::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(120px, 20%);
    height: 2px;
    background: var(--navy-accent);
    opacity: 0.2;
}

/* Featured Properties  -  carousel */
.section--featured-props {
    padding-top: clamp(5rem, 10vw, 10rem);
    padding-bottom: clamp(5rem, 10vw, 10rem);
    overflow: hidden;
}
.section--featured-props .section-header h2 {
    font-size: var(--text-5xl);
}
.prop-carousel {
    position: relative;
    padding: 0;
}
.prop-carousel-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 4%;
}
.prop-carousel-track::-webkit-scrollbar { display: none; }
.prop-card {
    flex: 0 0 92%;
    scroll-snap-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}
.prop-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--border);
}
.prop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s var(--ease-out);
}
.prop-card:hover .prop-card-img img {
    transform: scale(1.03);
}
.prop-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 3px;
}
.prop-badge--sale {
    background: var(--navy-accent);
    color: var(--white);
}
.prop-badge--sold {
    background: #b08d3c;
    color: var(--white);
}
.prop-badge--pending {
    background: #c0392b;
    color: var(--white);
}
/* Property info  -  overlay on bottom of image */
.prop-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem);
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    z-index: 1;
}
.prop-card-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
}
.prop-card-details {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    margin-top: 0.4rem;
    letter-spacing: 0.04em;
}
.prop-card-price {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 0.8rem + 1vw, 1.5rem);
    font-weight: 400;
    color: var(--white);
    margin-top: 0.5rem;
}

/* Carousel nav buttons */
.prop-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 100px;
    border-radius: 0;
    border: none;
    background: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
    z-index: 3;
}
.prop-carousel-btn:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.15);
}
.prop-carousel-btn--prev { left: clamp(1rem, 3vw, 2.5rem); }
.prop-carousel-btn--next { right: clamp(1rem, 3vw, 2.5rem); }

/* Fallback background for missing property images */
.prop-card-img {
    background: linear-gradient(135deg, #2a3a5c 0%, #1a2a42 40%, #0d1926 100%);
}

@media (max-width: 768px) {
    .prop-card-img { aspect-ratio: 3 / 4; }
    .prop-carousel-btn { width: 24px; height: 72px; }
    .prop-carousel-btn svg { width: 12px; height: 48px; }
}

/* Section divider */
.section-divider {
    display: none;
}

/* Community grid  -  full bleed cinematic */
.section--communities {
    background: var(--stone);
    padding-top: clamp(5rem, 10vw, 10rem);
    padding-bottom: 0;
}
.section--communities .section-header {
    max-width: none;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.section--communities .container:first-child {
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
/* Community carousel  -  mirrors prop carousel */
.community-carousel {
    position: relative;
    overflow: visible;
}
.community-carousel-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 0 4%;
}
.community-carousel-track::-webkit-scrollbar { display: none; }
.community-carousel-track .community-card {
    flex: 0 0 92%;
    scroll-snap-align: center;
}
.community-carousel-track .community-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}
.community-carousel .community-card-content {
    padding: 2rem 2.5rem;
}
.community-carousel .community-card-content h3 {
    font-size: var(--text-3xl);
    margin-bottom: 0.4rem;
}
.community-carousel .community-card-content p {
    font-size: var(--text-sm);
    opacity: 0.55;
}
.section--communities .container:last-child {
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* Newsletter section */
/* Newsletter band  -  full-width with bg image */
.newsletter-band {
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 7vw, 6rem) 0;
}
.newsletter-house {
    position: absolute;
    right: 5%;
    bottom: -5%;
    width: clamp(300px, 30vw, 500px);
    height: auto;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    z-index: 0;
}
.newsletter-band-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.newsletter-band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.newsletter-band-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.15) 100%
    );
}
.newsletter-band-inner {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 640px;
    padding: 0 var(--gutter) 0 clamp(2rem, 6vw, 7rem);
}
.newsletter-band-inner .label {
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.75rem;
}
.newsletter-band-inner h2 {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.newsletter-desc {
    color: rgba(255,255,255,0.55);
    font-size: var(--text-sm);
    margin-bottom: 1.5rem;
}
.newsletter-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.newsletter-perks li {
    color: rgba(255,255,255,0.7);
    font-size: var(--text-sm);
    padding-left: 1.5rem;
    position: relative;
}
.newsletter-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 600;
}
.newsletter-band-inner input[type="text"],
.newsletter-band-inner input[type="email"] {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    border-radius: 0;
    color: var(--white);
    padding: 0.625rem 0;
    font-size: var(--text-sm);
    transition: border-color 0.2s;
}
.newsletter-band-inner input[type="text"]:focus,
.newsletter-band-inner input[type="email"]:focus {
    border-bottom-color: rgba(255,255,255,0.7);
    outline: none;
}
.newsletter-band-inner input::placeholder {
    color: rgba(255,255,255,0.3);
}
.newsletter-band-inner .form-group {
    margin-bottom: 0;
}
.newsletter-band-inner .form-group--checkbox span {
    color: rgba(255,255,255,0.4);
}
.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.newsletter-form .form-group {
    margin-bottom: 0;
}
.newsletter-form input {
    height: 48px;
}
.newsletter-form .btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .newsletter-band {
        min-height: auto;
        padding: clamp(3rem, 8vw, 5rem) 0;
    }
    .newsletter-band-inner {
        padding: 0 var(--gutter);
    }
    .newsletter-band-inner h2 {
        white-space: normal;
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    .newsletter-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .newsletter-band-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.7) 0%,
            rgba(0,0,0,0.8) 100%
        );
    }
}
.newsletter-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.newsletter-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.newsletter-popup {
    background: #fff;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.newsletter-popup-overlay.visible .newsletter-popup {
    transform: translateY(0);
}
.newsletter-popup svg {
    stroke: var(--navy, #1a2744);
    margin-bottom: 1.25rem;
}
.newsletter-popup h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--navy, #1a2744);
    margin: 0 0 0.75rem;
}
.newsletter-popup p {
    font-size: var(--text-sm);
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.newsletter-popup-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.newsletter-popup-close:hover {
    color: #333;
}

/* Opt-in checkbox */
.form-group--checkbox {
    margin-top: 1rem;
    text-align: left;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-size: var(--text-xs);
    color: var(--text-light);
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    padding: 0;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.checkbox-label input[type="checkbox"]:checked {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpolyline points='1.5,5 4.5,8.5 10.5,1.5' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
    border-color: #fff;
}
.checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}
/* Error state for checkbox */
.checkbox-label input[type="checkbox"].error {
    border-color: #f87171;
}


/* Responsive overrides for new cinematic components */
@media (max-width: 1024px) {
    .stat-grid-cinematic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .community-carousel-track .community-card { flex: 0 0 88%; }
    .community-carousel-track .community-card img { aspect-ratio: 3 / 4; }
    .newsletter-form { grid-template-columns: 1fr; }
    .newsletter-form .btn { grid-column: auto; }
    .stat-grid-cinematic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stat-grid-cinematic { grid-template-columns: repeat(2, 1fr); }
    .stat-card-cinematic + .stat-card-cinematic::before { display: none; }
}


/* ─────────────────────────────────────────────
   32. SEARCH PAGE HERO
   ───────────────────────────────────────────── */
.search-hero {
    align-items: center;
    justify-content: center;
}
.search-hero .hero-content {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.search-hero h1 {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .search-hero h1 {
        white-space: normal;
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    .page-hero {
        min-height: 90vh;
    }
}
/* Valuation Timeline */
.valuation-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.valuation-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}
.vt-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3.5rem;
}
.vt-item:last-child { margin-bottom: 0; }
.vt-left {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.vt-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--navy-accent);
    border: 3px solid var(--warm-white);
    box-shadow: 0 0 0 2px var(--navy-accent);
    z-index: 1;
    margin-top: 0.35rem;
    flex-shrink: 0;
}
.vt-left, .vt-right {
    min-width: 0;
}
.vt-left--right-aligned {
    display: block;
    text-align: left;
}
.vt-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--navy-accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
}
.vt-item h4 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--text-base);
    margin-bottom: 0.5rem;
}
.vt-item p {
    color: var(--text-light);
    font-size: var(--text-sm);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .valuation-timeline::before {
        left: 7px;
    }
    .vt-item {
        grid-template-columns: auto 1fr;
        gap: 1.25rem;
    }
    .vt-left {
        display: none;
    }
    .vt-left--right-aligned {
        display: block;
        text-align: left;
        grid-column: 2;
    }
    .vt-item:nth-child(even) .vt-right {
        display: block;
    }
    .vt-item:nth-child(even) .vt-left--right-aligned {
        display: block;
    }
    .vt-item:nth-child(even) {
        grid-template-columns: auto 1fr;
    }
    .vt-item:nth-child(even) .vt-right .vt-badge {
        margin-bottom: 0.75rem;
    }
}

.search-hero .hero-eyebrow {
    justify-content: center;
}
.search-hero .hero-eyebrow::before {
    display: none;
}
.search-hero-sub {
    color: rgba(255,255,255,0.6);
    font-size: var(--text-lg);
    margin-bottom: 2.5rem;
}
.browse-mobile-search {
    display: none;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .browse-mobile-search { display: block; }
}
.search-hero-widget {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Neighborhood cards */
.search-neighborhood-card {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.search-neighborhood-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.2);
}
.search-neighborhood-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.search-neighborhood-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.search-neighborhood-card:hover .search-neighborhood-img img {
    transform: scale(1.05);
}
.search-neighborhood-info {
    padding: 1.25rem 1.5rem;
}
.search-neighborhood-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.35rem;
}
.search-neighborhood-info span {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
}

/* Search steps  -  vertical timeline */
.search-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 4rem;
}
.search-steps::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: var(--border-light);
}
.search-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 0;
    position: relative;
}
.search-step + .search-step {
    border-top: 1px solid var(--border-light);
}
.search-step-num {
    position: absolute;
    left: -4rem;
    top: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--warm-white);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    z-index: 1;
}
.search-step-body h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.search-step-body p {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .search-steps {
        padding-left: 3.5rem;
    }
    .search-step-num {
        left: -3.5rem;
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }
    .search-steps::before {
        left: 1rem;
    }
}


/* ─────────────────────────────────────────────
   32b. BLOG / MARKET INSIGHTS CARDS
   ───────────────────────────────────────────── */

.blog-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.blog-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}
.blog-card-body {
    padding: 1.5rem;
}
.blog-card-meta {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.blog-card-body h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.blog-card-body p {
    font-size: var(--text-sm);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .blog-card-body { padding: 1.25rem; }
    .blog-card-body h3 { font-size: var(--text-base); }
}


/* ─────────────────────────────────────────────
   33. LEGAL / COMPLIANCE PAGES
   ───────────────────────────────────────────── */

/* Hero for legal pages (uses page-hero__content instead of .container) */
.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Legal page body */
.legal-content {
    padding: 4rem var(--gutter) 5rem;
    margin: 0 auto;
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.8;
}
.legal-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}
.legal-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-dark);
    margin: 2.5rem 0 0.75rem;
}
.legal-content h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem;
}
.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.legal-content ul,
.legal-content ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.legal-content li {
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}
.legal-content li strong {
    color: var(--text-dark);
}
.legal-content a {
    color: var(--accent, #b08d57);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--duration) var(--ease);
}
.legal-content a:hover {
    color: var(--text-dark);
}

/* "Last Updated" line */
.legal-content h2 + p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}


/* ─────────────────────────────────────────────
   LUXURY ELEVATION  -  Second Pass
   ───────────────────────────────────────────── */

/* Dark section decorative line on label */
.section--dark .section-header .label::after {
    background: var(--warm-accent);
    opacity: 0.5;
}

/* Editorial numbered process steps */
.process-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
}
.process-editorial-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem 3rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    align-items: start;
}
.process-editorial-step:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.process-editorial-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 2rem + 3vw, 5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--warm-accent);
    opacity: 0.4;
    min-width: 4rem;
}
.process-editorial-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.process-editorial-content p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    max-width: 480px;
}

@media (max-width: 768px) {
    .process-editorial-step {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 2rem 0;
    }
    .process-editorial-num {
        font-size: 2.5rem;
    }
}

/* Portrait warm background treatment */
.split-image--portrait {
    position: relative;
}
.split-image--portrait::before {
    content: '';
    position: absolute;
    inset: 8% 5%;
    background: linear-gradient(135deg, #d4c5a0 0%, #bfae86 50%, #c4a265 100%);
    opacity: 0.15;
    border-radius: var(--radius-lg);
    z-index: 0;
}
.split-image--portrait img {
    position: relative;
    z-index: 1;
}

/* Property card price + specs line */
.prop-card-specs {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
}
.prop-card-specs span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.prop-card-specs .spec-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

/* Split content heading on light sections  -  larger serif */
.split-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 100;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
/* Split content label with decorative line */
.split-content .label::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--warm-accent);
    margin-top: 1rem;
}

/* Newsletter band  -  also needs decorative line on label */
.newsletter-band-inner .label::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--warm-accent);
    opacity: 0.5;
    margin-top: 1rem;
}

/* Inline capture section heading  -  decorative line */
.inline-capture-lead .label::after,
.inline-capture-lead .section-header .label::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--warm-accent);
    margin: 1rem 0 0;
}



/* ─────────────────────────────────────────────
   BUYER'S GUIDE  -  FAQ & VALUE LIST
   ───────────────────────────────────────────── */

/* FAQ Accordion */
.bg-faq {
    max-width: 800px;
    margin: 0 auto;
}
.bg-faq-item {
    border-top: 1px solid var(--border);
}
.bg-faq-item:last-child {
    border-bottom: 1px solid var(--border);
}
.bg-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: color var(--duration) var(--ease);
}
.bg-faq-item summary::-webkit-details-marker { display: none; }
.bg-faq-item summary::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 200;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 1.5rem;
    transition: transform var(--duration) var(--ease);
}
.bg-faq-item[open] summary::after {
    content: '\2212';
}
.bg-faq-item summary:hover {
    color: var(--warm-accent);
}
.bg-faq-answer {
    padding: 0 0 1.75rem;
}
.bg-faq-answer p {
    font-size: var(--text-sm);
    color: var(--text-light);
    line-height: 1.8;
    max-width: 680px;
}

/* Buyer Guide value list (seller-band context) */
.bg-value-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
}
.bg-value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.bg-value-item svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.bg-value-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--white);
}
.bg-value-item p {
    font-size: var(--text-sm);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .bg-faq-item summary {
        font-size: var(--text-lg);
        padding: 1.25rem 0;
    }
}


/* ─────────────────────────────────────────────
   SELLER'S GUIDE  -  Hero Overrides
   ───────────────────────────────────────────── */

.page-sellers-guide .page-hero {
    min-height: 90vh;
    align-items: center;
    justify-content: center;
}

.page-sellers-guide .page-hero-overlay {
    background:
        linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.4) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
}

.page-sellers-guide .page-hero .container {
    text-align: center;
}

.page-sellers-guide .page-hero .label {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.42);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-sellers-guide .page-hero .label::after {
    display: none;
}

.page-sellers-guide .page-hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 1.5rem;
}

.page-sellers-guide .page-hero p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

.page-sellers-guide .page-hero .btn.btn-white {
    background: transparent;
    border: 0.5px solid rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
    padding: 0.7rem 2.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 300;
    box-shadow: none;
    transition: all 0.5s var(--ease);
}

.page-sellers-guide .page-hero .btn.btn-white:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: none;
    box-shadow: none;
}

.page-sellers-guide .ed-process {
    padding: clamp(3rem, 5vw, 5rem) 0;
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
}

.page-sellers-guide .ed-process__grid {
    grid-template-columns: repeat(3, 1fr);
}

.page-sellers-guide .ed-process__footer {
    text-align: center;
    padding: clamp(2.5rem, 4vw, 3.5rem) var(--gutter) 0;
}

.page-sellers-guide .ed-process__footer p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .page-sellers-guide .ed-process__grid {
        grid-template-columns: 1fr;
    }
}


/* ─────────────────────────────────────────────
   BUYER'S GUIDE  -  Editorial Redesign
   ───────────────────────────────────────────── */

/* Hero  -  match homepage editorial style, centered layout */
.page-buyers-guide .page-hero {
    min-height: 90vh;
    align-items: center;
    justify-content: center;
}

.page-buyers-guide .page-hero-overlay {
    background:
        linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.4) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
}

.page-buyers-guide .page-hero .container {
    text-align: center;
}

.page-buyers-guide .page-hero .label {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.42);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-buyers-guide .page-hero .label::after {
    display: none;
}

.page-buyers-guide .page-hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 1.5rem;
}

.page-buyers-guide .page-hero p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

.page-buyers-guide .page-hero .btn.btn-white {
    background: transparent;
    border: 0.5px solid rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
    padding: 0.7rem 2.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 300;
    box-shadow: none;
    transition: all 0.5s var(--ease);
}

.page-buyers-guide .page-hero .btn.btn-white:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: none;
    box-shadow: none;
}



/* Section 1: What's Inside  -  editorial 2-column */
.ed-inside {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.ed-inside__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
}

.ed-inside__text {
    max-width: 460px;
    padding-top: clamp(0.5rem, 1vw, 1rem);
}

.ed-inside__headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.8rem + 2.5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.ed-inside__body {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 400px;
}

.ed-inside__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 0.5px solid var(--border);
}

.ed-inside__item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: clamp(1.25rem, 2vw, 1.75rem) 0;
    border-bottom: 0.5px solid var(--border);
}

.ed-inside__item-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
    font-weight: 300;
    line-height: 1;
    color: rgba(0,0,0,0.14);
    flex-shrink: 0;
    min-width: 2.5rem;
}

.ed-inside__item-text {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text);
    padding-top: 0.35rem;
}

@media (max-width: 767px) {
    .ed-inside__grid {
        grid-template-columns: 1fr;
    }
    .ed-inside__text {
        max-width: none;
    }
}


/* Section 2: 6-Step Process  -  reuses ed-process pattern from homepage */
.page-buyers-guide .ed-process {
    padding: clamp(3rem, 5vw, 5rem) 0;
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
}

.page-buyers-guide .ed-process__grid {
    grid-template-columns: repeat(3, 1fr);
}

.page-buyers-guide .ed-process__footer {
    text-align: center;
    padding: clamp(2.5rem, 4vw, 3.5rem) var(--gutter) 0;
}

.page-buyers-guide .ed-process__footer p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .page-buyers-guide .ed-process__grid {
        grid-template-columns: 1fr;
    }
}


/* Section 3: Neighborhoods  -  editorial bordered grid */
.ed-neighborhoods {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.ed-neighborhoods__header {
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.ed-neighborhoods__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.8rem + 2.5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-top: 1rem;
}

.ed-neighborhoods__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
}

.ed-neighborhoods__item {
    padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
    border-right: 0.5px solid var(--border-light);
}

.ed-neighborhoods__item:last-child {
    border-right: none;
}

.ed-neighborhoods__item h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.ed-neighborhoods__item p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
}

.ed-neighborhoods__footer {
    text-align: center;
    padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

.ed-neighborhoods__footer p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .ed-neighborhoods__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ed-neighborhoods__item:nth-child(2) {
        border-right: none;
    }
    .ed-neighborhoods__item:nth-child(n+3) {
        border-top: 0.5px solid var(--border);
    }
}

@media (max-width: 480px) {
    .ed-neighborhoods__grid {
        grid-template-columns: 1fr;
    }
    .ed-neighborhoods__item {
        border-right: none;
    }
    .ed-neighborhoods__item + .ed-neighborhoods__item {
        border-top: 0.5px solid var(--border);
    }
}


/* Section 4: Local Expert  -  editorial split on warm surface */
.ed-expert {
    padding: clamp(5rem, 8vw, 8rem) 0;
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
}

.ed-expert__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.ed-expert__text {
    max-width: 480px;
}

.ed-expert__headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.8rem + 2.5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.ed-expert__body p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.ed-expert__body p:last-child {
    margin-bottom: 0;
}

.ed-expert__portrait {
    position: relative;
    overflow: hidden;
}

.ed-expert__portrait img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}

@media (max-width: 767px) {
    .ed-expert__grid {
        grid-template-columns: 1fr;
    }
    .ed-expert__text {
        max-width: none;
    }
    .ed-expert__portrait {
        max-width: 400px;
    }
}


/* Section 5: Lead Capture  -  reuses ed-capture pattern */
.page-buyers-guide .ed-capture {
    padding: clamp(5rem, 8vw, 8rem) 0;
}


/* Section 6: FAQ  -  reuses existing bg-faq, editorial wrapper */
.ed-faq {
    padding: clamp(3rem, 5vw, 5rem) 0;
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
}

.ed-faq__header {
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.ed-faq__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.8rem + 2.5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-top: 1rem;
}


/* Section 7: Final CTA  -  editorial band */
.ed-cta {
    padding: clamp(5rem, 8vw, 8rem) 0;
    text-align: center;
}

.ed-cta__headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.8rem + 2.5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.ed-cta__body {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto clamp(2rem, 3vw, 2.5rem);
}

.ed-cta__links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ─────────────────────────────────────────────
   33. PRINT
   ───────────────────────────────────────────── */
@media print {
    .site-header, .site-footer, .float-widget, .exit-modal-overlay, .cookie-banner, .cta-band { display: none; }
    .section { padding: 1.5rem 0; }
    body { color: #000; background: #fff; }
}


/* ═════════════════════════════════════════════
   LUXURY EDITORIAL HOMEPAGE ELEVATIONS
   Scoped to .page-home for homepage only
   ═════════════════════════════════════════════ */

/* --- Global homepage overrides --- */

.page-home .section {
    padding: clamp(6rem, 12vw, 10rem) 0;
}

.page-home .label {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    font-weight: 300;
    font-family: var(--font-sans);
}

.page-home .label::after,
.page-home .section-header .label::after {
    content: '';
    display: block;
    width: 32px;
    height: 0.5px;
    background: var(--warm-accent);
    margin-top: 0.75rem;
}

.page-home .section-header--left .label::after {
    margin-left: 0;
    margin-right: auto;
}

.page-home .section h2 {
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.page-home p {
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-light);
}

/* Zero border-radius everywhere */
.page-home *,
.page-home *::before,
.page-home *::after {
    border-radius: 0 !important;
}

/* Left-aligned section headers */
.page-home .section-header--left {
    text-align: left;
    margin-left: 0;
    max-width: none;
}

.page-home .section-header--left .label::after {
    margin: 0.75rem 0 0 0;
}

/* Editorial text link (replaces btn btn-outline on carousel CTAs) */
.page-home .editorial-text-link {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--font-sans);
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 0.5px solid var(--text-muted);
    padding-bottom: 0.25rem;
    transition: all 0.5s var(--ease);
    display: inline-block;
}

.page-home .editorial-text-link:hover {
    color: var(--text);
    border-color: var(--text);
}


/* ── 1. HERO ── */

.page-home .hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.05) 100%);
}

.page-home .hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
    letter-spacing: -0.04em;
    line-height: 1.0;
}

.page-home .hero-eyebrow {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
}

.page-home .hero-eyebrow::before {
    display: none;
}

.page-home .hero-content {
    padding-bottom: clamp(3.5rem, 7vh, 6rem);
}

.page-home .hero .btn-group .btn {
    padding: 1.5rem 4rem;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    font-weight: 300;
    transition: all 0.5s var(--ease);
}

.page-home .hero .btn-white,
.page-home .hero .btn.btn-white {
    background: var(--white);
    border: 0.5px solid var(--white);
    color: var(--dark);
}

.page-home .hero .btn-white:hover,
.page-home .hero .btn.btn-white:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.page-home .hero .btn-ghost,
.page-home .hero .btn.btn-ghost {
    border: 0.5px solid rgba(255,255,255,0.2);
}

.page-home .hero .btn-ghost:hover,
.page-home .hero .btn.btn-ghost:hover {
    border-color: rgba(255,255,255,0.5);
}


/* ── 2. MEET MARTIN (Editorial 40/60) ── */

.ed-meet {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0 0;
}

.ed-meet__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
}

.ed-meet__portrait {
    position: relative;
    overflow: visible;
}

.ed-meet__portrait::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-53%, -52%);
    width: 67%;
    height: 70%;
    background: #d9d3ca;
    z-index: 0;
}

.ed-meet__portrait img {
    position: relative;
    z-index: 1;
}

.ed-meet__portrait img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center bottom;
    filter: contrast(1.02) brightness(0.98);
}

/* Text side */
.ed-meet__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ed-meet__text .ed-text-link {
    align-self: flex-end;
}

/* Shared editorial label */
.ed-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.ed-meet__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-meet__body {
    max-width: none;
}

.ed-meet__body p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.ed-meet__body p:last-child {
    margin-bottom: 0;
}

/* Editorial text link  -  elevated CTA */
.ed-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding: 1.25rem 3rem;
    border: 0.5px solid rgba(0,0,0,0.2);
    transition: all 0.4s var(--ease);
}

.ed-text-link:hover {
    gap: 0.85rem;
    border-color: rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.04);
}

.ed-text-link svg {
    transition: transform 0.4s var(--ease);
}

.ed-text-link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .ed-meet__grid {
        grid-template-columns: 1fr;
    }

    .ed-meet__text {
        max-width: none;
    }
}


/* ── 3. FEATURED PROPERTIES (Editorial Grid) ── */

.ed-props {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
    background: #e8e4dd;
}

.ed-props__header {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.ed-props__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-top: 1rem;
}

/* Asymmetric magazine grid  -  full-bleed */
.ed-props__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto auto;
    gap: clamp(0.5rem, 1vw, 0.75rem);
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Hero card spans left column, 2 rows tall */
.ed-prop--hero {
    grid-row: 1 / 3;
}

/* Each property card */
.ed-prop {
    display: block;
    position: relative;
    overflow: hidden;
}

.ed-prop__img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.ed-prop__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.ed-prop:hover .ed-prop__img img {
    transform: scale(1.03);
}

/* Hero card image aspect */
.ed-prop--hero .ed-prop__img {
    aspect-ratio: auto;
    min-height: 500px;
}

/* Regular card image aspect */
.ed-prop:not(.ed-prop--hero) .ed-prop__img {
    aspect-ratio: 4/3;
}

/* Info overlay at bottom */
.ed-prop__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.0) 100%);
    color: var(--white);
    z-index: 2;
}

.ed-prop__status {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
    display: block;
}

.ed-prop__status--pending {
    color: var(--warm-accent);
}

.ed-prop__address {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.ed-prop__area {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}

.ed-prop__meta {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
}

.ed-prop__price {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.ed-prop__specs {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.02em;
}

/* Under contract badge overlay */
.ed-prop__badge {
    position: absolute;
    top: clamp(0.75rem, 1.5vw, 1.25rem);
    right: clamp(0.75rem, 1.5vw, 1.25rem);
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--warm-accent);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    z-index: 3;
}

.ed-props__footer {
    text-align: center;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Bottom row: 3 equal cards */
.ed-props__grid .ed-prop:nth-child(4),
.ed-props__grid .ed-prop:nth-child(5) {
    /* stays in natural flow */
}

@media (max-width: 768px) {
    .ed-props__grid {
        grid-template-columns: 1fr;
    }

    .ed-prop--hero {
        grid-row: auto;
    }

    .ed-prop--hero .ed-prop__img {
        min-height: 350px;
    }

    .ed-prop:not(.ed-prop--hero) .ed-prop__img {
        aspect-ratio: 16/10;
    }
}


/* ── 4. THE PROCESS (Editorial Vertical) ── */

.ed-process {
    background: var(--warm-white);
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.ed-process__header {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-process__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-top: 1rem;
}

/* 3-column boxed grid */
.ed-process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    border-top: 0.5px solid var(--border);
}

.ed-process__step {
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
    border-right: 0.5px solid var(--border-light);
    border-bottom: 0.5px solid var(--border);
    display: flex;
    flex-direction: column;
}

.ed-process__step:last-child {
    border-right: none;
}

.ed-process__num {
    font-family: var(--font-display);
    font-size: clamp(4rem, 3rem + 3vw, 6rem);
    font-weight: 300;
    line-height: 1;
    color: rgba(0,0,0,0.14);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ed-process__step h3 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.75rem;
    min-height: 2.4em;
}

.ed-process__step p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .ed-process__grid {
        grid-template-columns: 1fr;
    }
    .ed-process__step {
        border-right: none;
    }
}

/* ── CINEMATIC BREAK (editorial) ── */

.ed-cinematic {
    position: relative;
    width: 100%;
    height: clamp(30vh, 40vw, 50vh);
    overflow: hidden;
}

.ed-cinematic__inner {
    position: absolute;
    inset: -10% 0;
    height: 120%;
}

.ed-cinematic__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ── 5. COMMUNITIES (editorial) ── */

.ed-communities {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.ed-communities__header {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.ed-communities__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin: 0;
}

/* Mosaic grid: 2 large on top, 4 small below */
.ed-communities__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

/* Each community card */
.ed-community {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.ed-community--large {
    grid-column: span 1;
}

.ed-community__img {
    width: 100%;
    height: 100%;
}

.ed-community--large .ed-community__img {
    aspect-ratio: 4 / 3;
}

.ed-community:not(.ed-community--large) .ed-community__img {
    aspect-ratio: 1 / 1;
}

.ed-community__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-community:hover .ed-community__img img {
    transform: scale(1.04);
}

/* Gradient overlay */
.ed-community__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0.0) 70%
    );
    z-index: 1;
    pointer-events: none;
}

/* Info positioned at bottom */
.ed-community__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.25rem, 2vw, 2.5rem);
    z-index: 2;
}

.ed-community__tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.ed-community__info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0 0 0.3rem 0;
    color: #fff;
}

.ed-community:not(.ed-community--large) .ed-community__info h3 {
    font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.6rem);
}

.ed-community__info p {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Hover: subtle gold line reveal */
.ed-community::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--warm-accent);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-community:hover::after {
    transform: scaleX(1);
}

/* Bottom row: 4 columns */
.ed-communities__grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Force the bottom 4 into a 4-col sub-grid on desktop */
@media (min-width: 768px) {
    .ed-communities__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ed-community--large {
        grid-column: span 2;
    }
}

.ed-communities__footer {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

/* Mobile: stack all cards single column */
@media (max-width: 767px) {
    .ed-communities__grid {
        grid-template-columns: 1fr;
    }

    .ed-community--large .ed-community__img,
    .ed-community:not(.ed-community--large) .ed-community__img {
        aspect-ratio: 16 / 10;
    }
}


/* ── 5b. YOUR NEXT STEP (editorial resources) ── */

.ed-resources {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.ed-resources__header {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-resources__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-top: 1rem;
}

.ed-resources__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 0.5px solid var(--border);
}

.ed-resources__card {
    padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
    border-right: 0.5px solid var(--border-light);
    border-bottom: 0.5px solid var(--border);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
}

.ed-resources__card:last-child {
    border-right: none;
}

.ed-resources__card:hover {
    background: rgba(0, 0, 0, 0.015);
}

.ed-resources__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0.5px solid var(--border);
    border-radius: 50%;
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
    color: var(--text);
}

.ed-resources__card h3 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.ed-resources__card p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: auto;
    padding-bottom: clamp(1.5rem, 2vw, 2rem);
}

.ed-resources__card .ed-text-link {
    margin-top: auto;
    padding: 1rem 2rem;
    font-size: 0.8125rem;
}

@media (max-width: 1024px) {
    .ed-resources__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-resources__card:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .ed-resources__grid {
        grid-template-columns: 1fr;
    }

    .ed-resources__card {
        border-right: none;
    }
}


/* ── 6. BY THE NUMBERS (editorial) ── */

.ed-stats {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.ed-stats__header {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-stats__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin: 0;
}

.ed-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
}

.ed-stats__item {
    padding: clamp(2.5rem, 4vw, 4rem) clamp(1rem, 2vw, 2rem);
    position: relative;
}

/* Vertical dividers between items */
.ed-stats__item + .ed-stats__item {
    border-left: 0.5px solid var(--border);
}

.ed-stats__value {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3rem, 2rem + 3.5vw, 5.5rem);
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
}

.ed-stats__unit {
    font-size: 0.45em;
    font-weight: 300;
}

.ed-stats__desc {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 1.25rem;
    display: block;
}

@media (max-width: 768px) {
    .ed-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset left borders, use top+left pattern for 2x2 */
    .ed-stats__item + .ed-stats__item {
        border-left: none;
    }

    .ed-stats__item:nth-child(even) {
        border-left: 0.5px solid var(--border);
    }

    .ed-stats__item:nth-child(n+3) {
        border-top: 0.5px solid var(--border);
    }
}


/* ── 7. LEAD CAPTURE (editorial) ── */

.ed-capture {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}

.ed-capture__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
}

.ed-capture__text {
    padding-top: clamp(1rem, 2vw, 2rem);
}

.ed-capture__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin: 0 0 1.5rem 0;
}

.ed-capture__body {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 2.5rem 0;
    max-width: 420px;
}

.ed-capture__points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 0.5px solid var(--border);
    padding-top: 2rem;
}

.ed-capture__points li {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.ed-capture__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border: 0.5px solid var(--warm-accent);
    border-radius: 50%;
}

/* Form panel */
.ed-capture__form {
    border: 0.5px solid var(--border);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-capture__form .form-group {
    margin-bottom: 0.75rem;
}

.ed-capture__form .form-group label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.ed-capture__form .form-group input:not([type="checkbox"]),
.ed-capture__form .form-group textarea {
    padding: 0.6rem 0;
    font-size: var(--text-sm);
    font-weight: 300;
}

.ed-capture__form .form-group textarea {
    min-height: 60px;
}

.ed-capture__form .interest-selector label {
    border-radius: 0 !important;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
}

.ed-capture__form .btn.btn-primary.btn-block {
    padding: 1.15rem 2.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.ed-capture__form .form-group--checkbox {
    margin-top: 0.75rem;
}

/* Checkbox must be visible on light backgrounds */
.ed-capture__form .checkbox-label input[type="checkbox"] {
    border: 1.5px solid rgba(0,0,0,0.35);
}
.ed-capture__form .checkbox-label input[type="checkbox"]:checked {
    background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpolyline points='1.5,5 4.5,8.5 10.5,1.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
    border-color: var(--text);
}
.ed-capture__form .checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(0,0,0,0.2);
}
.ed-capture__form .checkbox-label span {
    color: var(--text-light);
}

@media (max-width: 767px) {
    .ed-capture__grid {
        grid-template-columns: 1fr;
    }

    .ed-capture__text {
        padding-top: 0;
    }
}


/* ── Responsive tweaks ── */


/* ═══ PHASE 2: FIXES & LUXURY ELEVATIONS ═══ */

/* ── FIX 1: Carousel overrides  -  cancel broken rules ── */

.page-home .section--featured-props .prop-card-img {
    aspect-ratio: unset;
}

.page-home .section--featured-props .prop-carousel {
    padding-left: 0;
}

@media (min-width: 769px) {
    .page-home .prop-card {
        flex: 0 0 38%;
    }
    .page-home .community-carousel-track .community-card {
        flex: 0 0 35%;
    }
}


/* ── ELEVATION 1: Hero animated rule ── */

.page-home .hero-rule {
    display: none;
}

@keyframes heroRuleExpand {
    to { width: 60px; }
}


/* (removed  -  old Meet Martin stagger) */


/* ── ELEVATION 3: Cinematic break ── */

.page-home .cinematic-break {
    position: relative;
    width: 100%;
    height: clamp(200px, 30vw, 400px);
    overflow: hidden;
}

.page-home .cinematic-break-inner {
    position: absolute;
    inset: -10% 0;
    height: 120%;
}

.page-home .cinematic-break-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}


/* ── ELEVATION 4: Staggered community cards ── */

.page-home .community-carousel-track {
    padding-bottom: 40px;
}

@media (min-width: 769px) {
    .page-home .community-carousel-track .community-card:nth-child(even) {
        margin-top: 40px;
    }
}


/* ── ELEVATION 6: Closing CTA cinematic background ── */

/* ─────────────────────────────────────────────
   EDITORIAL RHYTHM  -  section separation devices
   Three layered approaches:
   1. ed-rhythm: centered ornamental dot/mark between sections
   2. Spacing variation via padding overrides
   3. Subtle bg value shifts on alternating sections
   ───────────────────────────────────────────── */

/* 1. Ornamental dot divider
   A single small circle, centered, with faint hairlines extending left/right.
   Inspired by editorial book/magazine section markers. */
.ed-rhythm {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    margin: 0 auto;
    max-width: var(--container-width, 1200px);
    position: relative;
}

.ed-rhythm::before,
.ed-rhythm::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    max-width: 120px;
}

.ed-rhythm__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.35;
    margin: 0 1.5rem;
    flex-shrink: 0;
}

/* Variant: three dots (for major transitions) */
.ed-rhythm--triple .ed-rhythm__dot {
    width: 3px;
    height: 3px;
}
.ed-rhythm--triple .ed-rhythm__dot + .ed-rhythm__dot {
    margin-left: 0.75rem;
}
.ed-rhythm--triple .ed-rhythm__dot:first-of-type {
    margin-left: 1.5rem;
}
.ed-rhythm--triple .ed-rhythm__dot:last-of-type {
    margin-right: 1.5rem;
}

/* Variant: hairline only (no dot  -  pure rule) */
.ed-rhythm--line .ed-rhythm__dot {
    display: none;
}
.ed-rhythm--line::before,
.ed-rhythm--line::after {
    max-width: none;
}

/* 2. Spacing rhythm  -  vary padding so sections breathe differently.
   "Compact" sections feel grouped; "generous" ones reset the eye. */
.page-home .ed-meet {
    padding-bottom: clamp(5rem, 8vw, 8rem);
}

.page-home .ed-process {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.page-home .ed-communities {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.page-home .ed-resources {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.page-home .ed-stats {
    padding: clamp(3.5rem, 5vw, 5rem) 0;
}

.page-home .ed-capture {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

/* 3. Subtle background value shifts  -  almost imperceptible warmth variation.
   Only on a couple sections to break the monotone without "banding." */
.page-home .ed-process {
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
}
.page-home .ed-stats {
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
}


.page-home .cta-band--cinematic {
    position: relative;
    overflow: hidden;
}

.page-home .cta-band-bg {
    position: absolute;
    inset: -10% 0;
    height: 120%;
    z-index: 0;
}

.page-home .cta-band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.3);
}

.page-home .cta-band--cinematic .container {
    position: relative;
    z-index: 1;
}


/* ─────────────────────────────────────────────
   HOME VALUATION  -  Editorial Redesign
   ───────────────────────────────────────────── */

/* Hero  -  two-column layout, full-viewport, serif h1 */
.page-home-valuation .page-hero {
    min-height: 90vh;
    align-items: center;
    justify-content: center;
}

.page-home-valuation .page-hero-overlay {
    background:
        linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.4) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
}

.page-home-valuation .page-hero .container {
    text-align: left;
}

.page-home-valuation .page-hero .label {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.42);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
}

.page-home-valuation .page-hero .label::after {
    display: none;
}

.page-home-valuation .page-hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.75rem, 1.5rem + 4vw, 5.5rem);
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 1.25rem;
}

.page-home-valuation .page-hero p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 420px;
    margin: 0 0 0;
}

/* Hero two-column grid */
.hero-valuation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.hero-valuation-text {
    max-width: 540px;
}

@media (max-width: 900px) {
    .hero-valuation-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-valuation-text {
        max-width: none;
    }
    .page-home-valuation .page-hero .label {
        justify-content: center;
    }
    .page-home-valuation .page-hero p {
        margin: 0 auto;
    }
}

/* Hero valuation form */
.hero-valuation-form {
    text-align: left;
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
}

.hero-valuation-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.hero-valuation-form .form-group {
    margin-bottom: 0.6rem;
}

.hero-valuation-form .form-row .form-group {
    margin-bottom: 0;
}

.hero-valuation-form .form-group input:not([type="checkbox"]) {
    width: 100%;
    padding: 0.7rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    border-radius: 0;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    -webkit-appearance: none;
    transition: border-color 0.3s var(--ease);
}

.hero-valuation-form .form-group input:not([type="checkbox"])::placeholder {
    color: rgba(0,0,0,0.4);
}

.hero-valuation-form .form-group input:not([type="checkbox"]):focus {
    outline: none;
    border-bottom-color: rgba(0,0,0,0.5);
}

.hero-valuation-form .form-group--checkbox {
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .hero-valuation-form .form-row {
        grid-template-columns: 1fr;
    }
}

.hero-valuation-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.hero-valuation-form .checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--dark);
    flex-shrink: 0;
}

.hero-valuation-form .checkbox-label span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(0,0,0,0.45);
    line-height: 1.6;
}

.hero-valuation-form .btn.btn-white {
    width: 100%;
    background: var(--dark);
    border: 0.5px solid var(--dark);
    border-color: var(--dark);
    color: var(--white);
    padding: 0.85rem 2.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 300;
    box-shadow: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s var(--ease);
}

.hero-valuation-form .btn.btn-white:hover {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
    transform: none;
    box-shadow: none;
}

.hero-valuation-form .form-success {
    text-align: center;
    padding: 2rem 0;
}

.hero-valuation-form .form-success-icon {
    margin-bottom: 1.5rem;
}

.hero-valuation-form .form-success-icon svg {
    stroke: var(--dark);
}

.hero-valuation-form .form-success h3 {
    color: var(--dark);
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.hero-valuation-form .form-success p {
    color: rgba(0,0,0,0.5);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
}

/* Process  -  3-column single row */
.page-home-valuation .ed-process {
    padding: clamp(3rem, 5vw, 5rem) 0;
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
}

.page-home-valuation .ed-process__grid {
    grid-template-columns: repeat(3, 1fr);
}

.page-home-valuation .ed-process__footer {
    text-align: center;
    padding: clamp(2.5rem, 4vw, 3.5rem) var(--gutter) 0;
}

.page-home-valuation .ed-process__footer p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .page-home-valuation .ed-process__grid {
        grid-template-columns: 1fr;
    }
}

/* Neighborhoods hero  -  full viewport like homepage */
/* ── Neighborhoods: editorial hero (centered, matches buyer's guide) ── */
.page-neighborhoods .page-hero {
    min-height: 90vh;
    align-items: center;
    justify-content: center;
}

.page-neighborhoods .page-hero-overlay {
    background:
        linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.4) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
}

.page-neighborhoods .page-hero .container {
    text-align: center;
}

.page-neighborhoods .page-hero .label {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.42);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-neighborhoods .page-hero .label::after {
    display: none;
}

.page-neighborhoods .page-hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 1.5rem;
}

.page-neighborhoods .page-hero p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

.page-neighborhoods .page-hero .btn.btn-white {
    background: transparent;
    border: 0.5px solid rgba(255,255,255,0.6);
    color: var(--white);
    padding: 0.7rem 2.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 300;
    box-shadow: none;
    transition: all 0.5s var(--ease);
}

.page-neighborhoods .page-hero .btn.btn-white:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: none;
    box-shadow: none;
}

/* ── Neighborhoods: comparison section ── */
/* ── NEIGHBORHOOD COMPARISON TABLE ── */

.ed-compare {
    padding: clamp(4rem, 6vw, 6rem) 0;
}

.ed-compare__header {
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.ed-compare__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-top: 0.75rem;
}

.ed-compare__table {
    border-top: 0.5px solid var(--border);
}

.ed-compare__head {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr;
    gap: 0;
    border-bottom: 0.5px solid var(--border);
}

.ed-compare__head .ed-compare__cell {
    padding: 1rem clamp(1rem, 2vw, 2rem);
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ed-compare__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr;
    gap: 0;
    border-bottom: 0.5px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.ed-compare__row:hover {
    background: color-mix(in srgb, var(--dark) 3%, transparent);
}

.ed-compare__cell {
    padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1rem, 2vw, 2rem);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.ed-compare__cell + .ed-compare__cell {
    border-left: 0.5px solid var(--border);
}

.ed-compare__cell--label {
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.ed-compare__num {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
    font-weight: 300;
    color: var(--dark);
    opacity: 0.14;
    line-height: 1;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.ed-compare__name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 0.8rem + 0.6vw, 1.25rem);
    font-weight: 400;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.ed-compare__mobile-label {
    display: none;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .ed-compare__head {
        display: none;
    }

    .ed-compare__row {
        grid-template-columns: 1fr;
        padding: clamp(1.5rem, 3vw, 2rem) 0;
    }

    .ed-compare__cell {
        padding: 0.4rem clamp(1rem, 2vw, 2rem);
        border-left: none !important;
    }

    .ed-compare__cell--label {
        padding-bottom: 0.75rem;
    }

    .ed-compare__num {
        font-size: 1.5rem;
    }

    .ed-compare__mobile-label {
        display: inline;
        font-family: var(--font-sans);
        font-size: 0.55rem;
        font-weight: 400;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--text-muted);
        opacity: 0.6;
        margin-right: 0.75rem;
        flex-shrink: 0;
        min-width: 4.5rem;
    }
}

/* ── NEIGHBORHOODS: WHY LAS VEGAS ── */

.ed-why-vegas {
    padding: clamp(4rem, 6vw, 6rem) 0;
}

.ed-why-vegas__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
}

.ed-why-vegas__image {
    position: relative;
    overflow: hidden;
}

.ed-why-vegas__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: contrast(1.02) brightness(0.98);
}

.ed-why-vegas__headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-top: 0.75rem;
    margin-bottom: clamp(2rem, 3vw, 3rem);
}

.ed-why-vegas__points {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 0.5px solid var(--border);
}

.ed-why-vegas__point {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(1.25rem, 2vw, 1.75rem) 0;
    border-bottom: 0.5px solid var(--border);
}

.ed-why-vegas__point-num {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 300;
    color: var(--dark);
    opacity: 0.14;
    line-height: 1.2;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    min-width: 2rem;
}

.ed-why-vegas__point strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.ed-why-vegas__point p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .ed-why-vegas__grid {
        grid-template-columns: 1fr;
    }

    .ed-why-vegas__image {
        max-height: 300px;
    }

    .ed-why-vegas__image img {
        height: 300px;
        object-fit: cover;
    }
}

/* Timeline section  -  editorial header override */
.ed-valuation-timeline {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.ed-valuation-timeline__header {
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.ed-valuation-timeline__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.8rem + 2.5vw, 4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-top: 1rem;
}


/* ─────────────────────────────────────────────
   ABOUT PAGE  -  Editorial Redesign
   Continuous warm-white surface. No dark bands.
   Structure via typography, borders, spacing.
   ───────────────────────────────────────────── */

/* Intro  -  full-bleed split: neutral bg on portrait, white on text */
.ed-about-intro {
    padding-top: var(--header-height);
}

.ed-about-intro__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - var(--header-height));
}

.ed-about-intro__portrait {
    position: relative;
    overflow: hidden;
    background: var(--stone);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
}

.ed-about-intro__portrait img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.02) brightness(0.98);
}

.ed-about-intro__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
    max-width: none;
}

.ed-about-intro__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-about-intro__body {
    max-width: 420px;
}

.ed-about-intro__body p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

@media (max-width: 767px) {
    .ed-about-intro__split {
        grid-template-columns: 1fr;
        height: auto;
    }
    .ed-about-intro__portrait {
        padding: 0;
        aspect-ratio: 1;
    }
    .ed-about-intro__text {
        padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
    }
}


/* Process  -  subtle warmth shift */
.ed-about-process {
    background: color-mix(in srgb, var(--warm-white) 92%, var(--cream));
    padding: clamp(3rem, 5vw, 5rem) 0;
}


/* Bilingual  -  asymmetric grid (image left, text right) */
.ed-about-bilingual {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.ed-about-bilingual__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
}

.ed-about-bilingual__img {
    position: relative;
    overflow: hidden;
}

.ed-about-bilingual__img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: contrast(1.02) brightness(0.98);
}

.ed-about-bilingual__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
}

.ed-about-bilingual__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ed-about-bilingual__body {
    max-width: 420px;
}

.ed-about-bilingual__body p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

@media (max-width: 767px) {
    .ed-about-bilingual__grid {
        grid-template-columns: 1fr;
    }
    .ed-about-bilingual__text {
        max-width: none;
    }
}


/* CTA  -  bordered 2-column grid, editorial */
.ed-about-cta {
    padding: clamp(3rem, 5vw, 5rem) 0 clamp(5rem, 8vw, 8rem);
}

.ed-about-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 0.5px solid var(--border);
    padding-top: clamp(3rem, 5vw, 4rem);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.ed-about-cta__headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.ed-about-cta__body {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 420px;
}

.ed-about-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 1rem;
}

.ed-about-cta__actions .ed-text-link {
    margin-top: 0;
}

@media (max-width: 767px) {
    .ed-about-cta__grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════
   CONTACT PAGE  -  Editorial Design
   ═══════════════════════════════════════════════ */

/* ── Main contact section (headline + form, above the fold) ── */
.ed-contact-main {
    padding-top: calc(var(--header-height) + clamp(2.5rem, 4vw, 4rem));
    padding-bottom: clamp(4rem, 6vw, 6rem);
}

.ed-contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
}

/* ── Left: intro + phone + details ── */
.ed-contact-main__intro {
    padding-top: clamp(0.5rem, 1vw, 1rem);
}

.ed-contact-main__headline {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0 0 1.25rem 0;
}

.ed-contact-main__body {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 380px;
}

/* Phone  -  prominent */
.ed-contact-main__phone {
    margin-top: clamp(2rem, 3vw, 3rem);
    padding-top: clamp(1.5rem, 2vw, 2rem);
    border-top: 0.5px solid var(--border);
}

.ed-contact-main__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.3s ease;
}

.ed-contact-main__phone-link span {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.ed-contact-main__phone-link svg {
    color: var(--text-muted);
}

.ed-contact-main__phone-link:hover {
    opacity: 0.6;
}

.ed-contact-main__phone-note {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Contact details  -  compact grid below phone */
.ed-contact-main__details {
    margin-top: clamp(2rem, 3vw, 2.5rem);
    padding-top: clamp(1.5rem, 2vw, 2rem);
    border-top: 0.5px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.ed-contact-main__detail-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.ed-contact-main__detail-value {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a.ed-contact-main__detail-value:hover {
    opacity: 0.6;
}

/* ── Right: form panel ── */
.ed-contact-main__form-panel {
    border: 0.5px solid var(--border);
    padding: clamp(2rem, 3vw, 2.75rem);
}

.ed-contact-main__form-panel .form-group {
    margin-bottom: 1rem;
}

.ed-contact-main__form-panel .form-label,
.ed-contact-main__form-panel .form-group label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.ed-contact-main__form-panel .form-input,
.ed-contact-main__form-panel .form-select,
.ed-contact-main__form-panel .form-textarea {
    padding: 0.7rem 0;
    font-size: var(--text-sm);
    font-weight: 300;
    border: none;
    border-bottom: 0.5px solid var(--border);
    border-radius: 0;
    background: transparent;
    transition: border-color 0.3s ease;
}

.ed-contact-main__form-panel .form-input:focus,
.ed-contact-main__form-panel .form-select:focus,
.ed-contact-main__form-panel .form-textarea:focus {
    border-bottom-color: var(--text);
    outline: none;
    box-shadow: none;
}

.ed-contact-main__form-panel .form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 1.5rem;
}

.ed-contact-main__form-panel .form-textarea {
    min-height: 80px;
    resize: vertical;
}

.ed-contact-main__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ed-contact-main__form-panel .btn.btn-primary.btn-block {
    margin-top: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
}

.ed-contact-main__response-note {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 0.75rem;
    text-align: center;
}

.ed-contact-main__response-note a {
    color: var(--text-muted);
    text-decoration: underline;
}


/* ── 3-step process (horizontal) ── */
.ed-contact-steps {
    padding: clamp(4rem, 6vw, 6rem) 0;
}

.ed-contact-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.ed-contact-steps__step {
    border: 0.5px solid var(--border);
    padding: clamp(2rem, 3vw, 2.75rem);
    margin-left: -0.5px;
}

.ed-contact-steps__step:first-child {
    margin-left: 0;
}

.ed-contact-steps__num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 200;
    line-height: 1;
    color: rgba(0,0,0,0.08);
    margin-bottom: 1.25rem;
}

.ed-contact-steps__step h3 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.ed-contact-steps__step p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}


/* ── Contact page responsive ── */
@media (max-width: 900px) {
    .ed-contact-main__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Form first on tablet/mobile  -  the action comes before the intro */
    .ed-contact-main__form-panel {
        order: -1;
    }

    .ed-contact-main__intro {
        padding-top: 0;
    }

    .ed-contact-main__details {
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .ed-contact-main {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 3rem;
    }

    .ed-contact-main__grid {
        gap: 2rem;
    }

    /* Compact headline on mobile */
    .ed-contact-main__headline {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    /* Phone as a full-width tappable button */
    .ed-contact-main__phone {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .ed-contact-main__phone-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        border: 0.5px solid var(--border);
        padding: 1rem;
        width: 100%;
    }

    .ed-contact-main__phone-link span {
        font-size: 1.35rem;
    }

    .ed-contact-main__phone-note {
        text-align: center;
    }

    /* Details stack on mobile */
    .ed-contact-main__details {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .ed-contact-main__form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ed-contact-main__form-panel {
        padding: 1.5rem;
    }

    .ed-contact-steps {
        padding: 3rem 0;
    }

    .ed-contact-steps__grid {
        grid-template-columns: 1fr;
    }

    .ed-contact-steps__step {
        margin-left: 0;
        margin-top: -0.5px;
    }

    .ed-contact-steps__step:first-child {
        margin-top: 0;
    }
}
