/* =========================================================
   DESIGN SYSTEM CSS VARIABLES & ROOT CONFIGURATION
========================================================= */

:root {
    --black: #050505;
    --black-soft: #0a0a0a;
    --surface: #101010;
    --surface-light: #151515;

    --white: #f4f3ee;
    --white-soft: #d8d6cf;
    --muted: #96948e;

    --gold: #ffc72c;
    --gold-dark: #c69214;

    --line: rgba(255,255,255,0.13);
    --line-soft: rgba(255,255,255,0.08);

    --max-width: 1440px;
    --header-height: 84px;
}


/* =========================================================
   GLOBAL CSS RESET & ACCESSIBILITY DEFAULTS
========================================================= */

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

html {
    scroll-behavior: smooth;
    background: var(--black);
}

@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }
}

section[id],
main[id],
#testimonials,
#calculator,
#portfolio,
#services,
#evaluation,
#faq,
#about,
#top {
    scroll-margin-top: calc(var(--header-height, 84px) + 20px);
}

body {
    background: var(--black);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

button {
    border: 0;
    cursor: pointer;
}

sup {
    font-size: 0.52em;
    vertical-align: super;
    line-height: 0;
    position: relative;
    top: -0.28em;
    margin-left: 0.05em;
}

::selection {
    background: var(--gold);
    color: #000;
}


/* =========================================================
   SUBTLE FILM GRAIN OVERLAY TEXTURE
========================================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .045;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}


/* =========================================================
   LAYOUT UTILITY CLASSES
========================================================= */

.container {
    width: min(calc(100% - 64px), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 130px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: uppercase;

    color: var(--gold);
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
    font-size: clamp(3rem, 6vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.section-title em {
    color: var(--gold);
    font-style: normal;
}

.section-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--white-soft);
}

.gold {
    color: var(--gold);
}

.muted {
    color: var(--muted);
}


/* =========================================================
   ANIMATED LIQUID GOLD GRADIENT EFFECT (FOR 1% EMPHASIS)
========================================================= */

.liquid-percent,
.glowing-percent {
    display: inline-block;
    padding-left: 0.03em;
    padding-right: 0.08em;
    padding-bottom: 0.15em;
    margin-bottom: -0.1em;
    letter-spacing: -0.075em;
    margin-right: 0.08em;
    overflow: visible;
    vertical-align: baseline;
    color: transparent;
    background:
        radial-gradient(circle at 25% 30%, #fff5b8 0%, transparent 20%),
        radial-gradient(circle at 75% 70%, #fff 0%, transparent 17%),
        linear-gradient(120deg, #b87900, #ffc72c, #fff1a6, #d99b13, #ffc72c, #8f6200);
    background-size: 160% 160%, 180% 180%, 300% 300%;
    background-position: 0% 0%, 100% 100%, 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: liquidFlow 5s ease-in-out infinite, liquidGlow 2.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 8px rgba(255,199,44,.28)) drop-shadow(0 0 28px rgba(255,199,44,.12));
}

@keyframes liquidFlow {
    0% { background-position: 0% 0%, 100% 100%, 0% 50%; }
    25% { background-position: 50% 100%, 20% 20%, 100% 30%; }
    50% { background-position: 100% 50%, 0% 0%, 50% 100%; }
    75% { background-position: 30% 0%, 100% 70%, 0% 30%; }
    100% { background-position: 0% 0%, 100% 100%, 0% 50%; }
}

@keyframes liquidGlow {
    from { filter: drop-shadow(0 0 8px rgba(255,199,44,.22)) drop-shadow(0 0 18px rgba(255,199,44,.08)); }
    to { filter: drop-shadow(0 0 12px rgba(255,199,44,.45)) drop-shadow(0 0 34px rgba(255,199,44,.18)); }
}


/* =========================================================
   STICKY HEADER NAVIGATION STYLES
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1500;
    transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}

.site-header.scrolled {
    background: rgba(5,5,5,.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    width: min(calc(100% - 48px), 1500px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    z-index: 2501;
}

.logo-main {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    color: var(--white);
}

.logo-main span {
    color: var(--gold);
}

.logo-sub {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 5px;
    line-height: 1;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.8vw, 26px);
}

.desktop-nav a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.92);
    transition: color .2s ease;
    white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active,
.nav-dropdown.is-open .nav-dropdown-trigger {
    color: var(--gold);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    top: 100%;
    height: 16px;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.92);
    white-space: nowrap;
    transition: color .2s ease;
}

.nav-dropdown-trigger svg {
    width: 14px;
    height: 14px;
    transition: transform .22s ease;
}

.nav-dropdown.is-open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .nav-dropdown-trigger svg {
        transform: rotate(180deg);
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: -8px;
    width: 288px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 199, 44, 0.28);
    background: #101013;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .22s cubic-bezier(0.22, 1, 0.36, 1), visibility .2s ease;
    z-index: 2600;
}

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.desktop-nav a.nav-dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 7px;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    font-weight: 400;
    color: var(--white);
    transition: background-color .18s ease, color .18s ease;
}

.desktop-nav a.nav-dropdown-item:hover,
.desktop-nav a.nav-dropdown-item:focus-visible,
.desktop-nav a.nav-dropdown-item.active {
    background: rgba(255, 199, 44, 0.1);
    color: var(--gold);
}

.nav-dropdown-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
}

.desktop-nav a.nav-dropdown-item:hover .nav-dropdown-title,
.desktop-nav a.nav-dropdown-item.active .nav-dropdown-title {
    color: var(--gold);
}

.nav-dropdown-sub {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--muted);
}

.desktop-nav .nav-cta {
    color: #000 !important;
    background: var(--gold);
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.desktop-nav .nav-cta:hover,
.desktop-nav .nav-cta.active {
    background: #ffd75e;
    box-shadow: 0 0 16px rgba(255,199,44,0.45);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2501;
}

.header-phone {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .05em;
    color: #ffffff;
    white-space: nowrap;
    transition: color .2s ease;
}

.header-phone:hover {
    color: var(--gold);
}

.header-cta {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255,199,44,.55);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,199,44,.08);
    color: var(--gold);
    transition: background .25s ease, transform .25s ease;
}

.header-cta:hover {
    background: var(--gold);
    color: #000;
}

.header-cta svg {
    width: 17px;
    height: 17px;
}

/* =========================================================
   INTERACTION: TACTILE TAP FEEDBACK
========================================================= */
.button:active,
.header-cta:active,
.portfolio-edge-arrow:active,
.testimonial-arrow:active,
.mobile-sticky-bar a:active,
.mobile-sticky-bar button:active {
    transform: scale(0.97) !important;
}


/* =========================================================
   MOBILE HAMBURGER MENU & DRAWER STYLES
========================================================= */

.mobile-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2501;
    transition: background .3s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-button:hover {
    border-color: var(--gold);
}

.mobile-menu-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -0.75px;
    margin-left: -9.5px;
    width: 19px;
    height: 1.5px;
    background: var(--white);
    transform-origin: center;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), background .3s ease;
}

.mobile-menu-button span:first-child { transform: translateY(-4px); }
.mobile-menu-button span:last-child { transform: translateY(4px); }

.mobile-menu-button.active {
    border-color: rgba(255,199,44,.7);
    background: rgba(255,199,44,.12);
}

.mobile-menu-button.active span:first-child {
    transform: translateY(0) rotate(45deg);
    background: var(--gold);
}

.mobile-menu-button.active span:last-child {
    transform: translateY(0) rotate(-45deg);
    background: var(--gold);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: radial-gradient(circle at 80% 10%, rgba(255,199,44,.08), transparent 30%), #050505;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s cubic-bezier(0.16, 1, 0.3, 1), visibility .35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-nav-inner {
    width: 100%;
    height: 100%;
    padding: calc(var(--header-height, 72px) + 8px) 24px calc(16px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(42px, 5.6vh, 54px);
    border-bottom: 1px solid var(--line-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 400;
    letter-spacing: -.03em;
    color: var(--white);
    transition: color .2s ease;
}

.mobile-nav-links a:first-child { border-top: 1px solid var(--line-soft); }

.mobile-nav-links a::after {
    content: "\2197";
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    color: var(--gold);
}

.mobile-nav-links a.no-arrow::after {
    content: none;
    display: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active,
.mobile-nav-group-trigger:hover,
.mobile-nav-group-trigger.active,
.mobile-nav-group.is-open .mobile-nav-group-trigger { color: var(--gold); }

.mobile-nav-group {
    border-bottom: 1px solid var(--line-soft);
}

.mobile-nav-group-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(42px, 5.6vh, 54px);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 400;
    letter-spacing: -.03em;
    color: var(--white);
    transition: color .2s ease;
}

.mobile-nav-group-trigger svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    transition: transform .22s ease;
}

.mobile-nav-group.is-open .mobile-nav-group-trigger svg {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    display: none;
    flex-direction: column;
    padding: 0 0 10px 14px;
    gap: 2px;
}

.mobile-nav-group.is-open .mobile-nav-submenu {
    display: flex;
}

.mobile-nav-links .mobile-nav-submenu a {
    min-height: 36px;
    border: 0 !important;
    font-size: clamp(0.98rem, 3.8vw, 1.1rem);
    color: rgba(244, 243, 238, 0.8);
}

.mobile-nav-links .mobile-nav-submenu a::after {
    font-size: 13px;
}

.mobile-nav-bottom {
    padding-top: clamp(10px, 2vh, 18px);
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.6vh, 14px);
}

.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(44px, 5.5vh, 48px);
    padding: 10px 20px;
    background: var(--gold);
    color: #050505;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.15rem, 3.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 199, 44, 0.25);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.mobile-nav-cta:hover,
.mobile-nav-cta:focus-visible {
    background: #ffcf4d;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 199, 44, 0.35);
}

.mobile-nav-cta:active {
    transform: translateY(1px);
}

.mobile-nav-call {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}

.mobile-nav-call strong {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(18px, 4.8vw, 22px);
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--white);
    transition: color .2s ease;
}

.mobile-nav-call:hover strong,
.mobile-nav-call:focus-visible strong {
    color: var(--gold);
}


/* =========================================================
   HERO SECTION STYLES
========================================================= */

.hero {
    min-height: 100svh;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    background-image: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.84) 100%), linear-gradient(90deg, rgba(0,0,0,.35), transparent 55%, rgba(0,0,0,.3)), url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2400&q=88");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, var(--black) 100%);
    z-index: -1;
}

.hero-content {
    width: min(1200px, calc(100% - 48px));
    text-align: center;
    margin-inline: auto;
    padding-top: 70px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    font-size: clamp(3.6rem, 9vw, 9.2rem);
    line-height: .82;
    letter-spacing: -.065em;
    text-wrap: balance;
    text-shadow: 0 3px 30px rgba(0,0,0,.35);
}

.hero-line { display: block; }
.hero-line:nth-child(2) { margin-top: 8px; }
.hero-dot { margin-left: -0.12em; display: inline-block; }

.hero-rotator {
    margin-top: 34px;
    min-height: 38px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    font-weight: 300;
    color: rgba(255,255,255,.88);
    letter-spacing: -.02em;
}

.rotating-text { color: var(--gold); font-weight: 500; }

.hero-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    min-height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button-primary { background: var(--gold); color: #000; }
.button-primary:hover { background: #ffd75e; transform: translateY(-2px); }

.button-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    background: rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
}

.button-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: rgba(255,255,255,.5);
}

.hero-scroll-line {
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}


/* =========================================================
   ABOUT SECTION STYLES
========================================================= */

.about {
    position: relative;
    background: var(--black);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 120px 0 100px;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-image::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 450px;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(255, 199, 44, 0.22) 0%, rgba(255, 199, 44, 0.08) 48%, transparent 75%);
    filter: blur(30px);
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    max-width: 660px;
    height: auto;
    object-fit: contain;
    filter: contrast(1.04);
    position: relative;
    z-index: 2;
    transform: scale(1.08);
    transform-origin: center center;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 96%);
    mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 96%);
}

.about-copy { padding-left: 20px; }
.about-copy .section-title { margin-top: 18px; }
.about-copy > p { margin-top: 26px; max-width: 580px; }
.about-actions { margin-top: 36px; display: flex; gap: 15px; flex-wrap: wrap; }

.about-title-line { display: inline; }
.about-title-break { display: inline; }

@media (min-width: 1101px) {
    .about-title-break { display: block; }
}


/* =========================================================
   TESTIMONIALS SECTION (STACKED GRID CAROUSEL)
========================================================= */

.testimonials {
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 199, 44, 0.065) 0%, transparent 60%), #0c0c10;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 112px 0;
}

.testimonial-wrap {
    max-width: 1100px;
    margin-inline: auto;
}

.testimonial-slider {
    margin-top: 36px;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 2px solid rgba(255, 199, 44, 0.55);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.testimonial-box {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    position: relative;
    width: 100%;
}

.testimonial {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 100px;
    line-height: .5;
    color: var(--gold);
}

.quote {
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 2.1rem);
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: -.03em;
}

.testimonial-stars {
    margin-top: 22px;
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 0.25em;
    line-height: 1;
}

.testimonial-meta {
    margin-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-top: 1px solid var(--line-soft);
    padding-top: 20px;
}

.testimonial-name { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 18px; color: var(--white); }
.testimonial-location { margin-top: 4px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.testimonial-controls { display: flex; gap: 12px; }

.testimonial-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}

.testimonial-arrow:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(12, 12, 15, 0.95);
}

.testimonial-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}


/* =========================================================
   COMMISSION CALCULATOR SECTION STYLES
========================================================= */

.calculator-section {
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

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

.calculator-copy { max-width: 650px; }
.calculator-copy .section-title { margin-top: 20px; }
.calculator-copy p { margin-top: 35px; max-width: 560px; }

.calculator-card {
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    border: 1px solid var(--line);
    padding: clamp(28px, 5vw, 55px);
    border-radius: 2px;
}

.calculator-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--muted);
}

.price-input {
    width: 100%;
    margin-top: 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -.06em;
    padding: 0 0 15px;
    outline: none;
}

.price-input:focus { border-color: var(--gold); }

.price-slider {
    width: 100%;
    margin-top: 30px;
    appearance: none;
    height: 2px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) 25%, rgba(255,255,255,.18) 25%, rgba(255,255,255,.18) 100%);
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid #111;
    box-shadow: 0 0 0 1px var(--gold);
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid #111;
    box-shadow: 0 0 0 1px var(--gold);
    cursor: pointer;
}

.calculator-results {
    margin-top: 45px;
    border-top: 1px solid var(--line);
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--muted);
}

.result-row strong { color: var(--white); font-weight: 400; }

.result-row.savings {
    padding-top: 28px;
    margin-top: 10px;
    font-size: 18px;
}

.result-row.savings strong {
    color: var(--gold);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 30px;
    letter-spacing: -.04em;
}

.calculator-cta {
    width: 100%;
    margin-top: 28px;
    cursor: pointer;
}

.calculator-fineprint {
    margin-top: 15px;
    font-size: 13px;
    color: var(--muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}


/* =========================================================
   FEATURED SALES PORTFOLIO CAROUSEL
========================================================= */

.portfolio {
    background: #080808;
    border-bottom: 1px solid var(--line);
    padding: 130px 0;
}

.portfolio-header { text-align: center; margin-bottom: 50px; }
.portfolio-carousel-wrapper { position: relative; width: 100%; }

.portfolio-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.portfolio-carousel-track::-webkit-scrollbar { display: none; }

.portfolio-edge-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    background: rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}

.portfolio-edge-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.portfolio-edge-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.portfolio-edge-arrow.prev { left: -26px; }
.portfolio-edge-arrow.next { right: -26px; }

.portfolio-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 320px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.02);
    transition: border-color .3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover { border-color: var(--gold); }

.portfolio-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92);
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }

.portfolio-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: 0.12em;
}

.portfolio-info {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portfolio-info h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0;
}

.portfolio-location {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 600;
}


/* =========================================================
   PROOF METRICS STRIP
========================================================= */

.proof-strip {
    border-bottom: 1px solid var(--line);
    background: var(--black);
}

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

.proof-item {
    min-height: 150px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
    text-align: center;
}

.proof-item:first-child { border-left: 1px solid var(--line); }

.proof-number {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1;
}

.proof-percent { font-size: inherit; }

.proof-label {
    margin-top: 9px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--muted);
}


/* =========================================================
   MISSION STATEMENT SECTION
========================================================= */

.mission { padding: 140px 0; background: var(--black); }

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

.mission-right-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 1px solid var(--line);
    padding-left: 50px;
}


/* =========================================================
   WHAT'S INCLUDED / VALUE PROPOSITION GRID
========================================================= */

.what-you-get {
    border-top: 1px solid var(--line);
    background: var(--black);
    padding: 140px 0;
}

.what-header-centered {
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 70px;
}

.what-header-centered .eyebrow { justify-content: center; }

@media (max-width: 700px) {
    .buyer-rebate-grid { grid-template-columns: 1fr; }
    .buyer-steps-wrap { padding: 32px 20px; }
    .buyer-actions .button { width: 100%; }

    .what-header-centered {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .what-header-centered .eyebrow {
        justify-content: center !important;
    }
}

.benefit-grid-clean {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.benefit-clean {
    min-height: 210px;
    padding: 40px 35px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
    transition: border-color .3s ease;
}

.benefit-clean:hover { border-color: rgba(255,199,44,0.4); }

.benefit-clean h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 14px;
    color: var(--white);
}

.benefit-clean p {
    color: var(--muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   SERVICES BREAKDOWN STYLES
========================================================= */

.services {
    background: #080808;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 140px 0;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.services-header-right { max-width: 440px; text-align: right; }
.service-list { border-top: 1px solid var(--line); }

.service-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 55px 0;
    border-bottom: 1px solid var(--line);
}

.service-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.05em;
}

.service-description {
    max-width: 600px;
    margin-top: 17px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--muted);
}

.service-action { white-space: nowrap; }

.services-title-line { display: inline; }
.services-title-break { display: inline; }

@media (min-width: 1101px) {
    .services-title-break { display: block; }
}


/* =========================================================
   STEP-BY-STEP PROCESS SECTION
========================================================= */

.process {
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 140px 0;
}

.process-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 65px;
}

.process-intro-text { margin-top: 0; }
.process-intro p { max-width: 550px; color: var(--white-soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 18px; line-height: 1.7; }
.process-list { border-top: 1px solid var(--line); }

.process-row {
    display: grid;
    grid-template-columns: 90px 1fr 1.25fr;
    gap: 35px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.process-number {
    color: var(--gold);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
}

.process-row h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.process-row p { color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 1.65; }


/* =========================================================
   AREAS SERVED GRID
========================================================= */

.areas {
    background: #080808;
    border-bottom: 1px solid var(--line);
    padding: 140px 0;
}

.areas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 75px;
}

.area-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.area {
    min-height: 115px;
    padding: 30px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    letter-spacing: -.035em;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.area:hover {
    background: rgba(255, 199, 44, 0.05);
    border-color: var(--gold);
    color: var(--gold);
}


/* =========================================================
   STATIC IN-PAGE EVALUATION FORM SECTION
========================================================= */

.evaluation {
    border-top: 1px solid var(--line-soft);
    background: radial-gradient(circle at 15% 20%, rgba(255,199,44,.07), transparent 35%), #080808;
}

.evaluation-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.evaluation-copy .section-title { margin-top: 20px; }
.evaluation-copy > p { margin-top: 35px; max-width: 530px; }

.guarantees { margin-top: 45px; display: flex; flex-direction: column; }

.guarantee {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--white-soft);
}

.guarantee:last-child { border-bottom: 1px solid var(--line); }
.guarantee-check { color: var(--gold); }

.form-card {
    padding: clamp(25px, 5vw, 50px);
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
}

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

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}

.form-control {
    width: 100%;
    min-height: 53px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: rgba(255,255,255,.035);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: border-color .25s ease, box-shadow .25s ease;
}

textarea.form-control { min-height: 130px; resize: vertical; }

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #111111;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffc72c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 38px;
    color: #f4f3ee;
    color-scheme: dark;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

select.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffc72c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

select.form-control option { background-color: #111111; color: #f4f3ee; }
select.form-control option:checked { background-color: #242424; color: var(--gold); }

.form-control:focus { 
    border-color: var(--gold); 
    box-shadow: 0 0 0 1px var(--gold);
}

.form-submit { margin-top: 25px; width: 100%; }
.form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.form-fineprint {
    margin-top: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}


/* =========================================================
   FAQ ACCORDION STYLES
========================================================= */

.faq { background: var(--black); border-top: 1px solid var(--line-soft); }
.faq-list { margin-top: 65px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
    width: 100%;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: transparent;
    color: #ffffff;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -.02em;
    cursor: pointer;
    transition: color .2s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    transform-origin: center center;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--gold);
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before {
    width: 12px;
    height: 1.5px;
}

.faq-icon::after {
    width: 1.5px;
    height: 12px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--gold);
}

.faq-answer {
    max-width: 820px;
    padding: 0 0 28px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.72;
    color: rgba(244, 243, 238, 0.74);
    display: none;
}

.faq-answer p {
    margin-bottom: 16px;
    line-height: 1.75;
    color: inherit;
    font-size: inherit;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong,
.faq-answer b {
    color: #ffffff;
    font-weight: 700;
}

.faq-answer a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color .2s ease;
}

.faq-answer a:hover {
    color: #ffffff;
}

.faq-item.open .faq-answer { display: block; }


/* =========================================================
   FOOTER STYLES
========================================================= */

.footer { padding: 100px 0 40px; background: #030303; border-top: 1px solid var(--line); }

.footer-name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.8rem, 6.8vw, 6.2rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--white);
    text-transform: none;
}

.footer-name span { color: var(--gold); font-weight: 500; }

.footer-title-sub {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 16px;
    display: block;
}

.footer-grid {
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-column { display: flex; flex-direction: column; gap: 10px; }

.footer-heading {
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--muted);
}

.footer-column a,
.footer-column p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    color: var(--white-soft);
}

.footer-column a:hover { color: var(--gold); }

.footer-bottom {
    margin-top: 70px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    color: var(--muted);
}

.footer-credit a,
.footer-bottom a {
    color: var(--white-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-credit a:hover,
.footer-bottom a:hover {
    color: var(--gold);
}

.footer-credit a:hover {
    color: var(--gold);
}


/* =========================================================
   STICKY MOBILE BOTTOM BAR
========================================================= */

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 10, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    z-index: 1200;
    justify-content: space-between;
    gap: 10px;
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), opacity .3s ease;
    will-change: transform, opacity;
}

.mobile-sticky-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-sticky-bar a,
.mobile-sticky-bar button {
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .25s ease;
}


/* =========================================================
   MODAL OVERLAY & POPUP CONTAINER
========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
    width: min(520px, 100%);
    max-height: calc(100svh - 32px);
    overflow-y: auto;
    background: #0c0c0c;
    border: 1px solid var(--line);
    padding: 26px 24px 22px;
    position: relative;
    transform: translateY(18px) scale(.98);
    transition: transform .3s ease;
}

.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease;
    padding: 0;
}

.modal-close:hover { border-color: var(--gold); color: var(--gold); }

.modal-close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
}

.modal-title {
    padding-right: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.65rem, 4.2vw, 2.3rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.modal-subtitle {
    margin-top: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    color: var(--muted);
}

.modal .form-grid { margin-top: 18px; gap: 12px; }
.modal .form-group { gap: 4px; }
.modal .form-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.modal .form-control { min-height: 40px; padding: 8px 12px; font-size: 13.5px; }
.modal textarea.form-control { min-height: 48px; resize: vertical; }
.modal .form-submit { margin-top: 14px; min-height: 46px; font-size: 13.5px; }
.modal .form-fineprint { margin-top: 8px; font-size: 11.5px; text-align: center; }


/* =========================================================
   SCROLL REVEAL UTILITIES
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }



/* =========================================================
   BUYER 1% CASH BACK REBATE SECTION
========================================================= */

.buyer-cashback {
    padding: 130px 0;
    background: radial-gradient(circle at 50% 15%, rgba(255,199,44,.05), transparent 50%), var(--black);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.buyer-cashback-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.buyer-rebate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.buyer-rebate-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 34px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.buyer-rebate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 199, 44, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 199, 44, 0.08);
}

.buyer-rebate-card.highlight {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(255,199,44,0.08) 0%, var(--surface) 100%);
}

.buyer-popular-tag {
    position: absolute;
    top: -12px;
    background: var(--gold);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 3px 12px;
    border-radius: 999px;
}

.buyer-card-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 8px;
}

.buyer-price {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.03em;
    color: var(--white);
    margin-bottom: 18px;
}

.buyer-rebate-pill {
    width: 100%;
    background: rgba(255, 199, 44, 0.12);
    border: 1px solid rgba(255, 199, 44, 0.35);
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buyer-rebate-pill span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.buyer-rebate-pill strong {
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -.02em;
}

.buyer-card-note {
    font-size: 13px;
    color: var(--white-soft);
    line-height: 1.5;
}

.buyer-steps-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 50px 40px;
    margin-bottom: 50px;
}

.buyer-steps-header {
    text-align: center;
    margin-bottom: 40px;
}

.buyer-steps-title {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    margin-top: 6px;
}

.buyer-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.buyer-step-item {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid var(--line-soft);
}

.buyer-step-num {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.buyer-step-item h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
}

.buyer-step-item p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.buyer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.buyer-fineprint {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.calc-buyer-callout {
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(255, 199, 44, 0.06);
    border: 1px dashed rgba(255, 199, 44, 0.35);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--white-soft);
}

.calc-buyer-callout a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.calc-buyer-callout a:hover {
    color: #fff;
}

/* =========================================================
   RESPONSIVE TABLET BREAKPOINT (< 1100px)
========================================================= */

@media (max-width: 1100px) {
    .buyer-rebate-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .buyer-steps-grid { grid-template-columns: 1fr; gap: 28px; }
    .buyer-step-item { padding-left: 16px; }

    .desktop-nav { display: none; }
    .mobile-menu-button { display: flex; }
    .header-phone { display: none; }
    .header-actions { margin-left: auto; }

    .about-grid,
    .mission-grid,
    .calculator-grid,
    .evaluation-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-copy { padding-left: 0; }
    .about-image img { max-width: 520px; transform: none; }

    .mission-right-content {
        border-left: none;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 30px;
    }

    .portfolio-card { flex: 0 0 calc((100% - 24px) / 2); }
    .portfolio-edge-arrow.prev { left: -16px; }
    .portfolio-edge-arrow.next { right: -16px; }

    .benefit-grid-clean { grid-template-columns: repeat(2, 1fr); }
    .evaluation-copy { max-width: 700px; }

    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid .footer-column:first-child { grid-column: 1 / -1; }
}


/* =========================================================
   RESPONSIVE MOBILE BREAKPOINT (< 700px)
========================================================= */

@media (max-width: 700px) {
    :root { --header-height: 72px; }
    .container { width: min(calc(100% - 36px), var(--max-width)); }
    .section { padding: 85px 0; }
    body { padding-bottom: 64px; }
    .mobile-sticky-bar { display: flex; }

    .site-header { height: var(--header-height); }
    .header-inner { width: calc(100% - 28px); padding: 0 0 0 2px; }
    .logo { font-size: 17px; white-space: nowrap; }

    .header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-menu-button {
        display: flex;
        margin-left: auto;
        width: 44px;
        height: 44px;
        z-index: 2500;
    }

    .header-cta { display: none; }
    .mobile-nav-inner { padding: calc(var(--header-height) + 20px) 22px 35px; }
    .mobile-nav-links a { min-height: 62px; font-size: 2.2rem; }
    .mobile-nav-group-trigger { min-height: 62px; font-size: 2.2rem; }
    .mobile-nav-links .mobile-nav-submenu a { min-height: 40px; font-size: 1.05rem; }

    .hero { min-height: 100svh; background-position: 62% center; }
    .hero-content { width: calc(100% - 30px); padding-top: 50px; }
    .hero-title { font-size: clamp(3.25rem, 15vw, 5.7rem); line-height: .86; letter-spacing: -.07em; }
    .hero-line:nth-child(2) { margin-top: 5px; }
    .hero-rotator { margin-top: 25px; font-size: 1.15rem; }

    .hero-actions { margin-top: 28px; flex-direction: column; width: 100%; }
    .hero-actions .button { width: min(100%, 330px); }
    .hero-scroll { bottom: 20px; font-size: 12px; }

    .about-grid { gap: 45px; }
    .about-image::before { width: 280px; height: 330px; }

    .proof-grid { grid-template-columns: 1fr 1fr; }
    .proof-item { min-height: 125px; padding: 20px 12px; }
    .proof-item:nth-child(2) { border-right: 0; }
    .proof-item:nth-child(3), .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
    .proof-item:nth-child(3) { border-left: 1px solid var(--line); }
    .proof-number { font-size: 2rem; }
    .proof-label { font-size: 11px; }

    .benefit-grid-clean { grid-template-columns: 1fr; }
    .benefit-clean { min-height: auto; padding: 28px 22px; }

    .services-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 50px;
    }

    .services-header-right { max-width: 100%; text-align: left; }

    .service-item { grid-template-columns: 1fr; gap: 20px; padding: 35px 0; }
    .service-action { grid-column: 1; margin-top: 5px; }
    .service-title { font-size: 2.35rem; }

    .portfolio-card { flex: 0 0 calc(100% - 40px); min-width: 260px; }
    .portfolio-info { padding: 18px 20px 20px; }
    .portfolio-info h3 { font-size: 18px; }
    .portfolio-location { font-size: 11px; }
    .portfolio-edge-arrow { width: 44px; height: 44px; top: 38%; }
    .portfolio-edge-arrow svg { width: 14px; height: 14px; }
    .portfolio-edge-arrow.prev { left: 4px; }
    .portfolio-edge-arrow.next { right: 4px; }

    .process-intro { grid-template-columns: 1fr; gap: 30px; margin-bottom: 45px; align-items: flex-start; }
    .process-intro-text { margin-top: 0; }
    .process-intro p { font-size: 16px; }

    .process-row { grid-template-columns: 42px 1fr; gap: 16px; padding: 28px 0; }
    .process-number { padding-top: 4px; font-size: 12px; }
    .process-row h3 { font-size: 24px; }
    .process-row p { grid-column: 2; margin-top: 4px; font-size: 15px; }

    .calculator-grid { gap: 45px; }
    .calculator-card { padding: 25px 20px; }
    .price-input { font-size: 3.2rem; }

    .areas-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .area-list { grid-template-columns: 1fr 1fr; }
    .area { min-height: 95px; padding: 20px 16px; font-size: 1.25rem; }

    .testimonials { padding: 72px 0; }
    .testimonial-slider { margin-top: 28px; padding: 24px 20px; }
    .quote-mark { font-size: 70px; }
    .quote { font-size: 1.45rem; }
    .testimonial-meta {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
        padding-top: 20px;
    }
    .testimonial-meta > div:first-child {
        flex: 1;
        min-width: 0;
        padding-right: 10px;
    }
    .testimonial-name {
        font-size: 17px;
        line-height: 1.25;
    }
    .testimonial-location {
        margin-top: 3px;
        font-size: 11px;
    }
    .testimonial-controls {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
        margin-left: auto;
    }
    .testimonial-arrow {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }
    .testimonial-arrow svg {
        width: 15px;
        height: 15px;
    }

    .evaluation-grid { gap: 50px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .form-control, .modal .form-control { font-size: 16px !important; }

    .faq-list { margin-top: 45px; }
    .faq-question { padding: 22px 0; font-size: 1.15rem; font-weight: 600; }
    .faq-answer { font-size: 15px; font-weight: 400; line-height: 1.68; padding: 0 0 22px; }

    .footer { padding-top: 75px; }
    .footer-name { font-size: clamp(3.2rem, 14vw, 5.5rem); }
    .footer-grid { margin-top: 70px; grid-template-columns: 1fr 1fr; gap: 40px 25px; }
    .footer-grid .footer-column:first-child { grid-column: 1 / -1; }
    .footer-bottom { margin-top: 55px; flex-direction: column; gap: 15px; align-items: flex-start; }

    .modal { padding: 22px 18px 18px; width: min(440px, 100%); }
    .modal .form-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .modal .form-group:nth-child(1), .modal .form-group:nth-child(2) { grid-column: span 1; }
    .modal .form-group:nth-child(3), .modal .form-group:nth-child(4), .modal .form-group:nth-child(5) { grid-column: 1 / -1; }
    .modal-title { font-size: 1.55rem; }
    .modal .form-submit { margin-top: 10px; min-height: 44px; }
    
    .what-header-centered {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .what-header-centered .eyebrow {
        justify-content: center !important;
    }
}


/* =========================================================
   SMALL PHONES BREAKPOINT (< 390px)
========================================================= */

@media (max-width: 390px) {
    .testimonial-name { font-size: 15.5px; }
    .testimonial-controls { gap: 8px; }
    .testimonial-arrow { width: 42px; height: 42px; }
    .testimonial-arrow svg { width: 14px; height: 14px; }
    .hero-title { font-size: 3rem; }
    .hero-content { width: calc(100% - 24px); }
    .proof-number { font-size: 1.75rem; }
    .area { font-size: 1.1rem; }
    .service-title { font-size: 2rem; }
    .logo { font-size: 15.5px; }
    .modal { padding: 18px 14px 14px; }
    .modal .form-grid { grid-template-columns: 1fr; gap: 8px; }
    .modal .form-group:nth-child(1), .modal .form-group:nth-child(2) { grid-column: auto; }
    .modal-title { font-size: 1.4rem; }
}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY OVERRIDE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   DEDICATED 1% BUYER CASH BACK LANDING PAGE STYLES
========================================================= */

.nav-new-pill {
    display: inline-block;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--gold);
    color: var(--black);
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

.buyer-hero-section {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: radial-gradient(circle at 50% 15%, rgba(255, 199, 44, 0.08) 0%, transparent 60%), var(--bg);
    border-bottom: 1px solid var(--line);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.buyer-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 199, 44, 0.1);
    border: 1px solid rgba(255, 199, 44, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.buyer-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--white);
    max-width: 950px;
    margin: 0 auto 20px;
}

.buyer-hero-title em {
    font-style: normal;
    color: var(--gold);
}

.buyer-hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto 36px;
}

.buyer-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.buyer-trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--line-soft);
    max-width: 900px;
    margin: 0 auto;
}

.buyer-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--white);
}

.buyer-trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Dedicated Buyer Calculator */
.buyer-calc-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 44px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    margin-top: 40px;
}

.buyer-calc-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.buyer-calc-display-wrap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.buyer-calc-val-input {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 16px;
    text-align: right;
    width: 220px;
    letter-spacing: -.02em;
}

.buyer-presets-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.buyer-preset-btn {
    padding: 8px 16px;
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

.buyer-preset-btn:hover,
.buyer-preset-btn.active {
    background: rgba(255, 199, 44, 0.12);
    border-color: var(--gold);
    color: var(--gold);
}

.buyer-calc-output-card {
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.12) 0%, rgba(20, 20, 22, 0.95) 100%);
    border: 1px solid rgba(255, 199, 44, 0.35);
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.buyer-calc-output-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.buyer-output-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.buyer-output-amount {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.buyer-output-ltt-pill {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 199, 44, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 16px;
}

.buyer-output-explainer {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Uses Grid */
.buyer-uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.buyer-use-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px 22px;
    transition: transform .3s ease, border-color .3s ease;
}

.buyer-use-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 199, 44, 0.4);
}

.buyer-use-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 199, 44, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.buyer-use-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.buyer-use-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* Comparison Table */
.buyer-table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-top: 40px;
}

.buyer-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}

.buyer-compare-table th,
.buyer-compare-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line-soft);
}

.buyer-compare-table th {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: var(--surface-light);
}

.buyer-compare-table th.col-predy {
    background: rgba(255, 199, 44, 0.12);
    color: var(--gold);
    border-top: 3px solid var(--gold);
}

.buyer-compare-table td.col-predy {
    background: rgba(255, 199, 44, 0.03);
    font-weight: 500;
    color: var(--white);
}

.buyer-check-icon {
    color: #34c759;
    font-weight: 700;
    font-size: 18px;
    margin-right: 6px;
}

.buyer-cross-icon {
    color: #ff3b30;
    font-weight: 700;
    font-size: 18px;
    margin-right: 6px;
}

@media (max-width: 1024px) {
    .buyer-uses-grid { grid-template-columns: repeat(2, 1fr); }
    .buyer-calc-box { padding: 28px 20px; }
}

@media (max-width: 640px) {
    .buyer-uses-grid { grid-template-columns: 1fr; }
    .buyer-trust-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
    .buyer-hero-actions .button { width: 100%; }
    .buyer-calc-val-input { width: 100%; font-size: 26px; }
    .buyer-calc-display-wrap { flex-direction: column; align-items: stretch; }
    .buyer-compare-table th,
    .buyer-compare-table td { padding: 14px 16px; font-size: 13.5px; }
}


/* =========================================================
   FAILSAFE: GUARANTEE BUYER PAGE CONTENT IS NEVER HIDDEN
========================================================= */

.buyer-hero-section .reveal,
.buyer-hero-section *,
.buyer-calc-box,
.buyer-calc-box.reveal,
.buyer-uses-grid,
.buyer-use-card,
.buyer-use-card.reveal,
.buyer-table-wrap,
.buyer-table-wrap.reveal,
.buyer-steps-wrap,
.buyer-steps-wrap.reveal,
.buyer-cashback-page .reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}


/* =========================================================
   ANTI-SLOP BUYER PAGE ENHANCEMENTS: HIERARCHY & RHYTHM
========================================================= */

/* Hero Asymmetric Trust Layout */
.buyer-hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
    max-width: 820px;
    margin: 32px auto 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.buyer-hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.buyer-hero-card-left h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 600;
}

.buyer-hero-card-left p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.buyer-hero-card-right {
    background: var(--surface-light);
    border: 1px solid rgba(255, 199, 44, 0.25);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.buyer-hero-card-right .rebate-callout {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.02em;
}

.buyer-hero-card-right .rebate-callout span {
    color: var(--gold);
}

.buyer-hero-card-right small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

/* Asymmetric Closing Cost Relief Layout */
.buyer-relief-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
}

.buyer-flagship-card {
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.08) 0%, var(--surface) 100%);
    border: 1px solid rgba(255, 199, 44, 0.3);
    border-radius: 12px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.buyer-flagship-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 199, 44, 0.15);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    width: fit-content;
    margin-bottom: 16px;
}

.buyer-flagship-card h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.25;
}

.buyer-flagship-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.buyer-tax-breakdown-box {
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.buyer-tax-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line-soft);
}

.buyer-tax-row:last-child {
    border-bottom: none;
    padding-top: 12px;
    font-weight: 700;
    font-size: 15px;
}

.buyer-tax-row.highlight-row {
    color: var(--gold);
    border-top: 1px solid rgba(255, 199, 44, 0.3);
}

.buyer-companion-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buyer-companion-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform .2s ease, border-color .2s ease;
}

.buyer-companion-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 199, 44, 0.4);
}

.buyer-companion-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 199, 44, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.buyer-companion-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.buyer-companion-content p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Timeline Process Layout */
.buyer-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 48px;
}

.buyer-timeline-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.buyer-timeline-item.active-step {
    border-color: rgba(255, 199, 44, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.buyer-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.buyer-timeline-badge {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gold);
    background: rgba(255, 199, 44, 0.12);
    padding: 4px 10px;
    border-radius: 4px;
}

.buyer-timeline-phase {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.buyer-timeline-item h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.buyer-timeline-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Accessible focus ring for human affordance */
.form-control:focus-visible {
    outline: 2px solid var(--gold) !important;
    outline-offset: 2px;
    border-color: var(--gold) !important;
}

@media (max-width: 900px) {
    .buyer-relief-layout { grid-template-columns: 1fr; }
    .buyer-timeline { grid-template-columns: 1fr; }
    .buyer-hero-card-grid { grid-template-columns: 1fr; }
}


/* Suppress default OS number input spinners across all browsers */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}


/* =========================================================
   LEGAL PAGES (TERMS & PRIVACY) - ELEGANT CLEAN DOCUMENT
========================================================= */

.legal-hero {
    padding-top: calc(var(--header-height, 84px) + 40px);
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-soft);
    background: radial-gradient(circle at 50% 10%, rgba(255, 199, 44, 0.04) 0%, transparent 60%);
}

.legal-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.legal-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-breadcrumb a:hover {
    color: var(--gold);
}

.legal-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.2);
}

.legal-breadcrumb-current {
    color: var(--white);
}

.legal-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--white);
    margin-bottom: 14px;
}

.legal-title em {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.legal-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white-soft);
    max-width: 720px;
    margin: 0;
}

.legal-document-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 90px;
}

.legal-document-wrapper h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-top: 36px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal-document-wrapper p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--white-soft);
    margin-bottom: 16px;
}

.legal-document-wrapper ol,
.legal-document-wrapper ul {
    margin: 12px 0 20px 24px;
    color: var(--white-soft);
    font-size: 15px;
    line-height: 1.75;
}

.legal-document-wrapper li {
    margin-bottom: 10px;
}

.legal-document-wrapper a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.legal-document-wrapper a:hover {
    color: var(--white);
}

@media (max-width: 700px) {
    .legal-hero {
        padding-top: calc(var(--header-height, 84px) + 24px);
        padding-bottom: 30px;
    }
    .legal-title {
        font-size: 2.2rem;
    }
    .legal-document-wrapper {
        padding-top: 32px;
        padding-bottom: 60px;
    }
    .legal-document-wrapper h2 {
        font-size: 18px;
    }
    .legal-document-wrapper p {
        font-size: 14px;
    }
}

/* =========================================================
   EDITORIAL FULL-SERVICE HERO & LOCAL EXPERTISE STYLES
========================================================= */

.hero-title--editorial {
    font-size: clamp(3.1rem, 8vw, 7.6rem);
    line-height: 0.88;
    letter-spacing: -0.055em;
}

.hero-title--editorial .hero-dot {
    margin-left: 0.02em;
    color: var(--gold);
}

.hero-rotator {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.78);
}

.rotating-text {
    display: inline-block;
    transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn-glass {
    background: rgba(10, 10, 11, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--white);
}

.hero-btn-glass:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(12, 12, 14, 0.9);
}

.expertise-section {
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.expertise-pills {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.expertise-pills span,
.expertise-pills a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: var(--white-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-align: center;
    border-radius: 2px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.expertise-pills a.expertise-pill-link {
    border-color: rgba(255, 199, 44, 0.42);
    background: rgba(255, 199, 44, 0.07);
    color: var(--white);
    font-weight: 500;
}

.expertise-pills a.expertise-pill-link::after {
    content: "\2192";
    color: var(--gold);
    font-size: 12px;
    transition: transform .2s ease;
}

.expertise-pills a.expertise-pill-link:hover,
.expertise-pills a.expertise-pill-link:focus-visible {
    border-color: var(--gold);
    background: rgba(255, 199, 44, 0.14);
    color: var(--gold);
}

.expertise-pills a.expertise-pill-link:hover::after {
    transform: translateX(2px);
}

.expertise-pill-hint {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* =========================================================
   MODERN PLATFORM ENHANCEMENTS:
   NATIVE <dialog>, <details> ACCORDION & CONTENT-VISIBILITY
========================================================= */

dialog.modal-dialog {
    width: min(520px, calc(100% - 32px));
    max-width: none;
    height: fit-content;
    max-height: calc(100svh - 32px);
    margin: auto;
    padding: 26px 24px 22px;
    border: 1px solid var(--line);
    background: #0c0c0c;
    color: var(--white);
    overflow-y: auto;
}

dialog.modal-dialog:modal {
    overscroll-behavior: contain;
}

dialog.modal-dialog::backdrop {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    overscroll-behavior: contain;
}

dialog.modal-dialog .form-grid { margin-top: 18px; gap: 12px; }
dialog.modal-dialog .form-group { gap: 4px; }
dialog.modal-dialog .form-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
dialog.modal-dialog .form-control { min-height: 40px; padding: 8px 12px; font-size: 13.5px; }
dialog.modal-dialog select.form-control { padding-right: 38px; }
dialog.modal-dialog textarea.form-control { min-height: 48px; resize: vertical; }
dialog.modal-dialog .form-submit { margin-top: 14px; min-height: 46px; font-size: 13.5px; }
dialog.modal-dialog .form-fineprint { margin-top: 8px; font-size: 11.5px; text-align: center; }

/* Native <details> / <summary> FAQ Accordion */
summary.faq-question {
    list-style: none;
}

summary.faq-question::-webkit-details-marker {
    display: none;
}

summary.faq-question:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

details.faq-item[open] > summary.faq-question .faq-icon {
    transform: rotate(45deg);
    border-color: var(--gold);
}

details.faq-item .faq-answer {
    display: block;
}

details.faq-item::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
}

details.faq-item:not([open])::details-content {
    block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
    details.faq-item::details-content {
        transition: block-size, content-visibility, display;
        transition-duration: 0.3s;
        transition-timing-function: ease-in-out;
        transition-behavior: allow-discrete;
    }
}

/* Below-the-fold rendering deferral (strictly off-screen sections only) */
.what-you-get,
.services,
.process,
.evaluation,
.faq,
.footer,
.hood-pockets,
.hood-sold-section {
    content-visibility: auto;
    contain-intrinsic-size: auto none auto 700px;
}

.footer {
    contain-intrinsic-size: auto none auto 460px;
}

/* =========================================================
   DEDICATED HYPER-LOCAL NEIGHBOURHOOD PAGES
========================================================= */

.hood-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hood-breadcrumb a {
    color: var(--gold);
    transition: color .2s ease;
}

.hood-breadcrumb a:hover {
    color: var(--white);
}

.hood-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.35);
}

.hood-overview {
    background: var(--black);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hood-overview-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: start;
}

.hood-overview-copy p {
    margin-top: 24px;
    max-width: 600px;
}

.hood-facts-card {
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid var(--line);
    padding: clamp(26px, 4vw, 44px);
    border-radius: 2px;
}

.hood-facts-list {
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.hood-fact-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14.5px;
    color: var(--muted);
}

.hood-fact-row strong {
    color: var(--white);
    font-weight: 500;
    text-align: right;
}

.hood-pockets {
    background: #080808;
    border-bottom: 1px solid var(--line);
}

.hood-pockets-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.hood-pocket-card {
    padding: 38px 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
    transition: border-color .25s ease, background .25s ease;
}

.hood-pocket-card:hover {
    border-color: rgba(255, 199, 44, 0.4);
    background: rgba(255, 199, 44, 0.025);
}

.hood-pocket-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.hood-pocket-card h3 {
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 12px;
}

.hood-pocket-card p {
    font-size: 15px;
    line-height: 1.68;
    color: var(--muted);
}

.hood-sold-section {
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.hood-sold-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.hood-sold-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.hood-sold-grid .portfolio-card {
    flex: none;
    min-width: 0;
}

.hood-nearby-bar {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.hood-nearby-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.hood-nearby-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hood-nearby-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    color: var(--white-soft);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.hood-nearby-links a:hover,
.hood-nearby-links a:focus-visible {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255, 199, 44, 0.08);
}

@media (max-width: 1100px) {
    .hood-overview-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media (max-width: 768px) {
    .hero-title--editorial {
        font-size: clamp(3.1rem, 13vw, 4.9rem);
        line-height: 0.92;
        letter-spacing: -0.05em;
    }

    .expertise-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .expertise-pills span,
    .expertise-pills a {
        font-size: 12.5px;
        min-height: 38px;
    }

    .hood-pockets-grid {
        grid-template-columns: 1fr;
    }

    .hood-pocket-card {
        padding: 28px 22px;
    }

    .hood-fact-row {
        flex-direction: column;
        gap: 4px;
    }

    .hood-fact-row strong {
        text-align: left;
    }

    dialog.modal-dialog {
        padding: 22px 18px 18px;
        width: min(440px, calc(100% - 24px));
    }

    dialog.modal-dialog .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    dialog.modal-dialog .form-group:nth-child(1),
    dialog.modal-dialog .form-group:nth-child(2) {
        grid-column: span 1;
    }

    dialog.modal-dialog .form-group:nth-child(3),
    dialog.modal-dialog .form-group:nth-child(4),
    dialog.modal-dialog .form-group:nth-child(5) {
        grid-column: 1 / -1;
    }

    dialog.modal-dialog .form-control {
        font-size: 16px !important;
    }

    dialog.modal-dialog .form-submit {
        margin-top: 10px;
        min-height: 44px;
    }
}

@media (max-width: 440px) {
    .hero-title--editorial {
        font-size: clamp(2.85rem, 12.2vw, 3.6rem);
        line-height: 0.94;
        letter-spacing: -0.045em;
    }

    dialog.modal-dialog {
        padding: 18px 14px 14px;
    }

    dialog.modal-dialog .form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    dialog.modal-dialog .form-group:nth-child(1),
    dialog.modal-dialog .form-group:nth-child(2) {
        grid-column: auto;
    }
}

/* =========================================================
   ACCESSIBILITY UTILITY (MODERN-WEB-GUIDANCE)
========================================================= */

.visually-hidden:where(:not(:focus-within, :active)) {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
}

/* =========================================================
   INTERACTIVE HERO ADDRESS EVALUATION PILL
========================================================= */

@property --eval-glow-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes evalGlowSpin {
    to { --eval-glow-angle: 360deg; }
}

@keyframes evalBtnSheen {
    0%, 72% { transform: translateX(-160%) skewX(-22deg); opacity: 0; }
    78% { opacity: 0.7; }
    100% { transform: translateX(260%) skewX(-22deg); opacity: 0; }
}

@keyframes evalPillShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.hero-eval-wrap {
    width: min(650px, 100%);
    margin: 28px auto 0;
    position: relative;
    z-index: 6;
}

.address-eval-form {
    position: relative;
    width: 100%;
}

.address-eval-shell {
    position: relative;
    isolation: isolate;
    border-radius: 999px;
}

.address-eval-glow {
    position: absolute;
    inset: -2.5px;
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
    transition: opacity .45s ease;
}

.address-eval-glow::before,
.address-eval-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(
        from var(--eval-glow-angle),
        rgba(255, 255, 255, 0) 0deg,
        rgba(255, 255, 255, 0) 195deg,
        rgba(255, 199, 44, 0.85) 285deg,
        rgba(255, 250, 232, 0.98) 338deg,
        rgba(255, 255, 255, 0) 360deg
    );
    animation: evalGlowSpin 5s linear infinite;
}

.address-eval-glow::after {
    filter: blur(12px);
    opacity: 0.9;
}

.address-eval-shell:focus-within .address-eval-glow,
.address-eval-shell:has(.address-eval-pill.has-value) .address-eval-glow {
    opacity: 0;
}

.address-eval-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 7px 7px 22px;
    border-radius: inherit;
    background: #0c0c0f;
    border: 1px solid rgba(255, 199, 44, 0.34);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.62);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.address-eval-pill:focus-within {
    border-color: var(--gold);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.72), 0 0 0 2px rgba(255, 199, 44, 0.28);
}

.address-eval-pill.is-invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.35);
}

.address-eval-pill.shake {
    animation: evalPillShake 0.38s ease;
}

.address-eval-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.address-eval-pin svg {
    width: 19px;
    height: 19px;
}

.address-eval-input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--white);
    font: inherit;
    font-size: max(1rem, 1em);
    padding: 8px 6px;
}

.address-eval-input::placeholder {
    color: rgba(244, 243, 238, 0.62);
}

.address-eval-btn {
    position: relative;
    overflow: hidden;
    min-height: 50px;
    padding: 0 24px;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.address-eval-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 48%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
    pointer-events: none;
    animation: evalBtnSheen 5s ease-in-out infinite;
}

.address-eval-btn:hover::after {
    animation: none;
    opacity: 0;
}

.address-eval-btn svg {
    transition: transform .2s ease;
}

.address-eval-btn:hover svg {
    transform: translateX(3px);
}

.address-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 40;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: rgba(14, 14, 16, 0.98);
    border: 1px solid rgba(255, 199, 44, 0.32);
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.72);
    text-align: left;
}

.address-suggestions[hidden] {
    display: none;
}

.address-suggestions li {
    padding: 11px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: background .15s ease;
}

.address-suggestions li:hover,
.address-suggestions li.is-active {
    background: rgba(255, 199, 44, 0.14);
}

.address-sug-main {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--white);
}

.address-sug-sub {
    font-size: 12.5px;
    color: var(--muted);
}

.address-eval-error {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #ff8080;
    text-align: center;
}

.address-eval-error[hidden] {
    display: none;
}

.hero-eval-meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13.5px;
    color: rgba(244, 243, 238, 0.78);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

.hero-eval-sep {
    color: rgba(255, 255, 255, 0.35);
}

.hero-buyer-link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .2s ease;
}

.hero-buyer-link:hover,
.hero-buyer-link:focus-visible {
    color: var(--white);
}

/* =========================================================
   MODAL LIVE EVALUATION PROGRESS CARD (NATIVE <progress>)
========================================================= */

.eval-lookup-card {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 199, 44, 0.28);
    background: rgba(255, 199, 44, 0.05);
    border-radius: 6px;
    transition: border-color .3s ease, background .3s ease;
}

.eval-lookup-card[hidden] {
    display: none;
}

.eval-lookup-card.is-ready {
    border-color: rgba(74, 222, 128, 0.45);
    background: rgba(45, 168, 98, 0.08);
}

.eval-lookup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.eval-lookup-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.eval-lookup-card.is-ready .eval-lookup-status {
    color: #5eead4;
}

@keyframes evalSpin {
    to { transform: rotate(360deg); }
}

.eval-lookup-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 199, 44, 0.28);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: evalSpin 0.8s linear infinite;
    flex-shrink: 0;
}

.eval-lookup-card.is-ready .eval-lookup-spinner {
    display: none;
}

.eval-lookup-check {
    display: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2da862;
    color: #050505;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eval-lookup-card.is-ready .eval-lookup-check {
    display: inline-flex;
}

.eval-addr-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.eval-addr-text {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
    word-break: break-word;
}

.eval-addr-edit-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--white-soft);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
    transition: border-color .2s ease, color .2s ease;
}

.eval-addr-edit-btn:hover,
.eval-addr-edit-btn:focus-visible {
    border-color: var(--gold);
    color: var(--gold);
}

.eval-addr-editor {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.eval-addr-editor[hidden] {
    display: none;
}

.eval-addr-editor input {
    flex: 1;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 13.5px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gold);
    color: var(--white);
    outline: none;
}

.eval-addr-save-btn {
    background: var(--gold);
    color: #050505;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 14px;
    border-radius: 4px;
}

/* Native <progress> styling per modern-web-guidance: progress */
progress.eval-progress {
    --progress-bar-radius: 1e5px;
    display: block;
    width: 100%;
    height: 5px;
    margin-top: 12px;
    appearance: none;
    border: 0 solid;
    border-radius: var(--progress-bar-radius);
    overflow: clip;
    background: rgba(255, 255, 255, 0.12);
}

progress.eval-progress::-webkit-progress-bar {
    background: transparent;
}

progress.eval-progress::-webkit-progress-value {
    background: var(--gold);
    border-radius: var(--progress-bar-radius);
    transition: inline-size 0.35s ease, background 0.3s ease;
}

progress.eval-progress::-moz-progress-bar {
    background: var(--gold);
    border-radius: var(--progress-bar-radius);
    transition: inline-size 0.35s ease, background 0.3s ease;
}

.eval-lookup-card.is-ready progress.eval-progress::-webkit-progress-value {
    background: #2da862;
}

.eval-lookup-card.is-ready progress.eval-progress::-moz-progress-bar {
    background: #2da862;
}

.eval-zone-badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 199, 44, 0.12);
    border: 1px solid rgba(255, 199, 44, 0.28);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--white-soft);
}

.eval-zone-badge[hidden] {
    display: none;
}

/* =========================================================
   VISUAL MEDIA UPGRADES: NEIGHBOURHOOD CARDS, VIDEO BANDS,
   EDITORIAL SERVICE THUMBNAILS & TWILIGHT BACKDROPS
========================================================= */

/* 2x2 Photo-Backed Neighbourhood Cards inside #expertise */
.expertise-area-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.expertise-area-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(255, 199, 44, 0.32);
    border-radius: 3px;
    overflow: hidden;
    background: #101010;
    isolation: isolate;
    transition: border-color .25s ease, transform .25s ease;
}

.expertise-area-card picture,
.expertise-area-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1), filter .35s ease;
    filter: brightness(0.76);
}

.expertise-area-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.14) 0%, rgba(5, 5, 5, 0.88) 100%);
}

.expertise-area-card:hover,
.expertise-area-card:focus-visible {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.expertise-area-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.expertise-area-name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.expertise-area-name span {
    color: var(--gold);
    transition: transform .2s ease;
}

.expertise-area-card:hover .expertise-area-name span {
    transform: translateX(3px);
}

.expertise-area-sub {
    margin-top: 3px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(244, 243, 238, 0.72);
}

.expertise-pills--compact {
    margin-top: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.expertise-pills--compact span,
.expertise-pills--compact a {
    min-height: 34px;
    padding: 5px 8px;
    font-size: 12px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.expertise-pills--compact a:hover,
.expertise-pills--compact a:focus-visible {
    border-color: var(--gold);
    color: var(--gold);
}

/* Full-Bleed Ambient Toronto Drone Video Band (Mission Section) */
.mission--video {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--line);
}

.ambient-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    filter: saturate(0.88) contrast(1.05);
}

.mission--video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.62) 48%, rgba(5, 5, 5, 0.86) 100%);
}

.video-control-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.video-control-btn:hover,
.video-control-btn:focus-visible {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(5, 5, 5, 0.92);
}

/* Cinematic Split-Media Interior Video Header (Full-Service Representation) */
.what-media-split {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}

.what-media-copy .section-title {
    text-align: left;
}

.what-media-copy p {
    margin-top: 22px;
    max-width: 480px;
    color: var(--muted);
}

.cinema-frame {
    position: relative;
    border: 1px solid var(--line);
    background: #0d0d0d;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
}

.cinema-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92) contrast(1.04);
}

.cinema-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(5, 5, 5, 0.74) 100%);
    pointer-events: none;
}

.cinema-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.76);
    border: 1px solid rgba(255, 199, 44, 0.35);
    color: var(--white-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cinema-frame .video-control-btn {
    right: 14px;
    bottom: 14px;
    min-height: 32px;
    padding: 0 12px;
}

/* Editorial Photo Thumbnails on Service Rows */
.service-item--media {
    grid-template-columns: 220px 1fr auto;
    gap: 36px;
}

.service-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111;
    border-radius: 2px;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform .5s ease, filter .3s ease;
}

.service-item--media:hover .service-thumb img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* Atmospheric Twilight Skyline Backdrop on #evaluation / #inquiry (image-set()) */
.evaluation--backdrop {
    position: relative;
    isolation: isolate;
    background-color: #080808;
    background-image:
        linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.8) 50%, rgba(5, 5, 5, 0.92) 100%),
        url("../images/opt/toronto-skyline.jpg");
    background-image:
        linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.8) 50%, rgba(5, 5, 5, 0.92) 100%),
        image-set(
            url("../images/opt/toronto-skyline.webp") type("image/webp") 1x,
            url("../images/opt/toronto-skyline.jpg") type("image/jpeg") 1x
        );
    background-size: cover;
    background-position: center;
}

/* Editorial Visual Feature Frame for Buying & Thornhill pages */
.editorial-visual-strip {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.editorial-photo-card {
    position: relative;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #101010;
    border-radius: 2px;
}

.editorial-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.86);
    transition: transform .5s ease;
}

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

.editorial-photo-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: 14px;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.editorial-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 5, 5, 0.84) 100%);
    pointer-events: none;
}

.hood-visual-frame {
    margin-top: 28px;
    border: 1px solid var(--line);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
    background: #101010;
}

.hood-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .what-media-split {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }

    .service-item--media {
        grid-template-columns: 170px 1fr auto;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero-eval-wrap {
        margin-top: 26px;
    }

    .address-eval-shell {
        border-radius: 18px;
    }

    .address-eval-pill {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
    }

    .address-eval-pin {
        display: none;
    }

    .address-eval-input {
        width: 100%;
        padding: 10px 12px;
        border-bottom: 1px solid var(--line-soft);
    }

    .address-eval-btn {
        width: 100%;
        border-radius: 12px;
    }

    .expertise-pills--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-item--media {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-thumb {
        max-width: 100%;
    }

    .editorial-visual-strip {
        grid-template-columns: 1fr;
    }

    .video-control-btn {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 520px) {
    .expertise-area-grid {
        grid-template-columns: 1fr;
    }

    .expertise-pills--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .address-eval-glow::before,
    .address-eval-glow::after,
    .address-eval-btn::after,
    .eval-lookup-spinner {
        animation: none !important;
    }
}

/* =========================================================
   DEDICATED /home-evaluation LANDING PAGE STYLES
========================================================= */

.eval-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.eval-header-back {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    transition: color .2s ease;
}

.eval-header-back:hover,
.eval-header-back:focus-visible {
    color: var(--gold);
}

.eval-header-phone {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 199, 44, 0.55);
    background: rgba(10, 10, 12, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.eval-header-phone:hover,
.eval-header-phone:focus-visible {
    border-color: var(--gold);
    background: var(--gold);
    color: #050505;
}

.hero.eval-hero {
    background-image:
        radial-gradient(ellipse 68% 58% at 50% 46%, rgba(8, 8, 10, 0.56) 0%, rgba(8, 8, 10, 0.28) 70%, rgba(8, 8, 10, 0.38) 100%),
        linear-gradient(180deg, rgba(6, 6, 8, 0.24) 0%, rgba(6, 6, 8, 0.18) 52%, #050506 100%),
        url("../images/opt/eval-hero-toronto.jpg");
    background-image:
        radial-gradient(ellipse 68% 58% at 50% 46%, rgba(8, 8, 10, 0.56) 0%, rgba(8, 8, 10, 0.28) 70%, rgba(8, 8, 10, 0.38) 100%),
        linear-gradient(180deg, rgba(6, 6, 8, 0.24) 0%, rgba(6, 6, 8, 0.18) 52%, #050506 100%),
        image-set(
            url("../images/opt/eval-hero-toronto.webp") type("image/webp") 1x,
            url("../images/opt/eval-hero-toronto.jpg") type("image/jpeg") 1x
        );
    background-size: cover;
    background-position: center 45%;
}

@media (max-width: 768px) {
    .hero.eval-hero {
        background-position: 37% 44%;
    }
}

.eval-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 199, 44, 0.35);
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.eval-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.034em;
    text-transform: none;
    max-width: 1060px;
    margin: 0 auto;
    color: var(--white);
    text-wrap: balance;
}

.eval-hero-title .hero-dot {
    margin-left: 0.03em;
    color: var(--gold);
}

.eval-hero-sub {
    margin-top: 14px;
    font-size: clamp(0.98rem, 1.35vw, 1.14rem);
    color: rgba(244, 243, 238, 0.84);
}

.eval-hero-stats {
    width: min(680px, 100%);
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.eval-stat-box {
    position: relative;
    overflow: hidden;
    padding: 15px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 12, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.28s ease;
}

.eval-stat-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16%;
    right: 16%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.eval-stat-box strong {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    transition: color 0.25s ease;
}

.eval-stat-box span {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 243, 238, 0.68);
    transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .eval-stat-box:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 199, 44, 0.55);
        background-color: rgba(18, 17, 13, 0.84);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 199, 44, 0.16);
    }

    .eval-stat-box:hover::before {
        opacity: 1;
    }

    .eval-stat-box:hover strong {
        color: var(--gold);
    }

    .eval-stat-box:hover span {
        color: rgba(244, 243, 238, 0.9);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eval-stat-box:hover {
        transform: none;
    }
}

@media (max-width: 700px) {
    .eval-header-back {
        display: none;
    }

    .eval-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .eval-stat-box {
        padding: 11px 8px;
    }

    .eval-stat-box strong {
        font-size: 15.5px;
    }
}

/* =========================================================
   EVALUATION SLIDE-UP BOTTOM SHEET DIALOG (TOP-LAYER MOTION)
   Follows modern-web-guidance: animate-to-from-top-layer
========================================================= */

dialog.eval-sheet-dialog {
    position: fixed;
    inset: auto 0 0 0;
    width: min(492px, calc(100% - 24px));
    max-width: none;
    height: fit-content;
    max-height: calc(100svh - 20px);
    margin: 0 auto;
    padding: 14px 28px 26px;
    border: 1px solid rgba(255, 199, 44, 0.24);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: #101013;
    color: var(--white);
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    opacity: 0;
    transition-property: opacity, transform, display, overlay;
    transition-duration: 0.42s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-behavior: allow-discrete;
}

@media (prefers-reduced-motion: no-preference) {
    dialog.eval-sheet-dialog {
        transform: translateY(100%);
    }
}

dialog.eval-sheet-dialog[open]:where(:not([data-closing])) {
    opacity: 1;
}

@starting-style {
    dialog.eval-sheet-dialog[open]:where(:not([data-closing])) {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    dialog.eval-sheet-dialog[open]:where(:not([data-closing])) {
        transform: translateY(0);
    }

    @starting-style {
        dialog.eval-sheet-dialog[open]:where(:not([data-closing])) {
            transform: translateY(100%);
        }
    }
}

dialog.eval-sheet-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition-property: background-color, display, overlay;
    transition-duration: 0.36s;
    transition-timing-function: ease-out;
    transition-behavior: allow-discrete;
}

dialog.eval-sheet-dialog[open]:where(:not([data-closing]))::backdrop {
    background-color: rgba(0, 0, 0, 0.72);
}

@starting-style {
    dialog.eval-sheet-dialog[open]:where(:not([data-closing]))::backdrop {
        background-color: rgba(0, 0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    dialog.eval-sheet-dialog,
    dialog.eval-sheet-dialog::backdrop {
        transition-duration: 0.1s;
    }
}

.eval-sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    margin: 0 auto 24px;
}

dialog.eval-sheet-dialog .eval-sheet-close {
    top: 10px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(244, 243, 238, 0.6);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

dialog.eval-sheet-dialog .eval-sheet-close:hover,
dialog.eval-sheet-dialog .eval-sheet-close:focus-visible {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 199, 44, 0.32);
}

dialog.eval-sheet-dialog .eval-sheet-status {
    margin: 12px 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 199, 44, 0.24);
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

dialog.eval-sheet-dialog .eval-sheet-status.is-ready {
    border-color: rgba(74, 222, 128, 0.36);
    background: rgba(45, 168, 98, 0.1);
}

.eval-sheet-status-main {
    display: flex;
    align-items: center;
    gap: 13px;
}

.eval-sheet-ico {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 199, 44, 0.26);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.eval-sheet-status.is-ready .eval-sheet-ico {
    background: rgba(45, 168, 98, 0.2);
    border-color: rgba(74, 222, 128, 0.55);
}

.eval-sheet-ico .eval-lookup-spinner {
    width: 18px;
    height: 18px;
    border-width: 2.2px;
}

.eval-sheet-ico .eval-lookup-check {
    width: auto;
    height: auto;
    background: transparent;
    color: #4ade80;
}

.eval-sheet-status-copy {
    flex: 1;
    min-width: 0;
}

.eval-sheet-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.eval-sheet-status-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color 0.3s ease;
}

.eval-sheet-status.is-ready .eval-sheet-status-label {
    color: #4ade80;
}

dialog.eval-sheet-dialog .eval-addr-text {
    margin-top: 2px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
}

dialog.eval-sheet-dialog progress.eval-progress {
    height: 3.5px;
    margin-top: 12px;
}

dialog.eval-sheet-dialog .eval-zone-badge {
    margin-top: 9px;
    font-size: 11.5px;
}

dialog.eval-sheet-dialog .modal-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.24;
    letter-spacing: -0.02em;
    color: var(--white);
    padding-right: 0;
    margin: 0;
}

dialog.eval-sheet-dialog .modal-subtitle {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 14.5px;
    line-height: 1.48;
    color: rgba(244, 243, 238, 0.72);
}

dialog.eval-sheet-dialog .eval-sheet-grid {
    margin-top: 20px;
    gap: 14px 12px;
}

dialog.eval-sheet-dialog .form-group {
    gap: 6px;
}

dialog.eval-sheet-dialog .form-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 243, 238, 0.84);
}

dialog.eval-sheet-dialog .req-star {
    color: var(--gold);
}

dialog.eval-sheet-dialog .form-control {
    min-height: 46px;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

dialog.eval-sheet-dialog .form-control::placeholder {
    color: rgba(244, 243, 238, 0.36);
}

dialog.eval-sheet-dialog .form-control:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.14);
}

dialog.eval-sheet-dialog select.form-control {
    padding-right: 38px;
    background-color: #141418;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffc72c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

dialog.eval-sheet-dialog select.form-control option {
    background: #141418;
    color: var(--white);
}

dialog.eval-sheet-dialog textarea.form-control {
    min-height: 68px;
    padding-top: 11px;
    resize: vertical;
}

dialog.eval-sheet-dialog .eval-sheet-submit {
    margin-top: 18px;
    min-height: 50px;
    width: 100%;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    gap: 9px;
}

dialog.eval-sheet-dialog .eval-sheet-fineprint {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(244, 243, 238, 0.56);
    text-align: center;
}

dialog.eval-sheet-dialog .eval-sheet-fineprint svg {
    flex-shrink: 0;
    opacity: 0.72;
}

dialog.eval-sheet-dialog .eval-sheet-fineprint a {
    color: rgba(244, 243, 238, 0.78);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

dialog.eval-sheet-dialog .eval-sheet-fineprint a:hover {
    color: var(--gold);
}

@media (max-width: 600px) {
    dialog.eval-sheet-dialog {
        width: 100%;
        border-left: 0;
        border-right: 0;
        border-radius: 22px 22px 0 0;
        padding: 12px 20px calc(22px + env(safe-area-inset-bottom));
    }

    dialog.eval-sheet-dialog .eval-sheet-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px 10px;
    }

    dialog.eval-sheet-dialog .form-control {
        font-size: 16px !important;
        min-height: 46px;
    }
}

@media (max-width: 440px) {
    dialog.eval-sheet-dialog {
        padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
    }

    dialog.eval-sheet-dialog .eval-sheet-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   EVALUATION AGENT CREDENTIAL CARD (BOTTOM REASSURANCE)
========================================================= */

.eval-agent-section {
    padding: 72px 0 96px;
}

.eval-agent-card {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 34px 26px;
    border-radius: 16px;
    border: 1px solid rgba(255, 199, 44, 0.24);
    background: linear-gradient(180deg, rgba(22, 21, 18, 0.92) 0%, rgba(12, 12, 14, 0.96) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.eval-agent-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 199, 44, 0.7), transparent);
    pointer-events: none;
}

.eval-agent-top {
    display: flex;
    align-items: center;
    gap: 24px;
}

.eval-agent-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 199, 44, 0.55);
    background: #161618;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.eval-agent-avatar picture,
.eval-agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.eval-agent-info {
    flex: 1;
    min-width: 0;
}

.eval-agent-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--white);
    margin: 0;
}

.eval-agent-name span {
    color: var(--gold);
}

.eval-agent-role {
    margin: 5px 0 0;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--muted);
}

.eval-agent-contact {
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 500;
}

.eval-agent-contact a {
    color: var(--white-soft);
    transition: color 0.2s ease;
}

.eval-agent-contact a:last-child {
    position: relative;
}

.eval-agent-contact a:last-child::before {
    content: "\00B7";
    position: absolute;
    left: -10px;
    color: rgba(255, 255, 255, 0.34);
    pointer-events: none;
}

.eval-agent-contact a:hover,
.eval-agent-contact a:focus-visible {
    color: var(--gold);
}

.eval-agent-cta {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 22px;
    font-size: 12px;
    border-color: rgba(255, 199, 44, 0.45);
}

.eval-agent-cta:hover,
.eval-agent-cta:focus-visible {
    border-color: var(--gold);
    background: var(--gold);
    color: #050505;
}

.eval-agent-pillars {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.eval-agent-pillar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--white-soft);
}

.eval-agent-pillar svg {
    color: var(--gold);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .address-eval-glow {
        overflow: hidden;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }

    .address-eval-glow::after {
        display: none;
    }

    .eval-agent-section {
        padding: 40px 0 56px;
    }

    .eval-agent-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .eval-agent-top {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 14px;
    }

    .eval-agent-avatar {
        width: 72px;
        height: 72px;
    }

    .eval-agent-name {
        font-size: 19px;
    }

    .eval-agent-role {
        font-size: 12.5px;
        margin-top: 3px;
        line-height: 1.4;
    }

    .eval-agent-contact {
        margin-top: 6px;
        font-size: 12.5px;
        gap: 3px 14px;
    }

    .eval-agent-contact a:last-child::before {
        left: -9px;
    }

    .eval-agent-cta,
    .eval-agent-pillars {
        display: none;
    }
}

/* Compact Landing-Page Footer for /home-evaluation */
.footer.eval-footer {
    padding: 36px 0 40px;
    border-top: 1px solid var(--line);
    background: #050505;
}

.eval-footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--white-soft);
    text-align: center;
}

.eval-footer-sep {
    color: rgba(255, 255, 255, 0.28);
}

.eval-footer-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
}

.eval-footer-links a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.eval-footer-links a:hover,
.eval-footer-links a:focus-visible {
    color: var(--gold);
}

.eval-footer-note {
    margin: 12px auto 0;
    max-width: 760px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11.5px;
    line-height: 1.55;
    color: rgba(244, 243, 238, 0.48);
    text-align: center;
}

.eval-footer-note a {
    color: rgba(244, 243, 238, 0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.eval-footer-note a:hover {
    color: var(--gold);
}

@media (max-width: 640px) {
    .footer.eval-footer {
        padding: 28px 0 calc(92px + env(safe-area-inset-bottom));
    }

    .eval-footer-row {
        flex-direction: column;
        gap: 6px;
        font-size: 12.5px;
    }

    .eval-footer-sep {
        display: none;
    }

    .eval-footer-links {
        margin-top: 4px;
    }
}

/* =========================================================
   EVALUATION PAGE BELOW-THE-FOLD SCALE & 2-COLUMN FAQ
========================================================= */

.eval-section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.028em;
}

.eval-faq-section {
    padding: 96px 0;
    background: #050506;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.eval-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    gap: 56px;
    align-items: start;
}

.eval-faq-intro {
    position: sticky;
    top: 112px;
}

.eval-faq-lead {
    margin-top: 16px;
    max-width: 340px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--muted);
}

.eval-faq-section .faq-list {
    margin-top: 0;
    max-width: none;
}

.eval-faq-section .faq-question {
    font-size: clamp(17px, 1.35vw, 19px);
    font-weight: 600;
    padding: 22px 0;
}

.eval-faq-section .faq-answer {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(244, 243, 238, 0.72);
    padding: 0 0 22px;
}

.eval-reviews-section {
    padding: 96px 0;
}

@media (max-width: 900px) {
    .eval-faq-section,
    .eval-reviews-section {
        padding: 72px 0;
    }

    .eval-faq-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .eval-faq-intro {
        position: static;
    }

    .eval-faq-lead {
        max-width: none;
    }
}

/* =========================================================
   AREAS WE SERVE HUB (/neighbourhoods/)
========================================================= */

.areas-hub-hero {
    padding: 150px 0 64px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 50% 10%, rgba(255, 199, 44, 0.06) 0%, transparent 58%);
}

.areas-hub-hero .section-title {
    margin-top: 14px;
}

.areas-hub-intro {
    margin-top: 18px;
    max-width: 680px;
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--white-soft);
}

.areas-region-block {
    margin-top: 52px;
}

.areas-region-block:first-child {
    margin-top: 0;
}

.areas-region-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.areas-region-heading h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0;
}

.areas-region-tag {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.areas-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.area-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 22px 22px 20px;
    border-radius: 6px;
    border: 1px solid var(--line);
    border-top: 2px solid rgba(255, 199, 44, 0.55);
    background: var(--surface);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, background-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    .area-hub-card:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 199, 44, 0.55);
        border-top-color: var(--gold);
        background-color: #141416;
    }

    .area-hub-card:hover .area-hub-arrow {
        transform: translateX(4px);
    }
}

.area-hub-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.area-hub-card h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0;
}

.area-hub-arrow {
    color: var(--gold);
    font-size: 16px;
    transition: transform 0.22s ease;
}

.area-hub-pockets {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.areas-quick-guide {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #08080a;
}

.areas-guide-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 36px;
}

.areas-guide-item {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-soft);
}

.areas-guide-item h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 8px;
}

.areas-guide-item p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 10px;
}

.areas-guide-item a {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.areas-guide-item a:hover {
    color: var(--white);
}

.areas-hub-cta-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 44px 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 199, 44, 0.28);
    background: linear-gradient(180deg, rgba(22, 21, 18, 0.9) 0%, rgba(12, 12, 14, 0.96) 100%);
    text-align: center;
}

.areas-hub-cta-actions {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hood-sibling-links {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    font-size: 13.5px;
    color: var(--muted);
}

.hood-sibling-links a {
    color: var(--gold);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.hood-sibling-links a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .areas-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .areas-guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .areas-hub-hero {
        padding: 116px 0 44px;
    }

    .areas-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .areas-hub-cta-box {
        padding: 32px 20px;
    }

    .areas-hub-cta-actions .button {
        width: 100%;
    }
}

/* Split Directory Layout (/neighbourhoods/) */
.areas-directory-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.9fr);
    gap: 48px;
    align-items: start;
}

.areas-directory-list {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.areas-directory-group-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.areas-directory-rows {
    display: flex;
    flex-direction: column;
}

.areas-directory-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 14px 16px 16px;
    border-bottom: 1px solid var(--line-soft);
    border-left: 2px solid transparent;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
}

.areas-directory-thumb {
    display: none;
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid var(--line);
}

.areas-directory-row-text {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.areas-directory-row-text h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.areas-directory-row-text p {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
    margin: 0;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.areas-directory-row.is-active,
.areas-directory-row:focus-visible {
    background: rgba(255, 199, 44, 0.05);
    border-left-color: var(--gold);
}

.areas-directory-row.is-active h3,
.areas-directory-row:focus-visible h3 {
    color: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
    .areas-directory-row:hover {
        background: rgba(255, 199, 44, 0.05);
        border-left-color: var(--gold);
    }

    .areas-directory-row:hover h3 {
        color: var(--gold);
    }
}

.areas-directory-preview {
    position: sticky;
    top: 108px;
}

.areas-preview-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 199, 44, 0.26);
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.areas-preview-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #101013;
    overflow: hidden;
}

.areas-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.22s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.areas-preview-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 14, 17, 0.88) 0%, transparent 55%);
    pointer-events: none;
}

.areas-preview-region {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(5, 5, 7, 0.78);
    border: 1px solid rgba(255, 199, 44, 0.35);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.areas-preview-body {
    padding: 22px 24px 24px;
}

.areas-preview-body h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--white);
    margin: 0 0 8px;
}

.areas-preview-body p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 20px;
}

.areas-preview-body .button {
    width: 100%;
    text-align: center;
}

@media (max-width: 900px) {
    .areas-directory-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .areas-directory-preview {
        display: none;
    }

    .areas-directory-thumb {
        display: block;
    }

    .areas-directory-row {
        padding: 14px 6px;
        border-left: none;
    }

    .areas-directory-row.is-active {
        background: transparent;
        border-left-color: transparent;
    }

    .areas-directory-row.is-active h3 {
        color: var(--white);
    }

    .areas-directory-row-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .areas-directory-row-text p {
        text-align: left;
        white-space: normal;
    }
}

/* =========================================================
   BLOG-STYLE EDITORIAL AREA PAGES (/neighbourhoods/<city>)
========================================================= */

.area-article-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 136px 24px 96px;
}

.area-article-header {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.area-article-header .hood-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.area-article-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.15rem, 4.4vw, 3.35rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin: 0;
}

.area-article-title span {
    color: var(--gold);
}

.area-article-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 18px;
    background: var(--gold);
    border-radius: 999px;
}

.area-article-lead {
    margin: 20px 0 0;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.68;
    color: var(--white-soft);
}

.area-article-byline {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.area-article-byline img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 199, 44, 0.5);
    user-select: none;
    pointer-events: none;
}

.area-article-byline-text {
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--muted);
}

.area-article-byline-text strong {
    color: var(--white);
    font-weight: 600;
}

.area-article-figure {
    margin: 34px 0 0;
}

.area-article-figure picture,
.area-article-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #111;
}

.area-article-figure figcaption {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(244, 243, 238, 0.54);
}

.area-article-section {
    margin-top: 48px;
}

.area-article-section h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 16px;
}

.area-article-section p {
    font-size: 15.5px;
    line-height: 1.75;
    color: rgba(244, 243, 238, 0.82);
    margin: 0 0 16px;
}

.area-article-section p a {
    color: var(--gold);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.area-article-section p a:hover {
    color: var(--white);
}

.area-article-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.area-article-list li {
    padding: 15px 18px;
    border-radius: 8px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.02);
    font-size: 15px;
    line-height: 1.65;
    color: rgba(244, 243, 238, 0.8);
}

.area-article-list li strong {
    color: var(--white);
    font-weight: 600;
}

.area-ltt-callout {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    background: rgba(255, 199, 44, 0.06);
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--white-soft);
}

.area-article-faq {
    margin-top: 48px;
    padding-top: 42px;
    border-top: 1px solid var(--line);
}

.area-article-faq h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 8px;
}

.area-article-faq .faq-list {
    margin-top: 8px;
    max-width: none;
}

.area-article-faq .faq-question {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
}

.area-article-faq .faq-answer {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(244, 243, 238, 0.74);
    padding: 0 0 20px;
}

.area-article-cta {
    margin-top: 52px;
    padding: 36px 32px;
    border-radius: 14px;
    border: 1px solid rgba(255, 199, 44, 0.28);
    background: linear-gradient(180deg, rgba(22, 21, 18, 0.92) 0%, rgba(12, 12, 14, 0.96) 100%);
    text-align: center;
}

.area-article-cta h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 10px;
}

.area-article-cta p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 24px;
}

@media (max-width: 640px) {
    .area-article-wrap {
        padding: 108px 18px 72px;
    }

    .area-article-cta {
        padding: 28px 20px;
    }
}

/* =========================================================
   HOMEPAGE INTENT ROUTER CARDS (#paths)
========================================================= */

.home-paths {
    background: #070709;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.home-paths-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 36px;
}

.home-paths-header .section-subtitle {
    margin: 0;
    max-width: 440px;
    color: var(--muted);
}

.home-paths-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-path-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    .home-path-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 199, 44, 0.45);
    }
}

.home-path-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.home-path-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .home-path-card:hover .home-path-media img {
        transform: scale(1.03);
    }
}

.home-path-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 16, 20, 0.92) 0%, transparent 55%);
    pointer-events: none;
}

.home-path-tag {
    position: absolute;
    left: 20px;
    bottom: 14px;
    z-index: 2;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.home-path-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-path-body h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--white);
    margin: 0 0 10px;
}

.home-path-body p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 22px;
    flex: 1;
}

.home-path-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.home-path-secondary {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.home-path-secondary:hover {
    color: var(--white);
}

.home-paths-dual {
    margin-top: 22px;
    padding: 20px 26px;
    border-radius: 8px;
    border: 1px solid rgba(255, 199, 44, 0.24);
    background: rgba(255, 199, 44, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.home-paths-dual p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--white-soft);
}

.home-paths-dual p strong {
    color: var(--white);
    font-weight: 600;
}

@media (max-width: 900px) {
    .home-paths-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .home-paths-grid {
        grid-template-columns: 1fr;
    }

    .home-paths-dual {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .home-path-body {
        padding: 20px 20px 24px;
    }

    .home-paths-dual {
        padding: 18px 20px;
    }

    .home-paths-dual .button {
        width: 100%;
    }
}
