/* 8465 Picket Ridge Ct: site styles. Dark by default; light via [data-theme="light"] on <html>. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* night desert (dark, default) */
  --bg: #0a0b0c;
  --bg-2: #111315;
  --surface: #16181b;
  --surface-2: #1d2024;
  --text: #f3f4f5;
  --text-2: #a7adb3;
  --text-3: #7e858c;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #e9a25b;
  --accent-ink: #2a1604;
  --accent-soft: rgba(233, 162, 91, 0.14);
  --neutral-bar: #4a5056;
  --plan-bg: #ffffff;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(10, 11, 12, 0.72);
  --logo-dark: none;
  --logo-light: block;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 20px;
  --radius-sm: 14px;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 96px;
  --promo-h: 0px;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f6f7;
  --bg-2: #eceef0;
  --surface: #fdfdfd;
  --surface-2: #f0f2f4;
  --text: #121416;
  --text-2: #50575e;
  --text-3: #6a7178;
  --line: rgba(18, 20, 22, 0.1);
  --line-2: rgba(18, 20, 22, 0.18);
  --accent: #8a4f15;
  --accent-ink: #ffffff;
  --accent-soft: rgba(138, 79, 21, 0.1);
  --neutral-bar: #b9bfc5;
  --plan-bg: #ffffff;
  --shadow: 0 24px 60px -28px rgba(30, 40, 50, 0.35);
  --nav-bg: rgba(245, 246, 247, 0.78);
  --logo-dark: block;
  --logo-light: none;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 300ms ease, color 300ms ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) var(--bg); }
.num, .tnum { font-variant-numeric: tabular-nums; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 640; letter-spacing: -0.03em; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 650; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.lede strong, .body strong { color: var(--text); font-weight: 600; }
.body { color: var(--text-2); max-width: 68ch; text-wrap: pretty; }
.small { font-size: 0.84rem; line-height: 1.55; color: var(--text-3); }
.accent { color: var(--accent); }

.section { padding-block: clamp(88px, 12vw, 168px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.98rem; font-weight: 560; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55); filter: brightness(1.06); }
.btn--ghost { border-color: var(--line-2); background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--text-3); }
.btn--onphoto { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(10,11,12,.28); }
.btn--onphoto:hover { border-color: #fff; background: rgba(10,11,12,.45); }
.btn--sm { --h: 36px; padding: 0 16px; font-size: 0.9rem; }
.btn[disabled] { opacity: .55; cursor: progress; }
.link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--accent);
  text-decoration: none; font-weight: 560;
}
.link:hover { text-decoration: underline; }

/* ---------- promo + nav ---------- */
.promo {
  position: relative; z-index: 41;
  min-height: var(--promo-h);
  display: flex; align-items: center; justify-content: center;
  padding: 8px var(--gutter);
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  font-size: 0.86rem; color: var(--text-2); text-align: center;
}
.promo a { color: var(--accent); text-decoration: none; font-weight: 560; white-space: nowrap; }
.promo a:hover { text-decoration: underline; }
.promo strong { color: var(--text); font-weight: 600; }

.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.nav__brand { font-weight: 640; letter-spacing: -0.02em; text-decoration: none; font-size: 1rem; white-space: nowrap; }
.nav__in > nav { flex: 1; display: flex; justify-content: center; }
.nav__links { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav__links a { text-decoration: none; font-size: 0.88rem; color: var(--text-2); transition: color 160ms ease; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-toggle {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  color: var(--text-2);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-3); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
@media (max-width: 960px) {
  .nav__links { display: none; }
}
@media (max-width: 480px) {
  .nav__brand span { display: none; }
  .nav__in { gap: 10px; }
  .nav__actions { gap: 8px; }
  .nav__actions .btn--sm { padding: 0 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--nav-h) - var(--promo-h));
  min-height: max(560px, calc(100svh - var(--nav-h) - var(--promo-h)));
  display: flex; align-items: flex-end;
  overflow: hidden; color: #fff;
  background: #0a0b0c;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 70%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8,9,10,.88) 0%, rgba(8,9,10,.55) 30%, rgba(8,9,10,0) 62%),
    linear-gradient(to right, rgba(8,9,10,.45) 0%, rgba(8,9,10,0) 55%);
}
.hero__content { padding-block: clamp(40px, 7vw, 88px); display: grid; gap: 20px; max-width: 920px; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: rgba(255,255,255,.86); max-width: 52ch; margin: 0; text-wrap: pretty; }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .btn--primary { background: #e9a25b; color: #2a1604; }

/* hero entrance: image settles, copy arrives (motion only when allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media img { animation: settle 2.4s var(--ease-arrive) both; }
  .js .hero__content > * { animation: arrive 900ms var(--ease-arrive) both; }
  .js .hero__content > :nth-child(2) { animation-delay: 120ms; }
  .js .hero__content > :nth-child(3) { animation-delay: 220ms; }
  @supports (animation-timeline: view()) {
    .hero__media { animation: hero-scroll linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes settle { from { transform: scale(1.12); filter: brightness(.7); } to { transform: scale(1); filter: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hero-scroll { to { transform: translateY(18%) scale(1.06); opacity: .55; } }

/* ---------- facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__row {
  display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; gap: 24px;
  padding-block: clamp(28px, 4vw, 44px); margin-block: 0;
}
.facts__row div { display: grid; gap: 2px; }
.facts dt { order: 2; font-size: 0.86rem; color: var(--text-3); }
.facts dd { order: 1; margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .facts__row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}

/* ---------- intro (about) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro__copy { display: grid; gap: 22px; }
.intro__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .intro { grid-template-columns: minmax(0, 1fr); } .intro__media { aspect-ratio: 4 / 3; } }

/* ---------- rooms rail ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; color: var(--text);
  transition: transform 160ms var(--ease-out), opacity 200ms ease, border-color 160ms ease;
}
.rail-btn:hover { border-color: var(--text-3); }
.rail-btn:active { transform: scale(0.94); }
.rail-btn[disabled] { opacity: .35; cursor: default; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 560px);
  gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-bottom: 8px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.chapter { scroll-snap-align: start; margin: 0; display: grid; gap: 16px; align-content: start; }
.chapter__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.chapter__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .chapter:hover .chapter__img img { transform: scale(1.035); } }
.chapter figcaption { display: grid; gap: 6px; padding-right: 8%; }
.chapter figcaption p { margin: 0; color: var(--text-2); font-size: 0.98rem; }
.chapter figcaption strong { color: var(--text); font-weight: 600; }
.rail-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.rail-dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--line-2); transition: width 300ms var(--ease-out), background-color 300ms ease; }
.rail-dots span.on { width: 22px; background: var(--text-2); }

/* ---------- backyard ---------- */
.yard__hero { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; }
.yard__hero img { width: 100%; height: 100%; object-fit: cover; }
.yard__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(14px, 1.6vw, 24px); }
.yard__grid { grid-auto-rows: clamp(200px, 24vw, 380px); }
.yard__grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.yard__grid img { width: 100%; height: 100%; object-fit: cover; }
.yard__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.yard__list li { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.yard__list b { font-weight: 600; letter-spacing: -0.01em; }
.yard__list span { color: var(--text-2); font-size: 0.96rem; }
@media (max-width: 860px) {
  .yard__hero { aspect-ratio: 4 / 3; }
  .yard__grid { grid-template-columns: 1fr 1fr; }
  .yard__grid figure:first-child { grid-column: 1 / -1; }
  .yard__list { grid-template-columns: 1fr; }
}

/* ---------- courtyard bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: clamp(14px, 1.6vw, 22px); }
.tile { position: relative; border-radius: var(--radius); background: var(--surface); padding: clamp(24px, 3vw, 40px); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tile .icon { width: 30px; height: 30px; color: var(--accent); }
.tile__big { font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 650; letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.tile__label { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; }
.tile p { margin: 0; color: var(--text-2); font-size: 0.98rem; max-width: 44ch; }
.tile--hero { grid-column: span 4; grid-row: span 2; background: var(--accent); color: var(--accent-ink); }
.tile--hero p, .tile--hero .tile__label { color: var(--accent-ink); }
.tile--hero .icon { color: var(--accent-ink); }
.tile--hero .tile__big { font-size: clamp(5rem, 12vw, 10.5rem); }
.tile--hero .pw { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); }
.tile--hero .pw div { display: grid; gap: 4px; }
.tile--a { grid-column: span 2; }
.tile--photo { grid-column: span 2; grid-row: span 2; padding: 0; justify-content: flex-end; color: #fff; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,10,.86), rgba(8,9,10,0) 60%); }
.tile--photo .tile__body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 40px); display: grid; gap: 8px; }
.tile--photo p { color: rgba(255,255,255,.82); }
.tile--photo .icon { color: #fff; }
.tile--b { grid-column: span 2; }
.tile--c { grid-column: span 2; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--hero { grid-column: 1 / -1; grid-row: auto; }
  .tile--a, .tile--b, .tile--c { grid-column: span 1; }
  .tile--photo { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--a, .tile--b, .tile--c { grid-column: auto; }
}

/* ---------- media: film + 360 ---------- */
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
}
.seg button {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  height: 38px; padding: 0 20px; border-radius: 999px; font-size: 0.92rem; font-weight: 560; color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  transition: color 200ms ease;
}
.seg button[aria-selected="true"], .seg button[aria-checked="true"] { color: var(--text); }
.seg__thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 999px;
  background: var(--surface-2); box-shadow: 0 1px 2px rgba(0,0,0,.25), inset 0 0 0 1px var(--line);
  transition: transform 320ms var(--ease-out), width 320ms var(--ease-out);
}
.media-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.frame {
  position: relative; margin-top: clamp(28px, 4vw, 48px);
  border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow);
}
.frame__panel { position: absolute; inset: 0; }
.frame__panel[hidden] { display: none; }
.facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; color: #fff; }
.facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity 300ms ease, transform 900ms var(--ease-out); }
.facade:hover img { opacity: .95; transform: scale(1.02); }
.facade__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px 16px 20px; border-radius: 999px;
  background: rgba(10, 11, 12, .55); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 1.02rem; font-weight: 560;
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}
.facade:hover .facade__play { background: rgba(10,11,12,.72); }
.facade:active .facade__play { transform: translate(-50%, -50%) scale(.97); }
.facade__play .icon { width: 22px; height: 22px; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 640px) { .frame { aspect-ratio: 4 / 3; } .seg button { padding: 0 14px; } }

/* ---------- floor plans ---------- */
.plans { margin-top: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--plan-bg); padding: clamp(16px, 3vw, 40px); }
.plans__img { display: block; }
.plans__img img { width: 100%; height: auto; margin-inline: auto; max-height: 78vh; object-fit: contain; }
.plans__img[hidden] { display: none; }
.plans-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- zoom-out location sequence (signature) ---------- */
.zoom { position: relative; height: 500vh; background: var(--bg); }
.zoom__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; background: #0a0b0c; }
.zoom__layer { position: absolute; inset: -8%; overflow: hidden; will-change: transform, opacity; }
.zoom__scrim, .zoom__copy, .zoom__progress { z-index: 10; }
.zoom__layer img { width: 100%; height: 100%; object-fit: cover; }
.zoom__layer:not(:first-child) { opacity: 0; }
.zoom__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,10,.82), rgba(8,9,10,0) 55%), linear-gradient(to right, rgba(8,9,10,.5), rgba(8,9,10,0) 60%); pointer-events: none; }
.zoom__copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); color: #fff; }
.zoom__step { position: absolute; left: 0; bottom: 0; display: grid; gap: 12px; max-width: 760px; opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), filter 500ms ease; }
.zoom__step.on { opacity: 1; transform: none; filter: none; }
.zoom__step p { margin: 0; color: rgba(255,255,255,.84); font-size: clamp(1.02rem, 1.4vw, 1.25rem); max-width: 50ch; }
.zoom__progress { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.zoom__progress span { width: 3px; height: 26px; border-radius: 3px; background: rgba(255,255,255,.25); transition: background-color 300ms ease, height 300ms var(--ease-out); }
.zoom__progress span.on { background: #fff; height: 40px; }
/* static fallback: no JS or reduced motion -> stacked images */
.zoom.is-static { height: auto; }
.zoom.is-static .zoom__stage { position: relative; height: auto; display: block; background: var(--bg); }
.zoom.is-static .zoom__layer, .zoom.is-static .zoom__scrim, .zoom.is-static .zoom__progress { display: none; }
.zoom.is-static .zoom__copy { position: static; color: var(--text); }
.zoom.is-static .zoom__step { position: static; opacity: 1; transform: none; filter: none; margin-bottom: 48px; }
.zoom.is-static .zoom__step p { color: var(--text-2); }
.zoom.is-static .zoom__step .static-img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 18px; }
.zoom__step .static-img { display: none; }
.zoom__step .static-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- near: drive times + map ---------- */
.near { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.near__copy { display: grid; gap: 22px; }
.times { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.times li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.times li span:first-child { color: var(--text-2); }
.times li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; }
:root:not([data-theme="light"]) .map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.7) contrast(.9); }
.near__gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 72px); }
.near__gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.near__gallery figure:first-child { grid-row: span 2; }
.near__gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .near { grid-template-columns: minmax(0, 1fr); } .map { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .times { grid-template-columns: 1fr; } .near__gallery { grid-template-columns: 1fr; } .near__gallery figure:first-child { grid-row: auto; } }

/* ---------- tax compare ---------- */
.tax { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.compare { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.compare__col { padding: clamp(24px, 3vw, 40px); display: grid; grid-template-rows: auto repeat(3, 1fr); gap: 22px; }
.compare__col + .compare__col { background: var(--accent-soft); box-shadow: inset 1px 0 0 var(--line); }
.compare__state { font-size: 1.05rem; font-weight: 600; }
.compare__row { display: grid; gap: 2px; }
.compare__row dt { font-size: 0.84rem; color: var(--text-3); order: 2; }
.compare__row dd { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; order: 1; }
.compare__row { display: flex; flex-direction: column; }
.compare__col + .compare__col dd { color: var(--accent); }
.compare__col + .compare__col dt { color: var(--text-2); }
.savings { margin-top: 22px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.savings b { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 650; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--accent); }
@media (max-width: 860px) { .tax { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .seg button { padding: 0 12px; font-size: 0.88rem; } }

/* ---------- offer / buydown ---------- */
.offer { border-radius: calc(var(--radius) + 8px); background: var(--surface); padding: clamp(28px, 5vw, 72px); }
.offer__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.offer__copy { display: grid; gap: 20px; }
.rates { display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; margin: 6px 0 0; }
.rates div { display: grid; gap: 2px; }
.rates dt { font-size: 0.84rem; color: var(--text-3); order: 2; }
.rates dd { margin: 0; order: 1; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rates div:first-child dd { color: var(--accent); }
.rates div { display: flex; flex-direction: column; }
.calc { display: grid; gap: 26px; }
.calc__ctl { display: grid; gap: 10px; }
.calc__ctl label { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--text-2); }
.calc__ctl output { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--accent) var(--fill, 20%), var(--line-2) var(--fill, 20%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.08); transition: transform 160ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
.bars { display: grid; gap: 22px; }
.bars__legend { display: flex; gap: 20px; font-size: 0.86rem; color: var(--text-2); flex-wrap: wrap; }
.bars__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 0; }
.bar-row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; }
.bar-row__label { font-size: 0.92rem; font-weight: 600; }
.bar-row__label small { display: block; font-weight: 400; color: var(--text-3); font-size: 0.8rem; }
.bar-pair { display: grid; gap: 6px; }
.bar { position: relative; height: 30px; }
.bar__fill { position: absolute; inset: 0 auto 0 0; border-radius: 8px; transform-origin: left; transition: width 600ms var(--ease-out); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-size: 0.84rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar--std .bar__fill { background: var(--neutral-bar); color: var(--text); }
.bar--buy .bar__fill { background: var(--accent); color: var(--accent-ink); }
.save-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.save-row div { display: grid; gap: 2px; }
.save-row span { font-size: 0.82rem; color: var(--text-3); }
.save-row b { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.save-row div:last-child b { color: var(--accent); }
.refi { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--accent-soft); }
.refi .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.refi p { margin: 0; color: var(--text-2); }
.refi strong { color: var(--text); }
.fine { margin-top: clamp(28px, 4vw, 44px); font-size: 0.78rem; line-height: 1.6; color: var(--text-3); max-width: 110ch; }
@media (max-width: 960px) { .offer__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .bar-row { grid-template-columns: 1fr; gap: 8px; } .save-row { grid-template-columns: 1fr 1fr; } .save-row div:last-child { grid-column: 1 / -1; } }

/* ---------- specs (details) ---------- */
.specs { border-top: 1px solid var(--line); }
.spec { border-bottom: 1px solid var(--line); }
.spec summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 4px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.02em;
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary .icon { transition: transform 300ms var(--ease-out); color: var(--text-2); width: 22px; height: 22px; }
.spec[open] summary .icon { transform: rotate(45deg); }
.spec__body { padding: 0 4px 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; }
.spec__body dl { margin: 0; display: grid; gap: 4px; align-content: start; }
.spec__body dt { font-size: 0.84rem; color: var(--text-3); }
.spec__body dd { margin: 0; color: var(--text); }
@media (max-width: 720px) { .spec__body { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq .spec summary { font-size: 1.08rem; padding: 22px 4px; }
.faq .spec__body { grid-template-columns: 1fr; color: var(--text-2); }
.faq .spec__body p { margin: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.contact__bg { position: absolute; inset: 0; z-index: -2; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(8,9,10,.86) 0%, rgba(8,9,10,.62) 50%, rgba(8,9,10,.35) 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.contact__copy { display: grid; gap: 22px; }
.contact__copy .lede { color: rgba(255,255,255,.84); }
.direct { display: flex; flex-wrap: wrap; gap: 10px; }
.agent { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.agent__name { font-weight: 600; }
.agent__meta { font-size: 0.86rem; color: rgba(255,255,255,.72); }

.form {
  background: var(--surface); color: var(--text);
  border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.form h3 { font-size: 1.3rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 560; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #e5484d; }
.field__err { display: none; font-size: 0.82rem; color: #ff6b6f; }
:root[data-theme="light"] .field__err { color: #c62a2f; }
.field[data-invalid] .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.form .btn { width: 100%; }
.form__status { font-size: 0.92rem; margin: 0; min-height: 1.4em; }
.form__status[data-state="ok"] { color: var(--accent); }
.form__status[data-state="err"] { color: #ff6b6f; }
:root[data-theme="light"] .form__status[data-state="err"] { color: #c62a2f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .contact::after { background: rgba(8,9,10,.72); } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { padding-block: 64px 48px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--text-3); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo img { height: 40px; width: auto; }
.footer__logo .logo-on-dark { display: var(--logo-light); }
.footer__logo .logo-on-light { display: var(--logo-dark); }
.footer h4 { margin: 0 0 12px; color: var(--text); font-size: 0.9rem; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }
.footer__legal { display: grid; gap: 12px; padding-top: 28px; max-width: 120ch; }
.footer__legal p { margin: 0; }
.eho { display: inline-flex; align-items: center; gap: 10px; }
.eho img { width: 28px; height: 28px; border-radius: 4px; background: #fff; padding: 2px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(6,7,8,.96); color: #fff; }
.lightbox::backdrop { background: rgba(6,7,8,.96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 0.9rem; color: rgba(255,255,255,.75); }
.lightbox__fig { margin: 0; display: grid; place-items: center; padding: 0 64px; min-height: 0; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 10px; }
.lightbox__cap { text-align: center; padding: 14px 18px 22px; font-size: 0.92rem; color: rgba(255,255,255,.75); }
.lb-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.lb-btn:hover { background: rgba(255,255,255,.14); }
.lb-btn:active { transform: scale(.94); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.94); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] .lightbox__fig img { animation: lb-in 260ms var(--ease-out); }
}
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- gallery grid ---------- */
.gallery { columns: 3 320px; column-gap: clamp(12px, 1.4vw, 20px); }
.gallery button { display: block; width: 100%; margin: 0 0 clamp(12px, 1.4vw, 20px); padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--surface); break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform 700ms var(--ease-out), opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) { .gallery button:hover img { transform: scale(1.03); } }
.gallery-more { display: flex; justify-content: center; margin-top: 28px; }
.gallery[data-collapsed] button:nth-child(n+13) { display: none; }

/* ---------- reveals (one grammar, used sparingly) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 800ms var(--ease-arrive), transform 900ms var(--ease-arrive), filter 700ms ease; }
  .js .reveal.in { opacity: 1; transform: none; filter: none; }
  .js .reveal-img { clip-path: inset(8% 8% 8% 8% round var(--radius)); transition: clip-path 1100ms var(--ease-arrive); }
  .js .reveal-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 480px) {
  .compare__col { padding: 20px 16px; gap: 18px; }
  .compare__row dd { font-size: 1.1rem; }
}
@media (max-width: 360px) {
  .nav__brand { font-size: 0.92rem; }
  .nav__actions .btn--sm { padding: 0 12px; font-size: 0.84rem; }
  .theme-toggle { width: 34px; height: 34px; }
}

/* ---------- 3380 / 8465 additions ---------- */
.tile--hero .tile__big { font-size: clamp(3.6rem, 10vw, 9rem); white-space: nowrap; }
.court__grid { margin-top: clamp(14px, 1.6vw, 24px); }
@media (max-width: 400px) { .tile--hero .tile__big { font-size: 3.1rem; } }
@media (max-width: 340px) {
  .nav__in { gap: 6px; }
  .nav__brand { font-size: 0.84rem; letter-spacing: -0.03em; }
  .nav__actions { gap: 6px; }
  .nav__actions .btn--sm { padding: 0 10px; }
}

/* nav logo */
.nav__logo { display: flex; align-items: center; flex: none; padding-right: 16px; margin-right: -4px; border-right: 1px solid var(--line-2); height: 80px; }
.nav__logo img { height: 80px; width: auto; }
@media (max-width: 520px) { :root { --nav-h: 72px; } .nav__logo, .nav__logo img { height: 56px; } }
@media (max-width: 360px) { .theme-toggle { display: none; } }
.nav__logo .logo-on-dark { display: var(--logo-light); }
.nav__logo .logo-on-light { display: var(--logo-dark); }
@media (max-width: 480px) { .nav__logo { padding-right: 10px; margin-right: 0; } }
@media (max-width: 400px) { .nav__brand { display: none; } .nav__logo { border-right: 0; } }

/* slideshow: the photo itself is a click/tap target */
.lightbox__fig img { cursor: pointer; user-select: none; -webkit-user-drag: none; }
.media-head [data-slideshow] .icon { width: 18px; height: 18px; }
@media (max-width: 480px) { .media-head [data-slideshow] { width: 100%; justify-content: center; } }
@media (max-width: 360px) { .media-head [data-slideshow] { white-space: normal; height: auto; min-height: 46px; padding-block: 10px; } }

/* 8465: longer street name, keep the nav on one line between 961 and 1180px */
@media (max-width: 1180px) { .nav__brand span { display: none; } .nav__links { gap: 20px; } }
@media (max-width: 1100px) { .nav__links { gap: 16px; } .nav__in { gap: 14px; } }
@media (max-width: 340px) { .nav__logo, .nav__logo img { height: 50px; } .nav__actions .btn--sm { padding: 0 9px; } }
.agent a { color: inherit; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
@media (hover: hover) { .agent a:hover { text-decoration-color: currentColor; } }
