:root {
  --paper: #F6F3EE; --paper-2: #ECE7DE; --ink: #15202E; --ink-2: #566170; --line: #DCD5C9;
  --navy: #1D3A6B; --navy-2: #142A50; --sky: #DCE7F3; --sand: #C7A46A;
  --display: 'Rubik', system-ui, sans-serif; --body: 'Heebo', system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 72px); --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; }
h2 { font-size: clamp(34px, 4.4vw, 66px); }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; color: var(--navy); margin-bottom: 12px; }
.sec-head { max-width: 860px; }
.sec-sub { color: var(--ink-2); font-size: clamp(16.5px, 1.25vw, 19px); max-width: 580px; margin-top: 14px; }
.fine { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .3s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); color: #fff; }
.btn-wa { background: #1F7A4D; color: #fff; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.wide { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 26px; padding: 10px var(--pad); background: rgba(246, 243, 238, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand span { display: grid; line-height: 1.15; }
.brand b { font-family: var(--display); font-size: 21px; font-weight: 700; }
.brand small { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

/* hook */
.hook { position: relative; height: calc(100svh - var(--top-h, 62px)); min-height: 520px; overflow: hidden; background: #D9CFBF; }
.hook-media { position: absolute; inset: 0; }
.hook-still, .hook-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hook-video { opacity: 0; }
.hook.playing .hook-video { opacity: 1; }
.hook-last { opacity: 0; transition: opacity .7s; }
.hook.ended .hook-last { opacity: 1; }
.hook::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to left, rgba(16, 28, 50, .72), rgba(16, 28, 50, .35) 32%, rgba(16, 28, 50, 0) 56%); opacity: 0; transition: opacity .9s; }
.hook.say1::after { opacity: 1; }
.hook-text { position: absolute; z-index: 2; top: 50%; transform: translateY(-58%); inset-inline-start: var(--pad); width: min(52vw, 760px); color: #fff; }
.hook-text .kicker { color: var(--sky); }
.hook-h { font-size: clamp(54px, 7.2vw, 128px); line-height: .96; font-weight: 700; }
.hook-h .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hook-h .ln > span { display: block; transform: translateY(112%); transition: transform 1s var(--ease); }
.hook-h .ln:nth-child(2) > span { color: var(--sand); }
.hook.say1 .hook-h .ln:nth-child(1) > span, .hook.say2 .hook-h .ln:nth-child(2) > span { transform: none; }
.hook-text .kicker, .hook-text .lead { opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s var(--ease); }
.hook.say1 .hook-text .kicker, .hook.say2 .hook-text .lead { opacity: 1; transform: none; }
.hook-text .lead { margin-top: 20px; font-size: clamp(16.5px, 1.3vw, 20px); max-width: 440px; color: #EEF2F8; }
.hook-cta { position: absolute; z-index: 2; bottom: clamp(22px, 7vh, 64px); inset-inline-start: var(--pad); display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s var(--ease); }
.hook.cta .hook-cta { opacity: 1; transform: none; }
.replay { position: absolute; z-index: 2; top: 16px; inset-inline-end: 16px; background: rgba(21, 32, 46, .55); color: #fff; border: 0; border-radius: 999px; padding: 7px 15px; font-size: 14px; cursor: pointer; opacity: 0; transition: opacity .5s; }
.hook.cta .replay { opacity: 1; }
html:not(.js) .hook-h .ln > span, html:not(.js) .hook-text .kicker, html:not(.js) .hook-text .lead, html:not(.js) .hook-cta { opacity: 1; transform: none; }
html:not(.js) .hook-last, html:not(.js) .hook::after { opacity: 1; }

/* facts */
.facts { list-style: none; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.facts li { padding: 24px 0; color: var(--ink-2); font-size: 15px; }
.facts li + li { padding-inline-start: clamp(14px, 2.6vw, 40px); border-inline-start: 1px solid var(--line); }
.facts b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.1vw, 30px); color: var(--navy); line-height: 1.2; }

/* homes */
.homes { padding: clamp(70px, 9vw, 140px) var(--pad) clamp(40px, 5vw, 70px); }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: 40px; }
.home { text-align: start; background: #fff; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; padding: 0; box-shadow: 0 24px 50px -36px rgba(21, 32, 46, .45); transition: transform .5s var(--ease), box-shadow .5s; }
.home:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(21, 32, 46, .5); }
.home-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.home:hover .home-img img { transform: scale(1.05); }
.home-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.home-body { padding: 20px 22px 24px; display: grid; gap: 4px; }
.home-hood { font-size: 14px; color: var(--ink-2); }
.home-title { font-family: var(--display); font-size: clamp(21px, 1.7vw, 26px); font-weight: 500; line-height: 1.2; }
.home-meta { display: flex; gap: 14px; color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.home-price { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy); margin-top: 10px; }

/* deals ticker */
.deals { padding: 30px 0 60px; }
.deals-head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.deals-head .fine { margin: 0; }
.deals-track { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 8px; }
.deals-row { display: flex; width: max-content; animation: deals 60s linear infinite; }
.deal { display: grid; padding: 18px 30px; border-inline-end: 1px solid var(--line); min-width: 240px; }
.deal b { font-family: var(--display); font-weight: 500; font-size: 20px; }
.deal span { font-size: 14px; color: var(--ink-2); }
.deal i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--navy); }
@keyframes deals { to { transform: translateX(50%); } }

/* valuation */
.value { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 110px); align-items: start; padding: clamp(60px, 8vw, 120px) var(--pad); background: var(--navy); color: #fff; }
.value .kicker { color: var(--sky); }
.value .sec-sub { color: #C9D5E6; }
.card { background: #fff; color: var(--ink); border-radius: 12px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.card label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.card input:not([type=radio]):not([type=checkbox]), .card select { height: 50px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 14px; font-size: 17px; color: var(--ink); width: 100%; min-width: 0; }
.card input:focus, .card select:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg, .chips { border: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.seg legend, .chips legend { font-size: 14.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.seg label, .chips label { display: block; position: relative; }
.seg input, .chips input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg span, .chips span { display: block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; color: var(--ink); font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + span, .chips input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.val-out { display: grid; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.val-out span { font-size: 14px; color: var(--ink-2); }
.val-out b { font-family: var(--display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; color: var(--navy); line-height: 1.15; font-variant-numeric: tabular-nums; }
.val-out small { font-size: 14px; color: var(--ink-2); }

/* mortgage */
.mortgage { padding: clamp(70px, 9vw, 140px) var(--pad); }
.mort { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 60px); margin-top: 40px; align-items: stretch; }
.mort-in { display: grid; gap: 26px; align-content: start; }
.mort-in label { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; font-weight: 500; color: var(--ink-2); }
.mort-in output { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mort-in input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--navy); height: 28px; }
.mort-out { background: var(--paper-2); border-radius: 12px; padding: clamp(22px, 3vw, 38px); display: grid; gap: 10px; align-content: start; }
.mort-out > span { color: var(--ink-2); font-size: 15px; }
.mort-out > b { font-family: var(--display); font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; color: var(--navy); line-height: 1.05; font-variant-numeric: tabular-nums; }
.mort-out dl { display: grid; gap: 0; margin: 8px 0 12px; }
.mort-out dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mort-out dt { color: var(--ink-2); }
.mort-out dd { font-weight: 700; font-variant-numeric: tabular-nums; }

/* alert */
.alert { padding: 0 var(--pad) clamp(70px, 9vw, 140px); }
.alert-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: start; background: var(--sky); border-radius: 16px; padding: clamp(26px, 5vw, 70px); }
.alert .card { box-shadow: none; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 110px); padding: clamp(70px, 9vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.about h2 { font-size: clamp(30px, 3.6vw, 54px); color: var(--navy); }
.about-text p:not(.kicker) { margin-top: 18px; color: var(--ink-2); font-size: clamp(16.5px, 1.2vw, 19px); max-width: 600px; }
.quotes { display: grid; gap: 14px; align-content: start; }
blockquote { background: #fff; border-radius: 10px; padding: 22px 24px; border-inline-start: 4px solid var(--sand); }
blockquote p { font-family: var(--display); font-size: 19px; line-height: 1.45; }
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--ink-2); }

.contact { background: var(--navy-2); color: #fff; text-align: center; padding: clamp(60px, 8vw, 110px) var(--pad); display: grid; gap: 22px; justify-items: center; }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.contact p { color: #C9D5E6; }
.foot { padding: 26px var(--pad) 90px; color: var(--ink-2); font-size: 13.5px; }
.wa-float { position: fixed; z-index: 60; bottom: 18px; left: 18px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1F7A4D; color: #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .4); }

/* property sheet */
.sheet { margin: auto; border: 0; padding: 0; width: min(980px, 100vw - 32px); max-height: calc(100svh - 32px); border-radius: 14px; background: var(--paper); color: var(--ink); }
.sheet::backdrop { background: rgba(15, 22, 34, .6); backdrop-filter: blur(4px); }
.sheet-in { position: relative; max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.x { position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 26px; line-height: 1; cursor: pointer; }
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: clamp(260px, 42vw, 430px); }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal img:first-child { grid-row: span 2; }
.sheet-body { padding: clamp(20px, 3vw, 36px); }
.sheet-body h3 { font-size: clamp(26px, 3vw, 38px); }
.s-price { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--navy); margin-top: 6px; }
.specs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.specs li { background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.s-desc { color: var(--ink-2); max-width: 680px; }
.sheet-body h4 { font-size: 20px; margin: 26px 0 0; }
.days, .slots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.slots { margin-bottom: 18px; }
.chip { border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 8px; padding: 9px 13px; cursor: pointer; font-weight: 500; line-height: 1.25; min-width: 62px; }
.chip small { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 400; }
.chip[aria-checked="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.chip[aria-checked="true"] small { color: var(--sky); }
.chip:disabled { opacity: .35; cursor: default; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .value, .mort, .alert-in, .about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .brand small { display: none; }
  .hook-still, .hook-video { object-position: 42% 50%; }
  .hook::after { background: linear-gradient(to bottom, rgba(16, 28, 50, .8), rgba(16, 28, 50, .45) 38%, rgba(16, 28, 50, 0) 60%); }
  .hook-text { top: 24px; transform: none; inset-inline: var(--pad); width: auto; }
  .hook-text .lead { margin-top: 12px; font-size: 16px; }
  .hook-cta { inset-inline: var(--pad); }
  .hook-cta .btn { flex: 1 1 100%; }
  .replay { display: none; }
  .alert-in { margin-inline: calc(var(--pad) * -1); border-radius: 0; }
  .gal { grid-template-columns: 1fr; grid-template-rows: none; height: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gal img { flex: 0 0 88%; height: 240px; scroll-snap-align: start; }
  .gal img:first-child { grid-row: auto; }
  .sheet { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; border-radius: 0; margin: 0; }
  .sheet-in { max-height: 100svh; }
}
@media (prefers-reduced-motion: reduce) {
  .deals-row { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
