/* Grand American Homes | Coastal Modern homepage */

:root {
  --night: #101425;
  --navy: #1E2A8C;
  --navy-deep: #141C63;
  --coral: #D62828;
  --coral-deep: #B51F1F;
  --coral-soft: #F4A6A6;
  --mist: #F3F4F9;
  --shell: #C9CCDD;
  --line: #E3E6EE;
  --ink: #3B3F55;
  --muted: #4A4F6E;
  --faint: #6B7089;
  --white: #FFFFFF;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(80px, 11vw, 144px);
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--night);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; color: var(--navy); }
p { margin: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 18px;
}
.eyebrow-light { color: rgba(255,255,255,.92); }
.eyebrow-coral { color: var(--coral-soft); }
.rule { width: 40px; height: 1.5px; background: currentColor; opacity: .7; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-red { background: var(--coral); color: #fff; box-shadow: 0 10px 30px -10px rgba(214,40,40,.55); }
.btn-red:hover { background: var(--coral-deep); box-shadow: 0 16px 36px -12px rgba(214,40,40,.6); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { border: 1.5px solid var(--night); color: var(--night); background: transparent; }
.btn-line:hover { background: var(--night); color: #fff; }
.btn-glass {
  color: #fff; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,.95); color: var(--night); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,.45); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--night); }

.pill {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.home-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
}
.home-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 { max-width: 760px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.nav-inner {
  max-width: 1600px; margin: 0 auto; height: 96px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .45s var(--ease);
}
.nav-logo { position: relative; display: block; height: 58px; flex-shrink: 0; transition: height .45s var(--ease); }
.nav-logo img { height: 100%; width: auto; transition: opacity .4s; }
.nav-logo .logo-dark { position: absolute; inset: 0; opacity: 0; mix-blend-mode: multiply; }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a {
  position: relative; color: #fff; font-size: 15.5px; font-weight: 500; padding: 6px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; transition: color .3s; }
.nav-phone svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-toggle { display: none; }

.nav.is-scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 12px 40px -24px rgba(16,20,37,.35); }
.nav.is-scrolled .nav-inner { height: 78px; }
.nav.is-scrolled .nav-logo { height: 48px; }
.nav.is-scrolled .logo-light { opacity: 0; }
.nav.is-scrolled .logo-dark { opacity: 1; }
.nav.is-scrolled .nav-links a, .nav.is-scrolled .nav-phone { color: var(--night); }
.nav.is-hidden { transform: translateY(calc(-100% - 40px)); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1100px;
  overflow: hidden; background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-slides, .slide, .hero-shade, .grain { position: absolute; inset: 0; }
.slide {
  background: var(--img) center / cover no-repeat;
  opacity: 0; transform: scale(1.14); transform-origin: var(--origin, 50% 50%);
  transition: opacity 1.8s ease, transform 9s linear;
  filter: saturate(1.06) contrast(1.04);
}
.slide.is-active { opacity: 1; transform: scale(1.02); }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(16,20,37,.55) 0%, rgba(16,20,37,0) 22%),
    linear-gradient(0deg, rgba(16,20,37,.92) 0%, rgba(16,20,37,.55) 32%, rgba(16,20,37,0) 62%),
    linear-gradient(90deg, rgba(16,20,37,.55) 0%, rgba(16,20,37,0) 60%);
}
.grain {
  opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; padding-bottom: 170px; }
.hero-title { font-size: clamp(46px, 7.4vw, 108px); line-height: .98; letter-spacing: -.015em; margin: 6px 0 26px; }
.hero-title em { color: #fff; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.3s var(--ease) forwards; animation-delay: var(--d); }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; color: rgba(255,255,255,.88); line-height: 1.55; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-anim { opacity: 0; transform: translateY(20px); animation: fadeUp 1.1s var(--ease) forwards; animation-delay: var(--d); }

@keyframes rise { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-search {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 40px;
  display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; align-items: center;
  width: min(820px, calc(100% - 2 * var(--gutter) - 260px));
  padding: 10px 10px 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.hero-search label { display: flex; flex-direction: column; padding: 4px 20px; border-right: 1px solid rgba(255,255,255,.22); cursor: pointer; }
.hero-search label:nth-child(3) { border-right: 0; }
.hero-search label span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-search select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 2px 18px 0 0;
  color: #fff; font: 600 16px var(--sans); cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center;
}
.hero-search select option { color: var(--night); }
.hero-search .btn { height: 54px; }

.hero-meta {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 52px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.hero-caption { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); transition: opacity .5s; }
.hero-bars { display: flex; gap: 8px; }
.hero-bars button { width: 56px; height: 18px; padding: 8px 0; background: none; border: 0; cursor: pointer; }
.hero-bars button i { display: block; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-bars button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-bars button.is-done i::after { transform: scaleX(1); }
.hero-bars button.is-active i::after { animation: bar var(--dur, 7s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Statement + facts ---------- */
.statement { padding: var(--section) 0 calc(var(--section) * .8); }
.statement-text {
  font-family: var(--serif); font-size: clamp(30px, 3.8vw, 54px); line-height: 1.16; letter-spacing: -.01em;
  max-width: 1180px; margin-bottom: clamp(56px, 8vw, 104px);
}
.statement-text .w { color: var(--shell); transition: color .5s ease; }
.statement-text .w.on { color: var(--night); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.fact { border-top: 1px solid var(--shell); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.fact-num { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--navy); }
.fact-num b { font-weight: 400; }
.fact-num.accent { color: var(--coral); font-style: italic; }
.fact-label { font-size: 15px; color: var(--muted); }

/* ---------- Homes ---------- */
.homes { padding: calc(var(--section) * .4) 0 var(--section); }
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) 28px; }
.listing { display: flex; flex-direction: column; gap: 18px; }
.listing-img { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--mist); isolation: isolate; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); filter: saturate(1.05); }
.listing-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,20,37,.28), rgba(16,20,37,0) 45%); opacity: 0; transition: opacity .6s; }
.listing-img .pill { position: absolute; top: 16px; left: 16px; z-index: 1; }
.listing:hover .listing-img img { transform: scale(1.07); }
.listing:hover .listing-img::after { opacity: 1; }
.listing-body { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.listing-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.listing-top h3 { font-size: 25px; line-height: 1.15; }
.listing-price { font-family: var(--serif); font-size: 25px; color: var(--navy); white-space: nowrap; }
.listing-city { font-size: 15px; color: var(--muted); }
.listing-specs { list-style: none; padding: 14px 0 0; margin: 8px 0 6px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--muted); }
.listing-specs li { display: inline-flex; align-items: center; gap: 7px; }
.listing-specs b { color: var(--night); font-weight: 600; }
.listing-specs svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.listing .home-link { color: var(--navy); margin-top: 6px; align-self: flex-start; }
.listing .home-link:hover { color: var(--coral); }
.listing .home-link:hover svg { transform: translateX(4px); }

.incentive {
  position: relative; overflow: hidden; margin-top: clamp(48px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 44px;
}
.incentive::before {
  content: ""; position: absolute; right: 18%; top: -70px; width: 260px; height: 260px; opacity: .1;
  background: url(images/house-white.svg) center / contain no-repeat; transition: transform 1s var(--ease);
}
.incentive:hover::before { transform: rotate(-8deg) scale(1.1); }
.incentive .eyebrow { margin-bottom: 8px; }
.incentive h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; position: relative; }
.incentive .btn { position: relative; }
.btn-white { background: #fff; color: var(--navy); }
.incentive:hover .btn-white { transform: translateY(-2px); }

/* ---------- Standard ---------- */
.standard { background: var(--mist); padding: var(--section) 0; overflow: hidden; }
.standard-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.standard-media { position: relative; padding: 0 12% 18% 0; }
.media-main { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.media-main img { width: 100%; height: 100%; object-fit: cover; }
.media-float {
  position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 4.6;
  border-radius: 22px; overflow: hidden; border: 8px solid var(--mist);
  box-shadow: 0 40px 70px -35px rgba(16,20,37,.45);
}
.media-float img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: -34px; bottom: 9%; width: 150px; height: 150px; border-radius: 50%; background: var(--night); display: grid; place-items: center; box-shadow: 0 24px 50px -20px rgba(16,20,37,.6); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-ring text { font: 700 13px var(--sans); letter-spacing: .12em; fill: #fff; }
.badge-house { width: 54px; height: 54px; fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spin { to { transform: rotate(360deg); } }

.standard-copy h2 { margin-bottom: 28px; }
.standard-copy > p { font-size: 18px; line-height: 1.7; color: var(--ink); margin-bottom: 18px; max-width: 560px; }
.features { list-style: none; padding: 0; margin: 30px 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.features li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; }
.features li::before {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D62828' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 0 0 1px var(--line);
}

/* ---------- Marquee ---------- */
.marquee { padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 20px; padding-right: 20px; align-items: center; }
.marquee img { height: clamp(220px, 24vw, 340px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.marquee img.tall { aspect-ratio: 4 / 5; height: clamp(260px, 28vw, 400px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Gallery ---------- */
.gallery { background: var(--night); color: #fff; padding: var(--section) 0; position: relative; overflow: hidden; }
.gallery::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30,42,140,.55), rgba(30,42,140,0)); pointer-events: none;
}
.gallery h2 em { color: var(--coral-soft); }
.bento { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 18vw, 270px); gap: 16px; }
.tile { position: relative; margin: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: #1b2040; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter .6s; }
.tile figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(16,20,37,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.tile:hover img { transform: scale(1.07); }
.tile:hover figcaption { opacity: 1; transform: none; }
.t-a { grid-column: span 2; grid-row: span 2; }
.t-d { grid-column: span 2; }
.t-f { grid-column: span 2; }

/* ---------- Communities ---------- */
.communities { padding: var(--section) 0; }
.comm-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.comm-copy { position: sticky; top: 130px; }
.comm-copy h2 { margin-bottom: 22px; }
.comm-copy > p { font-size: 18px; color: var(--ink); max-width: 460px; }
.nearby { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nearby li { background: var(--mist); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.nearby b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--navy); }
.nearby span { font-size: 14px; color: var(--muted); }
.comm-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--shell); }
.comm-list li { border-bottom: 1px solid var(--shell); }
.comm-list a {
  position: relative; display: flex; align-items: baseline; gap: 22px; padding: 22px 8px;
  font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1;
  transition: color .4s var(--ease), padding .5s var(--ease);
}
.comm-list a::after {
  content: ""; margin-left: auto; align-self: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color .4s, transform .5s var(--ease);
}
.comm-list .num { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--faint); min-width: 24px; }
.comm-list i { font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.comm-list a:hover { color: var(--navy); padding-left: 20px; }
.comm-list a:hover::after { background-color: var(--coral); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E"); transform: rotate(45deg); }

/* ---------- More ---------- */
.more { padding: 0 0 var(--section); }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.more-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; min-height: 290px;
  display: flex; flex-direction: column; gap: 14px; background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.more-card > svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--mist); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; transition: background .4s, stroke .4s; }
.more-card h3 { font-size: 28px; line-height: 1.15; }
.more-card p { color: var(--ink); font-size: 16px; }
.more-card .home-link { margin-top: auto; color: var(--navy); }
.more-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(16,20,37,.3); }
.more-card:hover > svg { background: var(--navy); stroke: #fff; }
.more-card:hover .home-link svg { transform: translateX(4px); }

/* ---------- Inquiry ---------- */
.inquire { position: relative; padding: var(--section) 0; color: #fff; overflow: hidden; background: var(--night); }
.inquire-bg { position: absolute; inset: -12% 0; background: url(images/judith-front.jpg) center / cover no-repeat; }
.inquire-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,20,37,.92) 0%, rgba(16,20,37,.75) 45%, rgba(20,28,99,.55) 100%); }
.inquire-grid { position: relative; display: grid; grid-template-columns: 1fr 520px; gap: clamp(40px, 6vw, 96px); align-items: center; }
.inquire-copy h2 { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 24px; }
.inquire-copy h2 em { color: #fff; }
.inquire-copy > p { font-size: 19px; color: rgba(255,255,255,.85); max-width: 520px; }
.inquire-phone { display: inline-flex; flex-direction: column; margin-top: 40px; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1; transition: color .3s; }
.inquire-phone span { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-soft); margin-bottom: 8px; }
.inquire-phone:hover { color: var(--coral-soft); }

.inquire-form { position: relative; background: #fff; color: var(--night); border-radius: 26px; padding: 40px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.form-head { margin-bottom: 24px; }
.form-head h3 { font-size: 32px; line-height: 1.1; margin-bottom: 8px; }
.form-head p { color: var(--muted); font-size: 15px; }
.form-body { display: flex; flex-direction: column; gap: 16px; }
.form-body .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquire-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.inquire-form input, .inquire-form select {
  height: 52px; border: 1px solid var(--shell); border-radius: 12px; padding: 0 14px; background: #fff;
  font: 400 16px var(--sans); color: var(--night); outline: none; transition: border-color .25s, box-shadow .25s;
}
.inquire-form select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234A4F6E' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.inquire-form input:focus, .inquire-form select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(30,42,140,.12); }
.inquire-form .btn { margin-top: 6px; }
.form-note { text-align: center; font-size: 12.5px; color: var(--faint); }
.form-done { display: none; text-align: center; padding: 60px 10px; }
.form-done svg { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--coral); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { font-size: 36px; margin-bottom: 8px; }
.form-done p { color: var(--muted); }
.inquire-form.is-sent .form-head, .inquire-form.is-sent .form-body { display: none; }
.inquire-form.is-sent .form-done { display: block; animation: fadeUp .8s var(--ease) both; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.66); padding: clamp(64px, 8vw, 96px) 0 40px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 60px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 15px; max-width: 360px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h4 { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; font-size: 13px; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center;
  background: rgba(10,12,24,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; transform: scale(.96); transition: transform .5s var(--ease), opacity .3s; }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lightbox button { background: none; border: 0; color: #fff; cursor: pointer; }
.lb-prev, .lb-next { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; border: 1px solid rgba(255,255,255,.3) !important; display: grid; place-items: center; transition: background .3s; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.12); }
.lb-prev svg, .lb-next svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: 18px; right: 26px; font-size: 44px; line-height: 1; opacity: .8; }
.lb-close:hover { opacity: 1; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: 36px; line-height: 1.1; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 12px; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .25s; }
.menu-open { overflow: hidden; }
.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav .logo-light { opacity: 1; }
.menu-open .nav .logo-dark { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; cursor: pointer; padding: 0 12px;
  }
  .nav-toggle span { display: block; height: 1.5px; background: #fff; transition: transform .4s var(--ease), background .3s; }
  .nav.is-scrolled .nav-toggle { border-color: var(--shell); }
  .nav.is-scrolled .nav-toggle span { background: var(--night); }
  .menu-open .nav-toggle { border-color: rgba(255,255,255,.5) !important; }
  .menu-open .nav-toggle span { background: #fff !important; }
  .menu-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .hero-search { width: calc(100% - 2 * var(--gutter)); }
  .hero-meta { bottom: auto; top: 118px; }
  .hero-content { padding-bottom: 150px; }
}

@media (max-width: 1024px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standard-grid, .comm-grid, .inquire-grid { grid-template-columns: 1fr; }
  .comm-copy { position: static; }
  .standard-media { max-width: 680px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-grid { grid-template-columns: 1fr; }
  .more-card { min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-inner { height: 78px; }
  .nav-logo { height: 46px; }
  .nav.is-scrolled .nav-inner { height: 68px; }
  .nav.is-scrolled .nav-logo { height: 40px; }
  .nav-phone, .nav-actions > .btn { display: none; }
  .hero { min-height: 640px; max-height: none; }
  .hero-content { padding-bottom: 36px; }
  .hero-ctas .btn { flex: 1; padding: 0 18px; }
  .hero-search { display: none; }
  .hero-meta { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .listings { grid-template-columns: 1fr; }
  .listing-top h3, .listing-price { font-size: 23px; }
  .incentive { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .features { grid-template-columns: 1fr; }
  .badge { width: 112px; height: 112px; left: -8px; }
  .badge-house { width: 40px; height: 40px; }
  .bento { grid-auto-rows: 170px; gap: 10px; }
  .t-a { grid-row: span 2; }
  .tile figcaption { opacity: 1; transform: none; left: 10px; bottom: 10px; font-size: 10px; padding: 6px 10px; }
  .comm-list a { gap: 14px; padding: 18px 4px; }
  .comm-list i { display: none; }
  .comm-list a::after { width: 38px; height: 38px; }
  .nearby { grid-template-columns: 1fr 1fr; }
  .nearby li { padding: 14px 16px; }
  .nearby b { font-size: 18px; }
  .inquire-form { padding: 28px 22px; }
  .form-body .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 70px); }
  .lb-next { right: calc(50% - 70px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slide { transform: none !important; }
  .reveal, .hero-anim { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; }
}
