/* ============================================
   EMILEE EVANS REAL ESTATE
   Sunset Luxury | Golden Hour | Gulf Coast
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
    --black: #151a24;
    --charcoal: #1e2533;
    --dark-gray: #2d3546;
    --mid-gray: #5a6478;
    --light-gray: #8e96a8;
    --off-white: #f2efe8;
    --cream: #e8e0d4;
    --white: #faf8f5;

    --olive: #6d8ea3;
    --olive-light: #85a5b8;
    --olive-dark: #557a90;
    --sage: #94aab8;

    --brown: #9e7e4e;
    --brown-light: #b8955f;
    --brown-dark: #7a6038;
    --tan: #c9ad7c;

    --gold: #c9ad7c;
    --gold-light: #dbc08a;
    --salmon: #e8a494;
    --salmon-light: #f0b8aa;

    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --nav-height: 80px;
    --section-padding: clamp(80px, 12vh, 160px);
    --container-width: 1280px;
    --container-padding: clamp(20px, 4vw, 60px);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.loader.hidden {
    visibility: hidden;
    pointer-events: none;
}

.loader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 400;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
    border: 1px solid rgba(250, 248, 245, 0.35);
    line-height: 1;
    position: relative;
}

.loader-logo .loader-e-flip {
    display: inline-block;
    transform: scaleX(-1);
    margin-right: -0.18em;
}

.loader-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.7;
}

.loader-subtitle {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.45;
    margin-top: -12px;
}

.loader-bar {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--white);
    animation: loaderProgress 1.5s var(--ease-out-expo) forwards;
}

@keyframes loaderProgress {
    to { width: 100%; }
}

/* ---------- Custom Cursor ---------- */
.cursor, .cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    mix-blend-mode: difference;
}

.cursor {
    width: 40px;
    height: 40px;
    border: 1px solid var(--off-white);
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), opacity 0.3s;
    opacity: 0;
}

.cursor.visible {
    opacity: 1;
}

.cursor.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--salmon);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--off-white);
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    opacity: 0;
}

.cursor-dot.visible {
    opacity: 1;
}

@media (hover: none) {
    .cursor, .cursor-dot { display: none; }
}

/* ---------- Particles Canvas ---------- */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-padding);
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
    background: rgba(21, 26, 36, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Scrolled: collapse nav links, show hamburger on all screen sizes */
.nav.scrolled .nav-links {
    display: none;
}

.nav.scrolled .nav-toggle {
    display: flex;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--off-white);
    transition: opacity 0.3s;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--off-white);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--salmon);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--salmon);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nav Dropdown */
.nav-dropdown-trigger {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 4px;
}

.nav-dropdown-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--off-white);
    transition: color 0.3s;
    text-decoration: none;
}

a.nav-dropdown-label {
    text-decoration: none;
    color: var(--off-white);
}

a.nav-dropdown-label::after {
    display: none;
}

.nav-dropdown-trigger:hover .nav-dropdown-label {
    color: var(--salmon);
}

.nav-dropdown-trigger svg {
    color: var(--off-white);
    transition: color 0.3s, transform 0.3s;
}

.nav-dropdown-trigger:hover svg {
    color: var(--salmon);
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(21, 26, 36, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dark-gray);
    min-width: 210px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    margin-top: 12px;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown-trigger:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown a {
    display: block;
    padding: 9px 24px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    white-space: nowrap;
    transition: color 0.3s, background 0.3s;
}

.nav-dropdown a::after {
    display: none;
}

.nav-dropdown a:hover {
    color: var(--off-white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown--gold a:hover {
    color: var(--gold);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    position: relative;
}

.nav-toggle-florida {
    position: absolute;
    width: 34px;
    height: 27px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--off-white);
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s, background 0.3s;
}

/* Hover (menu closed): Florida appears, lines hide */
.nav-toggle:not(.active):hover .nav-toggle-florida {
    opacity: 1;
}

.nav-toggle:not(.active):hover span {
    opacity: 0;
}

/* Active (menu open): Florida stays visible, lines hidden */
.nav-toggle.active .nav-toggle-florida {
    opacity: 1;
}

.nav-toggle.active span {
    opacity: 0;
    transform: none;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Active + Hover: X appears, Florida hides (to close) */
.nav-toggle.active:hover .nav-toggle-florida {
    opacity: 0;
}

.nav-toggle.active:hover span:nth-child(1) {
    opacity: 1;
    background: var(--salmon);
}

.nav-toggle.active:hover span:nth-child(3) {
    opacity: 1;
    background: var(--salmon);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--black);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 80px 0 40px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-menu::-webkit-scrollbar {
    display: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu.active ~ #particles-canvas,
.mobile-menu.active ~ .cursor-dot,
.mobile-menu.active ~ .cursor-outline {
    display: none !important;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
}

.mobile-menu-link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 300;
    letter-spacing: 0.05em;
    padding: 10px 0;
    color: var(--salmon);
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.3s, opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-menu-link:nth-child(7) { transition-delay: 0.4s; }

@media (hover: hover) {
    .mobile-menu-link:hover {
        color: var(--off-white);
    }
}

.mobile-menu-group {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-group {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-label {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 300;
    letter-spacing: 0.05em;
    padding: 10px 0 2px;
    color: var(--salmon);
    text-decoration: none;
}

.mobile-menu-sub {
    font-size: clamp(14px, 3vw, 18px) !important;
    padding: 5px 0 !important;
    color: var(--light-gray) !important;
    opacity: 1 !important;
    transform: none !important;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.mobile-dropdown-arrow {
    color: var(--salmon);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 14px;
}

.mobile-dropdown.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-dropdown.open .mobile-dropdown-items {
    max-height: 500px;
}

.mobile-menu-back {
    position: fixed;
    top: 0;
    left: 0;
    height: var(--nav-height, 80px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: var(--container-padding);
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--off-white);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.active .mobile-menu-back {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-back svg {
    stroke: var(--off-white);
}

@media (hover: hover) {
    .mobile-menu-back:hover {
        color: var(--salmon-light);
    }
    .mobile-menu-back:hover svg {
        stroke: var(--salmon-light);
    }
}

.mobile-menu-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-footer a {
    font-size: 14px;
    color: var(--light-gray);
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.mobile-menu-footer a:hover {
    color: var(--salmon);
}

/* ---------- Landing ---------- */
.landing {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: var(--black);
}

.landing-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -200px;
    z-index: 0;
    overflow: hidden;
}

.landing-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.landing.loaded .landing-bg-image {
    transform: scale(1);
}

.landing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(21, 26, 36, 0.25);
    z-index: 1;
}

.landing-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom,
            rgba(21, 26, 36, 0.15) 0%,
            transparent 18%,
            transparent 36%,
            rgba(21, 26, 36, 0.3) 54%,
            rgba(21, 26, 36, 0.55) 68%,
            rgba(21, 26, 36, 0.75) 80%,
            rgba(21, 26, 36, 0.85) 90%,
            rgba(21, 26, 36, 0.92) 100%
        );
}

.landing-content {
    text-align: center;
    z-index: 3;
    position: relative;
    padding: 0 var(--container-padding);
}

.landing-brokerage {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(10px, 1.1vw, 13px);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--off-white);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(15px);
}

.landing-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(44px, 8vw, 110px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(25px);
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.landing-tagline {
    font-family: var(--font-body);
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0;
    transform: translateY(15px);
}

.landing-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
}

.landing-scroll-line {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    animation: landingScrollPulse 2.5s ease-in-out infinite;
}

@keyframes landingScrollPulse {
    0%, 100% { opacity: 0.6; transform: scaleY(1); }
    50% { opacity: 0.15; transform: scaleY(0.5); }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 3;
    padding: 2vh 0 6vh;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(21, 26, 36, 0.35) 80px,
        rgba(21, 26, 36, 0.65) 160px,
        rgba(21, 26, 36, 0.88) 240px,
        var(--black) 320px
    );
    margin-top: -200px;
    padding-top: 200px;
}

.hero-frame-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-frame-glow {
    display: none;
}

.hero-frame {
    position: relative;
    width: 340px;
    height: 480px;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    will-change: transform;
    transform: translateZ(0);
}

.hero-frame-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-mask-image: linear-gradient(to bottom,
        black 0%,
        black 70%,
        rgba(0,0,0,0.8) 80%,
        rgba(0,0,0,0.5) 88%,
        rgba(0,0,0,0.2) 94%,
        transparent 100%);
    mask-image: linear-gradient(to bottom,
        black 0%,
        black 70%,
        rgba(0,0,0,0.8) 80%,
        rgba(0,0,0,0.5) 88%,
        rgba(0,0,0,0.2) 94%,
        transparent 100%);
}

.hero-frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: translateZ(0);
}

.hero-frame-accent {
    display: none;
}

.hero-content {
    text-align: center;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
    margin-top: 32px;
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-about {
    margin-bottom: 40px;
}

.hero-about .section-title {
    margin-bottom: 28px;
}

.hero-about .about-lead {
    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 300;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-about .about-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 16px;
}

.hero-about .about-body:last-of-type {
    margin-bottom: 0;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* White Buttons */
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(250, 248, 245, 0.3);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-white:hover {
    border-color: var(--white);
    background: rgba(250, 248, 245, 0.08);
    transform: translateY(-2px);
}

.btn-white .btn-arrow {
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-white:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-white-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(250, 248, 245, 0.3);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-white-ghost:hover {
    border-color: var(--white);
    background: rgba(250, 248, 245, 0.08);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background: var(--salmon);
    color: var(--black);
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--salmon-light);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 164, 148, 0.35);
}

.btn-text, .btn-arrow {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    border: 1px solid rgba(240, 236, 228, 0.3);
    color: var(--off-white);
}

.btn-ghost:hover {
    border-color: var(--salmon);
    color: var(--salmon);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Entrance — elements fade in when scrolled into view */
.hero-frame-wrap,
.hero-content,
.hero-markets {
    opacity: 0;
    transition: opacity 1s var(--ease-out-expo);
}

.hero.loaded .hero-frame-wrap {
    opacity: 1;
}

.hero.loaded .hero-content {
    opacity: 1;
    transition-delay: 0.15s;
}

.hero.loaded .hero-markets {
    opacity: 1;
    transition-delay: 0.3s;
}

/* Hero Markets Bar */
.hero-markets {
    position: absolute;
    bottom: 8vh;
    right: var(--container-padding);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-gray);
}

.hero-market-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------- Section Utilities ---------- */
.section {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.label-line {
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--salmon);
}

.section-subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--light-gray);
    max-width: 600px;
}

.section-header {
    margin-bottom: 64px;
}

/* ---------- Reveal Animations ---------- */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ---------- Properties ---------- */
.properties {
    position: relative;
    z-index: 2;
    background: var(--black);
}

.properties .section-label,
.properties .section-title {
    text-align: center;
    justify-content: center;
}

.properties-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    color: var(--light-gray);
    margin-bottom: 48px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.property-card {
    background: var(--charcoal);
    border: 1px solid var(--dark-gray);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
}

.property-card:hover {
    transform: translateY(-4px);
    border-color: var(--salmon);
}

.property-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.property-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid-gray);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.property-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.property-card:hover .property-image-wrapper img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--olive);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 14px;
}

/* EE Pending Stamp Badge */
.badge-pending {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(21, 26, 36, 0.85);
    border: 1.5px solid var(--off-white);
    color: var(--off-white);
    padding: 6px 14px 6px 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-pending .badge-ee {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--white);
    border: 1px solid rgba(250, 248, 245, 0.35);
    padding: 3px 5px 2px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.badge-pending .badge-ee .ee-flip {
    display: inline-block;
    transform: scaleX(-1);
    margin-right: -0.18em;
}

.property-info {
    padding: 24px;
}

.property-address {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 6px;
}

.property-details {
    font-size: 13px;
    color: var(--light-gray);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.property-price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--salmon);
}

@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ---------- About ---------- */
.about {
    position: relative;
    z-index: 2;
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-grid--no-photo {
    grid-template-columns: 1fr;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.about-grid--no-photo .section-label {
    justify-content: center;
}

.about-grid--no-photo .about-stats {
    justify-content: center;
}

.about-grid--no-photo .about-cta {
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.05);
    transition: transform 1.2s var(--ease-out-expo);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(21, 26, 36, 0.4));
    z-index: 1;
}

.about-image-accent {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40%;
    height: 40%;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    z-index: -1;
    opacity: 0.4;
}

.about-experience {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--dark-gray);
}

.about-exp-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.about-exp-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    line-height: 1.5;
}

.about-lead {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--cream);
    margin-bottom: 20px;
}

.about-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--dark-gray);
}

.about-stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    color: var(--olive);
    flex-shrink: 0;
}

.stat-label {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--cream);
}

/* ---------- Marquee ---------- */
.marquee-section {
    padding: 28px 0;
    margin-top: 40px;
    margin-bottom: 40px;
    overflow: hidden;
    border-top: 1px solid var(--dark-gray);
    border-bottom: 1px solid var(--dark-gray);
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 50s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--mid-gray);
    white-space: nowrap;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--olive);
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Markets ---------- */
.market-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.market-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--off-white);
    border: 1px solid var(--dark-gray);
    background: transparent;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.market-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--salmon);
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: -1;
}

.market-btn:hover {
    border-color: var(--salmon);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 164, 148, 0.2);
}

.market-btn:hover::before {
    transform: translateX(0);
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    padding: 40px;
    border: 1px solid var(--dark-gray);
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, background 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--olive), var(--gold));
    transition: width 0.6s var(--ease-out-expo);
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    border-color: var(--mid-gray);
    background: var(--dark-gray);
}

.service-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: var(--dark-gray);
    margin-bottom: 20px;
    transition: color 0.4s;
}

.service-card:hover .service-number {
    color: var(--olive-dark);
}

.service-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--light-gray);
}

.service-line {
    width: 30px;
    height: 1px;
    background: var(--gold);
    margin-top: 24px;
    opacity: 0.5;
}

/* ---------- Parallax Quote ---------- */
.parallax-quote {
    position: relative;
    padding: clamp(80px, 15vh, 180px) 0;
    overflow: hidden;
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(109, 142, 163, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 70% 50%, rgba(139, 111, 71, 0.06) 0%, transparent 50%);
}

.parallax-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.parallax-content blockquote p {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    color: var(--cream);
    margin-bottom: 24px;
}

.parallax-content cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- Sellers ---------- */
.sellers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sellers-lead {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 32px;
}

.sellers-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.sellers-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--cream);
}

.sellers-list svg {
    color: var(--olive);
    flex-shrink: 0;
    margin-top: 2px;
}

.sellers-image-placeholder,
.buyers-image-placeholder {
    aspect-ratio: 4/5;
    background: var(--charcoal);
    border: 1px solid var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--mid-gray);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.placeholder-sub {
    font-size: 11px;
    color: var(--dark-gray);
}

.section-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center center;
    border-radius: 2px;
    filter: brightness(0.95) contrast(1.05) saturate(0.85);
}

.sellers-visual .section-image {
    object-position: 30% center;
}

.sellers-visual,
.buyers-visual {
    position: relative;
}

.sellers-visual::after,
.buyers-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 36, 0.08), rgba(180, 145, 100, 0.12));
    border-radius: 2px;
    pointer-events: none;
}

/* ---------- Buyers ---------- */
.buyers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.buyers-lead {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 32px;
}

.buyers-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.buyer-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.buyer-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--salmon);
    margin-top: 2px;
}

.buyer-feature:hover .buyer-feature-icon {
    color: var(--gold);
}

.buyer-feature h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 4px;
}

.buyer-feature p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--light-gray);
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--charcoal);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 36px;
    border: 1px solid var(--dark-gray);
    background: var(--black);
    transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.testimonial-card:hover {
    border-color: var(--mid-gray);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--cream);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--olive);
    letter-spacing: 0.05em;
}

.testimonial-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

.testimonial-role {
    display: block;
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 2px;
}

/* ---------- Contact ---------- */
.contact {
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-lead {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--cream);
    transition: color 0.3s;
}

a.contact-detail:hover {
    color: var(--salmon);
}

.contact-detail-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--salmon);
    flex-shrink: 0;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--salmon);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 0 10px;
    font-size: 14px;
    font-weight: 300;
    color: var(--off-white);
    background: transparent;
    border-bottom: 1px solid var(--dark-gray);
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238a8a8a' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

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

.form-group label {
    position: absolute;
    top: 14px;
    left: 0;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--salmon);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -2px;
    font-size: 10px;
    color: var(--gold);
}

/* ---------- Form Consent ---------- */
.form-consent {
    margin-top: 8px;
    margin-bottom: 16px;
}

.form-consent .consent-text {
    font-size: 10px;
    line-height: 1.6;
    color: var(--medium-gray, #777);
}

.form-consent .consent-text a {
    color: var(--rose);
    text-decoration: underline;
}

.form-consent .consent-text a:hover {
    color: var(--off-white);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    border-top: 1px solid var(--dark-gray);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 0 40px;
}

.footer-brand {
    max-width: none;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-logo {
    width: auto;
    color: var(--off-white);
}

.footer-logo-cb {
    height: auto;
    width: 320px;
    max-width: 90%;
    object-fit: contain;
}

.footer-logo-agent {
    height: 100px;
    max-width: 90%;
    object-fit: contain;
}

.footer-logo-divider {
    display: none;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--light-gray);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    font-weight: 300;
    color: var(--light-gray);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--off-white);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding: 24px 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 11px;
    font-weight: 300;
    color: var(--mid-gray);
}

.footer-equal-housing {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Market Overlay ---------- */
.market-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.market-overlay.active {
    opacity: 1;
    visibility: visible;
}

.market-overlay-scroll {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.market-overlay-close {
    position: fixed;
    top: 24px;
    right: clamp(20px, 4vw, 60px);
    z-index: 2001;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border: 1px solid var(--dark-gray);
    transition: border-color 0.3s;
}

.market-overlay-close:hover {
    border-color: var(--salmon);
}

/* Florida outline — hidden by default */
.market-close-florida {
    position: absolute;
    width: 34px;
    height: 27px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

/* X lines — visible by default */
.market-overlay-close span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--off-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transition: opacity 0.3s;
}

.market-overlay-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.market-overlay-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hover: X hides, Florida appears */
.market-overlay-close:hover .market-close-florida {
    opacity: 1;
}

.market-overlay-close:hover span {
    opacity: 0;
}

.market-overlay-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px var(--container-padding) 80px;
}

/* Market Header */
.market-header {
    margin-bottom: 60px;
}

.market-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--salmon);
    margin-bottom: 16px;
}

.market-label-line {
    width: 40px;
    height: 1px;
    background: var(--salmon);
}

.market-overlay-name {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 16px;
}

.market-overlay-tagline {
    font-size: 16px;
    color: var(--light-gray);
    max-width: 600px;
    line-height: 1.7;
}

/* Market Stats Bar */
.market-stats {
    display: flex;
    gap: 1px;
    margin-bottom: 64px;
    background: var(--dark-gray);
    border: 1px solid var(--dark-gray);
}

.market-stat {
    flex: 1;
    background: var(--charcoal);
    padding: 28px 32px;
    text-align: center;
}

.market-stat-value {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 6px;
}

.market-stat-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-gray);
}

/* Market Sections */
.market-section {
    margin-bottom: 56px;
}

.market-section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark-gray);
}

/* Neighborhoods Grid */
.market-neighborhoods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.market-neighborhood {
    border: 1px solid var(--dark-gray);
    padding: 20px 24px;
    transition: border-color 0.3s, background 0.3s;
}

.market-neighborhood:hover {
    border-color: var(--salmon);
    background: rgba(232, 164, 148, 0.05);
}

.market-neighborhood-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 4px;
}

.market-neighborhood-desc {
    font-size: 12px;
    color: var(--light-gray);
    line-height: 1.5;
}

/* Schools List */
.market-schools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.market-school {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--dark-gray);
    transition: border-color 0.3s;
}

.market-school:hover {
    border-color: rgba(232, 164, 148, 0.3);
}

.market-school-rating {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    border: 1px solid var(--salmon);
    color: var(--salmon);
}

.market-school-info {
    flex: 1;
}

.market-school-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 2px;
}

.market-school-type {
    font-size: 11px;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Market CTA */
.market-cta {
    margin-top: 56px;
    text-align: center;
}

.market-cta .btn {
    display: inline-flex;
}

/* ---------- Desktop Hero Override ---------- */
@media (min-width: 769px) {
    .hero-frame {
        width: 380px;
        height: 530px;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .market-buttons {
        gap: 12px;
    }

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

    .sellers-grid,
    .buyers-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sellers-visual { order: -1; }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hide Florida outline on mobile */
    .nav-toggle-florida {
        display: none !important;
    }

    /* Kill transitions on mobile — instant hamburger/X swap, no glitches */
    .nav-toggle span {
        transition: none !important;
    }

    /* Keep hamburger visible (override desktop hover-hide) */
    .nav-toggle:not(.active):hover span {
        opacity: 1 !important;
    }

    /* Clean X when menu is open */
    .nav-toggle.active span:nth-child(1) {
        opacity: 1 !important;
        transform: rotate(45deg) translate(5px, 5px) !important;
        background: var(--salmon) !important;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scale(0) !important;
    }

    .nav-toggle.active span:nth-child(3) {
        opacity: 1 !important;
        transform: rotate(-45deg) translate(5px, -5px) !important;
        background: var(--salmon) !important;
    }

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

    .about-image-wrapper {
        max-width: 400px;
    }

    .hero-markets {
        display: none;
    }

    .hero-frame {
        width: 280px;
        height: 450px;
    }

    .hero-frame-img {
        object-position: center 10%;
    }

    .hero-content {
        margin-top: 16px;
    }

    .hero {
        padding: 10px 0 20px;
        margin-top: -200px;
        padding-top: 200px;
        justify-content: flex-start;
    }

    .hero-eyebrow {
        top: 90px;
    }

    .hero-name {
        font-size: clamp(42px, 12vw, 70px);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .footer-legal {
        flex-direction: column;
    }

    .market-stats {
        flex-direction: column;
    }

    .market-neighborhoods {
        grid-template-columns: 1fr 1fr;
    }

    .market-schools {
        grid-template-columns: 1fr;
    }

    .market-overlay-content {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

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

    .service-card {
        padding: 28px;
    }
}

/* ---------- Smooth Scroll ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track {
        animation: none;
    }
}

/* ---------- Selection ---------- */
::selection {
    background: var(--olive);
    color: var(--white);
}
