/* Nineteen-24: Elevate brand book p.7 (Canva), sampled 2026-11-05: peach E0BD9D, sky 97C5F4, gray C7C7C7,
   taupe A28E7D, slate 98AFB8. Taupe and slate are deepened for 4.5:1 text contrast; the lighter tints carry bands. */
:root {
  --brand: #8C7360;        /* taupe, deepened: buttons, eyebrows */
  --brand-deep: #6E5A4A;
  --accent: #5C8DB8;       /* sky blue, deepened: numerals, small details */
  --ink: #2B2F33;
  --ink-soft: #5B6067;
  --page: #FBF8F4;         /* warm white */
  --band: #F3E6D8;         /* peach, lightened: light bands */
  --gold: #E0BD9D;         /* peach at full strength: concession bar only */
  --line: #E6DDD2;
  --deep: #3E5160;         /* slate, deepened: facts strip, phone hero panel, footer */
  --display: "Arvo", Georgia, serif;
  --body: "Montserrat", -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(--page); line-height: 1.65; font-size: 17px; }
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.12; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-family: var(--body); font-weight: 700; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
section { padding: 72px 0; }

/* ---------- announcement bar (concession only; empty until KV is set) ---------- */
.announce { background: var(--gold); color: var(--ink); font-size: 1.05rem; }
.announce .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 15px 56px 15px 24px; position: relative; text-align: center; }
.announce span { font-weight: 700; }
.announce a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce .dismiss { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(0,0,0,0.5); font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 6px; }
.announce .dismiss:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, 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: 72px; gap: 16px; }
.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-link img { height: 56px; width: auto; max-width: none; }
.brand-link span { font-family: var(--display); font-size: 1.35rem; color: var(--ink); letter-spacing: 0.04em; }
.site-nav { display: flex; align-items: center; gap: 18px; 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; 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.85); 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; }
.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; }
.site-nav .nav-phone { color: var(--brand-deep); font-weight: 700; font-size: 0.95rem; }
.site-nav .nav-phone:hover { color: var(--brand); }
.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; }
.phone-mobile { display: none; color: var(--brand-deep); padding: 8px; }
@media (max-width: 1240px) {
  .site-nav a:not(.btn-brand) { display: none; }
  .nav-toggle { display: block; }
  .phone-mobile { display: block; }
  .mobile-menu:not([hidden]) { display: block; background: var(--page); 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(--band); }
}
@media (max-width: 620px) {
  .brand-link img { height: 44px; }
  .brand-link span { font-size: 1.1rem; }
  .site-nav .btn { padding: 8px 14px; font-size: 0.82rem; }
}
@media (max-width: 400px) {
  .site-header .wrap { gap: 6px; }
  .brand-link { gap: 8px; }
  .brand-link img { height: 38px; }
  .brand-link span { font-size: 1rem; }
  .site-nav { gap: 8px; }
  .site-nav .btn { padding: 8px 10px; font-size: 0.78rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; color: #fff; min-height: 680px; display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Two-direction scrim: the photo is white stucco under a bright sky, so the
   bottom gradient alone left white type on white wall. */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,0.10) 0%, rgba(16,24,32,0.42) 40%, rgba(16,24,32,0.86) 100%), linear-gradient(90deg, rgba(16,24,32,0.45) 0%, rgba(16,24,32,0) 60%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 60px; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.hero .eyebrow { color: var(--gold); }
.band .eyebrow, .page-hero .eyebrow { color: var(--brand-deep); }
.hero h1 { color: #fff; max-width: 20ch; }
.hero p { margin-top: 16px; max-width: 52ch; font-size: 1.15rem; color: rgba(255,255,255,0.94); }
.hero-ctas { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* page hero (inner pages) */
.page-hero { background: var(--band); 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; } }
.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; }

/* ---------- facts band ---------- */
.facts { background: var(--deep); color: #fff; padding: 30px 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; color: #fff; line-height: 1.1; }
.fact span { font-size: 0.9rem; color: rgba(255,255,255,0.82); }
@media (max-width: 720px) { .facts .wrap { grid-template-columns: repeat(2, 1fr); gap: 16px; } .fact strong { font-size: 1.25rem; } }

/* ---------- arched figures (echo the logo) ---------- */
.arch img { border-radius: 220px 220px 18px 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.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, .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 ---------- */
.band { background: var(--band); }
.tile-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.tile .n { font-family: var(--display); color: var(--accent); font-size: 1.6rem; line-height: 1; }
.tile h3 { font-size: 1.15rem; margin: 10px 0 6px; color: var(--ink); }
.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: 15px; width: 14px; height: 14px; background: var(--brand); border-radius: 50% 50% 50% 4px; }
.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; } }

/* ---------- floor plans ---------- */
.plan-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.plan img { width: 100%; height: auto; flex: none; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 14px; }
.plan-body { padding: 16px 20px 20px; border-top: 1px solid var(--line); flex: 1; }
.plan-body h3 { font-size: 1.08rem; }
.plan-spec { font-size: 0.93rem; color: var(--ink-soft); margin-top: 4px; }
.plan-price { font-family: var(--display); font-size: 1.35rem; margin-top: 10px; color: var(--ink); }
.plan-price span { font-family: var(--body); font-size: 0.85rem; color: var(--ink-soft); }
.plan .btn { margin: 0 20px 20px; align-self: flex-start; font-size: 0.85rem; padding: 9px 16px; }
@media (max-width: 940px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plan-grid { 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: 14px; overflow: hidden; }
.gallery-grid img { width: 100%; height: 210px; 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 unit cards ---------- */
.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: 18px; overflow: hidden; display: flex; flex-direction: column; }
.unit .ph { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.unit .ph-empty { background: var(--band); aspect-ratio: 16 / 10; }
.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(--deep); }
.unit-body { padding: 14px 18px 4px; flex: 1; }
.unit-price { font-family: var(--display); 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-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 18px 16px; }
.unit .btn { font-size: 0.85rem; padding: 9px 16px; }
.units-loading { color: var(--ink-soft); grid-column: 1 / -1; }
.units-note { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.fallback { margin-top: 26px; font-size: 0.96rem; color: var(--ink-soft); padding: 16px 20px; background: var(--band); border-radius: 12px; }

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

/* ---------- neighborhood miles table ---------- */
.miles-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 0.97rem; }
.miles-table th, .miles-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.miles-table th[scope="row"] { font-weight: 600; color: var(--ink); }
.miles-table td:last-child { font-family: var(--display); font-size: 1.1rem; color: var(--accent); white-space: nowrap; }

/* ---------- 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: 18px; 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; 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: 14px; 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: 14px; padding: 18px 22px; margin-bottom: 12px; }
.faq-list summary { font-family: var(--body); font-weight: 700; font-size: 1.05rem; 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: #fff; }
.cta-strip .btn + .btn { margin-left: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: rgba(255,255,255,0.82); padding: 44px 0 30px; font-size: 0.9rem; }
.site-footer .cols { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.site-footer img { height: 84px; width: auto; max-width: none; }
.site-footer a { color: rgba(255,255,255,0.92); }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .legal { margin-top: 22px; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- phones: photo on top, text below (fleet standard, 2026-10-03) ----------
   About 70% of traffic is on phones. The photo stands at full width at its
   natural height, the text sits below on deep Pacific, the paragraph drops to
   its first sentence (.hero-more hidden), and the primary button goes white so
   it stands off the panel. */
@media (max-width: 620px) {
  .cta-strip .btn + .btn { margin-left: 0; margin-top: 10px; }
  .announce { font-size: 0.84rem; line-height: 1.35; }
  .announce .wrap { padding: 8px 40px 8px 16px; }
  .hero { display: block; min-height: 0; background: var(--deep); }
  .hero picture { position: static; display: block; height: auto; }
  .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.8rem; line-height: 1.15; max-width: none; }
  .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; }
  .hero .btn-brand { background: #fff; color: var(--deep); }
  .hero .btn-brand:hover { background: #fff; color: var(--deep); }
  .facts { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  section { padding: 48px 0; }
}
@media (max-width: 340px) {
  .site-header .wrap { gap: 2px; }
  .brand-link img { height: 34px; }
  .site-nav .btn { padding: 8px 8px; font-size: 0.72rem; }
  .phone-mobile, .nav-toggle { padding: 6px; margin-left: 0; }
}

/* ---------- blocks carried from the JAX family (Villas) for the engine pages ---------- */
.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; }
}

.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; }

.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; } }



.feature.alt { background: #fff; }
.rent-line { font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-top: 10px; }
.rent-line:empty { display: none; }
.plan .rent-line { font-size: 1.2rem; margin: 10px 0 6px; }
.site-footer .cols { grid-template-columns: auto minmax(300px, 1.2fr) minmax(0, 1fr); }
.site-footer .links { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 20px; justify-content: end; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: minmax(0, 1fr); } .site-footer .links { justify-content: start; } }
.site-footer img { height: 96px; }

/* Floor-plan drawings on the intent pages: the whole drawing, never cropped into the arch. */
.plan-figure { margin: 24px 0 0; }
.plan-figure img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.plan-figure figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; text-align: center; }

@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; }
}

/* 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; } }
