/* Cabo Golf Living
   Mobile-first. Every media query is min-width — the small screen is the
   default, not the exception.
   Palette and type from the Cabo Golf Living brand guidelines (Oct 2026):
   charcoal #2f2f2f, gold #c49958, black #0a0a0a, white #f5f5f5;
   Instrument Serif for display, Source Serif 4 for text. The greys between
   are tints of those four, not new brand colors. */

:root {
  --ink: #2f2f2f;
  --ink-deep: #0a0a0a;
  --gold: #c49958;
  --gold-deep: #a87d3f;
  --cream: #f5f5f5;
  --cream-warm: #ececec;
  --sand: #dedede;
  --stone: #c6c6c6;
  --slate: #6b6b6b;
  --slate-deep: #4f4f4f;
  --muted: #7d7d7d;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --text: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --gut: 20px;
  --header-h: 74px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 700px) { :root { --gut: 32px; --header-h: 96px; } }
@media (min-width: 1100px) { :root { --gut: 48px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 450;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: 0; margin: 0; line-height: 1.08; }
h1 { font-size: clamp(36px, 9.5vw, 80px); }
h2 { font-size: clamp(29px, 6.4vw, 50px); }
h3 { font-size: clamp(21px, 3.9vw, 28px); }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 12px; font-weight: 500;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: 56px; }
@media (min-width: 700px) { .section { padding-block: 88px; } }
@media (min-width: 1100px) { .section { padding-block: 112px; } }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 12px 18px;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */

.site-header { position: sticky; top: 0; z-index: 90; background: var(--cream); border-bottom: 1px solid var(--sand); }
.site-header--over {
  position: fixed; inset: 0 0 auto; background: transparent; border-bottom-color: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header--over.is-stuck { background: var(--cream); border-bottom-color: var(--sand); }

.site-header__bar {
  margin: 0 auto; padding-inline: var(--gut);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.wordmark { display: flex; align-items: center; text-decoration: none; color: var(--gold); }
/* The full lockup, CGL over CABO GOLF LIVING, sized so the small line stays legible. */
.wordmark svg { display: block; height: 54px; width: auto; }
@media (min-width: 700px) { .wordmark svg { height: 62px; } }
/* Desktop: the bar runs edge to edge so the logo and Let's Connect sit near the sides, and the nav gets the room. */
@media (min-width: 1000px) { .site-header__bar { padding-inline: clamp(28px, 3.2vw, 56px); gap: 24px; } }
@media (min-width: 1240px) { .wordmark svg { height: 56px; } }
/* White over a photo or the film; gold once the header turns solid. */
.site-header--over:not(.is-stuck) .wordmark { color: #fff; }

/* Brokerage beside the wordmark, after a hairline. Supplied black; white over a photo. */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__brokerage {
  display: block; height: 14px; width: auto; flex-shrink: 0; padding-left: 10px;
  border-left: 1px solid var(--stone); opacity: 0.85; box-sizing: content-box;
}
@media (min-width: 700px) { .brand { gap: 16px; } .brand__brokerage { height: 24px; padding-left: 16px; } }
@media (min-width: 1000px) { .brand__brokerage { height: 22px; } }
/* Phones: a more compact button so both logos fit beside it. */
@media (max-width: 699px) { .site-header__bar { gap: 10px; } .connect { padding: 10px 11px; letter-spacing: 0.12em; font-size: 10px; } }
.site-header--over:not(.is-stuck) .brand__brokerage { filter: brightness(0) invert(1); border-left-color: rgba(255, 255, 255, 0.45); opacity: 0.9; }

.nav { display: none; gap: 30px; align-items: center; }
@media (min-width: 1000px) { .nav { display: flex; } }
.nav__link {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  color: inherit; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-family: var(--text); font-weight: 500; position: relative; white-space: nowrap;
}
/* Eight items plus the connect button only fit a laptop width if they tighten up. */
@media (min-width: 1000px) and (max-width: 1239px) {
  .site-header__bar { padding-inline: 24px; gap: 16px; }
  .nav { gap: 16px; }
  .nav__link { letter-spacing: 0.1em; font-size: 11px; }
  .connect { padding-inline: 14px; letter-spacing: 0.12em; }
  .wordmark svg { height: 50px; }
  .brand { gap: 12px; }
  .brand__brokerage { height: 19px; padding-left: 12px; }
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: var(--gold); transition: right 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-expanded='true']::after { right: 0; }
.site-header--over:not(.is-stuck) .nav__link { color: var(--cream); }
.nav__chev { font-size: 9px; opacity: 0.7; }
/* Contact → Contact us / Sell with us / Referral partners. Opens on hover or
   keyboard focus; Contact itself still goes to the form, so touch works too. */
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: 100%; right: -18px; min-width: 210px; padding: 8px 0;
  background: var(--cream); border: 1px solid var(--sand); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a {
  display: block; padding: 10px 18px; color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--text); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.nav__menu a:hover, .nav__menu a:focus-visible { color: var(--gold-deep); background: var(--cream-warm); }

.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 0 8px;
  margin-right: -8px;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span { display: block; height: 1px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.site-header--over:not(.is-stuck) .burger { color: var(--cream); }
.burger[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
@media (min-width: 1000px) { .site-header__actions { margin-left: -6px; } }
/* The conversion button: on every page, every screen size, never in the burger. */
.connect {
  font-family: var(--text); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; color: #fff; background: var(--gold);
  border: 1px solid var(--gold); padding: 11px 16px; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.connect:hover, .connect:focus-visible { background: transparent; color: var(--gold); border-color: var(--gold); }
@media (min-width: 700px) { .connect { padding: 10px 18px; font-size: 10.5px; } }
@media (min-width: 1240px) { .connect { padding: 11px 22px; font-size: 11px; } .site-header__actions { gap: 22px; } }
@media (min-width: 1000px) and (max-width: 1099px) { .nav { gap: 12px; } .nav__link { font-size: 10.5px; } }
/* Big screens: the nav grows rather than leaving empty space. */
@media (min-width: 1600px) {
  .nav { gap: 40px; } .nav__link { font-size: 13px; }
  .brand__brokerage { height: 26px; } .connect { font-size: 12px; padding: 12px 26px; }
}

/* ---------- communities mega panel ---------- */

.mega { background: var(--ink); color: var(--cream); }
.mega[hidden] { display: none; }

/* Mobile: full-height sheet under the bar. */
.mega__inner {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) 44px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
@media (min-width: 1000px) {
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    border-top: 1px solid rgba(245, 245, 245, 0.12);
    box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.5);
  }
  .mega__inner { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding-block: 44px 48px; max-height: none; }
}

.mega__blurb { color: rgba(245, 245, 245, 0.66); font-size: 15px; max-width: 34ch; }
.mega__grid { display: grid; gap: 26px; }
@media (min-width: 560px) { .mega__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mega__grid { grid-template-columns: repeat(3, 1fr); gap: 30px 40px; } }

.mega__region {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 10px;
}
.mega__group ul { list-style: none; margin: 0; padding: 0; }
.mega__group li + li { margin-top: 2px; }
.mega__group a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  text-decoration: none; padding: 9px 0; border-bottom: 1px solid rgba(245, 245, 245, 0.09);
  transition: padding-left 0.25s var(--ease), color 0.25s var(--ease);
}
.mega__group a:hover, .mega__group a:focus-visible { padding-left: 8px; color: var(--gold); }
.mega__name { font-family: var(--serif); font-size: 17px; letter-spacing: 0.04em; }
.mega__count { font-size: 12px; color: rgba(245, 245, 245, 0.45); font-variant-numeric: tabular-nums; }

/* Phone menu: every page as a large serif list; communities fold under the first item. */
.mnav { display: grid; }
.mnav__link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-size: 26px; line-height: 1.2; letter-spacing: 0.02em;
  color: var(--cream); text-decoration: none; padding: 16px 0;
  border-bottom: 1px solid rgba(245, 245, 245, 0.12); cursor: pointer; list-style: none;
}
.mnav__link::-webkit-details-marker { display: none; }
.mnav__link:hover, .mnav__link:focus-visible { color: var(--gold); }
.mnav__chev { font-family: var(--sans, inherit); font-size: 22px; color: var(--gold); transition: transform 0.25s var(--ease); }
.mnav__group[open] .mnav__chev { transform: rotate(45deg); }
.mnav__sub { display: grid; gap: 28px; padding: 22px 0 30px; border-bottom: 1px solid rgba(245, 245, 245, 0.12); }
.mnav__sub .link-underline { justify-self: start; }
@media (max-width: 999px) {
  .mega__inner > .mega__lead, .mega__inner > .mega__grid { display: none; }
  .mega__inner { padding-top: 8px; }
}
@media (min-width: 1000px) { .mnav { display: none; } }


.link-underline {
  display: inline-block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--gold);
}

/* ---------- hero ---------- */

.hero { position: relative; min-height: 82svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
@media (min-width: 900px) { .hero { min-height: 92svh; } }
/* Home hero film fills the whole first screen (Bella, 2026-10-16). */
.page-home .hero { min-height: 100vh; min-height: 100svh; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.44) 0%, rgba(10, 10, 10, 0.12) 42%, rgba(10, 10, 10, 0.78) 100%);
}
/* No copy over the film for now — keep only the top shade the header needs. */
.hero:not(:has(.hero__copy)) .hero__media::after {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0) 22%);
}
/* Home: one statement over the film — lower left, lined up with the logo. */
.hero:has(.hero__statement) { align-items: flex-end; justify-content: flex-start; padding-bottom: 14svh; }
.hero:has(.hero__statement) .hero__media::after {
  background:
    linear-gradient(to right, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.15) 55%, rgba(10, 10, 10, 0) 100%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0) 22%, rgba(10, 10, 10, 0) 50%, rgba(10, 10, 10, 0.45) 100%);
}
.hero__statement {
  position: relative; box-sizing: content-box; max-width: 22ch; margin: 0; padding: 0 var(--gut);
  font-family: var(--serif); font-size: clamp(28px, 4.2vw, 56px); line-height: 1.18;
  text-align: left; text-wrap: balance; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
@media (min-width: 900px) { .hero__statement { max-width: 24ch; } }
/* Headline, then the goal statement smaller beneath it (2026-10-22). */
.hero .hero__headline { font: inherit; line-height: inherit; margin: 0; color: inherit; }
.hero__sub { margin: 22px 0 0; max-width: 40ch; font-family: var(--text); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; text-wrap: pretty; }
.hero__copy { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 56px; color: var(--cream); }
@media (min-width: 900px) { .hero__copy { padding-bottom: 92px; } }
.hero h1 { font-size: clamp(42px, 11vw, 96px); line-height: 1.02; }
.hero__sub { max-width: 46ch; color: rgba(245, 245, 245, 0.82); margin-top: 18px; font-size: 16px; }
@media (min-width: 700px) { .hero__sub { font-size: 17px; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Placeholder standing in for the hero film until it's uploaded. */
.hero__slot {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center;
  background:
    repeating-linear-gradient(45deg, #1f1f1f 0 12px, #1a1a1a 12px 24px);
  color: rgba(245, 245, 245, 0.5); padding: var(--gut);
}
.hero__slot span { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; }
.hero__slot small { font-size: 14px; letter-spacing: 0.02em; max-width: 40ch; margin: 0 auto; line-height: 1.6; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; font-family: var(--text); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none; padding: 15px 26px; border: 1px solid currentColor;
  background: none; cursor: pointer; color: inherit; transition: background 0.3s var(--ease), color 0.3s var(--ease);
  min-height: 44px;
}
.btn--solid { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- image frames & photo slots ---------- */

.frame { margin: 0; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--empty {
  display: grid; place-content: center; text-align: center; padding: 22px;
  background: var(--cream-warm); border: 1px dashed var(--stone);
}
.frame__slot { display: grid; gap: 10px; justify-items: center; color: var(--slate); max-width: 34ch; }
.frame__icon { font-size: 22px; color: var(--stone); }
.frame__brief { font-size: 13.5px; line-height: 1.55; letter-spacing: 0.01em; }

/* ---------- section heads ---------- */

.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head__blurb { color: var(--slate-deep); margin-top: 14px; }
@media (min-width: 700px) { .section-head { margin-bottom: 48px; } }

/* ---------- listing cards ---------- */

.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 34px 30px; } }

.card { background: none; }
.card__link { text-decoration: none; display: block; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__media--empty { display: grid; place-content: center; background: var(--cream-warm); border: 1px dashed var(--stone); }
.card__media--empty span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.card__body { padding-top: 14px; }
.card__price { font-family: var(--serif); font-size: 20px; letter-spacing: 0.03em; margin: 0 0 4px; }
.card__place { font-size: 14px; color: var(--slate-deep); margin: 0 0 3px; }
.card__specs { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* ---------- community index & tiles ---------- */

.tiles { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 40px 30px; } }

.tile { text-decoration: none; display: block; }
.tile .frame { transition: transform 0.7s var(--ease); }
.tile:hover .frame img { transform: scale(1.04); }
.tile__region { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 16px 0 6px; }
.tile__name { font-family: var(--serif); font-size: clamp(21px, 3vw, 26px); letter-spacing: 0.05em; margin: 0 0 6px; }
.tile__meta { font-size: 14px; color: var(--slate-deep); margin: 0; }

/* ---------- stats band ---------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.stat__value { font-family: var(--serif); font-size: clamp(26px, 5vw, 38px); margin: 0 0 6px; }
.stat__label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 0; }

.band { background: var(--ink); color: var(--cream); }
.band .eyebrow { color: var(--gold); }
.band .stat__label { color: rgba(245, 245, 245, 0.5); }

/* ---------- homepage course map ---------- */

.cmap { display: grid; gap: 36px; }
@media (min-width: 900px) { .cmap { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.cmap__map { position: relative; }
.cmap__canvas { height: 68svh; min-height: 380px; max-height: 640px; background: #0a0a0a; border: 1px solid rgba(196, 153, 88, 0.22); }
@media (min-width: 900px) { .cmap__canvas { height: 620px; max-height: none; } }
.cmap__canvas[hidden] { display: none; }
.cmap__tabs { display: flex; gap: 0; margin-bottom: 14px; border-bottom: 1px solid rgba(245, 245, 245, 0.14); }
.cmap__tabs[hidden] { display: none; }
.cmap__tab {
  font-family: var(--text); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px;
  color: rgba(245, 245, 245, 0.6); padding: 12px 0; margin-right: 26px; cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cmap__tab span { color: var(--gold); letter-spacing: 0.06em; margin-left: 4px; }
.cmap__tab:hover, .cmap__tab:focus-visible { color: var(--cream); }
.cmap__tab[aria-pressed='true'] { color: var(--cream); border-bottom-color: var(--gold); }
.cmap__tab:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }

.cmap__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cmap__lines path { stroke: rgba(196, 153, 88, 0.55); stroke-width: 1; fill: none; }
.cmap-label {
  position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap; text-decoration: none;
  font-family: var(--serif); font-size: 17px; line-height: 1; color: var(--cream);
  background: rgba(10, 10, 10, 0.9); border: 1px solid rgba(196, 153, 88, 0.35); padding: 6px 9px 7px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
@media (min-width: 900px) { .cmap-label { font-size: 17px; } }
.cmap-label:hover, .cmap-label.is-lit { color: var(--gold); border-color: var(--gold); z-index: 2; }

.cmap__list { align-content: start; }
/* Home map: Compare sits under the community list, centred (Bella, 2026-10-22). */
.cmap__compare { margin: 30px 0 0; text-align: center; }
.cmap__compare .mega__btn { display: inline-block; }
.cmap__list a.is-lit { padding-left: 8px; color: var(--gold); }
@media (min-width: 620px) { .cmap__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
/* Home map on phones: a shorter map and a two-column list, so the section isn't a scroll marathon. */
@media (max-width: 899px) {
  .cmap { gap: 28px; }
  .cmap__canvas { height: 54svh; min-height: 340px; max-height: 480px; }
  .cmap__list { gap: 22px; }
  .cmap__list .mega__group li + li { margin-top: 0; }
  .cmap__list .mega__group a { padding: 10px 0; }
  .cmap__list .mega__name { font-size: 16px; letter-spacing: 0.02em; }
}
@media (max-width: 619px) {
  .cmap__list .mega__group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
.cmap-town {
  font-family: var(--text); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245, 245, 245, 0.42); white-space: nowrap; pointer-events: none;
}

.cmap-pin {
  position: relative; display: block; width: 22px; height: 22px; padding: 0;
  background: none; border: 0; cursor: pointer; text-decoration: none;
}
.cmap-pin__dot {
  position: absolute; inset: 5px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.55); transition: transform 0.2s var(--ease);
}
.cmap-pin:hover, .cmap-pin:focus-visible, .cmap-pin.is-lit { z-index: 3; }
.cmap-pin:hover .cmap-pin__dot, .cmap-pin:focus-visible .cmap-pin__dot, .cmap-pin.is-lit .cmap-pin__dot { transform: scale(1.35); }
.cmap-pin:focus-visible { outline: none; }
.cmap-pin:focus-visible .cmap-pin__dot { box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 4px var(--gold); }

.cmap-pin[hidden] { display: none; }

/* /map/: the same course map on the light street map, filling the screen
   beside the community list. */
.mpage__head { text-align: center; padding-block: clamp(48px, 6vw, 80px) 28px; }
.mpage__head p { font-size: 17px; color: var(--slate-deep); margin: 0; }
.cmap--page { gap: 0; }
@media (min-width: 900px) {
  .cmap--page { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 0; align-items: start; }
  .cmap--page .cmap__map { position: sticky; top: var(--header-h); }
}
.cmap--page .cmap__tabs { margin: 0; padding: 0 var(--gut); border-bottom: 1px solid var(--sand); background: var(--cream); }
.cmap--page .cmap__tab { color: var(--muted); }
.cmap--page .cmap__tab:hover, .cmap--page .cmap__tab:focus-visible, .cmap--page .cmap__tab[aria-pressed='true'] { color: var(--ink); }
.cmap--page .cmap__canvas { height: 62svh; min-height: 380px; max-height: none; border: 0; background: #f2f2f0; }
@media (min-width: 900px) { .cmap--page .cmap__canvas { height: calc(100svh - var(--header-h) - 45px); min-height: 480px; } }
.cmap--page .cmap-town { color: var(--slate); text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.cmap--page .maplibregl-ctrl-group { background: #fff; border: 0; box-shadow: 0 1px 4px rgba(10, 10, 10, 0.2); }
.cmap--page .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: none; }
.cmap--page .maplibregl-ctrl-attrib { background: rgba(255, 255, 255, 0.8); color: var(--slate); }
.cmap--page .maplibregl-ctrl-attrib a { color: var(--slate); }

.cmap--page .cmap__list { display: block; list-style: none; margin: 0; padding: 4px var(--gut) 64px; }
@media (min-width: 900px) { .cmap--page .cmap__list { padding-inline: clamp(24px, 3vw, 40px); } }
.mpage__list li[hidden] { display: none; }
.mrow {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--sand); text-decoration: none; color: inherit;
}
.cmap--page .cmap__list a.mrow.is-lit { padding-left: 0; }
.mrow__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.mrow__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mrow__img span { font-family: var(--serif); font-size: 26px; color: var(--gold); }
.mrow__body { display: grid; gap: 3px; }
.mrow__name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.15; transition: color 0.2s var(--ease); }
.mrow__meta { font-size: 13.5px; color: var(--muted); }
.mrow__price { font-size: 14px; color: var(--slate-deep); }
.mrow:hover .mrow__name, .mrow.is-lit .mrow__name { color: var(--gold); }

/* MapLibre controls, in brand colors. */
.cmap .maplibregl-ctrl-group { background: rgba(10, 10, 10, 0.82); border: 1px solid rgba(196, 153, 88, 0.4); border-radius: 0; box-shadow: none; }
.cmap .maplibregl-ctrl-group button + button { border-top-color: rgba(196, 153, 88, 0.25); }
.cmap .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(0.9); }
.cmap .maplibregl-ctrl-attrib,
.cmap .maplibregl-ctrl-attrib.maplibregl-compact,
.cmap .maplibregl-ctrl-attrib.maplibregl-compact-show { background: rgba(10, 10, 10, 0.7); color: #8a8a8a; font-size: 11px; }
.cmap .maplibregl-ctrl-attrib a { color: #8a8a8a; }
.cmap .maplibregl-ctrl-attrib-button { filter: invert(1); }

/* ---------- community page ---------- */

.community-hero { position: relative; min-height: 60svh; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.community-hero .hero__media::after {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.2) 45%, rgba(10, 10, 10, 0.8) 100%);
}
.community-hero__copy { position: relative; max-width: var(--max); margin: 0 auto; width: 100%; padding: 0 var(--gut) 44px; color: var(--cream); }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; } }

/* Community page: intro, then a photo-and-text tile per golf course (tabbed when there are several). */
.cintro { text-align: center; padding-block: clamp(72px, 9vw, 128px); }
.cintro p { max-width: 62ch; margin: 0 auto; font-size: 17px; line-height: 1.85; color: var(--slate-deep); }

.golf__course { display: grid; background: var(--cream-warm); }
@media (min-width: 900px) {
  .golf__course { grid-template-columns: 1fr 1fr; min-height: 560px; }
}
.golf__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
@media (min-width: 900px) { .golf__media { aspect-ratio: auto; } }
.golf__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.golf__frame {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 32px;
  background: var(--sand); text-align: center;
}
.golf__frame span { max-width: 32ch; font-size: 14px; line-height: 1.6; color: var(--slate); }
/* Several photos in one frame: swipe, or use the arrows. */
.pgal { position: absolute; inset: 0; }
.pgal__track {
  position: absolute; inset: 0; display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pgal__track::-webkit-scrollbar { display: none; }
.golf__media .pgal__track img { position: static; flex: 0 0 100%; scroll-snap-align: start; }
.pgal__btn {
  position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; line-height: 1; padding-bottom: 3px;
  color: var(--ink); background: rgba(255, 255, 255, 0.82); cursor: pointer;
}
.pgal__btn--prev { left: 16px; }
.pgal__btn--next { right: 16px; }
.pgal__btn:disabled { opacity: 0.35; cursor: default; }
.pgal__btn:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
.pgal__count {
  position: absolute; right: 16px; bottom: 14px; margin: 0; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.16em; color: #fff; background: rgba(0, 0, 0, 0.45);
}
.golf__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 88px) var(--gut);
}
@media (min-width: 900px) { .golf__body { padding-inline: clamp(48px, 6vw, 112px); } }
.golf__body > * { max-width: 520px; }
.golf__name {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; margin: 0 0 30px;
}
.golf__specs { margin: 0; border-top: 1px solid var(--sand); }
.golf__specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sand); }
.golf__specs dt { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.golf__specs dd { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--ink); }
.golf__note { font-size: 15.5px; line-height: 1.7; color: var(--slate-deep); margin: 22px 0 0; }
.golf__about { font-size: 16px; line-height: 1.75; color: var(--slate-deep); margin: -12px 0 26px; }
.golf__link {
  align-self: flex-start; margin-top: 30px; padding-bottom: 3px; border-bottom: 1px solid currentColor;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.golf__link:hover { color: var(--gold); }

/* Course tabs: pick a course by name instead of scrolling. */
.golf__tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 40px;
  padding: 28px var(--gut) 0; background: var(--cream-warm); border-bottom: 1px solid var(--sand);
}
.golf__tab {
  font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); letter-spacing: 0.04em;
  color: var(--muted); background: none; border: 0; border-bottom: 1px solid transparent;
  padding: 0 0 18px; margin-bottom: -1px; cursor: pointer; transition: color 0.25s var(--ease);
}
.golf__tab:hover { color: var(--ink); }
.golf__tab[aria-selected='true'] { color: var(--ink); border-bottom-color: var(--gold); }
.golf__tab:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
.golf__course[hidden] { display: none; }
.golf__tbc { color: var(--muted); font-size: 0.8em; font-style: italic; }
.golf__ext { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.golf__ext::after { content: ' ↗'; font-size: 0.7em; color: var(--gold); }
.golf__ext:hover { color: var(--gold); }
.golf__highlights { list-style: none; margin: 0 0 28px; padding: 0; }
.golf__highlights li {
  font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.3;
  padding: 6px 0 6px 22px; position: relative;
}
.golf__highlights li::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--gold); }

.factbar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; border-block: 1px solid var(--sand); padding-block: 24px; }
@media (min-width: 760px) { .factbar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; } }
.factbar dt { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.factbar dd { font-family: var(--serif); font-size: 21px; margin: 0; }
/* On community pages the stats sit on a full-width charcoal band, which
   breaks the run of light sections between the story and the listings. */
.factband { background: var(--ink); color: var(--cream); }
.factband .factbar { border: 0; padding-block: clamp(34px, 4.5vw, 56px); }
.factband .factbar dt { color: rgba(245, 245, 245, 0.55); }
.factband .factbar dd { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--cream); }
/* Each figure centred under its heading (client, 2026-10-15). */
.factband .factbar > div { text-align: center; }

/* Home: the approved mission statement, near the close of the page. */
.mission { text-align: center; }
.mission__inner { max-width: 820px; }
.mission h2 { margin: 0 0 22px; }
.mission p { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.5; margin: 0 auto; }

.shotlist { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .shotlist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .shotlist { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

/* ---------- search ---------- */

.search-shell { display: grid; gap: 26px; }
@media (min-width: 1000px) { .search-shell { grid-template-columns: 264px 1fr; gap: 44px; align-items: start; } }

.filters { border: 1px solid var(--sand); background: var(--cream-warm); padding: 20px; }
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--header-h) + 16px); } }
.filters__group + .filters__group { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--sand); }
.filters label { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate-deep); margin-bottom: 8px; }
.filters select, .filters input {
  width: 100%; font-family: var(--text); font-size: 16px; font-weight: 450; padding: 11px 12px;
  border: 1px solid var(--stone); background: var(--cream); color: var(--ink); border-radius: 0; min-height: 44px;
}
.filters select:focus-visible, .filters input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.filters__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters__actions { margin-top: 20px; display: grid; gap: 10px; }

.results__bar {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--sand); margin-bottom: 26px;
}
.results__count { font-family: var(--serif); font-size: 19px; margin: 0; }
.results__state { padding: 60px 0; text-align: center; color: var(--slate); }
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 44px; }
.pager[hidden] { display: none; }
.pager__pos { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- listing detail ---------- */

.listing-gallery { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .listing-gallery { grid-template-columns: 2fr 1fr; } .listing-gallery__side { display: grid; gap: 8px; } }
.listing-gallery img { width: 100%; height: 100%; object-fit: cover; }
.listing-head { display: grid; gap: 8px; margin-bottom: 28px; }
.listing-head__price { font-family: var(--serif); font-size: clamp(28px, 6vw, 44px); margin: 0; }
.listing-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; border-block: 1px solid var(--sand); padding-block: 22px; margin-block: 28px; }
@media (min-width: 700px) { .listing-facts { grid-template-columns: repeat(4, 1fr); } }
.listing-facts dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.listing-facts dd { margin: 0; font-size: 17px; }
.listing-remarks { max-width: 68ch; color: var(--slate-deep); }
.attribution { font-size: 13px; color: var(--muted); margin-top: 26px; }

/* ---------- forms ---------- */

.form { display: grid; gap: 16px; max-width: 520px; }
.form label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate-deep); display: block; margin-bottom: 7px; }
.form input, .form textarea, .form select {
  width: 100%; font-family: var(--text); font-size: 17px; font-weight: 450; padding: 13px 14px;
  border: 1px solid var(--stone); background: var(--cream); color: var(--ink); border-radius: 0;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(245, 245, 245, 0.72); padding: 56px var(--gut) 34px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__top {
  max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; justify-items: start;
  padding-bottom: 34px; border-bottom: 1px solid rgba(245, 245, 245, 0.14);
}
@media (min-width: 900px) { .site-footer__top { grid-template-columns: auto 1fr; align-items: start; gap: 64px; } }
.site-footer__logo { display: block; width: 150px; height: auto; color: var(--gold); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; width: 100%; }
@media (min-width: 700px) { .site-footer__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .site-footer__nav { justify-self: end; max-width: 860px; } }
/* Logo, the site's line and a Contact Us button, so the logo doesn't sit alone (Bella, 2026-10-27). */
.site-footer__brand { display: grid; justify-items: start; gap: 18px; max-width: 300px; }
@media (max-width: 899px) { .site-footer__brand { margin-bottom: 14px; } }
.site-footer__tagline { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(245, 245, 245, 0.8); }
.site-footer .site-footer__cta:hover { color: #fff; }
.site-footer__heading { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__nav a { font-size: 15px; color: rgba(245, 245, 245, 0.8); }
.site-footer__base { max-width: var(--max); margin: 30px auto 0; display: grid; gap: 22px; }
@media (min-width: 900px) { .site-footer__base { grid-template-columns: auto 1fr; gap: 48px; align-items: start; } }
.site-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.site-footer__logos img { background: var(--cream); padding: 4px; }
/* Supplied black on transparent; the footer is dark, so it renders white. */
.site-footer__logos img.site-footer__brokerage {
  background: none; padding: 0; width: 210px; height: auto; filter: brightness(0) invert(1); opacity: 0.85;
}
.site-footer__fine p { font-size: 13px; line-height: 1.6; color: rgba(245, 245, 245, 0.65); margin: 0 0 6px; max-width: 90ch; }
.site-footer__legal { color: inherit; margin-left: 14px; text-underline-offset: 3px; }
@media (max-width: 699px) { .site-footer__legal { display: block; margin: 6px 0 0; width: fit-content; } }
.site-footer__legal:hover { color: var(--cream); }

/* Privacy policy: one readable column. */
.legal { max-width: 720px; }
.legal h1 { margin: 0 0 8px; }
.legal__date { font-size: 14px; color: var(--slate); margin: 0 0 36px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 44px 0 12px; }
.legal p, .legal li { line-height: 1.75; }
.legal ul { padding-left: 1.1em; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* The listing page still uses the standalone block. */
.compliance {
  max-width: var(--max); margin: 40px auto 0; padding-top: 26px;
  border-top: 1px solid rgba(245, 245, 245, 0.14);
  display: grid; gap: 14px; align-items: start;
}
@media (min-width: 620px) { .compliance { grid-template-columns: 71px 1fr; gap: 18px; } }
.compliance__logo { background: var(--cream); padding: 4px; }
.compliance__text p { font-size: 13px; line-height: 1.6; color: rgba(245, 245, 245, 0.6); margin: 0 0 6px; }
.compliance__stamp { font-variant-numeric: tabular-nums; }

/* ---------- utilities ---------- */

.lede { font-size: 17px; color: var(--slate-deep); max-width: 60ch; }

/* ---------- About ----------
   Modelled on the reference site's restraint: a photo banner carries the
   title, each section pairs one photograph with plain paragraphs, and there
   are only two headings in the whole story. */

.ab-h {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0 0 28px;
}
.ab-h--xl { font-size: clamp(36px, 5.6vw, 76px); letter-spacing: 0.05em; margin-bottom: 26px; }

.ab-text p { font-size: 17px; line-height: 1.8; margin: 0 0 1.2em; max-width: 34em; color: var(--slate-deep); }
.ab-text p:last-child { margin-bottom: 0; }

.ab-section { padding: clamp(80px, 10vw, 140px) 0; }
.ab-section--dark { background: var(--ink); }
.ab-section--dark .ab-text p { color: rgba(245, 245, 245, 0.82); }
.ab-section--dark .ab-h { color: var(--cream); }
.ab-section--grey { background: var(--cream-warm); }

.ab-split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .ab-split { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 112px); }
}
.ab-split__media { width: 100%; max-width: 440px; justify-self: center; }
@media (max-width: 899px) { .ab-split--text-first .ab-split__media { order: -1; } }

/* Andy's bio: a smaller portrait beside the text */
.ab-split--bio { align-items: start; }
.ab-split--bio .ab-split__media { max-width: 320px; }
@media (min-width: 900px) {
  .ab-split--bio { grid-template-columns: minmax(0, 320px) 1fr; }
  .ab-split--bio .ab-split__media { position: sticky; top: 110px; }
}
.ab-split--bio .ab-text p { max-width: 40em; }

/* Full-screen photo pages: the opening and the close. */
.ab-bleed {
  position: relative; display: grid; align-items: center; min-height: 78svh;
  text-align: center; color: var(--cream); overflow: hidden; background: var(--ink);
}
.ab-bleed__media { position: absolute; inset: 0; }
.ab-bleed__media img { width: 100%; height: 100%; object-fit: cover; }
.ab-bleed__media::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.42); }
.ab-bleed__inner { position: relative; padding-block: 64px; }
.ab-bleed__text { font-size: 18px; line-height: 1.75; max-width: 40ch; margin: 0 auto; color: rgba(245, 245, 245, 0.88); }
.ab-bleed__text--lg { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.22; max-width: 24ch; color: var(--cream); }
.ab-bleed .btn { margin-top: 40px; }
.ab-bleed__media--empty::after { display: none; }
.ab-bleed__media--empty span {
  position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; text-align: center;
  font-size: 13.5px; line-height: 1.55; color: rgba(245, 245, 245, 0.45);
}

.ab-golf { text-align: center; }
.ab-golf__text { font-size: 17px; line-height: 1.8; color: var(--slate-deep); max-width: 40em; margin: 0 auto; }
.ab-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 18px); max-width: 860px; margin: clamp(40px, 5vw, 60px) auto 0; }
@media (max-width: 620px) { .ab-trio .frame__brief { display: none; } }

/* Empty frames on charcoal read as part of the section, not as holes in it. */
.ab-section--dark .frame--empty { background: rgba(245, 245, 245, 0.05); border-color: rgba(196, 153, 88, 0.3); }
.ab-section--dark .frame__brief { color: rgba(245, 245, 245, 0.55); }

@media (min-width: 700px) { .lede { font-size: 19px; } }
.muted { color: var(--muted); }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.note {
  border-left: 2px solid var(--gold); padding: 14px 18px; background: var(--cream-warm);
  font-size: 15px; color: var(--slate-deep); margin-bottom: 28px;
}
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Community Match
   ========================================================================== */

/* Find Your Fit, modelled on the reference sites' step pages: a photo
   banner, a short centred intro, then one photo-and-text tile per question.
   Headings are small spaced capitals; answers are hairline rows, not cards. */

/* Page banner — reusable on any page that opens on a photograph. */
.pg-banner {
  position: relative; display: grid; place-items: center; overflow: hidden;
  height: clamp(320px, 46vh, 500px); background: var(--ink);
}
.pg-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-banner::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.34); }
.pg-banner__title {
  position: relative; z-index: 1; margin: 0; padding: var(--header-h) var(--gut) 0; text-align: center;
  font-size: clamp(40px, 6vw, 78px); letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}

.fit-h {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: clamp(27px, 3vw, 40px); line-height: 1.12; margin: 0 0 20px;
}
.fit-h--sm { font-size: clamp(22px, 2.2vw, 28px); }
.fit-h--lg { font-size: clamp(36px, 4.6vw, 60px); margin: 10px 0 6px; }
.fit-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin: 0; }
.fit-small { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.fit-small:empty { display: none; }
/* Form send status (forms.js): an error under the button, or a thank-you in place of the form. */
.form-status { font-size: 14px; margin: 12px 0 0; grid-column: 1 / -1; }
.form-status:empty { display: none; }
.form-done { font-size: 17px; line-height: 1.6; margin: 0; }
.fit-link {
  background: none; border: 0; padding: 8px 0; cursor: pointer; font-family: var(--text);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.fit-link:hover, .fit-link:focus-visible { color: var(--ink); }
.fit-rule { display: block; width: 44px; height: 1px; background: var(--gold); margin: 40px auto; }

.fit-intro { max-width: 680px; margin: 0 auto; text-align: center; padding-block: clamp(72px, 9vw, 120px); }
.fit-intro p { font-size: 17px; line-height: 1.8; color: var(--slate-deep); margin: 0 0 6px; }
.fit-intro .btn { margin-top: 30px; }

/* One question: photograph | question */
.fit-q { display: grid; background: var(--cream-warm); }
@media (min-width: 900px) { .fit-q { grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h)); } }
/* On a phone the photo is a slim strip so the answers start on screen; on desktop it stays put while the answers scroll. */
.fit-q__media { position: relative; aspect-ratio: 5 / 2; background: var(--sand); overflow: hidden; }
.fit-q--intro .fit-q__media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .fit-q__media, .fit-q--intro .fit-q__media {
    aspect-ratio: auto; position: sticky; top: var(--header-h); align-self: start;
    height: calc(100svh - var(--header-h));
  }
}
.fit-q__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fit-q__body { padding: clamp(36px, 5vw, 88px) var(--gut); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .fit-q__body { padding-inline: clamp(48px, 6vw, 104px); } }
.fit-q__body > * { max-width: 560px; }
.fit-q__step { font-family: var(--serif); font-size: 18px; color: var(--muted); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.fit-q__step span { color: var(--ink); }
.fit-q__bar { display: block; width: 120px; height: 1px; background: var(--stone); margin-bottom: 30px; }
.fit-q__bar span { display: block; height: 100%; background: var(--gold); transition: width 0.4s var(--ease); }
.fit-q .fit-h { margin-bottom: 8px; }
.fit-q .fit-small { margin: 0 0 26px; }

/* Welcome: one heading, the line, what we'll ask, then go. */
.fit-q--intro .fit-h--lg { margin: 0 0 22px; }
.fit-intro__body { font-size: 17px; line-height: 1.8; color: var(--slate-deep); margin: 0 0 32px; }
.fit-topics {
  list-style: none; counter-reset: topic; margin: 0 0 40px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sand);
}
.fit-topics li {
  counter-increment: topic; display: flex; gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--sand); font-family: var(--serif); font-size: 19px; color: var(--ink);
}
.fit-topics li::before {
  content: counter(topic, decimal-leading-zero); font-family: var(--text); font-size: 12px;
  letter-spacing: 0.16em; color: var(--gold); font-variant-numeric: tabular-nums;
}
.fit-q--intro .btn { align-self: flex-start; }
.fit-q--intro .fit-small { margin: 14px 0 0; }

.fit-opts { border-top: 1px solid var(--sand); }
.fit-opt {
  width: 100%; display: grid; grid-template-columns: 16px 1fr; gap: 18px; align-items: start;
  padding: 17px 0; background: none; border: 0; border-bottom: 1px solid var(--sand);
  text-align: left; cursor: pointer; font-family: var(--text); color: var(--slate-deep);
}
.fit-opt__mark {
  width: 14px; height: 14px; margin-top: 5px; border: 1px solid var(--stone); border-radius: 50%;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fit-opt--multi .fit-opt__mark { border-radius: 0; }
.fit-opt__text { display: grid; gap: 3px; }
.fit-opt__label { font-family: var(--serif); font-size: 20px; line-height: 1.25; color: var(--ink); transition: color 0.2s var(--ease); }
.fit-opt__note { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.fit-opt:hover .fit-opt__label { color: var(--gold); }
.fit-opt:hover .fit-opt__mark { border-color: var(--gold); }
.fit-opt:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.fit-opt.is-on .fit-opt__mark { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--cream-warm); }
/* Back and Continue stay on screen while a long list of answers scrolls. */
.fit-q__actions {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px;
  position: sticky; bottom: 0; z-index: 1; padding: 16px 0; background: var(--cream-warm); border-top: 1px solid var(--sand);
}

/* Results */
.fit-top { display: grid; background: var(--cream-warm); }
@media (min-width: 900px) { .fit-top { grid-template-columns: 1fr 1fr; } }
.fit-top__media { position: relative; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; display: grid; place-items: center; }
@media (min-width: 900px) { .fit-top__media { aspect-ratio: auto; min-height: 600px; } }
.fit-top__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fit-top__media span { font-family: var(--serif); font-size: 28px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.fit-top__body { padding: clamp(40px, 5vw, 88px) var(--gut); }
@media (min-width: 900px) { .fit-top__body { padding-inline: clamp(48px, 6vw, 104px); } }
.fit-top__body > * { max-width: 540px; }
.fit-top__pct { font-family: var(--serif); font-size: 21px; color: var(--gold); margin: 0 0 14px; }
.fit-top__tags { font-size: 15px; color: var(--slate-deep); margin: 0 0 28px; }
.fit-facts { margin: 0 0 22px; border-top: 1px solid var(--sand); }
.fit-facts div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--sand); }
.fit-facts dt { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.fit-facts dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--slate-deep); }
.fit-top__note { font-size: 14.5px; line-height: 1.6; font-style: italic; color: var(--muted); margin: 0 0 30px; }

.fit-others { padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px); text-align: center; }
.fit-others .fit-h { margin-bottom: 40px; }
.fit-grid { display: grid; gap: 40px 28px; text-align: left; }
@media (min-width: 700px) { .fit-grid { grid-template-columns: repeat(3, 1fr); } }
.fit-card { display: block; text-decoration: none; color: inherit; }
.fit-card__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.fit-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.fit-card:hover .fit-card__media img { transform: scale(1.03); }
.fit-card__blank {
  position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink);
  font-family: var(--serif); font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
}
.fit-card__name { display: block; font-family: var(--serif); font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; margin: 18px 0 4px; }
.fit-card__pct { display: block; font-size: 14px; color: var(--gold); margin-bottom: 6px; }
.fit-card__tags { display: block; font-size: 14px; line-height: 1.55; color: var(--muted); }
.fit-card__more {
  display: inline-block; margin-top: 14px; padding-bottom: 3px; border-bottom: 1px solid currentColor;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink);
}
.fit-card:hover .fit-card__more { color: var(--gold); }
.fit-top__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lead form beside a photograph, underline fields */
.fit-gate { display: grid; background: var(--cream-warm); }
.fit-gate[hidden] { display: none; }
@media (min-width: 900px) { .fit-gate { grid-template-columns: 1fr 1fr; } }
.fit-gate__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 900px) { .fit-gate__media { aspect-ratio: auto; min-height: 640px; } }
.fit-gate__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fit-gate__body { padding: clamp(40px, 5vw, 88px) var(--gut); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .fit-gate__body { padding-inline: clamp(48px, 6vw, 104px); } }
.fit-gate__body > * { max-width: 520px; }
.fit-gate__body > p { font-size: 17px; line-height: 1.75; color: var(--slate-deep); margin: 0; }
.fit-form { display: grid; gap: 22px; margin-top: 30px; }
.fit-field { display: grid; gap: 4px; }
.fit-field span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate-deep); }
.fit-field input {
  border: 0; border-bottom: 1px solid var(--stone); background: transparent; border-radius: 0;
  padding: 10px 0; font-family: var(--text); font-size: 17px; color: var(--ink);
}
.fit-field input:focus { outline: none; border-bottom-color: var(--ink); }
.fit-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink); cursor: pointer; }
.fit-check input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.fit-form .btn { justify-self: start; margin-top: 6px; }

/* Thank-you after the quiz form: a golden-hour Dunes photo behind the text (Bella: it was blank). */
.fit-thanks { position: relative; display: grid; place-items: center; min-height: calc(100svh - var(--header-h)); overflow: hidden; background: var(--ink); }
.fit-thanks[hidden] { display: none; }
.fit-thanks__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fit-thanks::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0.6)); }
.fit-thanks__body { position: relative; z-index: 1; max-width: 680px; text-align: center; padding-block: clamp(80px, 10vw, 140px); color: #fff; }
.fit-thanks .fit-h { color: #fff; }
.fit-thanks p { font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, 0.92); }
.fit-thanks .btn { margin-top: 22px; }

.match__nojs { line-height: 1.9; text-align: left; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* ---------- Community page: listings map beside the cards ---------- */

.lmap { padding-block: clamp(72px, 9vw, 120px) 0; }
.lmap--empty { padding-bottom: clamp(72px, 9vw, 120px); }
.lmap__head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.lmap__head p { font-size: 17px; color: var(--slate-deep); margin: 0; }
.lmap__empty { text-align: center; margin: 0; }

.lmap__bar {
  display: flex; flex-wrap: wrap; align-items: end; gap: 14px 22px;
  padding: 16px var(--gut); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand);
}
.lmap__filter { display: grid; gap: 4px; }
.lmap__filter span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.lmap__filter select {
  font-family: var(--text); font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--stone); border-radius: 0; padding: 6px 22px 6px 0; min-width: 120px;
}
.lmap__filter select:focus-visible { outline: none; border-bottom-color: var(--ink); }
.lmap__follow { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--slate-deep); padding-bottom: 7px; cursor: pointer; }
.lmap__follow input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }
.lmap__count { margin: 0 0 0 auto; padding-bottom: 7px; font-family: var(--serif); font-size: 18px; color: var(--ink); }
/* Sort sits at the far right, over the listings column. */
.lmap__bar .lmap__filter:last-child select { min-width: 170px; }

.lmap__split { display: grid; }
@media (min-width: 900px) { .lmap__split { grid-template-columns: 1fr 1fr; align-items: start; } }
.lmap__map { background: #f2f2f0; }
.lmap__canvas { height: 46svh; min-height: 300px; }
/* Desktop: map and listings share one screen-high panel. The list scrolls
   inside its column, so scrolling anywhere else carries on down the page
   instead of through every listing. */
@media (min-width: 900px) {
  .lmap__split { height: calc(100svh - var(--header-h) - 24px); min-height: 560px; }
  .lmap__map, .lmap__canvas { height: 100%; min-height: 0; }
  .lmap__list { height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--stone) transparent; }
}
.lmap__canvas[hidden] { display: none; }
.lmap__list { display: grid; gap: 28px 20px; padding: 28px var(--gut) 72px; align-content: start; }
@media (min-width: 560px) { .lmap__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .lmap__list { padding: 28px clamp(24px, 3vw, 44px) 88px; } }
.lmap__item[hidden] { display: none; }
.lmap__more {
  grid-column: 1 / -1; justify-self: center; margin-top: 8px; padding: 14px 28px;
  background: none; border: 1px solid var(--ink); cursor: pointer; color: var(--ink);
  font-family: var(--text); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
}
.lmap__more:hover { background: var(--ink); color: var(--cream); }
.lmap__more[hidden] { display: none; }
.lmap__item .card { transition: box-shadow 0.25s var(--ease); }
.lmap__item.is-lit .card { box-shadow: 0 0 0 1px var(--gold); }

.lmap-pin {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px;
  border: 0; border-radius: 13px; cursor: pointer; white-space: nowrap;
  background: var(--ink); color: #fff; box-shadow: 0 2px 6px rgba(10, 10, 10, 0.28);
  font-family: var(--text); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.lmap-pin[hidden] { display: none; }
.lmap-pin__count {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--gold); color: #0a0a0a;
  font-size: 11px; line-height: 16px; text-align: center;
}
.lmap-pin__count[hidden] { display: none; }
.lmap-pin:hover, .lmap-pin.is-lit { background: var(--gold); color: #0a0a0a; z-index: 3; transform: scale(1.06); }
.lmap-pin:hover .lmap-pin__count, .lmap-pin.is-lit .lmap-pin__count { background: var(--ink); color: #fff; }
.lmap-pin:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lmap-pin.maplibregl-marker { z-index: 1; }
.lmap-pin.maplibregl-marker.is-dot { z-index: 0; }
.lmap-pin.maplibregl-marker:hover, .lmap-pin.maplibregl-marker.is-lit { z-index: 4; }
/* Collided tags shrink to a dot until there is room for the price. */
.lmap-pin.is-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(10, 10, 10, 0.3); }
.lmap-pin.is-dot > span { display: none; }
.lmap-pin.is-dot:hover, .lmap-pin.is-dot.is-lit { transform: scale(1.4); }

.lmap-popup { z-index: 10; font-family: var(--text); }
.lmap-popup .maplibregl-popup-content { padding: 0; border-radius: 0; background: #fff; box-shadow: 0 14px 34px -12px rgba(10, 10, 10, 0.35); }
.lmap-popup .maplibregl-popup-tip { border-top-color: #fff; border-bottom-color: #fff; }
.lmap-pop { display: grid; color: var(--ink); text-decoration: none; }
.lmap-pop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.lmap-pop__price { font-family: var(--serif); font-size: 19px; padding: 10px 12px 0; }
.lmap-pop__place { font-size: 13px; color: var(--slate); padding: 2px 12px 12px; }
.lmap-pop--list { padding: 12px 14px; gap: 2px; min-width: 200px; }
.lmap-pop__head { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.lmap-pop--list a { display: grid; padding: 6px 0; border-top: 1px solid var(--sand); color: var(--ink); text-decoration: none; }
.lmap-pop--list a span { font-family: var(--serif); font-size: 17px; }
.lmap-pop--list a small { font-size: 12.5px; color: var(--slate); }
.lmap-pop--list a:hover span { color: var(--gold); }
.lmap-pop__more { font-size: 12.5px; color: var(--slate); padding-top: 6px; }
.lmap .maplibregl-ctrl-group { border-radius: 0; box-shadow: 0 1px 4px rgba(10, 10, 10, 0.2); }
.lmap .maplibregl-ctrl-attrib { font-size: 11px; }

/* ==========================================================================
   Newsletter band
   ========================================================================== */

/* ---------- email capture band ---------- */

.subscribe { background: var(--cream-warm); border-top: 1px solid var(--sand); padding-block: 48px; }
@media (min-width: 700px) { .subscribe { padding-block: 72px; } }
.subscribe__inner { display: grid; gap: 30px; }
@media (min-width: 900px) { .subscribe__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.subscribe__blurb { color: var(--slate-deep); max-width: 46ch; margin: 20px 0 0; }
.subscribe__form { max-width: 460px; gap: 14px; }
@media (min-width: 560px) {
  .subscribe__form { grid-template-columns: 1fr 1fr; }
  .subscribe__form > div { grid-column: span 1; }
  .subscribe__form > button { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- home: grey hero slot ---------- */

.hero:has(.hero__slot) { background: var(--cream-warm); }
.hero:has(.hero__slot) .hero__media::after { display: none; }
.hero .hero__slot { background: var(--cream-warm); color: var(--slate-deep); }

.center-head { margin-inline: auto; text-align: center; }

/* ---------- home: featured, three equal cards ---------- */

.feats { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 760px) { .feats { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
/* Phones: the three featured homes become a swipe carousel with arrows and a count. */
.feats__nav { display: none; }
@media (max-width: 759px) {
  .feats {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut);
    margin-bottom: 20px; scrollbar-width: none;
  }
  .feats::-webkit-scrollbar { display: none; }
  .feats > .feat { flex: 0 0 86%; scroll-snap-align: start; }
  .feats__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 32px; }
  .feats__count { font-size: 13px; letter-spacing: 0.2em; color: var(--slate-deep); min-width: 4ch; text-align: center; }
}
.feat { display: block; text-decoration: none; color: inherit; }
.feat__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); display: grid; place-items: center; }
.feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.feat:hover .feat__media img { transform: scale(1.03); }
.feat__none { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); }
.feat__price { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin: 18px 0 6px; }
.feat__specs { font-size: 14px; color: var(--slate-deep); margin: 0 0 6px; }
.feat__place { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.feat:hover .feat__price { color: var(--gold); }

/* ---------- home: how we work ---------- */

.hww { position: relative; padding-block: 72px; }
@media (min-width: 900px) { .hww { padding-block: 120px; } }
.hww__bg.frame--empty {
  position: absolute; inset: 0; border: 0; place-content: end center; padding: 18px var(--gut);
}
@media (min-width: 760px) { .hww__bg.frame--empty { place-content: end end; } }
.hww__bg .frame__brief { color: var(--slate); max-width: 40ch; }
.hww__inner { position: relative; }
.hww__cards { display: grid; gap: 14px; max-width: 980px; margin: 0 auto 34px; }
@media (min-width: 760px) { .hww__cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.hww__card { background: #fff; padding: 34px 26px; text-align: center; }
.hww__icon { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.hww__card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 14px 0 8px; }
.hww__card p { font-size: 15.5px; color: var(--slate-deep); margin: 0; line-height: 1.6; }

/* ---------- home: community carousel ----------
   A row of community cards under the hero: 8 across on a wide screen, 4 on a
   tablet, and a swipeable row with the next card peeking on a phone. */

.ccar { padding-bottom: 0; }
/* With no featured listings between them, the carousel ran straight into the
   map band. Give it a full section's breathing room. */
.ccar + .band { margin-top: 56px; }
@media (min-width: 700px) { .ccar + .band { margin-top: 88px; } }
@media (min-width: 1100px) { .ccar + .band { margin-top: 112px; } }
.ccar > .wrap { max-width: none; }
.ccar__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.ccar__head h2 { margin: 0; }
.ccar__nav { display: flex; gap: 10px; }
/* The carousel runs edge to edge, so a left-set heading sat on the very edge of
   wide screens. Centred like the other home sections, arrows kept at the right
   (client, 2026-10-15). */
@media (min-width: 700px) {
  .ccar__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .ccar__head h2 { grid-column: 2; text-align: center; }
  .ccar__nav { grid-column: 3; justify-self: end; }
}
.ccar__btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink); background: none;
  color: var(--ink); font-size: 17px; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.ccar__btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.ccar__btn:disabled { opacity: 0.25; cursor: default; }
.ccar__track {
  --per: 2.3; --gap: 14px;
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  list-style: none; margin: 0; padding: 0; scrollbar-width: none;
}
.ccar__track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .ccar__track { --per: 4; --gap: 16px; } }
@media (min-width: 1100px) { .ccar__track { --per: 8; } }
.ccar__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; }
.ccar__card { display: block; text-decoration: none; color: inherit; }
.ccar__media {
  aspect-ratio: 3 / 4; background: var(--sand); display: grid; place-items: center; padding: 12px;
  text-align: center; font-size: 12px; line-height: 1.4; color: var(--slate); transition: opacity 0.3s var(--ease);
}
.ccar__card:hover .ccar__media { opacity: 0.85; }
.ccar__name { font-family: var(--serif); font-size: 19px; line-height: 1.15; margin: 12px 0 0; }
.ccar__card:hover .ccar__name { color: var(--gold); }

/* ---------- home: communities map, quiz, about, testimonials, faq, consultation ---------- */

.home-more { margin: 30px 0 0; }
.home-more--pair { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.home-split { align-items: center; }
@media (min-width: 900px) { .home-split { gap: 80px; } }
.home-split .frame { max-height: 640px; }

.qtease__note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.home-about { background: var(--cream-warm); }
.home-about__text { color: var(--slate-deep); max-width: 52ch; margin-bottom: 26px; }
@media (max-width: 899px) { .home-about__media { order: 2; } }

.quotes { display: grid; gap: 16px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.quote.frame--empty { margin: 0; min-height: 220px; }
.quote .frame__brief { color: var(--slate); max-width: 28ch; }
.tquote { margin: 0 auto; max-width: 1000px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 760px) { .tquote { grid-template-columns: 0.8fr 1.4fr; gap: clamp(40px, 6vw, 80px); } }
.tquote__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 759px) { .tquote__photo { max-width: 320px; margin: 0 auto; } }
.tquote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; color: var(--ink); }
.tquote blockquote p + p { margin-top: 0.8em; }
.tquote figcaption { margin-top: 26px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.tquote figcaption span { color: var(--slate); }

.home-faq { border-top: 1px solid var(--sand); }
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; } }
.faq { border-top: 1px solid var(--stone); }
.faq__item { border-bottom: 1px solid var(--stone); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-family: var(--serif); font-size: 22px; line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--text); font-size: 20px; color: var(--gold); transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--slate-deep); max-width: 62ch; margin: 0 0 24px; }
.faq__item p + p { margin-top: -10px; }
.faq__item a { color: inherit; }
.faq__item a:hover { color: var(--gold); }

/* FAQ page: one row per topic, topic on the left, questions on the right. */
.faq-group { padding-block: 40px; border-top: 1px solid var(--sand); }
.faq-group__title { font-size: clamp(24px, 2.4vw, 30px); margin: 0; }
.faq-more { margin: 48px 0 0; text-align: center; color: var(--slate-deep); }

.consult__inner { display: grid; gap: 34px; }
@media (min-width: 900px) { .consult__inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.consult__blurb { color: rgba(245, 245, 245, 0.72); max-width: 44ch; }
.consult__form { max-width: none; }
@media (min-width: 620px) {
  .consult__form { grid-template-columns: 1fr 1fr; }
  .consult__wide, .consult__form > button { grid-column: 1 / -1; }
  .consult__form > button { justify-self: start; }
}
.consult .form label { color: rgba(245, 245, 245, 0.6); }
.consult .form input, .consult .form textarea {
  background: transparent; color: var(--cream); border-color: rgba(245, 245, 245, 0.3);
}
.consult__opt { text-transform: none; letter-spacing: 0; }
.ccar__media:has(img) { padding: 0; overflow: hidden; }
.ccar__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Inner-page photo banner ---------- */

.pbanner {
  position: relative; display: grid; place-items: center; min-height: 62svh;
  background: var(--ink); color: var(--cream); overflow: hidden; text-align: center;
}
.pbanner--short { min-height: 46svh; }
.pbanner__media { position: absolute; inset: 0; }
.pbanner__media img { width: 100%; height: 100%; object-fit: cover; }
.pbanner__media::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.34); }
.pbanner__media--empty::after { display: none; }
.pbanner__media--empty span {
  position: absolute; left: var(--gut); right: var(--gut); bottom: 22px;
  font-size: 13.5px; color: rgba(245, 245, 245, 0.45);
}
.pbanner__title {
  position: relative; margin: 0; padding: calc(var(--header-h) + 24px) var(--gut) 24px;
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.1;
}

/* ---------- Communities index: unbroken photo grid, names on the photos ---------- */

.cgrid-intro { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.cgrid-intro p { font-size: 17px; line-height: 1.8; color: var(--slate-deep); max-width: 38em; margin: 0 auto; }

.cgrid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cgrid { grid-template-columns: repeat(3, 1fr); } }
/* Two columns leave it alone on the last row — let it span. */
@media (min-width: 640px) and (max-width: 999px) { .cgrid__tile--other { grid-column: span 2; aspect-ratio: 20 / 7; } }
.cgrid__tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 10 / 7;
  overflow: hidden; background: var(--ink); text-decoration: none; color: var(--cream); text-align: center;
}
.cgrid__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.cgrid__tile::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.32); transition: background 0.4s var(--ease); }
.cgrid__tile:hover img { transform: scale(1.04); }
.cgrid__tile:hover::after { background: rgba(10, 10, 10, 0.44); }
.cgrid__tile--empty { background: var(--slate-deep); }
.cgrid__tile--empty::after { display: none; }
.cgrid__label { position: relative; z-index: 1; display: grid; gap: 10px; padding: 0 24px; }
.cgrid__name { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; }
.cgrid__meta { font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(245, 245, 245, 0.8); }
.cgrid__brief {
  position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1;
  font-size: 12.5px; line-height: 1.5; color: rgba(245, 245, 245, 0.45);
}

/* ---------- Contact: photo beside the form ---------- */

.fit-gate__media--empty { background: var(--sand); }
.fit-gate__media--empty span {
  position: absolute; inset: auto 24px 22px; text-align: center;
  font-size: 13.5px; line-height: 1.55; color: var(--slate);
}
.fit-field select, .fit-field textarea {
  border: 0; border-bottom: 1px solid var(--stone); background: transparent; border-radius: 0;
  padding: 10px 0; font-family: var(--text); font-size: 17px; color: var(--ink); width: 100%;
}
.fit-field textarea { resize: vertical; min-height: 84px; }
.fit-field select:focus, .fit-field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.contact-direct { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--sand); display: grid; gap: 12px; }
.contact-direct p { margin: 0; display: flex; gap: 18px; align-items: baseline; font-size: 17px; }
.contact-direct span { min-width: 92px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate-deep); }
.contact-direct a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ---------- MLS search: filter bar across the top, results full width ---------- */

.sbar {
  display: grid; gap: 18px; padding: 22px var(--gut);
  border-bottom: 1px solid var(--sand); background: var(--cream);
}
@media (min-width: 1100px) { .sbar { grid-template-columns: 1fr auto; align-items: end; gap: 28px; } }
.sbar__fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
@media (min-width: 760px) { .sbar__fields { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .sbar__fields { grid-template-columns: 1.3fr 1.5fr 1fr 1fr 0.7fr 0.7fr 1.1fr auto; } }
.sbar__field--wide { grid-column: span 2; }
@media (min-width: 1100px) { .sbar__field--wide { grid-column: auto; } }
.sbar__field, .sbar__sort { display: grid; gap: 4px; min-width: 0; }
.sbar__field span, .sbar__sort span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate-deep); }
.sbar select, .sbar input, .sbar__sort select {
  width: 100%; border: 0; border-bottom: 1px solid var(--stone); background: transparent; border-radius: 0;
  padding: 9px 0; font-family: var(--text); font-size: 16px; color: var(--ink); min-height: 40px;
}
.sbar select:focus-visible, .sbar input:focus-visible, .sbar__sort select:focus-visible { outline: none; border-bottom-color: var(--ink); }
.sbar__actions { display: flex; align-items: center; gap: 22px; }
.sbar__reset {
  background: none; border: 0; padding: 4px 0; font: inherit; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--slate-deep); cursor: pointer; border-bottom: 1px solid var(--stone);
}
.search-page { padding-bottom: clamp(72px, 9vw, 120px); }
.search-page .results__bar { align-items: end; margin-top: clamp(32px, 4vw, 52px); }
.sbar__sort { grid-auto-flow: column; align-items: baseline; gap: 12px; }
.sbar__sort select { width: auto; min-height: 0; padding: 4px 0; }
@media (min-width: 1100px) { .sbar { position: sticky; top: var(--header-h); z-index: 20; } }
.cgrid__label { text-shadow: 0 1px 14px rgba(10, 10, 10, 0.45); }
.cgrid__tile--empty { background: var(--sand); color: var(--ink); border: 1px solid var(--cream); text-shadow: none; }
.cgrid__tile--empty .cgrid__label { text-shadow: none; }
.cgrid__tile--empty .cgrid__meta { color: var(--slate-deep); }
.cgrid__tile--empty .cgrid__brief { color: var(--slate); }
/* On a phone the form comes first; the photo follows it. */
@media (max-width: 899px) { .contact-gate .fit-gate__media { order: 2; } }

/* ---------- Phone pass ----------
   Mobile is the priority. Everything below only applies under 700px. */
@media (max-width: 699px) {
  /* Course and amenity tabs: one row that swipes, instead of wrapping into a pile. */
  .golf__tabs {
    flex-wrap: nowrap; justify-content: flex-start; gap: 28px; overflow-x: auto;
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
            mask-image: linear-gradient(to right, #000 85%, transparent);
  }
  .golf__tabs::-webkit-scrollbar { display: none; }
  .golf__tab { flex: none; white-space: nowrap; scroll-snap-align: start; font-size: 18px; padding-top: 6px; }
  .golf__tab:last-child { margin-right: 40px; }

  /* Listings filter bar above the community map: a tidy two-column grid. */
  .lmap__bar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-items: end; }
  .lmap__filter select, .lmap__bar .lmap__filter:last-child select { min-width: 0; width: 100%; min-height: 40px; }
  .lmap__bar > :nth-child(1) { order: 1; }
  .lmap__bar > :nth-child(2) { order: 2; }
  .lmap__bar > :nth-child(3) { order: 3; }
  .lmap__bar > .lmap__filter:last-child { order: 4; }
  .lmap__follow { order: 5; padding: 8px 0; min-height: 40px; }
  .lmap__follow input { width: 20px; height: 20px; }
  .lmap__count { order: 6; justify-self: end; padding: 8px 0; }

  /* Contact: label on its own line, name and number together, number never split. */
  .contact-direct p { flex-wrap: wrap; row-gap: 6px; }
  .contact-direct span { flex-basis: 100%; }
  .contact-direct a { white-space: nowrap; }

  /* Small uppercase labels: 11px minimum on a phone. */
  .golf__specs dt, .factbar dt, .form label, .lmap__filter span, .fit-field span,
  .sbar__field span, .sbar__sort span, .contact-direct span, .eyebrow, .mega__region,
  .cgrid__meta, .consult__opt { font-size: 12px; }

  /* Tap targets: grow the touch area without moving anything visually. */
  .link-underline, .golf__link, .site-footer__nav a, .sbar__reset { position: relative; }
  .link-underline::after, .golf__link::after, .site-footer__nav a::after, .sbar__reset::after {
    content: ''; position: absolute; inset: -12px -6px;
  }
}

/* ---------- Phones: shorter, simpler pages ---------- */
.sbar__toggle, .listing-gallery__count { display: none; }
@media (min-width: 800px) { .listing-gallery__more { display: none; } }
@media (max-width: 699px) {
  /* Listing cards become compact rows: photo left, details right. */
  .card { border-bottom: 1px solid var(--sand); padding-bottom: 14px; }
  .card__link { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; }
  .card__body { padding-top: 0; }
  .card__price { font-size: 18px; }
  .card__place { font-size: 13.5px; line-height: 1.45; }
  .card__specs { font-size: 11.5px; }
  .cards { gap: 14px; }
  .listing-thumbs { display: none; }

  /* Search: filters fold behind one button. */
  .sbar__toggle {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    background: none; border: 0; border-bottom: 1px solid var(--stone); padding: 12px 0; cursor: pointer;
    font: inherit; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink);
  }
  .sbar__toggle span { font-size: 18px; letter-spacing: 0; color: var(--gold); transition: transform 0.25s var(--ease); }
  .sbar__toggle[aria-expanded='true'] span { transform: rotate(45deg); }
  .sbar__body { display: none; padding-top: 18px; }
  .sbar.is-open .sbar__body { display: grid; gap: 18px; }

  /* Testimonials: one at a time, swipe for the next. */
  .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .quotes::-webkit-scrollbar { display: none; }
  .quotes > .quote { flex: 0 0 86%; scroll-snap-align: start; }
}
@media (max-width: 799px) {
  /* Listing page: every photo in one swipe row with a count, so the price is on the first screen. */
  .listing-gallery { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1); }
  .listing-gallery::-webkit-scrollbar { display: none; }
  .listing-gallery__side { display: contents; }
  .listing-gallery > .frame, .listing-gallery__side > .frame { flex: 0 0 100%; scroll-snap-align: start; }
  .listing-gallery__count { display: block; text-align: right; font-size: 12px; letter-spacing: 0.2em; color: var(--slate-deep); margin: 8px 0 0; }
  .listing-thumbs { display: none; }
}
@media (min-width: 640px) { .sbar__body { display: contents; } }

/* Example for Roddy: the brokerage logo at the right, before Let's Connect, divider on its right. */
.brand__brokerage--right { border-left: 0; padding-left: 0; padding-right: 10px; border-right: 1px solid var(--stone); }
@media (min-width: 700px) { .brand__brokerage--right { padding-right: 16px; } }
.site-header--over:not(.is-stuck) .brand__brokerage--right { border-right-color: rgba(255, 255, 255, 0.45); }
.burger, .connect { flex-shrink: 0; }
@media (max-width: 699px) { .site-header__actions { gap: 10px; } .wordmark svg { height: 48px; } }
/* Brokerage logo in the nav ink on the light bar so it reads as part of the nav; white over photos. */
.brand__brokerage--right { opacity: 1; }
/* Bigger than it was, but below the CGL lockup's full height so it doesn't outweigh it. */
@media (min-width: 700px) { .brand__brokerage--right { height: 38px; } }
@media (min-width: 1000px) and (max-width: 1239px) { .brand__brokerage--right { height: 30px; } }
@media (min-width: 1240px) { .brand__brokerage--right { height: 34px; } }

.brokerage-link { display: flex; align-items: center; }
/* Phones: CGL, Berkshire and Let's Connect all the same height. */
@media (max-width: 699px) {
  .wordmark svg { height: 30px; }
  .brand__brokerage--right { height: 30px; padding-right: 8px; }
  .connect { height: 30px; display: inline-flex; align-items: center; padding: 0 9px; font-size: 9px; letter-spacing: 0.1em; }
  .site-header__actions { gap: 8px; }
}

/* Find Your Fit — printable results (client, 2026-10-15). Hidden on screen;
   "Print your results" prints only this, one community per page. */
.fit-print { display: none; }
@media print {
  @page { margin: 16mm 14mm; }
  .page-match .site-header, .page-match .site-footer, .page-match .skip,
  .page-match #match-quiz, .page-match #match-results, .page-match #match-gate,
  .page-match #match-thanks { display: none !important; }
  .page-match, .page-match main { background: #fff !important; color: #111; padding: 0 !important; margin: 0 !important; }
  .fit-print { display: block; font-family: var(--text); font-size: 11.5pt; line-height: 1.45; color: #111; }
  .fit-print__head { border-bottom: 1px solid #c49958; padding-bottom: 10px; margin-bottom: 18px; }
  .fit-print__head p { margin: 0; letter-spacing: 0.18em; text-transform: uppercase; font-size: 9pt; color: #6b6b6b; }
  .fit-print__head h1 { font-family: var(--serif); font-weight: 400; font-size: 26pt; margin: 4px 0 2px; }
  .fit-print__head h1 + p { letter-spacing: 0; text-transform: none; font-size: 11pt; }
  .fit-print__item { break-inside: avoid; page-break-inside: avoid; margin-bottom: 18px; }
  .fit-print__item + .fit-print__item { break-before: page; page-break-before: always; }
  .fit-print__rank { margin: 0; font-size: 9pt; letter-spacing: 0.18em; text-transform: uppercase; color: #a87d3f; }
  .fit-print h2 { font-family: var(--serif); font-weight: 400; font-size: 24pt; margin: 2px 0 0; }
  .fit-print__region { margin: 0 0 10px; color: #6b6b6b; }
  .fit-print img { width: 100%; height: 62mm; object-fit: cover; margin: 4px 0 10px; }
  .fit-print h3 { font-size: 9pt; letter-spacing: 0.18em; text-transform: uppercase; color: #6b6b6b; margin: 12px 0 4px; }
  .fit-print p, .fit-print ul { margin: 0 0 6px; }
  .fit-print ul { padding-left: 18px; }
  .fit-print__list { font-size: 10pt; color: #333; }
  .fit-print__url { margin-top: 10px; font-size: 9pt; color: #6b6b6b; }
}

/* /compare/ — every community side by side. The table scrolls sideways inside
   its own box on narrow screens (the page never does); names stay pinned. */
.mega__lead .link-underline { display: inline-block; margin-top: 10px; margin-right: 18px; }
.cmp__intro { max-width: 680px; margin: 0 0 28px; }
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-block: 1px solid var(--sand); }
.cmp__table { border-collapse: collapse; width: 100%; min-width: 1180px; font-size: 15px; }
.cmp__table th, .cmp__table td { padding: 14px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sand); }
.cmp__table thead th { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; white-space: nowrap; }
.cmp__table tbody tr:last-child > * { border-bottom: 0; }
.cmp__table th[scope="row"], .cmp__table thead th:first-child { position: sticky; left: 0; background: var(--cream); z-index: 1; min-width: 150px; }
.cmp__table th[scope="row"] a { font-family: var(--serif); font-size: 20px; font-weight: 400; color: inherit; text-decoration: none; }
.cmp__table th[scope="row"] a:hover { text-decoration: underline; }
.cmp__sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.cmp__none { color: var(--muted); }
.cmp__note { font-size: 14px; color: var(--muted); margin: 18px 0 30px; }
.cmp__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cmp__print-head { display: none; }

/* No sideways scrolling (client, 2026-10-26: people won't think to scroll right
   to the dues). Wide screens: the whole table fits the page. Narrower: one card
   per community, every figure labelled. */
.page-compare .cmp .wrap { max-width: 1560px; }
@media (min-width: 1200px) {
  .cmp__scroll { overflow: visible; }
  .cmp__table { min-width: 0; font-size: 14px; line-height: 1.4; }
  .cmp__table th, .cmp__table td { padding: 14px 10px; }
  .cmp__table thead th { white-space: normal; letter-spacing: 0.12em; font-size: 10.5px; line-height: 1.35; vertical-align: bottom; }
  .cmp__table th[scope="row"], .cmp__table thead th:first-child { position: static; min-width: 130px; }
  .cmp__table th[scope="row"] a { font-size: 19px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .cmp__table { font-size: 13px; }
  .cmp__table th, .cmp__table td { padding: 12px 7px; }
  .cmp__table thead th { letter-spacing: 0.08em; font-size: 10px; }
  .cmp__table th[scope="row"] { min-width: 112px; }
  .cmp__table th[scope="row"] a { font-size: 17px; }
}
@media screen and (max-width: 1199px) {
  .cmp__scroll { overflow: visible; border: 0; }
  .cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; min-width: 0; }
  .cmp__table { font-size: 15px; }
  .cmp__table thead { display: none; }
  .cmp__table tbody { display: grid; gap: 18px; }
  @media (min-width: 760px) { .cmp__table tbody { grid-template-columns: 1fr 1fr; } }
  .cmp__table tr { border: 1px solid var(--sand); background: var(--cream); padding: 18px 20px 8px; }
  .cmp__table th[scope="row"] { position: static; padding: 0 0 12px; border-bottom: 1px solid var(--sand); }
  .cmp__table th[scope="row"] a { font-size: 22px; }
  .cmp__table td {
    display: grid; grid-template-columns: minmax(0, 11em) 1fr; gap: 12px;
    padding: 9px 0; border-bottom: 1px solid var(--sand);
  }
  .cmp__table tr > td:last-child { border-bottom: 0; }
  .cmp__table td::before {
    content: attr(data-label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); padding-top: 3px;
  }
  .cmp__table td .cmp__sub { font-size: 13px; }
  .cmp__table tbody tr:last-child > th, .cmp__table tbody tr:last-child > td:not(:last-child) { border-bottom: 1px solid var(--sand); }
}

/* Save/Print comparison: the whole table on one landscape page, without the
   header, banner or buttons. A named page so Find Your Fit stays portrait. */
@page cmp { size: landscape; margin: 10mm; }
@media print {
  .page-compare main { page: cmp; }
  .page-compare .site-header, .page-compare .site-footer, .page-compare .skip,
  .page-compare .pbanner, .page-compare .cmp__actions, .page-compare .cmp__intro,
  .page-compare .subscribe { display: none !important; }
  .page-compare, .page-compare main, .page-compare .cmp { background: #fff !important; color: #111; padding: 0 !important; margin: 0 !important; }
  .page-compare .wrap { max-width: none; padding: 0; }
  .page-compare .cmp__print-head { display: block; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #c49958; font-size: 9pt; letter-spacing: 0.18em; text-transform: uppercase; color: #6b6b6b; }
  .cmp__scroll { overflow: visible; border: 0; }
  .cmp__table { min-width: 0; font-size: 7.5pt; line-height: 1.2; }
  .cmp__table th, .cmp__table td { padding: 3px 5px; }
  .cmp__table thead th { font-size: 6pt; letter-spacing: 0.08em; white-space: normal; }
  .cmp__table th[scope="row"], .cmp__table thead th:first-child { position: static; background: none; min-width: 0; }
  .cmp__table th[scope="row"] { min-width: 105px; }
  .cmp__table th[scope="row"] a { font-size: 10pt; }
  .cmp__sub { font-size: 6.5pt; margin-top: 0; }
  .cmp__table tr { break-inside: avoid; page-break-inside: avoid; }
  .cmp__note { font-size: 7.5pt; margin: 6px 0 0; }
}

/* /insights/ — buyer guides (team's launch content, 2026-10-15). */
.ins__intro { max-width: 640px; margin: 0 0 34px; }
.ins__grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .ins__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ins__card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.ins__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.ins__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ins__card:hover .ins__media img { transform: scale(1.03); }
.ins__title { font-family: var(--serif); font-size: clamp(23px, 2vw, 28px); line-height: 1.2; }
.ins__teaser { color: var(--slate); font-size: 16px; line-height: 1.6; }
.ins__more { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.ins__faq { margin-top: 40px; }

.art { padding-top: clamp(110px, 12vw, 150px); }
.art__head, .art__body { max-width: 760px; }
.art__kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 12px; color: var(--muted); }
.art__kicker a { color: inherit; }
.art__head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; margin: 0 0 30px; }
.art__media { margin: 0 auto 44px; max-width: 1200px; aspect-ratio: 21 / 9; overflow: hidden; }
.art__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .art__media { aspect-ratio: 4 / 3; } }
.art__body { font-size: 18px; line-height: 1.75; }
.art__body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.4vw, 31px); line-height: 1.25; margin: 46px 0 14px; }
.art__body p { margin: 0 0 18px; }
.art__body ul { margin: 0 0 22px; padding-left: 22px; }
.art__body li { margin-bottom: 8px; }
.art__next { max-width: 760px; padding-block: 50px 80px; display: grid; gap: 40px; }
.art__tools { display: grid; gap: 14px; border-top: 1px solid var(--sand); padding-top: 34px; }
@media (min-width: 640px) { .art__tools { grid-template-columns: 1fr 1fr; } }
.art__tool { display: block; padding: 22px; border: 1px solid var(--sand); color: var(--slate); text-decoration: none; font-size: 15px; line-height: 1.55; }
.art__tool span { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.art__tool:hover { border-color: var(--gold); }
.art__cta { background: var(--ink); color: var(--cream); padding: clamp(28px, 4vw, 44px); }
.art__cta h2 { font-family: var(--serif); font-weight: 400; margin: 0 0 10px; color: var(--cream); }
.art__cta p { margin: 0 0 22px; }
.art__more { display: grid; gap: 12px; justify-items: start; }
.home-faq .section-head .link-underline { margin-right: 20px; }

/* Search: "Price reduced" filter and the was-price on its cards (2026-10-16). */
.sbar__check { display: flex; align-items: center; gap: 10px; align-self: end; padding-bottom: 12px; font-size: 14px; letter-spacing: 0.04em; cursor: pointer; white-space: nowrap; }
.sbar__check input { width: 18px; height: 18px; accent-color: var(--gold-deep); margin: 0; }
.card__was { display: block; font-family: var(--text); font-size: 13px; letter-spacing: 0.02em; color: var(--gold-deep); margin-top: 2px; }

/* Logo sizes (Bella, 2026-10-16): CGL bigger on laptops, Berkshire a little
   smaller on phones. */
@media (min-width: 1000px) and (max-width: 1239px) { .wordmark svg { height: 60px; } }
@media (min-width: 1240px) and (max-width: 1599px) { .wordmark svg { height: 66px; } }
@media (max-width: 699px) { .brand__brokerage--right { height: 24px; } }

/* /featured/ — "Feature your home" invitation under the cards (2026-10-16). */
.feat-cta { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--sand); text-align: center; }
.feat-cta h2 { font-size: clamp(26px, 4vw, 36px); }
.feat-cta p { color: var(--slate); margin: 10px auto 24px; max-width: 46ch; }

/* Contact (a dropdown) sat a couple of pixels below the other nav items. */
.nav__drop { display: flex; align-items: center; }
/* Dropdown: "Compare them side by side" wrapped, so its gold line ran the full column width. */
.mega__lead .link-underline { white-space: nowrap; letter-spacing: 0.16em; }

/* Contact Us button + its menu (2026-10-21). Hover/focus opens it on desktop; the
   button itself still goes to the form. Phones get the same items in the burger. */
.connect-drop { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.connect-menu { right: 0; top: calc(100% + 8px); min-width: 250px; }
.connect-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 9px; } /* hover bridge */
@media (min-width: 1000px) {
  .connect-drop:hover .connect-menu, .connect-drop:focus-within .connect-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav__menu a.connect-menu__direct {
  text-transform: none; letter-spacing: 0.02em; font-size: 14px; font-weight: 450;
}
.connect-menu__direct span, .mnav__direct span {
  display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.connect-menu__direct + a:not(.connect-menu__direct) { border-top: 1px solid var(--sand); margin-top: 6px; padding-top: 14px; }
.mnav__direct { display: grid; gap: 16px; padding-top: 24px; }
.mnav__direct a { color: inherit; text-decoration: none; font-size: 16px; }
.mnav__direct span { color: rgba(245, 245, 245, 0.6); }

/* Golf Communities menu: "See all" and "Compare" as gold buttons (Bella, 2026-10-21). */
.mega__lead { display: flex; flex-direction: column; align-items: flex-start; }
.mega__btn { text-align: center; white-space: nowrap; letter-spacing: 0.16em; padding: 14px 20px; width: 100%; max-width: 300px; box-sizing: border-box; }
.mega__lead .mega__btn { margin: 12px 0 0; }
.mega__lead .mega__btn:first-of-type { margin-top: 22px; }
.mnav__sub .mega__btn { justify-self: start; }

/* Community pages: "Price reduced (N)" toggle in the listings filter bar (2026-10-21).
   A checkbox styled as a button — gold outline, filled gold when on. */
.lmap__reduced { position: relative; display: inline-flex; cursor: pointer; align-self: end; }
.lmap__reduced input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lmap__reduced span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; white-space: nowrap;
  font-family: var(--text); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-deep); border: 1px solid var(--gold); background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lmap__reduced:hover span { background: var(--cream-warm); }
.lmap__reduced input:checked + span { background: var(--gold); color: #fff; }
.lmap__reduced input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 699px) {
  .lmap__bar > .lmap__reduced { order: 5; grid-column: 1 / -1; justify-self: start; }
  .lmap__follow { order: 6; }
  .lmap__count { order: 7; }
}

/* Compare button: desktop dropdown only, centred in the empty corner under San José. */
.mega__compare { display: none; }
@media (min-width: 1000px) {
  .mega__compare { display: flex; align-items: center; justify-content: center; grid-column: 3; grid-row: 2; }
}


/* Listing page: Book a viewing opens a short form naming this home (2026-10-22). */
.listing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 34px; }
.viewing { margin-bottom: 40px; }
.viewing { padding: 32px var(--gut); background: var(--cream-warm); scroll-margin-top: calc(var(--header-h) + 16px); }
.viewing__h { margin: 0 0 6px; }
.viewing__home { margin: 0 0 24px; color: var(--slate); }
.viewing__form { max-width: 760px; }
@media (min-width: 700px) {
  .viewing__form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .viewing__wide, .viewing__form > button, .viewing__form > .form-status { grid-column: 1 / -1; }
  .viewing__form > button { justify-self: start; }
}


/* Course map under the facts, uncropped; opens full size (Legacy Course, 2026-10-22). */
.golf__map { margin: 28px 0; }
.golf__map img { display: block; width: 100%; max-width: 440px; height: auto; }
.golf__map figcaption { margin-top: 8px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* EN | ES, between the Berkshire logo and Contact Us (2026-10-22). Always visible. */
.lang { display: flex; align-items: center; gap: 7px; font-family: var(--text); font-size: 12px; letter-spacing: 0.14em; white-space: nowrap; }
.lang__item { color: var(--muted); text-decoration: none; padding: 10px 0; }
a.lang__item:hover, a.lang__item:focus-visible { color: var(--gold); }
.lang__item.is-current { color: var(--ink); font-weight: 600; }
.lang__sep { color: var(--stone); }
.site-header--over:not(.is-stuck) .lang__item { color: rgba(245, 245, 245, 0.7); }
.site-header--over:not(.is-stuck) .lang__item.is-current { color: #fff; }
.site-header--over:not(.is-stuck) .lang__sep { color: rgba(245, 245, 245, 0.45); }
@media (max-width: 699px) { .lang { font-size: 11px; gap: 5px; letter-spacing: 0.08em; } }
/* The Berkshire logo, EN | ES and Contact Us never shrink; the nav tightens instead
   (the Spanish menu is longer — 2026-10-22). */
.site-header__actions > * { flex-shrink: 0; }
@media (min-width: 1000px) and (max-width: 1239px) {
  html[lang='es'] .nav { gap: 11px; }
  html[lang='es'] .nav__link { letter-spacing: 0.06em; }
}
/* Narrow laptops (1000–1099px): room for EN | ES without pushing Contact off the edge. */
@media (min-width: 1000px) and (max-width: 1099px) {
  .site-header__bar { padding-inline: 18px; gap: 12px; }
  .site-header__actions { gap: 10px; }
  .brand__brokerage--right { height: 26px; padding-right: 10px; }
  .connect { padding-inline: 12px; letter-spacing: 0.08em; }
  .lang { font-size: 11px; gap: 5px; letter-spacing: 0.06em; }
  .nav { gap: 10px; }
}
/* 1240–1599px: tighter nav so the header still fits with EN | ES (2026-10-22). */
@media (min-width: 1240px) and (max-width: 1599px) {
  .nav { gap: 22px; }
  .site-header__actions { gap: 16px; }
  html[lang='es'] .nav { gap: 18px; }
  html[lang='es'] .nav__link { letter-spacing: 0.1em; }
}
@media (min-width: 1240px) and (max-width: 1339px) {
  .nav { gap: 16px; } .nav__link { letter-spacing: 0.11em; }
  html[lang='es'] .nav { gap: 14px; }
}
/* Phones: just the other language ("ES" on English pages, "EN" on Spanish), so the
   header still fits beside Contact Us and the menu button (2026-10-22). */
@media (max-width: 699px) {
  .lang__sep, .lang__item.is-current { display: none; }
  .lang__item { padding: 10px 2px; }
  .site-header__actions > .brokerage-link { flex-shrink: 1; min-width: 0; }
  .site-header__actions > .brokerage-link img { width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
}

/* Footer: Berkshire Hathaway larger than the Cabo Golf Living logo (client,
   2026-10-26). Header logos keep their original sizes (Bella, 2026-10-27). */
.site-footer__logo { width: 104px; }
.site-footer__logos img.site-footer__brokerage { width: 440px; max-width: 100%; }
@media (max-width: 699px) { .site-footer__logo { width: 72px; } }
