/* ============================================================
   45 Meeting House Road — Property Site
   Papa Realty Group · coastal-luxe interpretation
   ============================================================ */

:root {
  --paper:      #FCFBF9;
  --paper-2:    #F4F1EA;   /* warm sand alt section */
  --mist:       #E9EFF4;   /* cool light-blue band  */
  --ink:        #1B2A38;   /* deep navy-charcoal     */
  --ink-soft:   #5C6A78;
  --ink-faint:  #93A0AC;
  --navy:       #3A5A78;   /* primary accent / CTA   */
  --navy-deep:  #2B4861;
  --line:       #E5E2DB;
  --line-soft:  #EEEBE4;
  --white:      #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* photo crispness / tone — driven by Tweaks (SVG sharpen + tone) */
.hero__img,
#galleryGrid img,
.nbhd__photos img,
.lb img {
  filter: var(--photo-filter, url(#sharpen-soft));
  transition: filter .35s var(--ease);
}
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow.muted { color: var(--ink-faint); }

h1,h2,h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
}

.section-title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.04;
}

.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 60ch;
}

.section { padding-block: clamp(70px, 9vw, 140px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), color .4s var(--ease);
  color: var(--white);
}
.nav.scrolled {
  background: rgba(252,251,249,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  padding-block: 13px;
}
.nav__brand {
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 16px rgba(10,16,22,.35);
}
.nav.scrolled .nav__brand { text-shadow: none; }
.nav__brand small { display:none; }
.nav__links { display: flex; gap: clamp(15px, 1.9vw, 34px); align-items: center; }
.nav__links a {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  position: relative; padding: 4px 0; opacity: .92;
  transition: opacity .25s;
}
.nav:not(.scrolled) .nav__links a, .nav:not(.scrolled) .nav__cta { text-shadow: 0 1px 14px rgba(10,16,22,.4); }
.nav__links a::after {
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px;
  background: currentColor; transition: right .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a.active::after { right: 0; }
.nav__cta {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid currentColor; padding: 10px 18px; border-radius: 2px;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.nav.scrolled .nav__cta { border-color: var(--navy); color: var(--navy); }
.nav__cta:hover { background: var(--navy); color: var(--white) !important; border-color: var(--navy); }
.nav__toggle { display:none; background:none; border:0; color:inherit; cursor:pointer; padding:6px; }
.nav__toggle svg { width:26px; height:26px; stroke: currentColor; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--serif); font-size: 34px; color: var(--ink); padding: 8px 0; }
.mobile-menu__close { position:absolute; top: 22px; right: var(--pad); background:none;border:0;cursor:pointer; }
.mobile-menu__close svg { width: 30px; height:30px; stroke: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
  padding-top: 104px;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
}
.hero::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(13,20,28,.34) 0%, rgba(16,24,33,.02) 24%, rgba(16,24,33,0) 50%, rgba(13,20,28,.42) 78%, rgba(13,20,28,.72) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__pill {
  display:inline-flex; align-items:center; gap:9px;
  background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.34);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 26px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.hero__pill .dot { width:7px; height:7px; border-radius:50%; background:#9ad0a0; box-shadow:0 0 0 0 rgba(154,208,160,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(154,208,160,.6);} 70%{box-shadow:0 0 0 9px rgba(154,208,160,0);} 100%{box-shadow:0 0 0 0 rgba(154,208,160,0);} }
.hero__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity:.9; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(23px, 6.8vw, 104px); font-weight: 500; line-height: .94; letter-spacing: -.02em;
  white-space: nowrap;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.hero h1 .st { display:block; }
.hero__sub { margin-top: 18px; font-family: var(--sans); font-size: clamp(15px,1.8vw,19px); letter-spacing:.04em; opacity:.92; }
.hero__stats {
  display:flex; flex-wrap:wrap; gap: clamp(22px,4vw,56px); align-items:flex-end;
  margin-top: clamp(30px,4vw,46px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.28);
}
.hero__stat .n { font-family: var(--serif); font-size: clamp(30px,3.6vw,46px); font-weight:500; line-height:1; }
.hero__stat .l { font-family: var(--sans); font-size: 11.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; opacity:.82; margin-top:8px; }
.hero__price { margin-left: auto; text-align: right; }
.hero__price .n { font-size: clamp(34px,4.4vw,56px); }
.scrollcue {
  position:absolute; left:50%; bottom:22px; transform:translateX(-50%); z-index:3;
  font-family:var(--sans); font-size:10px; letter-spacing:.3em; text-transform:uppercase; opacity:.8;
  display:flex; flex-direction:column; align-items:center; gap:8px; color:#fff;
}
.scrollcue .bar { width:1px; height:38px; background:linear-gradient(#fff,transparent); animation: drop 2s infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top;} 45%{transform:scaleY(1);transform-origin:top;} 55%{transform:scaleY(1);transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* ============================================================
   OVERVIEW
   ============================================================ */
.overview { display:grid; grid-template-columns: 1.25fr .9fr; gap: clamp(36px,6vw,90px); align-items:start; }
.overview__body p + p { margin-top: 1.1em; }
.overview__body .lead { margin-bottom: 1.4em; }
.overview__body p { color: var(--ink-soft); }
.facts {
  border: 1px solid var(--line); background: var(--white);
  padding: clamp(26px,3vw,38px); position: sticky; top: 96px;
}
.facts h3 { font-size: 13px; font-family: var(--sans); font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-faint); margin-bottom: 6px; }
.facts__price { font-family: var(--serif); font-size: clamp(38px,4.4vw,52px); font-weight:500; line-height:1; margin-bottom: 4px; }
.facts__addr { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; letter-spacing:.01em; }
.facts__row { display:flex; justify-content:space-between; gap:16px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.facts__row dt { color: var(--ink-soft); }
.facts__row dd { font-weight: 600; text-align:right; }
.facts__cta { display:block; text-align:center; margin-top: 24px; background: var(--navy); color:#fff;
  font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  padding: 15px; border-radius:2px; transition: background .25s; }
.facts__cta:hover { background: var(--navy-deep); }
.facts__open { margin-top:12px; text-align:center; font-size:12.5px; font-weight:600; letter-spacing:.06em; color:var(--navy); }

/* ============================================================
   STAT BAND
   ============================================================ */
.band { background: var(--mist); }
.band__grid { display:grid; grid-template-columns: repeat(6,1fr); gap: 8px; text-align:center; }
.band__item { padding: 10px; }
.band__item .n { font-family: var(--serif); font-size: clamp(30px,3.6vw,50px); font-weight:500; line-height:1; color: var(--navy-deep); }
.band__item .l { font-family: var(--sans); font-size: 11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color: var(--ink-soft); margin-top:10px; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.shead { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom: clamp(34px,4vw,58px); flex-wrap:wrap; }
.shead__l { max-width: 60ch; }
.shead .eyebrow { display:block; margin-bottom: 16px; }
.shead p { color: var(--ink-soft); margin-top: 16px; }

/* ============================================================
   GALLERY
   ============================================================ */
.filters { display:flex; gap:8px; flex-wrap:wrap; }
.filters button {
  font-family: var(--sans); font-size: 11.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  background:none; border:1px solid var(--line); color: var(--ink-soft); cursor:pointer;
  padding: 9px 16px; border-radius: 100px; transition: all .22s;
}
.filters button:hover { border-color: var(--ink-faint); color: var(--ink); }
.filters button.active { background: var(--ink); border-color: var(--ink); color:#fff; }

.gallery {
  margin-top: clamp(28px,3vw,44px);
  columns: var(--gallery-cols, 3); column-gap: 14px;
}
.gallery figure {
  break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden;
  cursor: pointer; background: var(--paper-2);
}
.gallery img { width:100%; height:auto; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position:absolute; inset:auto 0 0 0; padding: 30px 16px 14px; color:#fff;
  font-family: var(--sans); font-size: 13px; font-weight:600; letter-spacing:.04em;
  background: linear-gradient(transparent, rgba(13,20,28,.78));
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.gallery figure:hover figcaption { opacity:1; transform: translateY(0); }
.gallery .cat { display:block; font-weight:600; font-size:10px; letter-spacing:.18em; text-transform:uppercase; opacity:.8; margin-bottom:3px; }

/* lightbox */
.lb { position: fixed; inset:0; z-index: 100; background: rgba(13,18,24,.95); display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition: opacity .3s; }
.lb.open { opacity:1; pointer-events:auto; }
.lb img { max-width: 90vw; max-height: 82vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb__cap { position:absolute; bottom: 26px; left:0; right:0; text-align:center; color:#fff; font-family:var(--sans); font-size:14px; letter-spacing:.04em; }
.lb__cap .c { font-size:10px; letter-spacing:.2em; text-transform:uppercase; opacity:.6; margin-top:4px; }
.lb__count { position:absolute; top:26px; left:0; right:0; text-align:center; color:rgba(255,255,255,.6); font-family:var(--sans); font-size:12px; letter-spacing:.2em; }
.lb__btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25);
  color:#fff; width:54px; height:54px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition: background .2s; }
.lb__btn:hover { background: rgba(255,255,255,.2); }
.lb__btn svg { width:22px; height:22px; stroke:#fff; fill:none; }
.lb__prev { left: clamp(12px,3vw,40px); } .lb__next { right: clamp(12px,3vw,40px); }
.lb__close { position:absolute; top:22px; right: clamp(16px,3vw,32px); background:none; border:0; cursor:pointer; }
.lb__close svg { width:30px; height:30px; stroke:#fff; }

/* ============================================================
   FEATURES
   ============================================================ */
.feat-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,3vw,48px); }
.feat { border-top: 2px solid var(--ink); padding-top: 22px; }
.feat h3 { font-family: var(--sans); font-size: 13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; margin-bottom: 16px; }
.feat ul { list-style:none; }
.feat li { font-size: 15px; color: var(--ink-soft); padding: 8px 0 8px 20px; position:relative; border-bottom:1px solid var(--line-soft); }
.feat li::before { content:""; position:absolute; left:0; top:15px; width:6px; height:6px; background: var(--navy); border-radius:50%; }
.feat li:last-child { border-bottom:0; }

/* room breakdown */
.rooms { margin-top: clamp(48px,5vw,80px); border-top:1px solid var(--line); }
.room {
  display:grid; grid-template-columns: 56px 1.1fr 2fr; gap: 24px; align-items:baseline;
  padding: 22px 0; border-bottom:1px solid var(--line);
}
.room__lvl { font-family:var(--serif); font-size: 30px; color: var(--ink-faint); font-weight:500; }
.room__name { font-family:var(--serif); font-size: clamp(22px,2.4vw,30px); font-weight:500; }
.room__feat { font-size: 14px; color: var(--ink-soft); line-height:1.6; }

/* ============================================================
   NEIGHBORHOOD
   ============================================================ */
.nbhd { background: var(--ink); color: #EAF0F4; }
.nbhd .eyebrow { color: #8FB0CC; }
.nbhd .section-title { color: #fff; }
.nbhd p { color: #B6C3CE; }
.nbhd__grid { display:grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,5vw,80px); align-items:center; }
.nbhd__photos { display:grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.nbhd__photos figure { overflow:hidden; position:relative; aspect-ratio: 4/3; }
.nbhd__photos figure.tall { grid-row: span 2; aspect-ratio: auto; }
.nbhd__photos img { width:100%; height:100%; object-fit:cover; transition: transform .9s var(--ease); }
.nbhd__photos figure:hover img { transform: scale(1.06); }
.nbhd__list { list-style:none; margin-top: 30px; }
.nbhd__list li { padding: 18px 0; border-top:1px solid rgba(255,255,255,.14); display:flex; gap:18px; align-items:flex-start; }
.nbhd__list .k { font-family:var(--serif); font-size: 30px; color:#8FB0CC; line-height:1; min-width: 54px; }
.nbhd__list .t { font-weight:600; color:#fff; display:block; margin-bottom:3px; }
.nbhd__list .d { font-size:14px; color:#B6C3CE; }

/* ============================================================
   LIFESTYLE & COMMUNITY
   ============================================================ */
.life__grid {
  display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,1.4vw,20px);
  margin-top: clamp(34px,4vw,54px);
}
.life__card {
  border:1px solid var(--line); background: var(--white);
  padding: clamp(24px,2.4vw,34px); display:flex; flex-direction:column; gap:10px;
  transition: border-color .25s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.life__card:hover { border-color: var(--ink-faint); transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(27,42,56,.5); }
.life__dist { font-family: var(--sans); font-size: 11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color: var(--navy); }
.life__card h3 { font-family: var(--serif); font-size: clamp(24px,2.3vw,30px); font-weight:500; line-height:1.05; }
.life__card p { font-size: 14.5px; color: var(--ink-soft); line-height:1.6; }
.life__link { margin-top:auto; padding-top: 6px; font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:.05em; color: var(--navy); display:inline-flex; gap:8px; align-items:center; transition: gap .25s; }
.life__card:hover .life__link { gap: 12px; }
.life__link svg { width:14px; height:14px; stroke: currentColor; fill:none; }
.life__quote {
  margin-top: clamp(46px,5vw,80px); padding-top: clamp(38px,4vw,56px);
  border-top:1px solid var(--line); text-align:center;
}
.life__quote blockquote {
  font-family: var(--serif); font-weight:500; font-style: italic;
  font-size: clamp(26px,3.4vw,44px); line-height:1.2; letter-spacing:-.01em;
  max-width: 22ch; margin: 0 auto; color: var(--ink);
}
.life__quote cite {
  display:block; margin-top: 22px; font-family: var(--sans); font-style:normal;
  font-size: 12px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color: var(--ink-faint);
}
.life__quote cite b { color: var(--navy); font-weight:600; }

@media (max-width: 1080px){ .life__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .life__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--paper-2); }
.contact__grid { display:grid; grid-template-columns: .95fr 1.1fr; gap: clamp(40px,5vw,84px); align-items:start; }
.agent__photo {
  width: 132px; height: 132px; border-radius:50%; object-fit:cover; background: var(--mist);
  display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:44px; color:var(--navy);
  border: 1px solid var(--line);
}
.agent h3 { font-size: clamp(30px,3.4vw,42px); margin: 22px 0 4px; }
.agent .role { font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--navy); }
.agent .tagline { font-family:var(--serif); font-size: 22px; font-style:italic; color: var(--ink-soft); margin: 20px 0; }
.agent__contact { list-style:none; margin-top: 8px; }
.agent__contact li { padding: 11px 0; border-top:1px solid var(--line); font-size:15px; display:flex; gap:12px; align-items:center; }
.agent__contact .lab { font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-faint); min-width: 78px; }
.agent__contact a:hover { color: var(--navy); }

.openhouse {
  margin-top: 26px; background: var(--navy); color:#fff; padding: 22px 26px;
  display:flex; align-items:center; gap: 20px;
}
.openhouse .big { font-family:var(--serif); font-size: 40px; line-height:.9; font-weight:500; }
.openhouse .l { font-size:11px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; opacity:.8; }
.openhouse .t { font-weight:600; }

.form { background: var(--white); border:1px solid var(--line); padding: clamp(26px,3vw,40px); }
.form h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 6px; }
.form p.sub { color: var(--ink-soft); font-size:15px; margin-bottom: 24px; }
.form .field { margin-bottom: 16px; }
.form label { display:block; font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:7px; }
.form input, .form textarea, .form select {
  width:100%; font-family:var(--sans); font-size:15px; color:var(--ink);
  background: var(--paper); border:1px solid var(--line); border-radius:2px; padding: 13px 14px;
  transition: border-color .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline:none; border-color: var(--navy); }
.form textarea { resize:vertical; min-height: 96px; }
.form .row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form button {
  width:100%; background: var(--navy); color:#fff; border:0; cursor:pointer; margin-top:6px;
  font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  padding: 16px; border-radius:2px; transition: background .25s; }
.form button:hover { background: var(--navy-deep); }
.form__done { text-align:center; padding: 40px 10px; display:none; }
.form__done.show { display:block; }
.form__done .ck { width:54px;height:54px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;font-size:26px; }
.form__done h3 { margin-bottom:8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #9FB0BD; padding-block: clamp(48px,5vw,72px); font-size: 13px; }
.footer__top { display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; align-items:flex-start; padding-bottom: 34px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer__brand { font-family:var(--serif); font-size: 26px; letter-spacing:.18em; text-transform:uppercase; color:#fff; }
.footer__brand small { display:block; font-family:var(--sans); font-size:10px; letter-spacing:.3em; opacity:.6; margin-top:8px; font-style:italic; }
.footer__cols { display:flex; gap: clamp(40px,5vw,80px); flex-wrap:wrap; }
.footer__cols h4 { font-family:var(--sans); font-size:11px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:#fff; margin-bottom:14px; }
.footer__cols a, .footer__cols p { display:block; color:#9FB0BD; padding: 4px 0; }
.footer__cols a:hover { color:#fff; }
.footer__legal { margin-top: 30px; font-size: 11.5px; line-height:1.7; color:#6E808E; max-width: 90ch; }
.footer__bar { margin-top: 22px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:11.5px; color:#6E808E; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;} .hero__img{transform:none;} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1140px){
  .nav__cta { display:none; }
}
@media (max-width: 1080px){
  .band__grid { grid-template-columns: repeat(3,1fr); gap:20px 8px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 860px){
  .nav__links, .nav__cta { display:none; }
  .nav__toggle { display:block; }
  .overview { grid-template-columns: 1fr; }
  .facts { position: static; }
  .nbhd__grid, .contact__grid { grid-template-columns: 1fr; }
  .room { grid-template-columns: 40px 1fr; }
  .room__feat { grid-column: 2; }
  .hero__price { margin-left:0; text-align:left; width:100%; order:-1; }
}
@media (max-width: 560px){
  body { font-size: 16px; }
  .band__grid { grid-template-columns: repeat(2,1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .form .row { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 32px; }
}

/* ============================================================
   VIDEO TOUR
   ============================================================ */
.tour { background: var(--ink); color: #EAF0F4; }
.tour .eyebrow { color: #8FB0CC; }
.tour .section-title { color: #fff; }
.tour p { color: #B6C3CE; }
.tour__frame { margin-top: clamp(28px,3vw,46px); position: relative; aspect-ratio: 16/9; background:#000; overflow:hidden; box-shadow: 0 40px 90px -50px rgba(0,0,0,.9); }
/* Render the player at 2x and scale down so YouTube serves a high-res
   (1080p/4K) stream instead of a 720p one that looks soft on Retina/4K displays. */
.tour__frame iframe { position:absolute; top:0; left:0; width:200%; height:200%; transform: scale(.5); transform-origin: 0 0; border:0; }
/* Click-to-play poster: shows a sharp still, loads the YouTube player only on click
   (avoids sandbox embed errors and keeps the page fast). */
.ytlite { position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; margin:0; cursor:pointer; background:#000 center/cover no-repeat; display:flex; align-items:center; justify-content:center; }
.ytlite::before { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.34)); }
.ytlite__play { position:relative; z-index:1; width:90px; height:64px; border-radius:16px; background:rgba(15,18,22,.74); display:flex; align-items:center; justify-content:center; transition: background .22s, transform .22s; }
.ytlite:hover .ytlite__play, .ytlite:focus-visible .ytlite__play { background:#cc0000; transform:scale(1.06); }
.ytlite__play svg { width:30px; height:30px; fill:#fff; stroke:none; margin-left:4px; }

/* hero play button */
.hero__play { display:inline-flex; align-items:center; gap:13px; margin-top:24px; color:#fff; font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:.06em; }
.hero__play .pl { width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.55); display:flex; align-items:center; justify-content:center; transition: background .25s, border-color .25s; }
.hero__play:hover .pl { background:#fff; border-color:#fff; }
.hero__play .pl svg { width:15px; height:15px; fill:#fff; margin-left:2px; transition: fill .25s; }
.hero__play:hover .pl svg { fill: var(--ink); }

/* ============================================================
   MAP
   ============================================================ */
.nbhd__map { margin-top: clamp(34px,4vw,58px); }
.nbhd__map .map-frame { position:relative; height: clamp(320px,38vw,460px); overflow:hidden; border:1px solid rgba(255,255,255,.16); }
.nbhd__map iframe { width:100%; height:100%; border:0; filter: grayscale(.12) contrast(1.02); }
.nbhd__map .map-cap { margin-top:15px; font-size:13px; color:#9FB0BD; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.nbhd__map .map-cap a { color:#8FB0CC; font-weight:600; }
.nbhd__map .map-cap a:hover { color:#fff; }

/* ============================================================
   PAYMENT CALCULATOR
   ============================================================ */
.calc { background: var(--mist); }
.calc__grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items:start; margin-top: clamp(18px,2vw,30px); }
.calc__field { margin-bottom: 28px; }
.calc__rowl { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:12px; gap:14px; }
.calc__rowl label { font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
.calc__rowl output { font-family:var(--serif); font-size:22px; font-weight:500; color:var(--ink); }
.calc input[type=range] { width:100%; accent-color: var(--navy); height:6px; cursor:pointer; }
.calc__terms { display:flex; gap:10px; }
.calc__terms button { flex:1; font-family:var(--sans); font-size:13px; font-weight:600; letter-spacing:.04em; padding:13px; border:1px solid var(--line); background:var(--white); color:var(--ink-soft); cursor:pointer; transition:all .2s; }
.calc__terms button.active { background:var(--navy); border-color:var(--navy); color:#fff; }
.calc__result { background: var(--ink); color:#fff; padding: clamp(28px,3vw,40px); }
.calc__total-l { font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#8FB0CC; }
.calc__total { font-family:var(--serif); font-size: clamp(46px,6vw,74px); font-weight:500; line-height:1; margin:8px 0 22px; }
.calc__bar { display:flex; height:10px; border-radius:100px; overflow:hidden; margin-bottom:22px; background:rgba(255,255,255,.12); }
.calc__bar span { display:block; height:100%; transition: width .35s var(--ease); }
#barPI{background:#8FB0CC;} #barTax{background:#C9A66B;} #barHoa{background:#7E9C86;}
.calc__break { list-style:none; }
.calc__break li { display:flex; align-items:center; gap:11px; padding:13px 0; border-top:1px solid rgba(255,255,255,.14); font-size:15px; color:#C7D2DC; }
.calc__break li b { margin-left:auto; color:#fff; font-weight:600; }
.calc__break li::before { content:""; width:9px; height:9px; border-radius:50%; flex:none; }
.calc__break li:nth-child(1)::before{background:#8FB0CC;}
.calc__break li:nth-child(2)::before{background:#C9A66B;}
.calc__break li:nth-child(3)::before{background:#7E9C86;}
.calc__loan { display:flex; justify-content:space-between; padding-top:16px; margin-top:8px; border-top:1px solid rgba(255,255,255,.26); font-size:15px; color:#C7D2DC; }
.calc__loan b { color:#fff; }
.calc__disc { margin-top:18px; font-size:12px; color:#7E909E; line-height:1.55; }

/* ============================================================
   DOCUMENTS
   ============================================================ */
.docs { background: var(--paper-2); }
.docs__grid { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(30px,3.5vw,52px); }
.doc { display:flex; align-items:center; gap:20px; background:var(--white); border:1px solid var(--line); padding: 22px 24px; transition: border-color .2s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.doc:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow:0 16px 36px -26px rgba(27,42,56,.5); }
.doc__ico { flex:none; width:48px; height:48px; display:flex; align-items:center; justify-content:center; background: var(--mist); color: var(--navy); }
.doc__ico svg { width:22px; height:22px; stroke: currentColor; fill:none; }
.doc__body { display:flex; flex-direction:column; gap:3px; }
.doc__body b { font-family:var(--serif); font-size: 22px; font-weight:500; line-height:1.1; }
.doc__body span { font-size:13.5px; color:var(--ink-soft); }
.doc__dl { margin-left:auto; flex:none; color:var(--ink-faint); transition: color .2s, transform .25s; }
.doc:hover .doc__dl { color:var(--navy); transform: translateY(2px); }
.doc__dl svg { width:20px; height:20px; stroke:currentColor; fill:none; }
.docs__note { margin-top: 24px; font-size:12.5px; color:var(--ink-faint); max-width: 80ch; }

/* ============================================================
   CONTACT ACTION BUTTONS
   ============================================================ */
.agent__act { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-top:22px; }
.agent__act a { display:flex; flex-direction:column; align-items:center; gap:8px; padding:16px 8px; border:1px solid var(--line); background:var(--white); color:var(--ink); transition: all .2s; }
.agent__act a:hover { border-color:var(--navy); background:var(--navy); color:#fff; }
.agent__act svg { width:21px; height:21px; stroke:var(--navy); fill:none; transition: stroke .2s; }
.agent__act a:hover svg { stroke:#fff; }
.agent__act .lbl { font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-fab { position:fixed; right:22px; bottom:22px; z-index:82; display:flex; align-items:center; gap:11px; background:var(--navy); color:#fff; border:0; cursor:pointer; padding:14px 22px 14px 17px; border-radius:100px; box-shadow:0 16px 36px -12px rgba(27,42,56,.65); font-family:var(--sans); font-size:14px; font-weight:600; letter-spacing:.01em; transition: transform .25s, background .25s, opacity .25s; }
.chat-fab:hover { background:var(--navy-deep); transform: translateY(-2px); }
.chat-fab svg { width:20px; height:20px; stroke:#fff; fill:none; }
.chat-fab.hide { opacity:0; pointer-events:none; transform:scale(.85); }

.chat { position:fixed; right:22px; bottom:22px; z-index:83; width:min(382px, calc(100vw - 28px)); height:min(566px, calc(100vh - 40px)); background:var(--paper); border:1px solid var(--line); border-radius:8px; box-shadow:0 34px 74px -26px rgba(13,20,28,.6); display:flex; flex-direction:column; overflow:hidden; opacity:0; pointer-events:none; transform: translateY(18px) scale(.98); transform-origin:bottom right; transition: all .3s var(--ease); }
.chat.open { opacity:1; pointer-events:auto; transform:none; }
.chat__head { background:var(--navy); color:#fff; padding:17px 18px; display:flex; align-items:center; gap:13px; }
.chat__av { width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:20px; font-weight:600; flex:none; }
.chat__who b { display:block; font-family:var(--serif); font-size:19px; font-weight:600; line-height:1.1; }
.chat__who span { font-size:12px; opacity:.9; display:flex; align-items:center; gap:6px; margin-top:2px; }
.chat__who .on { width:7px; height:7px; border-radius:50%; background:#9ad0a0; display:inline-block; }
.chat__close { margin-left:auto; background:none; border:0; color:#fff; cursor:pointer; opacity:.85; }
.chat__close svg { width:22px; height:22px; stroke:#fff; }
.chat__actions { display:flex; gap:1px; background:var(--line); }
.chat__actions a { flex:1; background:var(--white); padding:11px 6px; text-align:center; font-family:var(--sans); font-size:10.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--navy); display:flex; flex-direction:column; align-items:center; gap:5px; transition:background .2s; }
.chat__actions a:hover { background:var(--mist); }
.chat__actions svg { width:17px; height:17px; stroke:var(--navy); fill:none; }
.chat__body { flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:9px; }
.bub { max-width:82%; padding:11px 15px; border-radius:16px; font-size:14.5px; line-height:1.46; }
.bub.them { background:var(--white); border:1px solid var(--line); border-bottom-left-radius:5px; align-self:flex-start; color:var(--ink); }
.bub.me { background:var(--navy); color:#fff; border-bottom-right-radius:5px; align-self:flex-end; }
.bub .tm { font-size:10px; opacity:.6; display:block; margin-top:4px; }
.chat__send-thread { margin:0 12px 8px; padding:11px; border:1px solid var(--navy); background:var(--mist); color:var(--navy); font-family:var(--sans); font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:9px; transition: all .2s; }
.chat__send-thread:hover { background:var(--navy); color:#fff; }
.chat__send-thread svg { width:16px; height:16px; stroke:currentColor; fill:none; }
.chat__foot { border-top:1px solid var(--line); padding:12px; display:flex; gap:8px; align-items:flex-end; background:var(--white); }
.chat__foot textarea { flex:1; resize:none; border:1px solid var(--line); border-radius:20px; padding:10px 15px; font-family:var(--sans); font-size:14px; max-height:92px; min-height:42px; line-height:1.4; }
.chat__foot textarea:focus { outline:none; border-color:var(--navy); }
.chat__sendbtn { flex:none; width:42px; height:42px; border-radius:50%; background:var(--navy); border:0; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.chat__sendbtn:hover { background:var(--navy-deep); }
.chat__sendbtn svg { width:18px; height:18px; stroke:#fff; fill:none; }
.chat__hint { font-size:10.5px; color:var(--ink-faint); text-align:center; padding:0 14px 11px; background:var(--white); }

@media (max-width: 760px){
  .docs__grid { grid-template-columns:1fr; }
  .calc__grid { grid-template-columns:1fr; }
}
@media (max-width: 480px){
  .chat-fab .t { display:none; }
  .chat-fab { padding:15px; }
}
