/* Alex Atamian — black & white, built around his signature logo.
   Same bones as the Marina Stati build (serif display + clean sans, dark
   header over a video hero), tuned monochrome. */

:root {
  --ink: #0d0d0d;
  --ink-2: #161616;
  --ink-3: #222;
  --paper: #f6f4f0;
  --paper-2: #ecE9e3;
  --line: rgba(13, 13, 13, .12);
  --line-l: rgba(255, 255, 255, .16);
  --mute: #6f6b65;
  --mute-l: rgba(255, 255, 255, .66);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --wrap: 1240px;
  --hdr: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.eyebrow--light { color: var(--mute-l); }
.fine { font-size: 13px; color: var(--mute); margin-top: 28px; }
.fine a { color: var(--ink); }
.fine--center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--full { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link--light { color: #fff; }

/* ---------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); color: #fff; transition: background .35s, height .35s, box-shadow .35s; }
.hdr-in { height: 100%; width: min(1400px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 36px; }
.hdr-brand img { height: 62px; width: auto; transition: height .35s; }
.hdr-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.hdr-nav a { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: .88; }
.hdr-nav a:hover { opacity: 1; }
.hdr-cta { border: 1px solid rgba(255,255,255,.6); padding: 12px 18px; opacity: 1 !important; }
.hdr-cta:hover { background: #fff; color: var(--ink); }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.hdr-burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.hdr-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.hdr-burger span:first-child { top: 17px; }
.hdr-burger span:last-child { top: 26px; }
.hdr.is-solid { background: rgba(13,13,13,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 68px; box-shadow: 0 1px 0 var(--line-l); }
.hdr.is-solid .hdr-brand img { height: 50px; }
/* on the home hero the big signature is the logo, so the header mark waits until scroll */
body.home .hdr:not(.is-solid) .hdr-brand { opacity: 0; pointer-events: none; }
.hdr-brand { transition: opacity .35s; }
body.plain .hdr { background: var(--ink); height: 68px; }
body.plain .hdr-brand img { height: 50px; }

.drawer { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; padding: 110px 28px 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; }
.drawer nav a { font: 500 38px/1.25 var(--serif); text-decoration: none; }
.drawer-foot { display: grid; gap: 10px; font-size: 15px; color: var(--mute-l); }
.drawer-foot a { text-decoration: none; color: #fff; }
.drawer-foot img { width: 170px; margin-top: 18px; opacity: .85; }
body.menu-open { overflow: hidden; }
body.menu-open .drawer { opacity: 1; visibility: visible; }
body.menu-open .hdr { background: transparent; box-shadow: none; }
body.menu-open .hdr-burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .hdr-burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: #fff; background: var(--ink); overflow: hidden; }
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 30%, rgba(0,0,0,.28) 62%, rgba(0,0,0,.82) 100%); }
.hero-in { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--hdr) + 4px) 20px 34px; width: min(980px, 100%); margin-inline: auto; }
.hero-sig { width: min(clamp(160px, 18vw, 250px), 30vh); margin-bottom: 18px; filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)); animation: rise 1.2s var(--ease) both; }
.hero-kicker { font: 600 11px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 16px; animation: rise 1.2s .12s var(--ease) both; }
.hero h1 { font-size: min(clamp(40px, 5.6vw, 76px), 8.4vh); font-weight: 500; text-shadow: 0 2px 30px rgba(0,0,0,.3); animation: rise 1.2s .2s var(--ease) both; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero-sub { max-width: 620px; margin: 20px auto 30px; font-size: 17px; color: rgba(255,255,255,.86); animation: rise 1.2s .28s var(--ease) both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: rise 1.2s .36s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.proof { position: relative; border-top: 1px solid var(--line-l); background: rgba(10,10,10,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.proof-in { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-in > div { padding: 24px 10px; text-align: center; border-left: 1px solid var(--line-l); }
.proof-in > div:first-child { border-left: 0; }
.proof strong { display: flex; align-items: center; justify-content: center; gap: 6px; font: 500 clamp(30px, 3.2vw, 42px)/1 var(--serif); }
.proof strong i svg { font-size: 22px; }
.proof span { display: block; margin-top: 8px; font: 500 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-l); }

/* ------------------------------------------------------------------ sold */
.sold { padding: 120px 0 110px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.sec-head h2 { max-width: 660px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.filter { display: flex; border: 1px solid var(--line); flex: none; }
.filter button { background: none; border: 0; padding: 13px 18px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); cursor: pointer; }
.filter button b { font-weight: 500; margin-left: 4px; opacity: .6; }
.filter button[aria-selected="true"] { background: var(--ink); color: #fff; }

.sale-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.sale { min-width: 0; background: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sale:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.35); }
.sale[hidden] { display: none; }
.sale-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.sale-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sale:hover .sale-img img { transform: scale(1.04); }
.sale-body { padding: 22px 24px 26px; }
.sale-tag { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.sale-tag span { color: var(--mute); font-weight: 500; }
.sale[data-side="seller"] .sale-tag::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.sale-price { font: 500 34px/1 var(--serif); margin-bottom: 10px; }
.sale h3 { font: 600 16px/1.35 var(--sans); letter-spacing: 0; }
.sale-city { color: var(--mute); font-size: 14px; margin: 2px 0 12px; }
.sale-facts { font-size: 13px; color: var(--mute); margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.sale--lead { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.sale--lead .sale-img { aspect-ratio: auto; min-height: 100%; }
.sale--lead .sale-body { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.sale--lead .sale-price { font-size: 48px; }

/* ------------------------------------------------------------------ keys */
.keys { background: var(--ink); color: #fff; padding: 100px 0 90px; overflow: hidden; }
.keys-head { margin-bottom: 40px; }
.keys-head h2 { color: #fff; }
.keys-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.keys-row { display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.keys-track:hover .keys-row { animation-play-state: paused; }
.keys-row img { height: 260px; width: auto; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.keys-row img:hover { filter: none; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- about */
.about { padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-photo { position: relative; }
.about-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.06); }
.about-mullen { position: absolute; right: -24px; bottom: -24px; width: 190px; background: var(--paper); padding: 20px 22px; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy p { color: #34312d; font-size: 17px; }
.about-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.about-list li { padding-left: 22px; position: relative; font-weight: 500; font-size: 15px; }
.about-list li::before { content: ''; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--ink); }
.about-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

/* ----------------------------------------------------------------- where */
.where { padding: 100px 0 110px; background: var(--paper-2); }
.where-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.where-c { padding: 30px 22px 10px; border-left: 1px solid var(--line); }
.where-c:first-child { border-left: 0; }
.where-c h3 { font-size: 26px; margin-bottom: 10px; }
.where-c p { color: #3a3732; font-size: 15px; margin-bottom: 14px; }
.where-c span { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* ----------------------------------------------------------------- paths */
.paths { background: var(--ink); color: #fff; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; }
.path { padding: 110px 70px 110px 0; }
.path + .path { padding: 110px 0 110px 70px; border-left: 1px solid var(--line-l); }
.path h2 { color: #fff; font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 34px; }
.path ol { list-style: none; counter-reset: s; padding: 0; margin: 0 0 40px; }
.path li { counter-increment: s; position: relative; padding: 18px 0 18px 58px; border-top: 1px solid var(--line-l); color: rgba(255,255,255,.76); }
.path li::before { content: '0' counter(s); position: absolute; left: 0; top: 16px; font: 500 26px/1 var(--serif); color: #fff; }
.path li b { color: #fff; font-weight: 600; }
.path-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* --------------------------------------------------------------- reviews */
.reviews { padding: 120px 0; }
.stars { display: flex; align-items: center; gap: 3px; margin-top: 18px; font-size: 18px; }
.stars span { margin-left: 10px; font-size: 14px; color: var(--mute); }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rev { margin: 0; background: #fff; padding: 46px 44px 38px; display: flex; flex-direction: column; justify-content: space-between; }
.rev blockquote { margin: 0 0 30px; font: 400 23px/1.45 var(--serif); }
.rev figcaption strong { display: block; font-weight: 600; }
.rev figcaption span { font-size: 13px; color: var(--mute); }

/* --------------------------------------------------------------- contact */
.contact { background: var(--ink-2); color: #fff; padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-copy h2 { color: #fff; margin-bottom: 22px; }
.contact-copy > p { color: var(--mute-l); font-size: 17px; }
.contact-direct { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line-l); }
.contact-direct a { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; font-size: 17px; }
.contact-direct a > svg { font-size: 20px; opacity: .7; }
.contact-direct small { display: block; font: 600 10px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute-l); }
.form { background: var(--ink-3); padding: 40px; display: grid; gap: 16px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-l); margin-bottom: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 13px 0; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute-l); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.fld { display: grid; gap: 7px; }
.fld[hidden] { display: none; }
.fld span { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute-l); }
.fld input, .fld textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); color: #fff; font: 400 16px/1.4 var(--sans); padding: 10px 0; border-radius: 0; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(255,255,255,.35); }
.fld input:focus, .fld textarea:focus { outline: 0; border-bottom-color: #fff; }
.fld.is-bad input { border-bottom-color: #ff8b7b; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { margin-top: 10px; }
.form-note { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.5); margin: 4px 0 0; }
.form-note.is-ok { color: #fff; font-size: 14px; }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--ink); color: rgba(255,255,255,.72); padding: 90px 0 0; font-size: 14px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr-top { display: grid; grid-template-columns: 300px 1fr; gap: 70px; padding-bottom: 60px; border-bottom: 1px solid var(--line-l); }
.ftr-logo { width: 260px; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ftr h4 { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.ftr-social { display: flex; gap: 10px; }
.ftr-social a { width: 42px; height: 42px; border: 1px solid var(--line-l); display: grid; place-items: center; font-size: 17px; transition: background .25s, color .25s; }
.ftr-social a:hover { background: #fff; color: var(--ink); }
.ftr-z { font: 700 17px/1 var(--sans); }
.ftr-legal { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 30px 0 40px; }
.ftr-legal p { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.45); max-width: 900px; margin: 0; }
.ftr-legal p a { color: rgba(255,255,255,.7); text-decoration: underline; }
.built { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5) !important; white-space: nowrap; }
.built strong { color: #fff; }

.plain-page { padding: 170px 0 120px; min-height: 70vh; }
.plain-page h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 26px; }

.qbar { display: none; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .hdr-nav { display: none; }
  .hdr-phone { margin-left: auto; }
  .hdr-burger { display: block; margin-left: 0; }
  .sale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .where-grid { grid-template-columns: repeat(3, 1fr); }
  .where-c:nth-child(4) { border-left: 0; }
  .path, .path + .path { padding: 90px 40px; }
  .path { padding-left: 0; }
  .path + .path { padding-right: 0; }
}
@media (max-width: 820px) {
  :root { --hdr: 70px; }
  body { font-size: 15.5px; padding-bottom: 64px; }
  .hdr-brand img { height: 48px; }
  .hdr.is-solid { height: 62px; }
  .hdr.is-solid .hdr-brand img { height: 42px; }
  .hdr-phone span { display: none; }
  .hdr-phone { font-size: 20px; width: 44px; height: 44px; justify-content: center; }
  .hero-in { padding-bottom: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 340px; }
  .proof-in { grid-template-columns: 1fr 1fr; }
  .proof-in > div { padding: 18px 6px; }
  .proof-in > div:nth-child(3) { border-left: 0; }
  .proof-in > div:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .sold, .about, .reviews, .contact { padding: 84px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 34px; }
  .sec-head--center { align-items: center; }
  .filter { width: 100%; }
  .filter button { flex: 1; padding: 13px 6px; }
  .sale-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sale--lead { grid-column: auto; display: block; }
  .sale--lead .sale-img { aspect-ratio: 3 / 2; min-height: 0; }
  .sale--lead .sale-body { padding: 22px 24px 26px; }
  .sale--lead .sale-price { font-size: 38px; }
  .keys { padding: 76px 0 70px; }
  .keys-row img { height: 180px; }
  .about-grid, .contact-grid, .rev-grid, .paths-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-mullen { right: -8px; bottom: -18px; width: 150px; padding: 14px 16px; }
  .about-list { grid-template-columns: 1fr; }
  .where { padding: 76px 0; }
  .where-grid { grid-template-columns: 1fr 1fr; }
  .where-c { border-left: 0 !important; border-bottom: 1px solid var(--line); padding: 24px 0 18px; }
  .where-c:nth-child(odd) { padding-right: 14px; }
  .path, .path + .path { padding: 80px 0; border-left: 0; }
  .path + .path { border-top: 1px solid var(--line-l); }
  .rev { padding: 34px 26px 30px; }
  .rev blockquote { font-size: 20px; }
  .form { padding: 28px 22px; }
  .fld-row { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; gap: 40px; }
  .ftr-cols { grid-template-columns: 1fr; gap: 26px; }
  .ftr-legal { flex-direction: column; align-items: flex-start; gap: 18px; }
  .qbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 40; background: var(--ink); border-top: 1px solid var(--line-l); padding-bottom: env(safe-area-inset-bottom); }
  .qbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 9px; color: #fff; text-decoration: none; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .qbar a + a { border-left: 1px solid var(--line-l); }
  .qbar svg { font-size: 19px; }
  .hero { min-height: calc(100svh - 64px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .keys-track { overflow-x: auto; }
}

/* ============================================================ inner pages */
body.inner .hdr { background: rgba(13,13,13,.94); height: 68px; box-shadow: 0 1px 0 var(--line-l); }
body.inner .hdr-brand img { height: 50px; }

.phero { position: relative; color: #fff; background: var(--ink) var(--bg, none) center / cover no-repeat; padding: 190px 0 110px; overflow: hidden; }
.phero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.74) 48%, rgba(8,8,8,.38) 100%); }
.phero-in { position: relative; }
.phero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 72px); max-width: 820px; }
.phero-lede { max-width: 640px; margin: 24px 0 0; font-size: 18px; color: rgba(255,255,255,.82); }
.phero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 36px; }

.steps { padding: 120px 0; }
.steps-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.steps-side { position: sticky; top: 110px; }
.steps-side h2 { margin-bottom: 20px; }
.steps-side p { color: var(--mute); font-size: 17px; }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 32px 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-n { font: 500 40px/1 var(--serif); color: rgba(13,13,13,.28); }
.steps-list h3 { font-size: 30px; margin-bottom: 10px; }
.steps-list p { margin: 0; color: #3a3732; font-size: 16.5px; }

.costs { background: var(--ink); color: #fff; padding: 110px 0; }
.costs h2 { color: #fff; }
.costs-intro { color: var(--mute-l); max-width: 620px; margin: 18px auto 0; font-size: 17px; }
.costs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; margin: 0; }
.costs-grid > div { padding: 26px 0; border-top: 1px solid var(--line-l); }
.costs-grid dt { font: 500 24px/1.2 var(--serif); margin-bottom: 8px; }
.costs-grid dd { margin: 0; color: rgba(255,255,255,.72); font-size: 15.5px; }

.faq { padding: 120px 0; background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-side { color: var(--mute); margin-top: 18px; font-size: 16px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font: 500 23px/1.3 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin: 0 0 26px; color: #3a3732; max-width: 640px; }

.band { background: var(--ink-2); color: #fff; padding: 80px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 10px; }
.band p { margin: 0; color: var(--mute-l); font-size: 17px; }
.band--light { background: var(--paper-2); color: var(--ink); }
.band--light h2 { color: var(--ink); }
.band--light p { color: var(--mute); }

.search { padding: 0 0 110px; }
.search-box { position: relative; margin-top: -54px; background: #fff; box-shadow: 0 30px 70px -40px rgba(0,0,0,.45); padding: 28px; display: grid; grid-template-columns: 2.2fr repeat(4, 1fr) auto; gap: 18px; align-items: end; }
.sfld { display: grid; gap: 8px; min-width: 0; }
.sfld span { font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.sfld input, .sfld select { width: 100%; height: 50px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px; font: 400 16px var(--sans); color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.sfld select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.sfld input:focus, .sfld select:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.search-box .btn { height: 50px; min-height: 50px; }
.towns { margin-top: 80px; }
.towns h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 28px; }
.towns-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.towns-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 22px/1.2 var(--serif); transition: padding .3s var(--ease); }
.towns-grid a svg { font-size: 16px; opacity: .45; transition: opacity .3s, transform .3s var(--ease); }
.towns-grid a:hover { padding-left: 8px; }
.towns-grid a:hover svg { opacity: 1; transform: translateX(4px); }

.hv { padding: 110px 0; }
.hv-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.hv-copy h2 { margin-bottom: 30px; }
.hv-side { display: grid; gap: 30px; padding-top: 34px; }
.seg[hidden] { display: none; }
.hv-list { list-style: none; counter-reset: h; margin: 10px 0 0; padding: 0; }
.hv-list li { counter-increment: h; padding: 20px 0 20px 54px; border-top: 1px solid var(--line); position: relative; color: #3a3732; }
.hv-list li::before { content: '0' counter(h); position: absolute; left: 0; top: 18px; font: 500 26px/1 var(--serif); color: var(--ink); }
.hv-list b { color: var(--ink); }
.hv-why { background: #fff; padding: 40px; }
.hv-why h3 { font-size: 28px; margin-bottom: 14px; }
.hv-why p { margin: 0; color: #3a3732; }
.hv-proof { font-size: 15px; color: var(--mute); margin: 0; }
.hv-proof strong { font: 500 30px/1 var(--serif); color: var(--ink); margin-right: 4px; }

.sc-stats { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.sc-stats-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.sc-stats-in > div { padding: 34px 10px; text-align: center; border-left: 1px solid var(--line); }
.sc-stats-in > div:first-child { border-left: 0; }
.sc-stats strong { display: block; font: 500 40px/1 var(--serif); }
.sc-stats span { display: block; margin-top: 8px; font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sold--page { padding-top: 90px; }

.ftr-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ftr-links a { display: block; margin-bottom: 6px; }

@media (max-width: 1100px) {
  .search-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfld--town { grid-column: 1 / -1; }
  .search-box .btn { grid-column: 1 / -1; }
  .towns-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body.inner .hdr { height: 62px; }
  body.inner .hdr-brand img { height: 42px; }
  .phero { padding: 130px 0 80px; }
  .phero-shade { background: linear-gradient(180deg, rgba(8,8,8,.7), rgba(8,8,8,.88)); }
  .phero-lede { font-size: 16.5px; }
  .steps, .faq, .costs, .hv { padding: 80px 0; }
  .steps-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-side { position: static; }
  .steps-list li { grid-template-columns: 52px 1fr; padding: 26px 0; }
  .steps-n { font-size: 30px; }
  .steps-list h3 { font-size: 25px; }
  .costs-grid { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 20px; }
  .band { padding: 64px 0; }
  .band-in { flex-direction: column; align-items: flex-start; gap: 26px; }
  .search-box { margin-top: -40px; padding: 20px; gap: 14px; }
  .towns { margin-top: 60px; }
  .towns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .towns-grid a { font-size: 19px; padding-right: 10px; }
  .hv-copy { grid-template-columns: 1fr; gap: 30px; }
  .hv-side { padding-top: 0; }
  .hv-why { padding: 28px 24px; }
  .sc-stats-in { grid-template-columns: repeat(3, 1fr); }
  .sc-stats-in > div:nth-child(4) { border-left: 0; }
  .sc-stats-in > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .sc-stats strong { font-size: 32px; }
  .ftr-cols { grid-template-columns: 1fr; }
}

/* ============================================================ live chat */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border: 0; border-radius: 40px; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); font: 600 13px/1 var(--sans); letter-spacing: .04em; transition: transform .3s var(--ease), opacity .3s; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.chat-fab-dot { position: absolute; left: 40px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #3ecf6e; border: 2px solid var(--ink); }
.chat-fab-badge { position: absolute; right: -4px; top: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e5484d; color: #fff; font: 700 12px/22px var(--sans); text-align: center; }
.chat-fab-badge[hidden] { display: none; }
body.chat-open .chat-fab { opacity: 0; pointer-events: none; }

.chat { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 370px; height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); border-radius: 14px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.chat.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-hd { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: #fff; }
.chat-hd img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-hd strong { display: block; font: 600 15px/1.2 var(--sans); }
.chat-hd span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute-l); }
.chat-hd span i { width: 7px; height: 7px; border-radius: 50%; background: #3ecf6e; }
.chat-x { margin-left: auto; width: 36px; height: 36px; border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; opacity: .8; }
.chat-x:hover { opacity: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); overscroll-behavior: contain; }
.msg { display: flex; }
.msg p { margin: 0; max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.msg--in p { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--out { justify-content: flex-end; }
.msg--out p { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg--note { justify-content: center; }
.msg--note p { max-width: 92%; background: none; color: var(--mute); font-size: 12.5px; text-align: center; padding: 4px 8px; }
.chat-lead { padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-lead[hidden] { display: none; }
.chat-lead p { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.chat-lead div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.chat-lead input { min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: 400 15px var(--sans); }
.chat-lead input.is-bad { border-color: #e5484d; }
.chat-lead button { width: 100%; height: 40px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.chat-lead button:hover { background: var(--ink); color: #fff; }
.chat-in { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat-in textarea { flex: 1; resize: none; border: 0; outline: 0; font: 400 15px/1.45 var(--sans); padding: 9px 0; max-height: 120px; background: transparent; color: var(--ink); }
.chat-in button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 17px; }
.chat-alt { margin: 0; padding: 8px 16px 12px; font-size: 12px; color: var(--mute); background: #fff; text-align: center; }
.chat-alt a { color: var(--ink); font-weight: 600; }

.qbar button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 9px; color: #fff; background: none; border: 0; border-left: 1px solid var(--line-l); font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.qbar button svg { font-size: 19px; }

.form-status { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.form-status.is-err { color: #ffb4a8; }
.form-status a { color: #fff; }
.form-done { padding: 30px 6px; text-align: center; }
.form-done h3 { font-size: 34px; color: #fff; margin-bottom: 12px; }
.form-done p { color: var(--mute-l); margin-bottom: 8px; }
.form-done a { color: #fff; }

@media (max-width: 820px) {
  .chat-fab { display: none; }
  .chat { inset: 0; width: auto; height: auto; border-radius: 0; transform: translateY(24px); }
  .chat-in textarea { font-size: 16px; }
  .chat-lead input { font-size: 16px; }
}
