/* A Dream Realty - site styles */

:root {
    --ink: #1c1b19;
    --ink-2: #26241f;
    --ink-3: #141312;
    --cream: #f6f2e9;
    --cream-2: #efe8da;
    --white: #ffffff;
    --gold: #c19a5b;
    --gold-deep: #7a5c2b;
    --text: #2b2925;
    --muted: #5e5850;
    --line: #e2d9c7;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --container: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --header-top: 38px;
    --header-main: 92px;
    --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); text-wrap: balance; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: rgba(246, 242, 233, .82); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.kicker { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.kicker--light { color: var(--gold); }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head__lead { margin: 18px auto 0; color: var(--muted); max-width: 620px; }
.section-foot { text-align: center; margin-top: 48px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 0 28px;
    font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.text-link { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.text-link:hover { color: var(--gold-deep); }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.header-top { height: var(--header-top); background: rgba(20, 19, 18, .55); color: rgba(255, 255, 255, .9); font-size: .78rem; letter-spacing: .04em; }
.header-top__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-top__phone { text-decoration: none; font-weight: 600; letter-spacing: .08em; }
.header-top__phone:hover { color: var(--gold); }
.header-main { height: var(--header-main); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: block; flex: 0 0 auto; width: clamp(220px, 21vw, 290px); }
.site-logo img { width: 100%; height: auto; }
.site-logo__dark { display: none; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.site-nav__list a:hover { border-bottom-color: var(--gold); }
.site-nav__cta { min-height: 44px; padding: 0 20px; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: transparent; border: 0; color: var(--white); cursor: pointer; padding: 8px 0; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.nav-toggle__bars { display: grid; gap: 5px; width: 26px; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header.is-solid, .site-header.is-sticky { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid { position: sticky; }
.site-header.is-sticky { position: fixed; animation: header-in .35s ease; }
.site-header.is-sticky .header-top { display: none; }
.site-header.is-sticky .header-main { height: 78px; }
.site-header.is-sticky .site-logo { width: clamp(200px, 18vw, 250px); }
.site-header.is-solid .header-top { background: var(--ink); }
.site-header.is-solid .site-logo__light, .site-header.is-sticky .site-logo__light { display: none; }
.site-header.is-solid .site-logo__dark, .site-header.is-sticky .site-logo__dark { display: block; }
.site-header.is-solid .site-nav__list a, .site-header.is-sticky .site-nav__list a, .site-header.is-solid .nav-toggle, .site-header.is-sticky .nav-toggle { color: var(--ink); }
.site-header.is-solid .site-nav__cta, .site-header.is-sticky .site-nav__cta { background: var(--ink); border-color: var(--ink); color: var(--white); }
.site-header.is-solid .site-nav__cta:hover, .site-header.is-sticky .site-nav__cta:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.mobile-menu { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px var(--gutter) 32px; max-height: calc(100svh - 80px); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { list-style: none; margin: 0 0 24px; padding: 0; }
.mobile-menu__list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu__list a { display: block; padding: 15px 0; color: var(--white); text-decoration: none; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.mobile-menu__list a:active, .mobile-menu__list a:focus-visible { color: var(--gold); }
.mobile-menu__actions { display: grid; gap: 12px; }

/* Hero slider */
.hero { position: relative; display: flex; flex-direction: column; min-height: clamp(600px, 100svh, 900px); background: var(--ink); color: var(--white); overflow: hidden; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(20, 19, 18, .62) 0%, rgba(20, 19, 18, .18) 32%, rgba(20, 19, 18, .28) 62%, rgba(20, 19, 18, .62) 100%); }
.hero__captions { display: grid; width: 100%; }
.hero__caption { grid-area: 1 / 1; text-align: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .9s ease, transform .9s ease, visibility 0s linear .9s; }
.hero__caption.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s ease .25s, transform .9s ease .25s; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, min(5.4vw, 8.6vh), 4.9rem); line-height: 1.04; margin: 0 auto 16px; max-width: 980px; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.hero__text { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 500; max-width: 600px; margin: 0 auto; color: var(--white); text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 42% at 50% 40%, rgba(20, 19, 18, .34), rgba(20, 19, 18, 0) 100%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide img, .hero__caption { transition: none; transform: none; } }

.hero__overlay { position: relative; z-index: 3; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(22px, 4vh, 40px); padding-top: calc(var(--header-top) + var(--header-main) + 24px); padding-bottom: 112px; }
.hero-search { width: min(720px, 100%); }
.hero-search__tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.hero-search__tabs button { background: transparent; color: var(--white); border: 1px solid transparent; border-radius: 999px; padding: 7px 18px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.hero-search__tabs button:hover { border-color: rgba(255, 255, 255, .6); }
.hero-search__tabs button.is-active { background: var(--white); color: var(--ink); }
.hero-search__panel { background: var(--white); color: var(--text); padding: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.hero-search__panel[hidden] { display: none; }
.hero-search__panel p { margin: 6px 12px; font-size: .95rem; }
.hero-search__panel:not(:has(form)) { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 8px; }
.hero-search__panel[hidden]:not(:has(form)) { display: none; }
.hero-search__form { display: flex; gap: 10px; }
.hero-search__form input { flex: 1 1 auto; min-width: 0; height: 50px; border: 0; padding: 0 16px; font-size: .98rem; color: var(--text); background: var(--white); }
.hero-search__form input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--gold); }

.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.hero__arrow { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .55); background: transparent; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.hero__arrow:hover { background: var(--white); color: var(--ink); }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.hero__dots button.is-active { background: var(--gold); }

/* Intro */
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.intro__media { position: relative; padding: 0 0 22px 22px; }
.intro__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 82%; height: 82%; border: 1px solid var(--gold); }
.intro__media picture { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.intro__copy h2 { max-width: 560px; }
.intro__copy > p { color: var(--muted); max-width: 600px; }
.intro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 26px 0 0; margin: 30px 0 0; border-top: 1px solid var(--line); max-width: 560px; }
.intro__facts li { padding-right: 16px; }
.intro__facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.intro__facts strong { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--ink); font-weight: 600; }
.intro__facts span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* Paths */
.paths__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.path { display: flex; flex-direction: column; padding: 38px 30px 40px; text-decoration: none; color: inherit; transition: background .3s; }
.path + .path { border-left: 1px solid rgba(255, 255, 255, .14); }
.path:hover { background: rgba(255, 255, 255, .04); }
.path__no { font-size: .78rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 26px; font-weight: 600; }
.path__title { font-size: 1.85rem; margin-bottom: 12px; }
.path__text { font-size: .92rem; color: rgba(246, 242, 233, .78); flex: 1 1 auto; }
.path__link { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--white); border-bottom: 1px solid var(--gold); align-self: flex-start; padding-bottom: 4px; margin-top: 10px; }
.path:hover .path__link { color: var(--gold); }

/* Featured listing */
.listing-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.listing-feature__gallery { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; text-decoration: none; aspect-ratio: 3 / 2; }
.listing-feature__gallery picture { overflow: hidden; }
.listing-feature__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.listing-feature__gallery:hover img { transform: scale(1.03); }
.listing-feature__main { grid-row: 1 / 3; }
.status-badge { position: absolute; top: 18px; left: 18px; background: var(--white); color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; }
.listing-feature__price { font-family: var(--serif); font-size: clamp(2.4rem, 3.4vw, 3rem); font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 12px; }
.listing-feature__address { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 22px; }
.listing-feature__address span { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.listing-specs { display: flex; flex-wrap: wrap; list-style: none; padding: 16px 0; margin: 0 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.listing-specs li { font-size: .85rem; color: var(--muted); padding: 0 18px; }
.listing-specs li:first-child { padding-left: 0; }
.listing-specs li + li { border-left: 1px solid var(--line); }
.listing-specs strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.listing-feature__body > p { color: var(--muted); }
.listing-feature__mls { font-size: .75rem; color: var(--muted); margin: 22px 0 0; }

/* Sold */
.sold__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sold-card { background: var(--white); border: 1px solid var(--line); padding: 28px 28px 26px; }
.sold-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.sold-card__badge { background: var(--ink); color: var(--white); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; }
.sold-card__role { font-size: .75rem; color: var(--gold-deep); font-weight: 600; letter-spacing: .04em; text-align: right; }
.sold-card__price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.sold-card__town { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.sold-card__type { font-size: .9rem; color: var(--muted); margin: 0; }

/* Areas */
.areas__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.area-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; color: var(--white); background: var(--ink); }
.area-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.area-tile:hover img { transform: scale(1.05); }
.area-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 18, 0) 38%, rgba(20, 19, 18, .82) 100%); }
.area-tile__body { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; }
.area-tile__name { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; }
.area-tile__line { display: block; font-size: .85rem; color: rgba(255, 255, 255, .9); line-height: 1.5; margin-top: 4px; }
.areas__list { margin-top: 44px; }
.areas__list-title { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.areas__list ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.areas__list a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.areas__list a span { font-size: .8rem; color: var(--muted); font-weight: 400; }
.areas__list a:hover { color: var(--gold-deep); }

/* Valuation */
.valuation { position: relative; padding: clamp(80px, 10vw, 130px) 0; color: var(--white); text-align: center; overflow: hidden; }
.valuation__bg, .valuation__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.valuation__bg img { object-fit: cover; }
.valuation::after { content: ""; position: absolute; inset: 0; background: rgba(20, 19, 18, .74); }
.valuation__inner { position: relative; z-index: 1; max-width: 820px; }
.valuation h2 { color: var(--white); }
.valuation__inner > p { color: rgba(255, 255, 255, .88); max-width: 600px; margin-left: auto; margin-right: auto; }
.valuation__form { display: flex; gap: 10px; margin: 32px 0 14px; background: var(--white); padding: 10px; }
.valuation__form input { flex: 1 1 auto; min-width: 0; height: 50px; border: 0; padding: 0 16px; font-size: .98rem; color: var(--text); }
.valuation__form .valuation__unit { flex: 0 0 140px; border-left: 1px solid var(--line); }
.valuation__form input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--gold); }
.valuation__note { font-size: .82rem; color: rgba(255, 255, 255, .78) !important; }
.valuation--brand { background: var(--gold-deep); }
.valuation--brand::after { content: none; }
.valuation--brand .kicker { color: rgba(255, 255, 255, .85); }
.valuation--brand h2 { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 2px solid rgba(255, 255, 255, .7); display: inline-block; }
.valuation--brand .valuation__note { color: rgba(255, 255, 255, .85) !important; }
.hero__worth { margin-top: calc(-1 * clamp(8px, 2vh, 20px)); }

/* Review */
.review__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.review__quote { margin: 0; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--gold); }
.review__stars { color: var(--gold-deep); letter-spacing: .18em; font-size: 1rem; margin-bottom: 14px; }
.review__quote blockquote { margin: 0; }
.review__quote blockquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.35; color: var(--ink); }
.review__quote figcaption { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.review__quote figcaption span { display: block; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-top: 2px; }

/* CTA band */
.cta-band { background: var(--ink-2); color: rgba(246, 242, 233, .85); padding: clamp(56px, 7vw, 84px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(2rem, 3vw, 2.7rem); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .btn-row { margin-top: 0; }

/* Footer */
.site-footer { background: var(--ink-3); color: rgba(246, 242, 233, .74); font-size: .9rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 80px; padding-bottom: 56px; }
.site-footer__logo { display: inline-block; width: 250px; margin-bottom: 26px; }
.site-footer__logo img { width: 100%; }
.site-footer__brand p { line-height: 1.8; }
.site-footer__social { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.site-footer__title { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 9px; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 28px; padding-bottom: 24px; font-size: .78rem; line-height: 1.7; }
.site-footer__eho strong { color: var(--white); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: .78rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.site-footer__credit { color: var(--white) !important; }

/* Mobile quick bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1180px) {
    .site-nav__list { gap: 20px; }
    .site-nav { gap: 22px; }
}
@media (max-width: 1080px) {
    .site-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .site-header.menu-open { background: var(--ink); position: fixed; }
    .site-header.menu-open .header-top { display: none; }
    .site-header.menu-open .site-logo__light { display: block !important; }
    .site-header.menu-open .site-logo__dark { display: none !important; }
    .site-header.menu-open .nav-toggle { color: var(--white) !important; }
    .paths__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .path:nth-child(3) { border-left: 0; }
    .path:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
    .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    :root { --header-main: 76px; }
    .header-top__note { display: none; }
    .header-top__inner { justify-content: center; }
    .intro__grid, .listing-feature, .review__grid { grid-template-columns: minmax(0, 1fr); }
    .intro__media { max-width: 460px; }
    .sold__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .areas__list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 2px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; color: var(--white); text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
    .mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, .14); }
    body { padding-bottom: 56px; }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .site-logo { width: 210px; }
    .hero { min-height: max(620px, 92svh); }
    .hero__title { font-size: clamp(2.3rem, 10vw, 2.9rem); }
    .hero__overlay { padding-top: calc(var(--header-top) + var(--header-main) + 28px); padding-bottom: 96px; }
    .hide-sm { display: none; }
    .hero-search__tabs { gap: 6px; }
    .hero-search__tabs button { padding: 8px 18px; font-size: .7rem; }
    .hero-search__form { flex-direction: column; }
    .hero-search__form .btn { width: 100%; }
    .hero-search__panel:not(:has(form)) { flex-direction: column; align-items: stretch; text-align: center; }
    .hero__controls { bottom: 26px; }
    .paths__grid { grid-template-columns: minmax(0, 1fr); }
    .path + .path { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
    .path { padding: 30px 4px; }
    .sold__grid, .areas__grid { grid-template-columns: minmax(0, 1fr); }
    .listing-feature__gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; aspect-ratio: auto; }
    .listing-feature__main { grid-row: auto; aspect-ratio: 3 / 2; }
    .listing-feature__thumb { display: none; }
    .listing-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 0; }
    .listing-specs li, .listing-specs li:first-child { padding: 0 12px; }
    .listing-specs li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .areas__list ul { grid-template-columns: minmax(0, 1fr); }
    .valuation__form { flex-direction: column; }
    .valuation__form .valuation__unit { flex: 0 0 auto; border-left: 0; border-top: 1px solid var(--line); }
    .valuation__form .btn { width: 100%; }
    .cta-band .btn-row, .cta-band .btn { width: 100%; }
    .site-footer__top { grid-template-columns: minmax(0, 1fr); padding-top: 60px; }
    .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .intro__facts strong { font-size: 1.9rem; }
    .btn-row .btn { flex: 1 1 100%; }
}

/* Help popup: small call or text box */
.help-popup { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: min(360px, calc(100vw - 32px)); background: var(--white); color: var(--text); text-align: center; padding: 26px 24px 22px; border-top: 3px solid var(--gold); box-shadow: 0 18px 44px rgba(0, 0, 0, .22); opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
.help-popup[hidden] { display: none; }
.help-popup.is-open { opacity: 1; transform: none; }
.help-popup__close { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.help-popup__close:hover { color: var(--gold-deep); }
.help-popup__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.help-popup__text { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.help-popup__phone { display: block; font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; margin-bottom: 10px; }
.help-popup__phone:hover { color: var(--gold-deep); }
.help-popup__sms { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
    .help-popup { right: 16px; left: 16px; width: auto; bottom: calc(68px + env(safe-area-inset-bottom)); padding: 20px 20px 16px; }
    .help-popup__title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .help-popup { transition: none; transform: none; } }
