:root {
  /* The Villas at Jax Beach: Elevate brand board p.8 (Canva), sampled 2026-11-05 */
  --brand: #1E687C;        /* harbor teal, the wave in the logo: primary */
  --brand-deep: #165260;   /* deeper teal for the facts band and footer */
  --sand: #BA9173;         /* driftwood tan, the Villas script: accents and eyebrows */
  --sand-pale: #D8CEC5;    /* pale sand, the big sail: bands and cards */
  --olive: #70735C;        /* sea-oat gray-green: soft text */
  --palm: #6F7D3D;         /* palm green: chips and small marks */
  --ink: #2A3338;          /* deep slate ink */
  --ink-soft: #5B6468;
  --linen: #FBF8F3;        /* bleached-shell background */
  --sage: #EEF4F5;         /* pale sea-glass band */
  --brass: var(--sand);    /* banner strip colour (the template calls it brass) */
  --line: #E4DDD3;
  --display: "Comfortaa", system-ui, sans-serif;
  --body: "Josefin Sans", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.7;
  font-size: 17.5px;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-deep); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sand);
  margin-bottom: 10px;
}

section { padding: 72px 0; }

/* ---------- announcement bar ---------- */
.announce { background: var(--brass); color: #fff; font-size: 1.08rem; }
.announce .wrap {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  padding: 19px 56px 19px 24px; position: relative; text-align: center;
}
.announce span { font-weight: 600; }
.announce a { color: #fff; font-weight: 700; }
.announce .dismiss {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,0.9);
  font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 6px;
}
.announce .dismiss:hover { color: #fff; }
/* The concession bar is the ONLY top banner (Dan, 2026-09-29). Loud on
   purpose: this property's gold at full strength, with ink text rather than
   white. White on these golds fails contrast, and dark-on-gold reads louder
   anyway. Sized like the strip it replaced. */
.announce.concession { background: var(--brass); color: var(--ink); font-size: 1.08rem; }
.announce.concession .wrap { padding: 17px 56px 17px 24px; }
.announce.concession span { font-weight: 700; }
.announce.concession a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.announce.concession .dismiss { color: rgba(0,0,0,0.5); }
.announce.concession .dismiss:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 16px;
}
.brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-link img { height: 62px; width: auto; max-width: none; }
.site-nav { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft);
  font-weight: 600; font-size: 0.92rem; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-deep); }
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 700; font-size: 0.97rem; letter-spacing: 0.02em;
  padding: 12px 22px; border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-outline { border: 1.5px solid var(--brand); color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.site-nav .btn { padding: 9px 18px; font-size: 0.86rem; }
/* Button text must win over the generic .site-nav link color */
.site-nav .btn-brand { color: #fff; }
.site-nav .btn-brand:hover { color: #fff; }
.site-nav .btn-outline { color: var(--brand-deep); }
.site-nav .btn-outline:hover { color: #fff; }

/* Hamburger + mobile menu */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--ink); padding: 8px; margin-left: 4px;
}
.nav-toggle svg { display: block; }
.mobile-menu { display: none; }

@media (max-width: 1380px) {
  .site-nav a:not(.btn-brand) { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu:not([hidden]) {
    display: block; background: var(--linen);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a {
    display: block; padding: 14px 24px; text-decoration: none;
    color: var(--ink); font-weight: 600; border-top: 1px solid var(--line);
  }
  .mobile-menu a:hover { color: var(--brand-deep); background: var(--sage); }
}
@media (max-width: 620px) {
  .brand-link img { height: 50px; }
  .site-nav .btn { padding: 8px 14px; font-size: 0.82rem; }
}


/* Header phone */
.site-nav .nav-phone { color: var(--brand-deep); font-weight: 700; font-size: 0.95rem; }
.site-nav .nav-phone:hover { color: var(--brand); }
.phone-mobile { display: none; color: var(--brand-deep); padding: 8px; }
@media (max-width: 1240px) {
  .phone-mobile { display: block; }
}

/* Compact page hero (availability) */
.page-hero.compact { padding: 26px 0 20px; }
.page-hero.compact h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.page-hero.compact p.lede { margin-top: 6px; font-size: 0.98rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 0; color: #fff;
  min-height: 74vh; display: flex; align-items: flex-end;
}
.hero picture, .hero img.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 60, 70, 0.84) 0%, rgba(22, 60, 70, 0.30) 55%, rgba(22, 60, 70, 0.08) 100%);
}
.hero .wrap {
  position: relative; z-index: 2; padding-bottom: 64px; padding-top: 140px;
  text-shadow: 0 1px 12px rgba(20, 24, 21, 0.5);
}
.hero .eyebrow { color: #E9D3BF; }
.hero h1 { color: #fff; max-width: 22ch; }
.hero p { margin-top: 18px; max-width: 56ch; font-size: 1.08rem; color: rgba(255,255,255,0.93); }
.hero-ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* page hero (inner pages) */
.page-hero { background: var(--sage); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero p.lede { margin-top: 12px; max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; }
/* HomeStep page: the program name reads as a mark above the headline (Valerie, 2026-11-04: bigger). */
.homestep-mark { font-family: var(--display); font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; line-height: 1; color: var(--brand); margin-bottom: 10px; }
.homestep-photo { padding: 36px 0 0; }
.homestep-figure img { width: 100%; height: auto; aspect-ratio: 21/9; object-fit: cover; object-position: 50% 45%; border-radius: 14px; }
.homestep-figure figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.homestep-terms { margin-top: 28px; max-width: 800px; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 620px) { .homestep-figure img { aspect-ratio: 3/2; } .homestep-mark { font-size: 1.8rem; } }

/* ---------- facts band ---------- */
.facts { background: var(--brand-deep); color: #fff; padding: 34px 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: #fff; }
.fact span { font-size: 0.88rem; color: rgba(255,255,255,0.8); }
@media (max-width: 720px) { .facts .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- arched figures (signature) ---------- */
.arch img { border-radius: 180px 18px 180px 18px; }
.arch figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- two-column feature ---------- */
.feature .cols {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.feature .cols.flip { grid-template-columns: 0.95fr 1.05fr; }
.feature p { margin-top: 14px; color: var(--ink-soft); max-width: 56ch; }
.feature .cta-row { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .feature .cols, .feature .cols.flip { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- tiles ---------- */
.tile-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sand); border-radius: 14px;
  padding: 26px 24px;
}
.tile h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--brand-deep); }
.tile p { color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 800px) { .tile-grid { grid-template-columns: 1fr; } }

/* ---------- lists ---------- */
.leaf-list { list-style: none; }
.leaf-list li {
  padding: 9px 0 9px 30px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 0.99rem;
}
.leaf-list li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 14px; height: 14px; background: var(--sand);
  border-radius: 50%;
}
.list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; margin-top: 20px; }
@media (max-width: 720px) { .list-cols { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.25s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- availability ---------- */
.listings-embed { margin-top: 34px; min-height: 320px; }
.listings-embed iframe { border: 0; width: 100%; }
.fallback {
  margin-top: 26px; font-size: 0.96rem; color: var(--ink-soft);
  padding: 16px 20px; background: var(--sage); border-radius: 10px;
}

/* ---------- info card / terms ---------- */
.info-card {
  margin-top: 26px; padding: 20px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 0.96rem; color: var(--ink-soft);
}
.info-card strong { color: var(--ink); }

/* ---------- band sections ---------- */
.band { background: var(--sage); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px;
}
.contact-card h3 { font-size: 1.05rem; color: var(--brand-deep); margin-bottom: 8px; }
.contact-card a.big {
  font-family: var(--display); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.contact-card p { font-size: 0.92rem; color: var(--ink-soft); }
.mapframe { border: 0; width: 100%; height: 380px; border-radius: 12px; margin-top: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; max-width: 800px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq-list summary {
  font-family: var(--display); font-weight: 600; font-size: 1.08rem;
  cursor: pointer; color: var(--ink);
}
.faq-list details p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--brand); color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip p { margin: 12px auto 26px; max-width: 54ch; color: rgba(255,255,255,0.9); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.8); padding: 44px 0 30px; font-size: 0.9rem; }
.site-footer .cols {
  /* Logo, then the property column (address, phone, rating) with room to breathe, then the page links.
     The links used to be an auto-width flex row: every one-off page added to it squeezed the address into a
     one-word-per-line column (Dan, 2026-11-04). The links now stack in two columns and take the leftover. */
  display: grid; grid-template-columns: auto minmax(300px, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center;
}
.site-footer img { height: 110px; width: auto; max-width: none; }
.site-footer a { color: #EAD9C8; }
.site-footer .links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 20px; justify-content: end; }
.site-footer .legal { margin-top: 22px; font-size: 0.8rem; color: rgba(255,255,255,0.78); }
@media (max-width: 800px) {
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-footer .links { justify-content: start; }
}


/* ---------- availability unit cards (replaces the widget iframe) ---------- */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .unit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .unit-grid { grid-template-columns: 1fr; } }
.unit {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
}
.unit .ph { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.unit .ph-empty { background: var(--sage); }
.unit .chip {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px;
}
.unit .chip.later { background: var(--olive); }
.unit-body { padding: 14px 18px 4px; flex: 1; }
.unit-price { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--ink); }
.unit-price span { font-family: var(--body); font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.unit-spec { font-size: 0.93rem; margin-top: 2px; }
.unit-addr { font-size: 0.88rem; color: var(--ink-soft); margin: 2px 0 10px; }
.unit .btn { align-self: flex-start; margin: 0 18px 16px; font-size: 0.85rem; padding: 9px 16px; }
.nearby { width: 100%; border-collapse: collapse; margin: 26px 0 10px; font-size: 0.97rem; }
.nearby caption { text-align: left; color: var(--muted, #5b6b72); font-size: 0.88rem; padding-bottom: 10px; }
.nearby th, .nearby td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.nearby thead th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #5b6b72); }
.nearby tbody th { font-weight: 700; white-space: nowrap; }
.nearby td:first-of-type { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .nearby, .nearby tbody, .nearby tr, .nearby th, .nearby td { display: block; }
  .nearby caption { display: block; width: 100%; }
  .nearby thead { display: none; }
  .nearby tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .nearby th, .nearby td { border: 0; padding: 2px 0; white-space: normal; }
}

.hero-rating, .page-rating, .footer-rating { font-size: 0.95rem; margin: 14px 0 0; }
.hero-rating a, .page-rating a, .footer-rating a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero-rating { color: #fff; }
.footer-rating { margin-top: 6px; font-size: 0.9rem; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 18px 16px; }
.unit-actions .btn { align-self: auto; margin: 0; }
.unit-detail { max-width: 760px; }
.unit-hero-photo { width: 100%; border-radius: 12px; margin-bottom: 22px; }
.unit-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 26px; margin: 0 0 26px; }
.unit-facts dt { font-weight: 700; color: var(--ink); }
.unit-facts dd { margin: 0; }
.unit-features { columns: 2; margin: 0 0 26px; padding-left: 18px; }
.unit-detail .unit-actions { margin: 0 0 22px; }
@media (max-width: 720px) { .unit-features { columns: 1; } }
.units-loading { color: var(--ink-soft); grid-column: 1 / -1; }
.units-note { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }

/* ---------- phones: photo on top, text below (Dan, 2026-10-03) ----------
   About 70% of traffic is on phones. The hero photo is a wide shot, and a
   tall phone hero can only show a narrow slice of its middle, which left white
   and gold text sitting on the palest part of the image. On phones the photo
   now stands on its own at full width, so the whole building shows, and the
   text sits below it on the deep brand colour. The paragraph drops to its
   first sentence (.hero-more is hidden); desktop and crawlers get all of it.
   Sized so both buttons clear the chat widget's bubbles on first load. */
@media (max-width: 620px) {
  .announce.concession { font-size: 0.84rem; line-height: 1.35; }
  .announce.concession .wrap { padding: 8px 40px 8px 16px; }

  .hero { display: block; min-height: 0; background: var(--brand-deep); }
  .hero picture { position: static; display: block; height: auto; }
  /* natural height: the whole photo, nothing cropped */
  .hero img.hero-img { position: static; display: block; width: 100%; height: auto; }
  .hero::after { display: none; }
  .hero .wrap { padding-top: 20px; padding-bottom: 26px; text-shadow: none; }
  .hero .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; margin-bottom: 8px; }
  .hero h1 { font-size: 1.72rem; line-height: 1.15; }
  .hero p { font-size: 0.97rem; line-height: 1.5; margin-top: 10px; }
  .hero .hero-more { display: none; }
  .hero-ctas { margin-top: 16px; gap: 10px; }
  .hero .btn { padding: 11px 18px; font-size: 0.92rem; }
  /* The brand button on its own deeper shade was about 1.4:1 against the
     panel and read as part of it. White is the one colour that stands off. */
  .hero .btn-brand { background: #fff; color: var(--brand-deep); }
  .hero .btn-brand:hover { background: #fff; color: var(--brand-deep); }
  .hero-rating { font-size: 0.85rem; margin-top: 12px; }
  /* the facts band is the same colour as the hero panel; a hairline keeps them apart */
  .facts { border-top: 1px solid rgba(255, 255, 255, 0.16); }
}

.maplink{margin:12px 0 0;font-weight:600}
.maplink a{text-decoration:underline;text-underline-offset:3px}

/* ---------- contact form ----------
   Posts to /api/inquiry (workers/inquiry), which emails Elise's lead-routing inbox.
   The routing address is never shown on the site. Same pattern as courtandmarket.com. */
.inquiry { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.inquiry h2 { margin-bottom: 6px; }
.inquiry .sub { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 18px; }
.inquiry label > span { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.inquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.inquiry label { display: block; }
.inquiry input[type=text], .inquiry input[type=email], .inquiry input[type=tel], .inquiry textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; }
.inquiry input:focus, .inquiry textarea:focus { outline: none; border-color: var(--brand); }
.inquiry textarea { min-height: 110px; resize: vertical; margin-bottom: 14px; }
.inquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry .status { margin-top: 12px; font-size: 0.95rem; }
.inquiry .status.err { color: #A33A2A; }
.inquiry .done { padding: 8px 0; }
.inquiry .done h3 { color: var(--ink); margin-bottom: 6px; }
@media (max-width: 640px) { .inquiry .row { grid-template-columns: 1fr; } .inquiry { padding: 22px 16px; } }


/* ---------- Villas extras: the beach ribbon and the wave rule ---------- */
.beach-ribbon { background: var(--sand-pale); color: var(--ink); padding: 14px 0; font-weight: 600; text-align: center; font-size: 1rem; border-bottom: 1px solid var(--line); }
.beach-ribbon .wrap { display: flex; gap: 10px 28px; justify-content: center; flex-wrap: wrap; }
.beach-ribbon span::before { content: "\2022"; color: var(--brand); margin-right: 10px; }
.beach-ribbon span:first-child::before { content: none; }
.wave-rule { height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7c15-9 30-9 45 0s30 9 45 0 20-9 30 0' fill='none' stroke='%231E687C' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 120px 14px; opacity: 0.45; margin: 0 auto; max-width: 240px; }
.feature.alt { background: #fff; }
.walk-list { list-style: none; margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 36px; }
.walk-list li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding: 8px 0; font-size: 0.98rem; }
.walk-list li strong { font-family: var(--display); color: var(--brand); white-space: nowrap; }
@media (max-width: 720px) { .walk-list { grid-template-columns: 1fr; } }
.plan-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.plan img { width: 100%; aspect-ratio: 3/2; object-fit: contain; background: #fff; padding: 12px; border-bottom: 1px solid var(--line); }
.plan .plan-body { padding: 18px 20px 20px; flex: 1; }
.plan h3 { font-size: 1.15rem; color: var(--brand-deep); }
.plan .plan-meta { color: var(--ink-soft); font-size: 0.95rem; margin: 4px 0 10px; }
.plan .rent-line { font-family: var(--display); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.plan .rent-line:empty { display: none; }
.plan p { font-size: 0.95rem; color: var(--ink-soft); }
.plan .btn { margin: 0 20px 20px; align-self: flex-start; font-size: 0.88rem; padding: 10px 18px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

@media (max-width: 420px) {
  /* the engine's two-column question lists (inline columns:2) overflow a 320px phone; one column (monitor, 2026-11-13) */
  .leaf-list[style*="columns"] { columns: 1 !important; }
  .site-footer .links a { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  /* long place names in the neighborhood table ran to 435px on a 320px phone (monitor, 2026-11-13) */
  .nearby tbody th, .nearby td { white-space: normal; }
}

/* HomeStep photo stays a supporting image, not a hero (Dan 2026-11-17): capped width, shorter crop on phones. */
.homestep-figure, .card-photo.banner { max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .homestep-figure img, .card-photo.banner img { aspect-ratio: 2/1 !important; } }
