/* Colony & Jo Don MHCs — site styles (light + dark) */
:root {
  color-scheme: light;
  --pine: #1C3A2D;          /* brand surface: footer */
  --heading: #1C3A2D;       /* headline color */
  --aspen: #E0A526;         /* accent: prices, primary buttons */
  --aspen-hover: #ECB942;
  --on-aspen: #122a20;
  --paper: #FFFFFF;         /* page background */
  --surface: #FFFFFF;       /* cards, menus */
  --tint: #E8EEE6;          /* alternating panels */
  --ink: #2B2622;
  --ink-soft: #5C554F;
  --line: #D8DED6;
  --sky: #2F6E9E;           /* links */
  --shadow: rgba(28,58,45,.15);
  --solid: #1C3A2D;         /* solid green buttons / login */
  --solid-hover: #122a20;
  --radius: 4px;
  --measure: 62ch;
  --container: 1180px;
  --gutter: 20px;
  --display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --pine: #0F1A15; --heading: #D7E4DA; --paper: #131E18; --surface: #1A2822; --tint: #182420;
    --ink: #E6ECE5; --ink-soft: #A7B3A9; --line: #2D3C34; --sky: #8FC4EA; --shadow: rgba(0,0,0,.5);
    --solid: #27503F; --solid-hover: #336A52;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --pine: #0F1A15; --heading: #D7E4DA; --paper: #131E18; --surface: #1A2822; --tint: #182420;
  --ink: #E6ECE5; --ink-soft: #A7B3A9; --line: #2D3C34; --sky: #8FC4EA; --shadow: rgba(0,0,0,.5);
  --solid: #27503F; --solid-hover: #336A52;
}

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

body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sky); text-underline-offset: 2px; }
a:hover { color: var(--heading); }
a.inherit { color: inherit; }
:focus-visible { outline: 3px solid var(--aspen); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--solid); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 8px; }
.nowrap { white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; color: var(--heading); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 58ch; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }
.after-list { margin-top: 18px; }
.after-grid { margin-top: 32px; }
.sub-h2 { margin-top: 40px; font-size: 1.5rem; }
.source { font-size: .88rem; color: var(--ink-soft); margin: 10px 0 34px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 62ch; margin-bottom: clamp(24px, 4vw, 44px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1; padding: 15px 22px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn.gold { background: var(--aspen); color: var(--on-aspen); border-color: var(--aspen); }
.btn.gold:hover { background: var(--aspen-hover); border-color: var(--aspen-hover); color: var(--on-aspen); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn.pine { background: var(--solid); color: #fff; border-color: var(--solid); }
.btn.pine:hover { background: var(--solid-hover); border-color: var(--solid-hover); color: #fff; }
.btn.outline { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn.outline:hover { background: var(--heading); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.site-header .brand { min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand > span { white-space: nowrap; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: .78rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0; }
.utils { display: flex; align-items: center; gap: 6px; order: 3; }
.lang .short { display: none; }
.lang { font-weight: 600; text-decoration: none; color: var(--heading); border: 2px solid var(--line); border-radius: var(--radius); padding: 8px 10px; line-height: 1; font-size: .95rem; }
.lang:hover { border-color: var(--heading); color: var(--heading); }
.theme-toggle { background: none; border: 2px solid var(--line); border-radius: var(--radius); width: 38px; height: 36px; display: inline-grid; place-items: center; color: var(--heading); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--heading); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ico-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .ico-moon { display: block; }
}
.nav { display: flex; align-items: center; gap: 2px; order: 2; margin-left: auto; }
.nav a, .nav summary { display: block; padding: 10px 9px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--radius); cursor: pointer; list-style: none; white-space: nowrap; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover { background: var(--tint); color: var(--heading); }
.nav a[aria-current="page"] { color: var(--heading); box-shadow: inset 0 -3px 0 var(--aspen); border-radius: 0; }
.nav details { position: relative; }
.nav summary::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; }
.nav details[open] summary::after { transform: translateY(1px) rotate(225deg); }
.nav .menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: 0 10px 30px var(--shadow); }
.nav .menu a { padding: 10px 12px; }
.nav .login { background: var(--solid); color: #fff; border-radius: var(--radius); padding: 10px 14px; margin-left: 6px; }
.nav .login:hover { background: var(--solid-hover); color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid var(--heading); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-weight: 600; color: var(--heading); cursor: pointer; }

@media (max-width: 1250px) { .brand small { display: none; } }
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; box-shadow: 0 20px 40px var(--shadow); margin: 0; }
  .nav.open { display: flex; }
  .nav a, .nav summary { padding: 13px 10px; font-size: 1.05rem; white-space: normal; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--aspen); padding-left: 14px; }
  .nav details { position: static; }
  .nav .menu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 6px; }
  .nav .login { margin: 10px 0 0; text-align: center; }
}
@media (max-width: 480px) { .brand small { display: none; } .brand { font-size: 1.15rem; gap: 8px; } .brand svg { width: 34px; height: 34px; } .lang { padding: 8px 8px; } .callbar .btn { font-size: .95rem; padding: 14px 10px; text-align: center; } .lang .full { display: none; } .lang .short { display: inline; } .nav-toggle { padding: 8px 10px; } .utils { gap: 5px; } }

/* Hero */
.hero { position: relative; color: #fff; background: #122a20; isolation: isolate; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,42,32,.25) 0%, rgba(18,42,32,.35) 45%, rgba(18,42,32,.78) 100%); }
.hero .wrap { padding-top: clamp(72px, 12vw, 150px); padding-bottom: 0; }
.hero h1 { color: #fff; max-width: 17ch; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .lede { color: rgba(255,255,255,.92); font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 52ch; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero .btn-row { margin: 28px 0 0; }
.hero-page .wrap { padding-bottom: clamp(48px, 8vw, 110px); }
.hero-page h1 { max-width: 18ch; }

/* Listings ledge: cards ride up into the hero */
.ledge { position: relative; z-index: 2; margin-top: clamp(22px, 3vw, 36px); }
.hero .ledge { padding-top: 0; padding-bottom: clamp(56px, 8vw, 110px); }
.ledge-title { color: #fff; font-family: var(--display); font-size: 1.1rem; font-weight: 600; margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.ledge-title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.35); }
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.listing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; text-decoration: none; }
.listing:hover { border-color: var(--heading); color: var(--ink); }
.listing:hover .listing-photo img { transform: scale(1.02); }
.listing-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing-photo img.dean-focus { transform: scale(1.5); transform-origin: 50% 35%; }
.listing:hover .listing-photo img.dean-focus { transform: scale(1.54); }
.listing-photo .flags { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.listing-photo .flag { position: absolute; z-index: 2; left: 12px; top: 12px; background: var(--aspen); color: #122a20; font-weight: 700; font-size: .85rem; padding: 6px 10px; border-radius: var(--radius); }
.listing-photo .flag.soon { background: #1C3A2D; color: #fff; }
.listing-photo .flags .flag { position: static; }
.flag.inline { display: inline-block; background: var(--aspen); color: #122a20; font-weight: 700; font-size: .85rem; padding: 6px 10px; border-radius: var(--radius); margin: 0 0 10px; }
.listing-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price { font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--heading); line-height: 1; }
.price.soon { font-size: 1.5rem; color: var(--ink-soft); }
.listing h3 { font-size: 1.25rem; margin: 6px 0 2px; }
.listing .facts { color: var(--ink-soft); margin: 0; }
.listing .where { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.listing .more { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--heading); }
@media (max-width: 960px) { .listings { grid-template-columns: 1fr 1fr; } .listings .listing:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .listings { grid-template-columns: 1fr; } .listings .listing:last-child { grid-column: auto; } .hero .wrap { padding-top: 56px; } }

/* Affordability comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 900px; }
.compare > div { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; }
.compare-us { background: #1C3A2D; color: #fff; }
.compare-them { background: var(--surface); color: var(--ink); }
.compare-label { font-weight: 600; font-size: 1rem; opacity: .9; }
.compare-price { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1; margin: 6px 0 2px; }
.compare-us .compare-price { color: var(--aspen); }
.compare-them .compare-price { color: var(--heading); }
.compare-sub { font-size: 1rem; opacity: .85; }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr; } }

/* Facts row (no cards) */
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); }
.facts-row > div { border-top: 3px solid var(--heading); padding-top: 18px; }
.facts-row h3 { font-size: 1.35rem; }
.facts-row p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .facts-row { grid-template-columns: 1fr; } }

/* Community rows */
.community { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.community + .community { margin-top: clamp(48px, 7vw, 96px); }
.community.flip .community-text { order: -1; }
.community img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rent { display: inline-block; font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--heading); background: var(--surface); border: 2px solid var(--aspen); border-radius: var(--radius); padding: 8px 14px; margin: 4px 0 18px; }
.rent small { display: block; font-family: var(--body); font-weight: 500; font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.community ul { padding-left: 1.2em; margin: 0 0 20px; }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; } .community.flip .community-text { order: 0; } }

/* Amenity strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip figure { margin: 0; }
.strip img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); }
.strip figcaption { font-size: .95rem; color: var(--ink-soft); padding: 10px 2px 0; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; } }

/* Find us */
.findus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.findus dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 24px; }
.findus dt { font-weight: 600; color: var(--heading); }
.findus dd { margin: 0; }
.findus img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .findus { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
  .callbar .btn { justify-content: center; }
  body { padding-bottom: 76px; }
}

/* Spanish offer bar (English pages, Spanish-language browsers) */
.lang-offer { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 45; background: #1C3A2D; color: #fff; padding: 12px 16px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.3); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); font-size: .98rem; }
.lang-offer a { color: var(--aspen); font-weight: 600; white-space: nowrap; }
.lang-offer button { background: none; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.lang-offer[hidden] { display: none; }
@media (max-width: 760px) { .lang-offer { bottom: 84px; } }

/* Optional analytics consent */
.cookie-banner { position: fixed; z-index: 70; left: 20px; right: 20px; bottom: 20px; max-width: 920px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 22px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--aspen); border-radius: var(--radius); box-shadow: 0 16px 50px rgba(0,0,0,.32); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; font-family: var(--display); color: var(--heading); font-size: 1.2rem; margin-bottom: 4px; }
.cookie-banner p { margin: 0; font-size: .95rem; max-width: 62ch; }
.cookie-actions { display: flex; flex: none; gap: 10px; }
.site-footer .cookie-settings { border: 0; background: none; color: #fff; font: inherit; font-size: inherit; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.site-footer .cookie-settings:hover { color: var(--aspen); }
body.cookie-consent-open .lang-offer { display: none; }
@media (max-width: 760px) { .cookie-banner { bottom: 84px; flex-direction: column; align-items: stretch; } .cookie-actions { justify-content: flex-end; flex-wrap: wrap; } }
@media (max-width: 480px) { .cookie-banner { left: 10px; right: 10px; bottom: 78px; padding: 16px; } .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; } .cookie-actions .btn { justify-content: center; padding-inline: 10px; } }

/* Footer */
.site-footer { background: var(--pine); color: rgba(255,255,255,.88); padding: clamp(40px, 6vw, 72px) 0 28px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer p { margin: 0 0 8px; max-width: none; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: rgba(255,255,255,.7); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.72); }
.site-footer .legal svg { width: 34px; height: 34px; flex: none; }
.site-footer .eho { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Homes page */
.guide-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 clamp(42px, 6vw, 72px); padding: clamp(22px, 4vw, 34px); background: var(--tint); border: 1px solid var(--line); border-left: 5px solid var(--aspen); border-radius: var(--radius); }
.guide-promo .eyebrow { margin-bottom: 4px; }
.guide-promo h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-bottom: 6px; }
.guide-promo p:last-child { margin: 0; color: var(--ink-soft); }
.guide-promo .btn { flex: none; }
@media (max-width: 700px) { .guide-promo { align-items: flex-start; flex-direction: column; } }
.home-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.home-detail + .home-detail { margin-top: clamp(56px, 8vw, 110px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.home-detail .where { color: var(--ink-soft); margin: 0 0 6px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 18px 0 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec div { display: flex; flex-direction: column; }
.spec span { font-size: .85rem; color: var(--ink-soft); }
.spec strong { font-size: 1.1rem; color: var(--heading); }
.dealer-disclosure { margin: -8px 0 22px; padding: 12px 14px; border-radius: 12px; background: var(--tint); color: var(--ink-soft); font-size: .92rem; }
.home-detail .price { font-size: 2.6rem; margin: 8px 0 2px; display: block; }
.included { columns: 2; column-gap: 32px; padding-left: 1.2em; }
@media (max-width: 860px) { .home-detail { grid-template-columns: 1fr; } .included { columns: 1; } }

/* Photo gallery pages */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-grid a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.photo-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-grid a.wide { grid-column: span 2; grid-row: span 2; }
.photo-grid a.wide img { aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: 1fr 1fr; } .photo-grid a.wide { grid-column: span 2; grid-row: auto; } .photo-grid a.wide img { aspect-ratio: 3 / 2; height: auto; } }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(10,17,14,.93); }
dialog.lightbox img { max-width: min(96vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: var(--radius); margin: 0 auto; }
dialog.lightbox .lb-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; color: #fff; padding: 10px 4px; gap: 10px 12px; }
dialog.lightbox .lb-bar > span:last-child { white-space: nowrap; margin-left: auto; }
dialog.lightbox button { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; }
dialog.lightbox button:hover { background: rgba(255,255,255,.26); }

/* Content pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose ol li, .prose ul li { margin-bottom: .5em; }
.guide-intro { max-width: 760px; }
.guide-roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 32px 0 44px; counter-reset: guide-step; }
.guide-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px 72px; box-shadow: 0 8px 24px var(--shadow); }
.guide-step::before { counter-increment: guide-step; content: counter(guide-step); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--aspen); color: var(--on-aspen); font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.guide-step h2 { font-size: 1.45rem; margin-bottom: 8px; }
.guide-step p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.guide-step .btn-row { margin-top: 16px; }
.lender-panel { margin-top: 24px; padding: clamp(26px, 4vw, 44px); background: var(--tint); border-radius: var(--radius); }
.lender-panel > p { max-width: 70ch; }
.lender-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.lender-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--aspen); border-radius: var(--radius); padding: 24px; }
.lender-card h3 { margin-bottom: 4px; }
.lender-card .role { color: var(--ink-soft); margin-bottom: 16px; }
.lender-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 7px 14px; margin: 0 0 20px; }
.lender-card dt { font-weight: 600; color: var(--heading); }
.lender-card dd { margin: 0; overflow-wrap: anywhere; }
.guide-note { border-left: 4px solid var(--aspen); padding: 14px 18px; margin-top: 24px; background: var(--surface); color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .guide-roadmap, .lender-grid { grid-template-columns: 1fr; } }
.apply-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 32px; max-width: 760px; }
.apply-links a { display: block; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--heading); }
.apply-links a:hover { border-color: var(--heading); }
.apply-links strong { display: block; font-family: var(--display); font-size: 1.35rem; margin-bottom: 4px; }
.apply-links span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 600px) { .apply-links { grid-template-columns: 1fr; } }
.doc-h2 { font-size: 1.6rem; margin-top: 40px; }
.doc-list { list-style: none; padding: 0; margin: 0 0 8px; max-width: 760px; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.doc-list strong { font-family: var(--display); font-size: 1.25rem; color: var(--heading); display: block; }
.doc-list span { color: var(--ink-soft); font-size: .95rem; }
.doc-list .btn { flex: none; }
@media (max-width: 480px) { .doc-list li { flex-direction: column; align-items: flex-start; } }
.notice { background: var(--tint); border-left: 4px solid var(--aspen); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; max-width: 70ch; }

/* Article */
.article { max-width: 70ch; }
.article h2 { font-size: 1.7rem; margin-top: 1.8em; }
.article p { max-width: none; }
.article .lede { max-width: none; }
.article-hero { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article .cta-box { background: var(--tint); border-radius: var(--radius); padding: 24px; margin-top: 40px; }
.article .cta-box p { margin-bottom: 14px; }
.aff-cta { margin: -4px 0 22px; }
/* Maps */
.map-block { margin-top: clamp(32px, 5vw, 56px); }
.map-block + .map-block { padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.map-block a.map { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; max-width: 1100px; }
.map-block img { width: 100%; height: auto; }
.map-block .btn-row { margin-top: 16px; }
.map-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; max-width: 1100px; }
.map-head h2 { margin: 0; }
.map-head span { color: var(--ink-soft); }
