/* Miranda Jones, Equity Real Estate. "Through the door" concept.
   Palette (4, from her logo): brand #19336F, ice #AFC3FA, ink/night #0F1B3A, white. */
:root {
  --brand: #19336F;
  --brand-deep: #13295C;
  --ice: #AFC3FA;
  --ink: #0F1B3A;
  --white: #FFFFFF;
  --ink-2: rgba(15, 27, 58, .72);
  --on-dark-2: rgba(255, 255, 255, .78);
  --line: rgba(15, 27, 58, .14);
  --line-dark: rgba(255, 255, 255, .18);
  --display: "Funnel Display", "Hanken Grotesk", sans-serif;
  --text: "Hanken Grotesk", sans-serif;
  --max: 1760px;
  --gut: clamp(20px, 4vw, 64px);
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --navh: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; }
::selection { background: var(--ice); color: var(--ink); }
input, textarea { caret-color: var(--brand); }
.sec--night input { caret-color: var(--ice); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: 40px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.sec--white :focus-visible, .sec--ice :focus-visible, .form :focus-visible { outline-color: var(--brand); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
.h2 { font: 500 clamp(40px, 4.6vw, 76px)/1.02 var(--display); letter-spacing: -.02em; }
.h2 a { text-decoration: none; }
.h2--xl { font-size: clamp(44px, 5.6vw, 96px); }
.lede { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; color: var(--on-dark-2); max-width: 34ch; }
.lede--ink { color: var(--ink-2); }
.ph { color: var(--ice); font-weight: 400; }
.fine { font-size: 13px; line-height: 1.55; color: var(--on-dark-2); max-width: 60ch; }
.fine a { color: var(--white); }

/* ---------- buttons ---------- */
.btn { --bg: var(--white); --fg: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 300px; background: var(--bg); color: var(--fg); font: 600 16px/1 var(--text); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(5, 12, 35, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--light { --bg: var(--white); --fg: var(--brand); }
.btn--glass { --bg: rgba(175, 195, 250, .2); --fg: var(--white); box-shadow: inset 0 0 0 1px rgba(175, 195, 250, .35); }
.btn--glass:hover { --bg: rgba(175, 195, 250, .3); }
.btn--brand { --bg: var(--brand); --fg: var(--white); }
.btn--brand:hover { --bg: var(--brand-deep); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.link--light { color: var(--white); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white); transition: background-color .35s, box-shadow .35s; }
.nav.is-solid { background: var(--brand); box-shadow: 0 1px 0 rgba(175, 195, 250, .16); }
.nav__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); height: var(--navh); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav__logo img { height: 64px; width: auto; }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__cta { justify-self: end; }
.dd { position: relative; }
.dd__btn, .nav__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 40px; background: none; border: 0; cursor: pointer; font: 500 17px/1 var(--text); color: var(--white); text-decoration: none; transition: background-color .2s; }
.dd__btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.dd__btn:hover, .nav__link:hover, .dd.open .dd__btn { background: rgba(175, 195, 250, .16); }
.dd.open .dd__btn::after { transform: translateY(2px) rotate(-135deg); }
.dd__panel { position: absolute; left: 0; top: calc(100% + 10px); min-width: 230px; padding: 10px; background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(5, 12, 35, .45); display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.dd__panel--wide { grid-template-columns: repeat(3, minmax(150px, 1fr)); min-width: 520px; left: 50%; translate: -50% 0; }
.dd.open .dd__panel { opacity: 1; visibility: visible; transform: none; }
.dd__panel a { padding: 11px 14px; border-radius: 10px; text-decoration: none; font-size: 16px; transition: background-color .2s; }
.dd__panel a:hover { background: rgba(25, 51, 111, .07); }
.dd__all { grid-column: 1 / -1; font-weight: 600; color: var(--brand); }
.burger { display: none; justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(175, 195, 250, .2); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 21px; } .burger span:last-child { top: 29px; }
.burger[aria-expanded="true"] span:first-child { top: 25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 25px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--brand); color: var(--white); padding: calc(var(--navh) + 12px) var(--gut) 32px; overflow-y: auto; opacity: 0; transition: opacity .3s; }
.menu.open { opacity: 1; }
.menu__in { display: flex; flex-direction: column; min-height: 100%; }
.menu details, .menu__top { border-bottom: 1px solid var(--line-dark); }
.menu summary, .menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 68px; font: 500 30px/1 var(--display); list-style: none; cursor: pointer; text-decoration: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: "+"; font: 400 28px/1 var(--text); color: var(--ice); transition: transform .3s; }
.menu details[open] summary::after { transform: rotate(45deg); }
.menu details a { display: flex; align-items: center; min-height: 48px; padding-left: 2px; color: var(--on-dark-2); text-decoration: none; font-size: 18px; }
.menu details[open] { padding-bottom: 12px; }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--brand); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__shader { position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 60% at 80% 30%, #2a4c99 0%, transparent 70%), radial-gradient(60% 70% at 10% 90%, #0e1f4d 0%, transparent 70%), var(--brand); }
.hero__shader canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .12; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__wrap { --base: 15svh; position: absolute; inset: var(--navh) 0 var(--base) 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 80px); align-items: end; }
.hero__copy { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(16px, 4svh, 56px) 0 clamp(28px, 5svh, 56px); gap: clamp(36px, 6svh, 64px); }
.hero__h1 { font: 500 clamp(64px, min(10.4vw, 19svh), 176px)/.9 var(--display); letter-spacing: -.035em; }
.hero__h1 .ln { display: block; }
.hl { color: var(--ice); }
.hero__lower { display: grid; gap: 28px; }
.hero__sub { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; max-width: 40ch; color: var(--on-dark-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.house { position: relative; justify-self: end; height: min(100%, 70svh); aspect-ratio: 600 / 640; max-width: 100%; }
.house__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.house__line path { fill: none; stroke: var(--ice); stroke-width: 2.6; stroke-linejoin: miter; }
.door { position: absolute; left: 25%; width: 50%; top: 42%; bottom: 0; border-radius: 9999px 9999px 0 0; }
.horizon { position: absolute; left: 0; right: 0; bottom: 15svh; height: 0; pointer-events: none; }
.horizon span { position: absolute; top: -1.2px; height: 2.4px; background: var(--ice); transform-origin: left center; }
.horizon__r { transform-origin: right center !important; }
.hero__meta { position: absolute; left: 0; right: 0; bottom: 0; height: 15svh; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 16px; color: var(--on-dark-2); }
.rating { text-decoration: none; color: var(--white); }
.rating b { font: 600 22px/1 var(--display); color: var(--ice); margin-right: 4px; }
.rating:hover { text-decoration: underline; text-underline-offset: 4px; }
.reveal { position: absolute; inset: 0; z-index: 2; clip-path: inset(50% 50% 50% 50%); pointer-events: none; }
.reveal picture, .reveal img { width: 100%; height: 100%; }
.reveal img { object-fit: cover; object-position: 50% 50%; transform-origin: 50% 50%; }
.reveal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 48, .72), rgba(10, 20, 48, 0) 38%); opacity: var(--shade, 0); }
.reveal__tag { position: absolute; left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); bottom: clamp(28px, 6svh, 64px); z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--white); text-decoration: none; opacity: 0; pointer-events: none; }
.reveal.is-open { pointer-events: auto; }
.reveal.is-open .reveal__tag { pointer-events: auto; }
.reveal__addr { font: 500 clamp(26px, 3vw, 48px)/1.05 var(--display); letter-spacing: -.02em; }
.reveal__price { font-size: 18px; font-weight: 600; }
.reveal__tag:hover .reveal__addr { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 40px; background: var(--white); color: var(--brand); font: 600 13px/1 var(--text); letter-spacing: .01em; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 13svh, 150px) 0; }
.sec--white { background: var(--white); color: var(--ink); }
.sec--night { background: var(--ink); color: var(--white); }
.sec--brand { background: var(--brand); color: var(--white); }
.sec--ice { background: var(--ice); color: var(--ink); }
.split-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5svh, 64px); }
.split-head__side { display: flex; align-items: center; gap: 28px; }

/* listings strip */
.listings { padding-bottom: clamp(96px, 13svh, 150px); }
.strip { display: flex; gap: clamp(16px, 1.6vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 8px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.dragging a { pointer-events: none; }
.card { flex: 0 0 clamp(300px, 38vw, 640px); scroll-snap-align: start; text-decoration: none; color: var(--ink); }
.card__ph { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: #dfe6f7; }
.card__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), clip-path .7s var(--ease); -webkit-user-drag: none; user-select: none; }
.card__ph .b { clip-path: inset(0 0 0 100%); }
.card:hover .card__ph .b, .card:focus-visible .card__ph .b { clip-path: inset(0 0 0 0); }
.card:hover .card__ph img { transform: scale(1.03); }
.card .chip { position: absolute; left: 16px; top: 16px; z-index: 1; }
.card__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.card__addr { font: 500 clamp(19px, 1.45vw, 24px)/1.2 var(--display); letter-spacing: -.01em; }
.card__price { font: 600 clamp(18px, 1.3vw, 22px)/1.2 var(--text); white-space: nowrap; }
.card__spec { color: var(--ink-2); font-size: 15px; padding-top: 6px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s, transform .2s; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.arrow:hover { background: var(--ink); color: var(--white); }
.arrow:active { transform: scale(.95); }

/* calculator */
.calc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.calc__left { display: grid; gap: 28px; }
.budget-k { font-weight: 500; color: var(--on-dark-2); margin-bottom: -16px; }
.budget { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.budget__num { font: 500 clamp(64px, 7vw, 120px)/1 var(--display); letter-spacing: -.035em; color: var(--ice); font-variant-numeric: tabular-nums; }
.budget__unit { font-size: 18px; color: var(--on-dark-2); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --p: 20%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(var(--ice), var(--ice)) 0 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, .2); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(var(--ice), var(--ice)) 0 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, .2); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 6px rgba(175, 195, 250, .3); transition: box-shadow .2s; }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 6px rgba(175, 195, 250, .3); }
.range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(175, 195, 250, .3); }
.calc__rows { border-top: 1px solid var(--line-dark); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; padding: 10px 0; }
.row__k { font-weight: 500; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 40px; background: rgba(255, 255, 255, .08); }
.seg button { min-height: 44px; padding: 0 16px; border-radius: 40px; border: 0; background: none; color: var(--on-dark-2); cursor: pointer; font-weight: 600; transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--white); }
.seg button[aria-checked="true"] { background: var(--white); color: var(--brand); }
.sel, .num-in { min-height: 48px; border-radius: 40px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); padding: 0 18px; }
.sel { -webkit-appearance: none; appearance: none; padding-right: 44px; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23AFC3FA' stroke-width='1.6'/%3E%3C/svg%3E") right 18px center / 12px no-repeat; cursor: pointer; }
.sel option { color: var(--ink); }
.num-in { display: inline-flex; align-items: center; gap: 4px; }
.num-in input { width: 64px; background: none; border: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.num-in:focus-within { outline: 3px solid var(--ice); outline-offset: 2px; }
.fits { font: 500 clamp(26px, 2.4vw, 40px)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 24px; }
.fits b { color: var(--ice); font-weight: 500; }
.pay { border-top: 1px solid var(--line-dark); }
.pay li { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); transition: opacity .45s var(--ease); }
.pay li.out .pay__name, .pay li.out .pay__amt b { color: rgba(255, 255, 255, .7); }
.pay li.out img { opacity: .55; }
.pay img { width: 88px; aspect-ratio: 3 / 2; border-radius: 10px; object-fit: cover; }
.pay__name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.pay__sub { font-size: 14px; color: var(--on-dark-2); }
.pay__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); margin-top: 8px; overflow: hidden; }
.pay__bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--white); border-radius: 4px; transition: width .5s var(--ease), background-color .3s; }
.pay li.in .pay__bar i { background: var(--ice); }
.pay__amt { text-align: right; font-variant-numeric: tabular-nums; }
.pay__amt b { display: block; font: 500 22px/1.1 var(--display); }
.pay li.in .pay__amt b { color: var(--ice); }
.pay__amt span { font-size: 13px; color: var(--on-dark-2); }

/* areas */
.areas__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: stretch; }
.areas__left { display: flex; flex-direction: column; gap: clamp(28px, 4svh, 44px); align-items: flex-start; }
.cities { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 1.4vw, 26px); }
.cities button { background: none; border: 0; padding: 2px 0; cursor: pointer; font: 500 clamp(30px, 3.2vw, 58px)/1.18 var(--display); letter-spacing: -.025em; color: var(--ink); position: relative; transition: color .25s; }
.cities button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cities button:hover { color: var(--brand); }
.cities button[aria-pressed="true"] { color: var(--brand); }
.cities button[aria-pressed="true"]::after { transform: scaleX(1); }
.map { border-radius: var(--r); overflow: hidden; min-height: 420px; background: #e8edf8; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* about */
.about__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.about__photo { aspect-ratio: 5 / 6; border-radius: 9999px 9999px 0 0; overflow: hidden; max-height: 72svh; box-shadow: 0 0 0 2.4px var(--ice); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__text { display: grid; gap: clamp(24px, 3svh, 36px); }
.about .h2 { color: var(--ice); font-size: clamp(28px, 2.4vw, 40px); }
.say { font: 500 clamp(32px, 3.5vw, 60px)/1.12 var(--display); letter-spacing: -.02em; }
.say .w { opacity: var(--o, 1); transition: opacity .2s linear; }
.say2 { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.5; color: var(--on-dark-2); max-width: 46ch; }
.ice { color: var(--ice); font-weight: 600; }
.about__foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; color: var(--on-dark-2); padding-top: 8px; border-top: 1px solid var(--line-dark); padding-top: 24px; }

/* reviews */
.reviews__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 120px); }
.score .h2 { font-size: clamp(28px, 2.4vw, 40px); }
.score .h2 a { background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.score .h2 a:hover { background-size: 100% 2px; }
.score__big { font: 500 clamp(120px, 14vw, 240px)/.9 var(--display); letter-spacing: -.05em; color: var(--brand); margin-top: clamp(20px, 4svh, 48px); }
.score__src { color: var(--ink-2); margin-top: 16px; font-size: 18px; }
.q-big p { font: 500 clamp(32px, 3.4vw, 58px)/1.1 var(--display); letter-spacing: -.02em; }
.q-big cite, .q-list cite { display: block; font-style: normal; font-weight: 600; margin-top: 16px; color: var(--brand); }
.q-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 6svh, 72px); }
.q-list li { border-top: 2px solid var(--brand); padding-top: 20px; }
.q-list p { color: var(--ink); font-size: 16px; line-height: 1.6; }

/* valuation */
.value__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.value__text { display: grid; gap: 28px; }
.value__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.value__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; max-height: 64svh; }
.value__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform .8s var(--ease); }
.value__photo:hover img { transform: scale(1.02); }

/* contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact__info { display: grid; gap: 24px; }
.lines { margin-top: 16px; border-top: 1px solid var(--line-dark); }
.lines div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.lines dt { color: var(--ice); font-weight: 600; }
.lines a { text-decoration: none; background: linear-gradient(var(--ice), var(--ice)) 0 100% / 100% 1px no-repeat; }
.lines a:hover { background-size: 0 1px; }
.form { background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f { display: grid; gap: 8px; align-content: start; }
.f--full { grid-column: 1 / -1; }
.f label { font-weight: 600; font-size: 15px; }
.f input, .f textarea { width: 100%; min-height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: #f6f8fd; padding: 14px 16px; transition: border-color .2s, background-color .2s; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:hover, .f textarea:hover { border-color: rgba(25, 51, 111, .4); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--brand); background: var(--white); }
.f input[aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-size: 14px; min-height: 0; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { font-size: 15px; color: var(--brand); font-weight: 600; }

/* footer */
.foot { background: var(--ink); color: var(--white); padding-top: clamp(72px, 10svh, 120px); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.foot__brand img { height: 64px; width: auto; }
.foot__brand p { margin-top: 20px; color: var(--on-dark-2); font-size: 15px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot__cols h3 { font: 500 22px/1 var(--display); color: var(--ice); margin-bottom: 14px; }
.foot__cols a { display: flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--on-dark-2); font-size: 16px; transition: color .2s; overflow-wrap: anywhere; }
.foot__cols a:hover { color: var(--white); }
.foot__idx { padding-top: 28px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .62); max-width: 110ch; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); }
.foot__legal a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.foot__legal a:hover { color: var(--white); text-decoration: underline; }
.foot__giant { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6svh, 72px) var(--gut) clamp(16px, 2vw, 28px); }
.foot__giant span { display: inline-block; white-space: nowrap; font: 500 100px/1.05 var(--display); letter-spacing: -.04em; color: var(--ice); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__in { grid-template-columns: 1fr auto auto; }
  .burger { display: block; }
  .nav__cta { min-height: 48px; padding: 0 22px; }
}
@media (max-width: 1023px) {
  :root { --navh: 80px; }
  .nav__logo img { height: 50px; }
  .hero { height: auto; min-height: 100svh; }
  .hero__wrap { position: relative; inset: auto; display: flex; flex-direction: column; align-items: stretch; padding-top: calc(var(--navh) + 16px); gap: 24px; height: calc(100svh - 64px); min-height: 560px; }
  .hero__copy { padding: 0; justify-content: flex-start; }
  .hero__h1 { font-size: clamp(58px, 16.8vw, 132px); }
  .house { justify-self: auto; align-self: center; flex: 1 1 0; min-height: 150px; height: auto; width: auto; max-height: 560px; margin-top: 4px; }
  .horizon { bottom: 64px; }
  .hero__meta { position: relative; height: 64px; }
  .split-head { grid-template-columns: 1fr; }
  .split-head__side { justify-content: space-between; }
  .calc__grid, .areas__grid, .about__grid, .reviews__grid, .value__grid, .contact__grid, .foot__top { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; width: 100%; max-height: none; }
  .q-list { grid-template-columns: 1fr; gap: 24px; }
  .map, .map iframe { min-height: 380px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn, .value__ctas .btn, .menu__foot .btn { width: 100%; }
  .hero__sub { font-size: 17px; }
  .hero__lower { gap: 22px; }
  .hero__ctas { gap: 10px; }
  .hero__where { display: none; }
  .card { flex-basis: 84vw; }
  .arrow { width: 48px; height: 48px; }
  .split-head__side { gap: 16px; }
  .pay li { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; }
  .pay img { width: 64px; }
  .pay__amt b { font-size: 19px; }
  .row { min-height: 64px; }
  .seg button { padding: 0 11px; }
  .form { grid-template-columns: 1fr; border-radius: 22px; }
  .lines div { grid-template-columns: 1fr; gap: 4px; }
  .cities button { font-size: clamp(28px, 8.4vw, 40px); }
}

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