/* Stone Brook Homes — 2026 redesign
   Themes: noir (default) | atlas | pulse
*/
:root,
[data-theme="noir"] {
  --bg: #0b0d10;
  --bg-2: #14181e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-solid: #151a21;
  --ink: #f3f5f7;
  --ink-2: #c4ccd4;
  --muted: #8b95a1;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #f3f5f7;
  --accent: #5eead4;
  --accent-2: #2dd4bf;
  --accent-soft: rgba(94, 234, 212, 0.12);
  --glow: rgba(94, 234, 212, 0.25);
  --danger: #b42318;
  --ok: #067647;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1220px;
  --header-h: 72px;
  --hero-shade: linear-gradient(120deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0.2) 100%);
}

[data-theme="atlas"] {
  --bg: #f4f1ea;
  --bg-2: #eae6dc;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #fffcf7;
  --ink: #101418;
  --ink-2: #3c454d;
  --muted: #6b747c;
  --line: rgba(16, 20, 24, 0.1);
  --brand: #0f1720;
  --accent: #0f766e;
  --accent-2: #14b8a6;
  --accent-soft: rgba(20, 184, 166, 0.14);
  --glow: rgba(20, 184, 166, 0.35);
  --shadow: 0 24px 80px rgba(16, 20, 24, 0.1);
  --shadow-sm: 0 10px 30px rgba(16, 20, 24, 0.08);
  --hero-shade: linear-gradient(120deg, rgba(8, 12, 16, 0.78) 0%, rgba(8, 12, 16, 0.28) 58%, rgba(8, 12, 16, 0.12) 100%);
}

[data-theme="pulse"] {
  --bg: #f7f7f5;
  --bg-2: #efefeb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-solid: #ffffff;
  --ink: #111111;
  --ink-2: #444444;
  --muted: #777777;
  --line: rgba(0, 0, 0, 0.08);
  --brand: #111111;
  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --accent-soft: rgba(255, 90, 31, 0.12);
  --glow: rgba(255, 90, 31, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --hero-shade: linear-gradient(145deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.08) 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, var(--accent-soft), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(15, 23, 32, 0.04), transparent 50%),
    var(--bg);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px) saturate(1.2);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.header-call {
  display: none;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
}

.header-call:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--accent-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
  border: 1px solid var(--line);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-text span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.18s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-switch {
  display: flex;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
}

.theme-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: 0.18s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #042f2e;
  box-shadow: 0 10px 30px var(--glow);
}

[data-theme="pulse"] .btn-primary { color: #fff; }
[data-theme="noir"] .btn-primary { color: #042f2e; }

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}

.btn-dark:hover { filter: brightness(1.08); }

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  background: var(--accent-soft);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
}

/* Hero — modern split */
.hero-modern {
  padding: 1rem 0 0;
}

.hero-shell {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.25rem;
  min-height: 0;
}

.hero-copy {
  flex: 1.08 1 0;
  min-width: 0;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -90px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.hero-copy h1,
.page-hero h1,
.section-title {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.8rem);
  max-width: 11ch;
}

.hero-copy .lede {
  margin: 1.1rem 0 0;
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: auto;
}

.hero-metrics div {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.hero-metrics strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  font-weight: 750;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  flex: 0.92 1 0;
  min-width: 0;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #111;
  align-self: stretch;
  aspect-ratio: auto;
  /* Fill the same height as the left copy card */
  min-height: 100%;
  height: auto;
}

.hero-carousel-stage {
  position: absolute;
  inset: 0;
}

.hero-carousel-stage img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: block !important; /* override [hidden] once JS promotes slide */
  margin: 0;
}

.hero-carousel-stage img[hidden] {
  display: none !important;
  opacity: 0;
}

.hero-carousel-stage img.is-active {
  opacity: 1;
  z-index: 1;
  display: block !important;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.38) 100%);
}

.hero-carousel-ui {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  top: 0.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.hero-carousel-btn,
.hero-carousel-dots {
  pointer-events: auto;
}

.hero-carousel-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 12, 12, 0.42);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-carousel-btn:hover {
  background: rgba(12, 12, 12, 0.62);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-carousel-dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero-carousel-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-carousel-dots button[aria-current="true"] {
  background: #fff;
  transform: scale(1.15);
}

.hero-float {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: end;
}

.hero-float .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(8px);
}

.hero-float .btn-outline:hover {
  background: rgba(10, 10, 10, 0.55);
  border-color: rgba(255, 255, 255, 0.65);
}

.pill-card {
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  max-width: 240px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.pill-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.pill-card span {
  font-size: 0.84rem;
  opacity: 0.9;
}

/* Page hero */
.page-hero {
  padding: 2.5rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 44rem;
  color: var(--ink-2);
  font-size: 1.05rem;
  margin: 0;
}

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.55rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
}

.lead {
  color: var(--ink-2);
  max-width: 42rem;
  margin: 0.55rem 0 0;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.9rem;
}

.bento-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}

.bento-card.media {
  position: relative;
  min-height: 280px;
}

.bento-card.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.bento-card .pad {
  padding: 1.25rem 1.3rem 1.4rem;
}

.bento-card h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  font-weight: 750;
}

.bento-card p {
  margin: 0;
  color: var(--ink-2);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }

/* Listing product cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.home-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.home-card .media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #d9d5cc;
}

.home-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-card:hover .media img { transform: scale(1.04); }

.home-card .media .badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
}

.home-card .body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.home-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 750;
}

.price {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.meta span:first-child::before { display: none; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.badge-available {
  background: color-mix(in srgb, var(--ok) 14%, white);
  color: var(--ok);
  border-color: transparent;
}

.badge-sold {
  background: color-mix(in srgb, var(--danger) 12%, white);
  color: var(--danger);
  border-color: transparent;
}

.badge-coming {
  background: color-mix(in srgb, var(--accent) 16%, white);
  color: var(--ink);
  border-color: transparent;
}

[data-theme="noir"] .badge-available {
  background: rgba(6, 118, 71, 0.2);
  color: #6ce9a6;
}
[data-theme="noir"] .badge-sold {
  background: rgba(180, 35, 24, 0.2);
  color: #fda29b;
}
[data-theme="noir"] .badge-coming {
  background: rgba(212, 175, 55, 0.18);
  color: #f0d78c;
}

.coming-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: var(--shadow-sm);
}
.coming-media img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}
.coming-media figcaption {
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
/* Exterior renderings: keep proportional, not full-bleed huge */
.coming-media-render {
  max-width: min(820px, 100%);
  margin-inline: auto;
}
.coming-media-render img {
  width: 100%;
  max-height: min(380px, 48vh);
  object-fit: contain;
  object-position: center;
  background: #141414;
}
.coming-media-plan {
  max-width: min(980px, 100%);
  margin-inline: auto;
}
.coming-media-plan img {
  object-fit: contain;
  max-height: min(70vh, 720px);
  background: #0f0f0f;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  box-shadow: var(--shadow-sm);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.split-copy {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.checklist {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.65rem;
  color: var(--ink-2);
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.process article {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  min-height: 100%;
}

.process .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.process h3 {
  margin: 0.7rem 0 0.4rem;
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.process p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}

/* Gallery mosaic */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d9d5cc;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.gallery-grid figure:nth-child(1) { grid-column: span 8; }
.gallery-grid figure:nth-child(2) { grid-column: span 4; }
.gallery-grid figure:nth-child(3) { grid-column: span 4; }
.gallery-grid figure:nth-child(4) { grid-column: span 4; }
.gallery-grid figure:nth-child(5) { grid-column: span 4; }
.gallery-grid figure:nth-child(6) { grid-column: span 5; }
.gallery-grid figure:nth-child(7) { grid-column: span 7; }
.gallery-grid figure:nth-child(n+8) { grid-column: span 4; }

/* Tags */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.tag {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-2);
  font-weight: 600;
}

/* Listing detail */
.listing-hero {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.listing-gallery .main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
}

.listing-gallery .main img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.listing-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.listing-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.listing-panel {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
}

.listing-panel h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0.55rem 0;
  font-weight: 750;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 1rem 0;
}

.fact {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
}

.fact span {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact strong { font-size: 1.02rem; }

.feature-cols {
  columns: 2;
  gap: 1.5rem;
}

.feature-cols ul {
  margin: 0.35rem 0 1rem;
  padding-left: 1.05rem;
  color: var(--ink-2);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.contact-card,
.form-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.contact-card a { color: var(--accent); font-weight: 700; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-grid .full { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-color: var(--accent);
}

textarea { min-height: 140px; resize: vertical; }

.form-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.form-success {
  display: none;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  color: var(--ok);
  font-weight: 700;
}

.form-success.show { display: block; }

.form-error {
  display: none;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, #ff5c5c 14%, transparent);
  color: #ffb4b4;
  font-weight: 700;
}

.form-error.show { display: block; }

/* CTA band */
.cta-band {
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 23, 32, 0.92), rgba(15, 118, 110, 0.82)),
    url("../img/33_ext-front3.jpg") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

[data-theme="pulse"] .cta-band {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(255, 90, 31, 0.75)),
    url("../img/33_ext-front3.jpg") center/cover;
}

[data-theme="noir"] .cta-band {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(15, 118, 110, 0.55)),
    url("../img/33_ext-front3.jpg") center/cover;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.6rem;
  max-width: 16ch;
  font-weight: 750;
}

.cta-band p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Marquee locations */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 80%, transparent);
  margin-top: 1rem;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: scroll 28s linear infinite;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  padding: 3rem 0 1.4rem;
  background: #0b0f14;
  color: rgba(255, 255, 255, 0.78);
}

[data-theme="noir"] .site-footer {
  background: #05070a;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: var(--display);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.site-footer a {
  display: inline-block;
  margin: 0.22rem 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile CTA dock */
.mobile-dock {
  display: none;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 70;
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
  gap: 0.45rem;
}

.mobile-dock .btn { flex: 1; min-height: 44px; }

.stack-md > * + * { margin-top: 0.95rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Legacy class aliases used by generated pages */
.card { background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.card-media { aspect-ratio: 5/4; overflow: hidden; background: #d9d5cc; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.15rem; }
.card-body h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0.35rem 0; font-size: 1.35rem; font-weight: 750; }
.section-alt { /* keep spacing rhythm */ }
.seo-strip { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.seo-strip span { border: 1px solid var(--line); background: var(--surface-solid); border-radius: 999px; padding: 0.42rem 0.75rem; font-size: 0.82rem; color: var(--ink-2); font-weight: 600; }
.hero { /* old hero unused */ }
.nav-cta { margin-left: 0.2rem; }

/* Responsive */
@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .theme-switch { display: none; }
  .header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-shell {
    flex-direction: column;
  }

  .hero-copy,
  .hero-visual {
    flex: 1 1 auto;
    width: 100%;
  }

  .hero-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .split,
  .grid-3,
  .grid-2,
  .process,
  .listing-hero,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .span-7, .span-5, .span-4, .span-8, .span-6 { grid-column: span 12; }

  .hero-metrics { grid-template-columns: 1fr; }
  .form-grid, .fact-grid, .feature-cols { grid-template-columns: 1fr; columns: 1; }
  .gallery-grid figure { grid-column: span 12 !important; }
  .section-head { flex-direction: column; align-items: start; }
  .listing-panel { position: static; }
  .mobile-dock { display: flex; }
  body { padding-bottom: 5.5rem; }
}

@media (max-width: 640px) {
  .brand-text span { display: none; }
  .hero-copy h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .listing-thumbs { grid-template-columns: repeat(2, 1fr); }
  .hero-float { flex-direction: column; align-items: stretch; }
  .pill-card { max-width: none; }
}


/* Noir font packs for fine-tuning */
[data-font="noir-1"] {
  --display: "Syne", system-ui, sans-serif;
  --font: "Manrope", system-ui, sans-serif;
}
[data-font="noir-2"] {
  --display: "Outfit", system-ui, sans-serif;
  --font: "Outfit", system-ui, sans-serif;
}
[data-font="noir-3"] {
  --display: "Instrument Serif", Georgia, serif;
  --font: "Geist", "Manrope", system-ui, sans-serif;
}
[data-font="noir-4"] {
  --display: "Space Grotesk", system-ui, sans-serif;
  --font: "Space Grotesk", system-ui, sans-serif;
}
[data-font="noir-5"] {
  --display: "Fraunces", Georgia, serif;
  --font: "Sora", system-ui, sans-serif;
}

.font-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.font-switch button {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}
.font-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #042f2e;
  border-color: transparent;
}

/* Slideshow */
.slideshow {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.slideshow-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
}
.slideshow-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.slideshow-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.slideshow-dots {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}
.slideshow-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.slideshow-dots button[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.2);
}
.floorplan-panel {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.floorplan-panel img {
  width: 100%;
  border-radius: 12px;
  background: #fff;
}

/* Listing photo gallery + lightbox */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.65rem;
}
.photo-gallery button {
  appearance: none;
  border: 1px solid var(--line);
  padding: 0;
  margin: 0;
  background: #0a0a0a;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.photo-gallery button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  transition: transform 0.35s ease;
}
.photo-gallery button:hover img { transform: scale(1.03); }
.photo-gallery button:nth-child(1) { grid-column: span 8; }
.photo-gallery button:nth-child(2) { grid-column: span 4; }
.photo-gallery button:nth-child(3) { grid-column: span 4; }
.photo-gallery button:nth-child(4) { grid-column: span 4; }
.photo-gallery button:nth-child(5) { grid-column: span 4; }
.photo-gallery button:nth-child(n+6) { grid-column: span 3; }
.photo-gallery .ph-label {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
}
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  display: none;
  flex-direction: column;
  color: #fff;
}
.lb-overlay.open { display: flex; }
.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}
.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 0 3.5rem 1rem;
}
.lb-stage img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.lb-prev { left: 0.6rem; }
.lb-next { right: 0.6rem; }
.lb-thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.65rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.lb-thumbs button {
  flex: 0 0 auto;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #111;
  cursor: pointer;
}
.lb-thumbs button[aria-current="true"] { border-color: var(--accent); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) {
  .photo-gallery button:nth-child(n) { grid-column: span 6 !important; }
  .photo-gallery button:nth-child(1) { grid-column: span 12 !important; }
  .lb-stage { padding: 0 0.5rem 0.75rem; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 0.35rem; }
  .lb-next { right: 0.35rem; }
}
@media (max-width: 640px) {
  .photo-gallery button:nth-child(n) { grid-column: span 6 !important; }
  .photo-gallery button:nth-child(1) { grid-column: span 12 !important; }
}

.photo-gallery .ph-label { display: none !important; }



/* Locked to Noir — hide experimental theme switch */
.theme-switch { display: none !important; }

/* Compact available homes strip on homepage */
.homes-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  margin-top: 1.25rem;
}
.homes-strip-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .72;
  font-weight: 700;
}
.homes-strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}
.homes-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  color: inherit;
  text-decoration: none;
  font-size: .92rem;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.homes-chip:hover {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}
.homes-chip strong { font-weight: 700; }
.homes-chip span { opacity: .78; font-size: .86rem; }
.homes-chip .dot {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 3px rgba(61,220,132,.15);
}
.homes-chip.sold .dot { background: #9aa3ad; box-shadow: none; }

/* Slim video section */
.video-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.video-section-head .section-kicker { margin: 0; }

/* Portfolio masonry */
.portfolio-masonry {
  columns: 3;
  column-gap: .85rem;
}
.portfolio-masonry figure {
  break-inside: avoid;
  margin: 0 0 .85rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #0b0b0b;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .55s ease var(--d, 0s), transform .55s ease var(--d, 0s);
  position: relative;
}
.portfolio-masonry figure.is-in {
  opacity: 1;
  transform: none;
}
.portfolio-masonry figure img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform .7s ease;
}
.portfolio-masonry figure:hover img {
  transform: scale(1.04);
}
.portfolio-masonry figure.tall img { min-height: 280px; object-fit: cover; }
.portfolio-masonry figure.wide img { min-height: 200px; object-fit: cover; }
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.25rem;
}
.portfolio-filters button {
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: .4rem .8rem;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
}
.portfolio-filters button[aria-pressed="true"] {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.35);
}
@media (max-width: 900px) {
  .portfolio-masonry { columns: 2; }
}
@media (max-width: 560px) {
  .portfolio-masonry { columns: 1; }
  .homes-strip { align-items: flex-start; flex-direction: column; }
}

.portfolio-masonry button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}


/* ===== Shared media masonry (portfolio + listing galleries) ===== */
.media-masonry,
.portfolio-masonry {
  columns: 3;
  column-gap: .85rem;
}
.media-masonry figure,
.portfolio-masonry figure {
  break-inside: avoid;
  margin: 0 0 .85rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #0b0b0b;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .55s ease var(--d, 0s), transform .55s ease var(--d, 0s);
  position: relative;
}
.media-masonry figure.is-in,
.portfolio-masonry figure.is-in {
  opacity: 1;
  transform: none;
}
.media-masonry figure img,
.portfolio-masonry figure img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform .7s ease;
}
.media-masonry figure:hover img,
.portfolio-masonry figure:hover img {
  transform: scale(1.04);
}
.media-masonry figure.tall img,
.portfolio-masonry figure.tall img {
  min-height: 280px;
  object-fit: cover;
  width: 100%;
}
.media-masonry figure.wide img,
.portfolio-masonry figure.wide img {
  min-height: 200px;
  object-fit: cover;
  width: 100%;
}
.media-masonry button,
.portfolio-masonry button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
@media (max-width: 900px) {
  .media-masonry,
  .portfolio-masonry { columns: 2; }
}
@media (max-width: 560px) {
  .media-masonry,
  .portfolio-masonry { columns: 1; }
}

/* Listing page: intro + facts, then full-width video */
.listing-top {
  padding-top: clamp(1.35rem, 3.2vw, 2.25rem);
  padding-bottom: 0.85rem;
}
.listing-top-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.1rem;
  align-items: start;
}
.listing-intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.listing-intro h1 {
  margin: .15rem 0 .55rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.08;
}
.listing-intro .lede {
  margin: 0;
}
.listing-highlight {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--accent-soft));
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
}
.listing-highlight strong {
  color: var(--ink);
  font-weight: 700;
}
.listing-panel-top {
  position: relative;
  top: auto;
}
.listing-video {
  margin-top: 0.35rem;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.listing-video .video-section-head {
  margin-bottom: 0.65rem;
}
.video-slot {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.video-slot video {
  width: 100%;
  display: block;
  max-height: 78vh;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-slot-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--ink-2);
}
.video-slot-bar strong { color: var(--ink); }
.video-slot-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .listing-top-grid { grid-template-columns: 1fr; }
}


/* Location maps */
.map-block {
  margin-top: 1.35rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0b;
}
.map-locations .map-block {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.map-locations .map-block .form-note {
  padding: 0 1.1rem .85rem;
}
.map-block-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .65rem 1rem;
  align-items: end;
  padding: .95rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.map-block-head h2,
.map-block-head h3 {
  margin: .15rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  flex: 1 1 auto;
}
.map-frame-region {
  aspect-ratio: 21 / 9;
  min-height: 280px;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.15) contrast(1.02);
}
@media (max-width: 900px) {
  .map-locations {
    grid-template-columns: 1fr;
  }
  .map-frame-region {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }
}
@media (max-width: 700px) {
  .map-frame { aspect-ratio: 4 / 3; }
  .map-frame-region { aspect-ratio: 4 / 3; min-height: 220px; }
}

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: .65rem;
  margin-top: 1rem;
}
.faq-item {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: .95rem 1.1rem;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 600;
  opacity: .7;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.1rem 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}
.faq-item .faq-body p { margin: 0; }

/* Finish proof strip */
.finish-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
.finish-strip figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #111;
}
.finish-strip img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.finish-strip figcaption {
  padding: .45rem .65rem .55rem;
  font-size: .78rem;
  opacity: .75;
}
@media (max-width: 800px) {
  .finish-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .finish-strip { grid-template-columns: 1fr; }
}

a.tag {
  text-decoration: none;
  color: inherit;
}
a.tag:hover {
  border-color: rgba(255,255,255,.35);
}
