/* Haven & Dune — real estate demo site by Codexlogy */
:root {
    --ink: #11191b;
    --ink-2: #1c2628;
    --sand: #f6f1e9;
    --sand-2: #efe7da;
    --paper: #fffdf9;
    --gold: #b0844a;
    --gold-2: #d6b47c;
    --palm: #1f4a45;
    --palm-2: #2c6a62;
    --muted: #6d716d;
    --line: #e6ddcf;
    --ok: #2f8f63;
    --radius: 22px;
    --shadow: 0 24px 60px -28px rgba(17, 25, 27, .35);
    --shadow-sm: 0 8px 24px -14px rgba(17, 25, 27, .3);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Outfit', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 1.6rem + 4.6vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.7rem); }
h3 { font-size: 1.6rem; }
em.gold, .gold { color: var(--gold); font-style: italic; }
.muted { color: var(--muted); }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1b1408; box-shadow: 0 12px 30px -12px rgba(176, 132, 74, .7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--palm); }
.btn-line { border: 1px solid var(--line); background: #fff; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); }
.btn-sm { padding: 9px 15px; font-size: .85rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 500; transition: .2s; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(6px); }
.badge.offplan { background: var(--gold); color: #1b1408; }
.badge.rent { background: var(--palm); color: #fff; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.cur-select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; font-size: .85rem; font-weight: 600; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.15rem; transition: .2s; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #1b1408; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.icon-btn .count:empty { display: none; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; margin-top: -78px; padding: 150px 0 70px; }
.hero-bg { position: absolute; inset: 0; background: var(--ink) center/cover no-repeat; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 15, .72) 0%, rgba(10, 14, 15, .2) 65%), linear-gradient(180deg, rgba(10, 14, 15, .5) 0%, rgba(10, 14, 15, .1) 40%, rgba(10, 14, 15, .85) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero .container { position: relative; }
.hero h1 { max-width: 900px; margin: 18px 0 18px; }
.hero .lead { max-width: 560px; font-size: 1.15rem; color: rgba(255, 255, 255, .82); }
.hero .eyebrow { color: var(--gold-2); }
.search-panel { margin-top: 38px; background: rgba(255, 253, 249, .97); color: var(--ink); border-radius: 26px; padding: 10px; box-shadow: var(--shadow); max-width: 980px; }
.search-tabs { display: flex; gap: 4px; padding: 6px 6px 10px; }
.search-tabs button { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.search-tabs button.on { background: var(--ink); color: #fff; }
.search-tabs .ai-tab { margin-left: auto; color: var(--gold); display: inline-flex; gap: 6px; align-items: center; }
.search-tabs .ai-tab.on { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1b1408; }
.search-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 6px; }
.field { background: var(--sand); border-radius: 18px; padding: 10px 16px; display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field select, .field input { border: 0; background: transparent; outline: none; font-weight: 600; padding: 2px 0; width: 100%; }
.search-row .btn { border-radius: 18px; padding: 0 28px; height: auto; }
.ai-row { display: none; gap: 6px; }
.ai-row .field { flex: 1; }
.ai-row .field input { font-weight: 500; font-size: 1.02rem; }
.search-panel.ai .search-row { display: none; }
.search-panel.ai .ai-row { display: flex; }
.ai-hints { display: none; flex-wrap: wrap; gap: 6px; padding: 10px 6px 4px; }
.search-panel.ai .ai-hints { display: flex; }
.ai-hints button { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.ai-hints button:hover { background: var(--sand-2); }
.hero-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.hero-stats span { font-size: .85rem; color: rgba(255, 255, 255, .7); }

/* Sections */
section { padding: 110px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.sec-head h2 { margin-top: 14px; max-width: 700px; }
.sec-head p { max-width: 460px; color: var(--muted); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .muted, .bg-ink .sec-head p { color: rgba(255, 255, 255, .62); }

/* Property cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card.hl { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.card-actions button { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; font-size: 1.05rem; transition: .2s; }
.card-actions button:hover { transform: scale(1.08); }
.card-actions button.on { background: var(--gold); color: #1b1408; }
.card-actions .fav.on { background: #fff; color: #d64545; }
.match-pill { position: absolute; bottom: 14px; left: 14px; background: var(--ink); color: var(--gold-2); font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.commute-pill { position: absolute; bottom: 14px; right: 14px; background: rgba(255, 255, 255, .94); font-weight: 600; font-size: .78rem; padding: 6px 10px; border-radius: 999px; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-price { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.card-price small { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--muted); }
.card-title { font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.card-loc { color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 5px; }
.specs { display: flex; gap: 16px; padding-top: 12px; margin-top: auto; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--ink-2); }
.specs span { display: inline-flex; align-items: center; gap: 5px; }
.specs i { color: var(--gold); }

/* Lifestyle match quiz */
.quiz { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.quiz-box { background: #fff; border-radius: 28px; padding: 34px; box-shadow: var(--shadow); color: var(--ink); min-height: 340px; display: flex; flex-direction: column; }
.quiz-progress { height: 4px; background: var(--sand-2); border-radius: 4px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .4s; }
.quiz-step { display: none; animation: fadeUp .45s ease; }
.quiz-step.on { display: block; }
.quiz-step h3 { font-size: 2rem; margin-bottom: 20px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opts button { text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line); font-weight: 600; display: flex; gap: 12px; align-items: center; transition: .2s; }
.quiz-opts button i { font-size: 1.4rem; color: var(--gold); }
.quiz-opts button:hover, .quiz-opts button.on { border-color: var(--gold); background: var(--sand); }
.quiz-results { display: grid; gap: 12px; }
.qr { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); transition: .2s; }
.qr:hover { border-color: var(--gold); }
.qr img { width: 88px; height: 66px; object-fit: cover; border-radius: 12px; }
.qr b { display: block; font-size: .95rem; line-height: 1.3; }
.qr .score { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--gold); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Areas mosaic */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.area { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.area:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.area:nth-child(4), .area:nth-child(7) { grid-column: span 2; }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s; }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(10, 14, 15, .85)); }
.area:hover img { transform: scale(1.07); }
.area h3 { font-size: 1.9rem; }
.area p { font-size: .85rem; color: rgba(255, 255, 255, .75); }
.area .ppsf { position: absolute; top: 18px; left: 18px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; background: #fff; border-radius: 30px; padding: 40px; border: 1px solid var(--line); }
.calc-fields { display: grid; gap: 22px; }
.range-field label { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.range-field label output { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--gold); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--sand-2) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: var(--shadow-sm); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); cursor: pointer; }
.calc-out { background: var(--ink); color: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.donut { width: 210px; height: 210px; position: relative; }
.donut svg { transform: rotate(-90deg); }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; }
.donut-center b { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.donut-center span { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.legend { display: flex; gap: 18px; font-size: .85rem; flex-wrap: wrap; justify-content: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.calc-break { width: 100%; display: grid; gap: 8px; font-size: .9rem; }
.calc-break div { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255, 255, 255, .14); padding-bottom: 8px; }

/* Agents & testimonials */
.agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.agent { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.agent img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(.25); transition: .5s; }
.agent:hover img { filter: none; }
.agent div { padding: 18px; }
.agent b { font-family: var(--serif); font-size: 1.4rem; display: block; }
.agent span { font-size: .85rem; color: var(--muted); display: block; }
.agent .row { display: flex; gap: 8px; margin-top: 12px; }
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); line-height: 1.2; font-style: italic; max-width: 900px; }

/* CTA band */
.cta-band { position: relative; border-radius: 34px; overflow: hidden; padding: 70px 60px; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: var(--palm); isolation: isolate; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(31, 74, 69, .96) 30%, rgba(31, 74, 69, .5)); }

.demo-ribbon { position: fixed; bottom: 18px; left: 18px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.demo-ribbon a { color: var(--gold-2); }

/* Compare tray + modal, drawer, toast */
.compare-tray { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 150%); z-index: 70; background: var(--ink); color: #fff; border-radius: 20px; padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2, .9, .3, 1.2); }
.compare-tray:not(.show) { visibility: hidden; }
.compare-tray.show { transform: translate(-50%, 0); visibility: visible; }
.compare-tray .thumbs { display: flex; gap: 6px; }
.compare-tray .thumbs img { width: 48px; height: 38px; border-radius: 8px; object-fit: cover; border: 2px solid rgba(255, 255, 255, .2); }
.compare-tray .thumbs .slot { width: 48px; height: 38px; border-radius: 8px; border: 2px dashed rgba(255, 255, 255, .25); }
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(10, 14, 15, .6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.overlay.show { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { background: var(--paper); border-radius: 28px; width: min(1000px, 100%); max-height: 90vh; overflow: auto; padding: 32px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.cmp-table th, .cmp-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.cmp-table th { color: var(--muted); font-weight: 500; width: 160px; }
.cmp-table td img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 8px; }
.cmp-table .best { color: var(--ok); font-weight: 700; }
.cmp-table .best::after { content: " ★"; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 90; background: var(--paper); box-shadow: var(--shadow); transform: translateX(105%); transition: transform .4s; display: flex; flex-direction: column; }
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 18px 24px; overflow: auto; flex: 1; display: grid; gap: 12px; align-content: start; }
.drawer-foot { padding: 18px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.toast { position: fixed; top: 96px; left: 50%; transform: translate(-50%, -20px); opacity: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: .3s; pointer-events: none; display: flex; gap: 8px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--gold-2); }

/* Listings page */
.page-head { padding: 50px 0 26px; background: var(--sand); }
.page-head h1 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); margin-top: 10px; }
.filters { position: sticky; top: 78px; z-index: 30; background: rgba(255, 253, 249, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.filters .container { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters select, .filters input[type=search] { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; font-size: .88rem; font-weight: 500; outline: none; }
.filters input[type=search] { min-width: 220px; }
.seg { display: inline-flex; padding: 4px; background: var(--sand); border-radius: 999px; }
.seg button { padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.filters .spacer { flex: 1; }
.commute-box { display: inline-flex; gap: 6px; align-items: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 6px 4px 14px; font-size: .85rem; }
.commute-box select { background: transparent; border: 0; color: var(--gold-2); padding: 6px 4px; font-weight: 700; }
.commute-box select option { color: var(--ink); }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 26px; padding: 26px 0 80px; }
.listing-layout.no-map { grid-template-columns: 1fr; }
.listing-layout.no-map .map-col { display: none; }
.listing-layout.no-map .grid { grid-template-columns: repeat(3, 1fr); }
.listing-layout .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.result-bar b { font-family: var(--serif); font-size: 1.5rem; }
.map-col { position: sticky; top: 160px; height: calc(100vh - 190px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
#map { width: 100%; height: 100%; background: var(--sand-2); }
.leaflet-tile-pane { filter: grayscale(.55) sepia(.18) brightness(1.04) contrast(.95); }
.price-pin { background: var(--ink); color: #fff; font-weight: 700; font-size: .78rem; padding: 6px 10px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); border: 2px solid #fff; transform: translate(-50%, -50%); display: inline-block; transition: .2s; }
.price-pin.on { background: var(--gold); color: #1b1408; transform: translate(-50%, -50%) scale(1.15); z-index: 1000; }
.leaflet-div-icon { background: none !important; border: 0 !important; }
.leaflet-popup-content-wrapper { border-radius: 16px !important; }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Property page */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; border-radius: 26px; overflow: hidden; margin-top: 24px; }
.gallery button { position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:first-child { grid-row: span 2; }
.gallery .more { position: absolute; inset: 0; background: rgba(10, 14, 15, .55); color: #fff; display: grid; place-items: center; font-weight: 600; }
.prop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-top: 30px; }
.prop-head h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); max-width: 760px; }
.prop-price { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; text-align: right; }
.prop-price small { display: block; font-family: var(--sans); font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: 6px; }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding: 40px 0 90px; }
.prop-layout > * { min-width: 0; }
.key-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.key-facts div { background: var(--sand); border-radius: 18px; padding: 16px; }
.key-facts i { color: var(--gold); font-size: 1.3rem; }
.key-facts b { display: block; font-size: 1.15rem; }
.key-facts span { font-size: .8rem; color: var(--muted); }
.block { padding: 34px 0; border-bottom: 1px solid var(--line); }
.block h2 { font-size: 2.1rem; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.pano { position: relative; height: 380px; border-radius: 22px; overflow: hidden; cursor: grab; background: var(--ink) 0 50% / auto 100% repeat-x; user-select: none; touch-action: pan-y; }
.pano.dragging { cursor: grabbing; }
.pano-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(10, 14, 15, .7); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .82rem; display: flex; gap: 8px; align-items: center; pointer-events: none; }
.pano-hot { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--gold); box-shadow: 0 0 0 8px rgba(255, 255, 255, .25); animation: pulse 2s infinite; }
.pano-hot span { position: absolute; bottom: 44px; white-space: nowrap; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; opacity: 0; transition: .2s; }
.pano-hot:hover span { opacity: 1; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
.floorplan { background: var(--sand); border-radius: 22px; padding: 20px; }
.floorplan svg { width: 100%; height: auto; }
.floorplan .room { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: fill .2s; }
.floorplan .room:hover { fill: #f3e6cf; }
.floorplan text { font-family: var(--sans); font-size: 13px; fill: var(--ink-2); pointer-events: none; }
.scores { display: grid; gap: 14px; }
.score-row { display: grid; grid-template-columns: 130px 1fr 40px; gap: 12px; align-items: center; font-size: .92rem; }
.score-bar { height: 8px; background: var(--sand-2); border-radius: 8px; overflow: hidden; }
.score-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--palm-2), var(--gold)); border-radius: 8px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.commute-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 18px; }
.commute-list div { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: .9rem; }
.commute-list b { color: var(--palm); }
.spark { width: 100%; height: 140px; }
.side-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.agent-mini { display: flex; gap: 12px; align-items: center; }
.agent-mini img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.agent-mini b { font-family: var(--serif); font-size: 1.3rem; display: block; line-height: 1.1; }
.agent-mini span { font-size: .8rem; color: var(--muted); }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 62px; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.days button { border: 1px solid var(--line); border-radius: 14px; padding: 8px 0; text-align: center; font-size: .75rem; color: var(--muted); }
.days button b { display: block; font-size: 1.2rem; color: var(--ink); font-family: var(--serif); }
.days button.on { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .7); }
.days button.on b { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots button { border: 1px solid var(--line); border-radius: 10px; padding: 8px 0; font-size: .82rem; font-weight: 600; }
.slots button.on { background: var(--gold); border-color: var(--gold); color: #1b1408; }
.slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.form-grid { display: grid; gap: 10px; }
.form-grid input:not([type=range]):not([type=checkbox]), .form-grid select, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--paper); outline: none; font-size: .92rem; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--gold); }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(8, 10, 11, .94); display: none; align-items: center; justify-content: center; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: 16px; }
.lightbox button { position: absolute; color: #fff; font-size: 2rem; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; } .lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-count { position: absolute; bottom: 24px; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* Sell / valuation */
.val { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.val-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.val-result { background: var(--ink); color: #fff; border-radius: 28px; padding: 32px; position: sticky; top: 100px; }
.val-result .range { font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1.05; margin: 10px 0 6px; }
.val-meter { position: relative; height: 12px; border-radius: 12px; background: linear-gradient(90deg, #3a5a55, var(--gold), #e9c98f); margin: 30px 0 12px; }
.val-meter i { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); transform: translate(-50%, -50%); transition: left .6s cubic-bezier(.2, .8, .2, 1); }
.val-scale { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.steps-list { counter-reset: s; display: grid; gap: 16px; }
.steps-list li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 1.8rem; color: var(--gold); font-weight: 700; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* Responsive */
@media (max-width: 1100px) {
    .grid, .listing-layout.no-map .grid { grid-template-columns: repeat(2, 1fr); }
    .listing-layout { grid-template-columns: 1fr; }
    .map-col { position: relative; top: 0; height: 380px; order: -1; }
    .agents { grid-template-columns: repeat(2, 1fr); }
    .prop-layout { grid-template-columns: minmax(0, 1fr); }
    .side-card { position: static; }
}
@media (max-width: 900px) {
    .header-tools .hide-md { display: none; }
    .search-row { grid-template-columns: 1fr 1fr; }
    .search-row .field:first-child { grid-column: span 2; }
    .search-row .btn { grid-column: span 2; padding: 14px; }
    .quiz, .calc, .val, .cta-band { grid-template-columns: 1fr; }
    .areas { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .area:nth-child(n) { grid-column: auto; grid-row: auto; }
    .area:nth-child(1) { grid-column: span 2; }
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px; }
    .gallery button:first-child { grid-column: span 2; grid-row: auto; }
    .gallery button:nth-child(n+4) { display: none; }
    .key-facts { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 46px 28px; }
    section { padding: 80px 0; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 32px); }
    .grid, .listing-layout .grid, .listing-layout.no-map .grid, .agents { grid-template-columns: 1fr; }
    .quiz-opts { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-stats { gap: 24px; }
    .header-tools { gap: 6px; }
    .icon-btn { width: 38px; height: 38px; }
    .search-tabs { overflow-x: auto; scrollbar-width: none; }
    .search-tabs button { white-space: nowrap; padding: 8px 13px; }
    .search-tabs .ai-tab { margin-left: 0; }
    .cur-select { padding: 7px 8px; }
    .filters input[type=search] { min-width: 0; flex: 1; }
    .score-row { grid-template-columns: 100px 1fr 34px; }
    .calc, .val-card, .val-result, .quiz-box, .modal { padding: 22px; }
    .demo-ribbon { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ── Header: market strip, monogram, mega menus, transparent over the home hero ── */
.hd-strip { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .78rem; }
.hd-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 38px; }
.hd-market { display: flex; align-items: center; gap: 26px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; min-width: 0; }
.hd-market::-webkit-scrollbar { display: none; }
.hd-market .live { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; }
.hd-market .live .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: hdlive 2s infinite; }
@keyframes hdlive { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.mk { display: inline-flex; align-items: baseline; gap: 6px; }
.mk b { color: #fff; font-weight: 500; }
.mk em { font-style: normal; font-weight: 600; display: inline-flex; align-items: center; }
.mk em.up { color: #34d399; } .mk em.down { color: #fca5a5; }
.hd-strip-r { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.hd-strip-r a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.hd-strip-r a:hover { color: var(--gold-2); }
.langs { letter-spacing: .08em; }

.hd-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .35s, border-color .35s, box-shadow .35s, color .35s; }
.hd-header.scrolled { box-shadow: var(--shadow-sm); }
.hd-header > .container { position: relative; display: flex; align-items: center; gap: 30px; height: 78px; }
.hd-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hd-mono { width: 46px; height: 46px; color: var(--gold); display: grid; place-items: center; transition: color .35s, transform .6s; }
.hd-mono svg { width: 100%; height: 100%; }
.hd-logo:hover .hd-mono { transform: rotate(-8deg); }
.hd-word { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.hd-word small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 6px; transition: color .35s; }
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; height: 100%; }
.hd-dd { position: static; height: 100%; display: flex; align-items: center; }
.hd-top { position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; padding: 8px 12px; font: inherit; font-weight: 500; font-size: .95rem; background: none; border: 0; color: inherit; cursor: pointer; }
.hd-top::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.hd-top:hover::after, .hd-top.active::after, .hd-dd:hover .hd-top::after, .hd-dd.open .hd-top::after { transform: scaleX(1); }
.hd-top i { transition: transform .25s; }
.hd-dd:hover .hd-top i, .hd-dd.open .hd-top i { transform: rotate(180deg); }
.hd-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 0 0 26px 26px; box-shadow: 0 40px 70px -40px rgba(17, 25, 27, .5); padding: 28px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .22s, transform .22s, visibility .22s; }
.hd-dd:hover .hd-panel, .hd-dd:focus-within .hd-panel, .hd-dd.open .hd-panel { opacity: 1; visibility: visible; transform: none; }
.hd-panel h6 { font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.hd-buy { display: grid; grid-template-columns: .8fr 1.6fr 1fr; gap: 30px; }
.tp { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; font-weight: 500; transition: background .2s; }
.tp i { width: 38px; height: 38px; border-radius: 12px; background: var(--sand); color: var(--gold); display: grid; place-items: center; font-size: 1.1rem; }
.tp:hover { background: var(--sand); }
.hd-panel .all { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; padding: 0 12px; color: var(--gold); font-weight: 600; font-size: .9rem; }
.ac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-grid.four { grid-template-columns: repeat(4, 1fr); }
.ac { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; color: #fff; isolation: isolate; }
.ac img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.ac::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(17, 25, 27, .82)); }
.ac:hover img { transform: scale(1.07); }
.ac span { position: absolute; left: 14px; right: 14px; bottom: 12px; }
.ac b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.ac small { font-size: .74rem; opacity: .85; }
.hd-feature { position: relative; border-radius: 20px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; min-height: 230px; isolation: isolate; }
.hd-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hd-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 74, 69, .2), rgba(17, 25, 27, .9)); }
.hd-feature span { padding: 20px; display: grid; gap: 6px; }
.hd-feature em { font-style: normal; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.hd-feature b { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.hd-feature small { color: var(--gold-2); font-weight: 600; }
.hd-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; white-space: nowrap; margin-right: 6px; }
.hd-phone i { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); transition: border-color .35s; }
.hd-phone small { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; transition: color .35s; }
.hd-burger { display: none; }
/* Transparent over the home hero until you scroll */
.hd-header.over:not(.scrolled) { background: transparent; border-color: rgba(255, 255, 255, .14); backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.hd-header.over:not(.scrolled) .hd-mono { color: var(--gold-2); }
.hd-header.over:not(.scrolled) .hd-word small, .hd-header.over:not(.scrolled) .hd-phone small { color: rgba(255, 255, 255, .7); }
.hd-header.over:not(.scrolled) .hd-phone i { border-color: rgba(255, 255, 255, .3); }
.hd-header.over:not(.scrolled) .cur-select, .hd-header.over:not(.scrolled) .icon-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hd-header.over:not(.scrolled) .cur-select option { color: var(--ink); }

.hd-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto;
    background-image: linear-gradient(180deg, rgba(17, 25, 27, .92), rgba(17, 25, 27, .98)), url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=900&q=60'); background-size: cover; background-position: center; }
.hd-menu.open { opacity: 1; visibility: visible; }
.hd-menu-inner { width: min(560px, 100% - 32px); margin: 0 auto; padding: 18px 0 40px; display: flex; flex-direction: column; gap: 26px; min-height: 100%; }
.hd-menu-head { display: flex; justify-content: space-between; align-items: center; }
.hd-menu-head .hd-mono { color: var(--gold-2); }
.hd-menu-head .hd-word small { color: rgba(255, 255, 255, .6); }
.hd-menu-x { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.hd-menu-nav { display: grid; }
.hd-menu-nav a { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1.2; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); transform: translateY(14px); opacity: 0; transition: transform .5s, opacity .5s, color .2s; }
.hd-menu.open .hd-menu-nav a { transform: none; opacity: 1; }
.hd-menu.open .hd-menu-nav a:nth-child(2) { transition-delay: .05s; } .hd-menu.open .hd-menu-nav a:nth-child(3) { transition-delay: .1s; } .hd-menu.open .hd-menu-nav a:nth-child(4) { transition-delay: .15s; } .hd-menu.open .hd-menu-nav a:nth-child(5) { transition-delay: .2s; }
.hd-menu-nav a.active, .hd-menu-nav a:hover { color: var(--gold-2); font-style: italic; }
.hd-menu-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-menu-areas a { border: 1px solid rgba(255, 255, 255, .2); padding: 7px 14px; border-radius: 999px; font-size: .85rem; }
.hd-menu-foot { display: grid; gap: 10px; margin-top: auto; }

/* ── Footer: off-market alerts, office + communities, credentials, gold wordmark ── */
.hd-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 0 0 26px; position: relative; overflow: hidden; }
.hd-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; background: radial-gradient(700px 300px at 85% 0, rgba(176, 132, 74, .18), transparent 70%); pointer-events: none; }
.hd-footer a:hover { color: var(--gold-2); }
.hd-alerts { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 70px 0 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hd-alerts h3 { font-family: var(--serif); color: #fff; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); font-weight: 500; line-height: 1.05; margin: 10px 0 12px; }
.hd-alerts h3 em { color: var(--gold-2); }
.hd-alerts p { max-width: 460px; }
.hd-alert-form { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px; }
.hd-alert-form input, .hd-alert-form select { background: transparent; border: 0; color: #fff; font: inherit; padding: 0 16px; outline: none; min-width: 0; }
.hd-alert-form select { border-left: 1px solid rgba(255, 255, 255, .14); cursor: pointer; }
.hd-alert-form select option { color: var(--ink); }
.hd-alert-form input::placeholder { color: rgba(255, 255, 255, .5); }
.hd-ft-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.5fr; gap: 44px; padding: 56px 0 40px; }
.hd-ft-grid h4 { color: #fff; font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; }
.hd-ft-grid > div > a:not(.hd-logo) { display: block; padding: 5px 0; font-size: .94rem; }
.hd-ft-brand .hd-logo { color: #fff; }
.hd-ft-brand .hd-mono { color: var(--gold-2); }
.hd-ft-brand .hd-word small { color: rgba(255, 255, 255, .5); }
.hd-ft-brand blockquote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: #fff; margin: 22px 0; padding-left: 16px; border-left: 2px solid var(--gold); }
.hd-office p { display: flex; gap: 10px; margin: 0 0 8px; font-size: .92rem; }
.hd-office i { color: var(--gold-2); }
.hd-social { display: flex; gap: 8px; margin-top: 18px; }
.hd-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; transition: all .25s; }
.hd-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.mini-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-areas a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; transition: border-color .2s, background .2s; }
.mini-areas a:hover { border-color: var(--gold); background: rgba(176, 132, 74, .08); }
.mini-areas img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.hd-creds { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 30px; }
.hd-creds span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 8px 16px; font-size: .82rem; }
.hd-creds i { color: var(--gold-2); }
.hd-wordmark { font-family: var(--serif); font-weight: 500; font-size: clamp(3.6rem, 1rem + 12vw, 12.5rem); line-height: .9; letter-spacing: -.02em; text-align: center; white-space: nowrap; user-select: none; margin: 10px 0 0;
    background: linear-gradient(180deg, rgba(214, 180, 124, .55), rgba(214, 180, 124, .04) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hd-wordmark em { font-style: italic; }
.hd-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: .84rem; }
.hd-bottom nav { display: flex; gap: 18px; }
.hd-bottom a[href="../../"] { color: var(--gold-2); }

@media (max-width: 1240px) {
    .hd-phone { display: none; }
    .hd-strip-r .langs { display: none; }
}
@media (max-width: 1100px) {
    .hd-nav { display: none; }
    .hd-burger { display: grid; }
    .header-tools { margin-left: auto; }
    .hd-ft-grid { grid-template-columns: 1fr 1fr; }
    .hd-alerts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hd-strip-r { display: none; }
    .hd-word { font-size: 1.35rem; }
    .hd-word small { display: none; }
    .hd-mono { width: 38px; height: 38px; }
    .hd-header > .container { gap: 10px; }
    .hd-alert-form { grid-template-columns: 1fr; border-radius: 22px; padding: 10px; }
    .hd-alert-form input, .hd-alert-form select { padding: 12px 10px; }
    .hd-alert-form select { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
    .hd-ft-grid { grid-template-columns: 1fr; gap: 32px; }
    .hd-ft-grid > * { min-width: 0; }
    .hd-wordmark { font-size: 15vw; }
    .hd-bottom { flex-direction: column; align-items: flex-start; }
    .hd-menu-nav a { font-size: 2.2rem; }
}
