:root {
  --ink: #1a2332;
  --muted: #5c6775;
  --line: #e1e6ee;
  --blue: #0b847f;
  --blue-dark: #086863;
  --navy: #0b1f3a;
  --gold: #c4a35a;
  --paper: #fff;
  --canvas: #f6f8fb;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 20px rgba(16, 24, 40, .06);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
a { color: var(--blue); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.skip { position: absolute; left: 1rem; top: -4rem; background: white; padding: .5rem .75rem; z-index: 5; }
.skip:focus { top: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: 72px;
  padding: 0 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img { height: 30px; width: auto; display: block; }
.nav nav { display: flex; gap: 1.35rem; align-items: center; }
.nav nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: .98rem;
}
.nav nav a:hover { color: var(--blue); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.nav-phone { color: var(--navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.nav-cta, .search-bar button, #talk-submit, .bar-tour {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 8px;
  min-height: 40px;
  padding: .5rem 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.nav-cta:hover, .search-bar button:hover, #talk-submit:hover, .bar-tour:hover { background: var(--blue-dark); }
.pill {
  margin: 0;
  font-size: .72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .2rem .55rem;
  white-space: nowrap;
}

.hero {
  min-height: 300px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, .55), rgba(11, 31, 58, .28)),
    radial-gradient(720px 240px at 82% 10%, rgba(196, 163, 90, .5), transparent 62%),
    linear-gradient(155deg, #6eafd4 0%, #cfe6ea 46%, #efe3cc 100%);
}
.hero-inner { width: min(860px, calc(100% - 2rem)); margin: 2.25rem auto 2.4rem; }
.eyebrow {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1 {
  margin: 0 0 1.05rem;
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
}
.search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-bar {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: #fff;
  border-radius: 12px;
  padding: .4rem .4rem .4rem .85rem;
  box-shadow: 0 10px 28px rgba(11, 31, 58, .18);
  border: 1px solid rgba(255, 255, 255, .7);
}
.search-icon { width: 22px; height: 22px; color: #7b8794; flex: none; }
.search-bar input {
  flex: 1;
  border: 0;
  min-height: 52px;
  padding: 0 .35rem;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.search-bar input:focus { outline: none; }
.search-bar:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.search-bar button { min-height: 48px; min-width: 112px; padding: 0 1.25rem; border-radius: 8px; font-size: 1rem; }

.chip-strip {
  width: min(1240px, calc(100% - 2rem));
  margin: .9rem auto 0;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.chip-label { margin: .35rem 0 0; font-weight: 800; color: var(--navy); white-space: nowrap; }

.page { width: min(1240px, calc(100% - 2rem)); margin: 1.1rem auto 3rem; }
.page h2 { font-size: 1.35rem; margin: 1.4rem 0 .45rem; letter-spacing: -.02em; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.results-head h2 { margin: 0; }
.fine, .lede { color: var(--muted); }
.lede { font-size: 1.05rem; }
.portal { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; margin-top: 1.75rem; }
.property.portal { margin-top: .35rem; }
.contact-card { position: sticky; top: 88px; }
#lead-form, .status {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.05rem 1.05rem 1.15rem;
}
#lead-form h2 { margin: 0 0 .3rem; font-size: 1.2rem; letter-spacing: -.02em; }
.field { display: grid; gap: .2rem; margin: 0 0 .6rem; font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea, .choice {
  font-weight: 450;
  min-height: 42px;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  padding: .4rem .65rem;
  width: 100%;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus, .pay input:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
.field textarea { min-height: 68px; }
.choice { border: 0; padding: 0; display: flex; gap: .75rem; flex-wrap: wrap; }
.choice legend { font-weight: 700; margin-bottom: .25rem; }
.choice label { display: flex; gap: .35rem; align-items: center; min-height: 40px; font-weight: 500; }
.disclosure, .micro, .fine { font-size: .84rem; color: var(--muted); }
.consent { display: flex; gap: .55rem; align-items: flex-start; margin: .45rem 0; font-size: .86rem; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; flex: none; accent-color: var(--blue); }
.actions { display: grid; gap: .45rem; margin-top: .35rem; }
#talk-submit, #tour-submit { width: 100%; min-height: 48px; border-radius: 8px; font-weight: 800; cursor: pointer; }
#tour-submit { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
#tour-submit:hover { background: #f3f8fe; }
.form-error { color: #a12622; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.pcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, .05), rgba(11, 31, 58, .18)),
    linear-gradient(160deg, #8ec5dc 0%, #d7ebe4 48%, #efe2c8 100%);
}
.pcard-media::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 18%;
  bottom: 18%;
  height: 46%;
  background: rgba(255, 255, 255, .28);
  clip-path: polygon(8% 100%, 38% 42%, 52% 68%, 74% 18%, 100% 100%);
}
.pcard-media.placeholder {
  background: linear-gradient(160deg, #e7edf3, #f7f4ee);
}
.pcard-media.placeholder::after { opacity: .45; }
.pcard-hit { position: absolute; inset: 0; z-index: 1; }
.badge, .sample-flag, .flag-row .badge, .flag-row .sample-flag {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .01em;
  border-radius: 4px;
  padding: .18rem .42rem;
}
.sample-flag, .flag-row .sample-flag {
  top: auto;
  bottom: .65rem;
  left: .65rem;
  background: var(--gold);
  color: var(--navy);
}
.flag-row { display: flex; gap: .4rem; margin: .15rem 0 .2rem; }
.flag-row .badge, .flag-row .sample-flag { position: static; }
.heart {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(16, 24, 40, .18);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.heart svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.7; }
.heart[aria-pressed="true"] svg { fill: #d64545; stroke: #d64545; }
.pcard-body { padding: .8rem .9rem 1rem; }
.pcard-price { margin: 0 0 .15rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.pcard-facts { margin: 0 0 .2rem; color: var(--muted); font-size: .95rem; }
.pcard-facts b { color: var(--ink); font-weight: 800; }
.pcard-facts span { color: #c5ced8; margin: 0 .4rem; }
.pcard-address { margin: .15rem 0; color: var(--muted); font-size: .95rem; }
.pcard-note { margin: .15rem 0 0; color: var(--muted); font-size: .82rem; }

.index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.index a {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
}
.index a:hover { border-color: var(--blue); color: var(--blue); }
.index span { color: var(--muted); font-size: .85rem; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-weight: 650;
}
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stats article { border: 1px solid var(--line); border-radius: 8px; padding: .95rem 1rem; background: #fff; }
.stats p, .stats span { margin: 0; color: var(--muted); font-size: .82rem; }
.stats strong { display: block; margin: .15rem 0; font-size: 1.25rem; letter-spacing: -.02em; color: var(--navy); }
.section-kicker { margin: 0; color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.faq details { border-top: 1px solid var(--line); padding: .15rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; }
.faq p { margin: 0 0 .8rem; color: var(--muted); }
.banner {
  margin: 0;
  padding: .65rem 1.25rem;
  background: #fff7e4;
  color: var(--navy);
  border-bottom: 1px solid #ead7a4;
  font-size: .92rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 228px 228px;
  gap: 6px;
  width: min(1240px, calc(100% - 2rem));
  margin: .85rem auto 0;
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: grid;
  place-items: end start;
  padding: .7rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}
.shot::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 12%;
  bottom: 22%;
  height: 48%;
  background: rgba(255, 255, 255, .22);
  clip-path: polygon(6% 100%, 36% 38%, 50% 64%, 72% 16%, 100% 100%);
}
.shot span { position: relative; z-index: 1; }
.shot:first-child { grid-row: 1 / span 2; }
.shot-1 { background: linear-gradient(165deg, #1c4f8a, #8ec4e2); }
.shot-2 { background: linear-gradient(165deg, #c4a35a, #f3ead6); color: var(--navy); }
.shot-3 { background: linear-gradient(165deg, #0b1f3a, #3e7394); }
.shot-4 { background: linear-gradient(165deg, #d5ebe3, #8fb8a8); color: var(--navy); }
.shot-5 { background: linear-gradient(165deg, #eadcc0, #f8f3ea); color: var(--navy); }

.property h1 {
  margin: .1rem 0 .15rem;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 750;
}
.price-line {
  font-size: 2.05rem;
  font-weight: 800;
  margin: .15rem 0 0;
  letter-spacing: -.03em;
  color: var(--ink);
}
.where { margin: .15rem 0 .85rem; color: var(--muted); }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: .35rem 0 1rem;
  margin: 0 0 .4rem;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.facts li {
  display: flex;
  gap: .35rem;
  align-items: baseline;
  padding: 0 .9rem;
  border-left: 1px solid var(--line);
  font-size: 1.02rem;
}
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { font-size: 1.15rem; }
.facts span { color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin: 0 0 .5rem; }
.features div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.features dt { margin: 0; color: var(--muted); font-weight: 700; }
.features dd { margin: 0; }
.pay {
  margin-top: 1.4rem;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}
.pay h2 { margin: 0; }
.pay-kicker { margin: .7rem 0 0; color: var(--muted); font-size: .85rem; }
.pay-result {
  margin: .1rem 0 .2rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
}
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: .8rem; }
.pay label { display: grid; gap: .25rem; font-size: .82rem; font-weight: 700; }
.pay input { min-height: 42px; border: 1px solid #cfd6df; border-radius: 8px; padding: .4rem .6rem; background: #fff; }

.mobile-bar { display: none; }
.site-foot {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: .92rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.foot-brand { display: flex; align-items: center; gap: .55rem; margin: 0 0 .35rem; color: var(--navy); }
.foot-brand img { height: 22px; width: auto; display: block; }
.eho { display: flex; gap: .45rem; align-items: center; color: var(--navy); font-weight: 800; }
.eho svg { width: 2rem; height: 1.5rem; }
.wrap { width: min(760px, calc(100% - 2rem)); margin: 2rem auto 3rem; }

@media (max-width: 900px) {
  .nav { height: 64px; gap: .6rem; padding: 0 .75rem; }
  .nav nav, .pill { display: none; }
  .wordmark img { height: 26px; }
  .nav-cta { min-height: 40px; padding: .4rem .7rem; font-size: .88rem; }
  .hero { min-height: 0; }
  .hero-inner { margin: 1.5rem auto 1.6rem; }
  .hero h1 { max-width: none; }
  .portal, .cards, .stats, .index, .features { grid-template-columns: 1fr; }
  .results-head, .chip-strip { display: block; }
  .contact-card { position: static; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 156px 84px 84px;
    gap: 4px;
    width: calc(100% - 1rem);
  }
  .shot:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .price-line { font-size: 1.7rem; }
  .property h1 { font-size: 1.4rem; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: .5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(16, 24, 40, .06);
    z-index: 30;
  }
  .bar-call, .bar-tour {
    min-height: 48px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 800;
    text-decoration: none;
  }
  .bar-call { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
  body:has(.mobile-bar) { padding-bottom: 76px; }
  .site-foot { margin-bottom: 1rem; }
}
