/* deploy check 2026-11-19 */
/* SunRiver website: shared styles.
   Tokens follow the SunRiver 2026 Figma file and the developers' build (deep river, SunRiver blue,
   sun yellow, riverbed sand). Brand faces ABC Ginto and Tiempos Text load from @font-face in each
   page head; Figtree and Source Serif 4 stand in if they can't load. */

:root {
  --deep-river: #143250;
  --sunriver-blue: #325A96;
  --sunriver-blue-deep: #24477D;
  --sun-yellow: #F5AF1C;
  --sun-yellow-deep: #E39C0A;
  --riverbed-sand: #FAF5F0;
  --ink: #0B0B0B;
  --white: #FFFFFF;
  --line: rgba(50, 90, 150, 0.16);

  --font-display: "ABC Ginto", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Tiempos Text", "Source Serif 4", Georgia, serif;

  --radius-img: 30px;
  --radius-card: 20px;
  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 100px);
  --header-h: 168px;
  --shadow-header: 0 4px 13px rgba(0, 0, 0, 0.23);
  --shadow-photo: 0 10px 30px rgba(20, 50, 80, 0.28);
  --shadow-card: 0 8px 26px rgba(20, 50, 80, 0.12);
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--sunriver-blue);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { padding-top: var(--header-h); display: block; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun-yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: var(--sunriver-blue); }
.display { font-weight: 900; font-size: clamp(36px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.02em; }
.h2 { font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -0.02em; }
.h3 { font-weight: 900; font-size: clamp(21px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; }
.big-serif { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; }
.serif-display { font-family: var(--font-serif); font-weight: 500; font-size: clamp(40px, 4.6vw, 64px); line-height: 0.98; letter-spacing: -0.02em; }
.eyebrow { font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sun-yellow); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; letter-spacing: -0.015em; }
.yellow { color: var(--sun-yellow); }
.rule { width: 195px; max-width: 60%; height: 4px; background: var(--sun-yellow); border: 0; margin: 0; border-radius: 2px; }
.rule.center { margin-inline: auto; }
.rule.short { width: 90px; }
p { margin: 0; max-width: 70ch; }
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }
.note { font-size: 13px; line-height: 1.5; opacity: 0.8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; text-align: center;
  min-height: 52px; padding: 0 32px; border-radius: 999px; border: 0;
  font: 900 14px/1.1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  background: var(--sun-yellow); color: var(--white); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--sun-yellow-deep); transform: translateY(-1px); }
.btn.blue-btn { background: var(--sunriver-blue); }
.btn.blue-btn:hover { background: var(--sunriver-blue-deep); }
.btn.sand-btn { background: var(--riverbed-sand); color: var(--sunriver-blue); }
.btn.sand-btn:hover { background: var(--white); }
.btn.small { min-height: 40px; padding: 0 20px; font-size: 12px; }
.btn.large { min-height: 60px; padding: 0 44px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header (fixed, per the dev build) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--white); box-shadow: var(--shadow-header); }
.founders-tab {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 3;
  background: var(--sun-yellow); color: var(--white); text-decoration: none;
  font-weight: 900; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 10px 44px 11px; border-radius: 0 0 20px 20px; white-space: nowrap;
}
.founders-tab:hover { background: var(--sun-yellow-deep); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); padding-top: 36px; }
.logo { display: block; flex: none; }
@media (min-width: 1021px) { .logo { margin-left: 5px; } }
/* One logo size on every page. Colors come from site.js, which checks what the logo sits on. */
.logo img, .logo-svg { display: block; width: 212px; height: auto; }
.logo-svg .lg-word { fill: var(--logo-word, #325A96); transition: fill .35s ease; }
.logo-svg .lg-accent { fill: var(--logo-accent, #F5AF1C); transition: fill .35s ease; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); }
.nav-item { position: static; }
.nav-link {
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: 500 15.5px/1 var(--font-display); color: var(--sunriver-blue); text-decoration: none; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
button.nav-link { color: var(--deep-river); }
.nav-link .chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item[data-open="true"] .chev { transform: rotate(-135deg) translateY(-2px); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--sun-yellow-deep); }
.nav-cta { min-height: 46px; padding: 0 30px; color: var(--sunriver-blue); }
.nav-cta:hover { color: var(--sunriver-blue); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-radius: 0 0 30px 30px; box-shadow: 0 18px 30px rgba(20, 50, 80, 0.16); display: none; }
.nav-item[data-open="true"] .mega { display: block; }
.mega-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 28px 36px; }
.mega-card { display: grid; gap: 10px; justify-items: start; text-decoration: none; }
.mega-photo { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 0 0 24px 24px; overflow: hidden; }
.mega-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mega-card:hover .mega-photo img { transform: scale(1.04); }
.mega-tag { background: var(--sun-yellow); color: var(--sunriver-blue); font-weight: 900; font-size: 22px; line-height: 30px; letter-spacing: -0.03em; padding: 0 8px; border-radius: 3px; }
.mega-sub { color: rgba(50, 90, 150, 0.6); font-size: 15px; line-height: 1.3; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; padding: 11px; }
.menu-toggle span { display: block; height: 3px; background: var(--sunriver-blue); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 1020px) {
  :root { --header-h: 108px; }
  .header-inner { padding-top: 30px; }
  .logo img, .logo-svg { width: 150px; }
  .founders-tab { font-size: 11px; padding: 7px 22px 8px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); box-shadow: 0 18px 30px rgba(20, 50, 80, 0.18); padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-header[data-menu="open"] .main-nav { display: flex; }
  .site-header[data-menu="open"] .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header[data-menu="open"] .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header[data-menu="open"] .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mega { position: static; box-shadow: none; border-radius: 0; }
  .mega-cards { grid-template-columns: 1fr; gap: 14px; padding: 14px 0; }
  .mega-card { grid-template-columns: 96px 1fr; align-items: center; gap: 4px 14px; }
  .mega-photo { grid-row: span 2; border-radius: 12px; aspect-ratio: 4 / 3; }
  .mega-tag { font-size: 18px; justify-self: start; }
  .mega-sub { font-size: 13px; }
  .nav-cta { margin-top: 18px; align-self: flex-start; }
}

/* ---------- Heroes ---------- */
.home-hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; color: var(--white); overflow: hidden; border-radius: 0 0 30px 30px; background: var(--deep-river); }
.home-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 50, 80, .78) 0%, rgba(20, 50, 80, .25) 55%, rgba(20, 50, 80, .05) 100%); }
.home-hero .wrap { position: relative; z-index: 1; display: grid; gap: 22px; padding-block: 80px 88px; }
.home-hero h1 { color: var(--white); font-weight: 900; font-size: clamp(38px, 5.6vw, 76px); line-height: .95; letter-spacing: -0.025em; max-width: 16ch; }
.home-hero .eyebrow { color: var(--sun-yellow); font-size: 17px; }
.home-hero-sub { font-family: var(--font-serif); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.35; max-width: 40ch; }

.page-hero { position: relative; background: var(--sunriver-blue); color: var(--riverbed-sand); overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero .wrap { position: relative; min-height: clamp(260px, 30vw, 400px); display: grid; place-content: center; text-align: center; gap: 16px; padding-block: 56px; }
.page-hero h1 { color: var(--riverbed-sand); font-weight: 900; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.page-hero .bar { width: 133px; height: 7px; background: var(--sun-yellow); margin-inline: auto; }
.page-hero .kicker { font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: 0.06em; color: var(--sun-yellow); }
.page-hero p { margin-inline: auto; max-width: 52ch; font-size: 18px; line-height: 1.45; }
.hero-phone { font-weight: 900; text-decoration: none; color: var(--sun-yellow); font-size: 22px; }

.photo-hero { position: relative; min-height: clamp(440px, 50vw, 700px); display: grid; align-items: end; color: var(--white); border-radius: 0 0 30px 30px; overflow: hidden; background: var(--deep-river); }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 50, 80, 0.8) 0%, rgba(20, 50, 80, 0.35) 55%, rgba(20, 50, 80, 0) 85%); }
.photo-hero > .wrap { position: relative; z-index: 1; padding-block: 72px 88px; display: grid; gap: 22px; }
.photo-hero h1 { color: var(--white); font-weight: 900; font-size: clamp(38px, 5.2vw, 70px); line-height: 0.95; letter-spacing: -0.02em; max-width: 15ch; }
.photo-hero .eyebrow { color: var(--sun-yellow); font-size: 17px; }
.photo-hero p:not(.eyebrow) { font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; max-width: 34ch; }
.founders-hero > .wrap.split { align-items: center; }

.sand-hero { background: var(--riverbed-sand); border-radius: 0 0 30px 30px; text-align: center; }
.sand-hero .wrap { padding-block: clamp(56px, 7vw, 100px); display: grid; gap: 16px; justify-items: center; }
.sand-hero h1, .sand-hero h2 { font-weight: 900; font-size: clamp(38px, 5vw, 66px); line-height: 0.98; letter-spacing: -0.02em; max-width: 20ch; }
.sand-hero h1::after { content: ""; display: block; width: 133px; height: 6px; background: var(--sun-yellow); margin: 22px auto 0; border-radius: 3px; }
.sand-hero-sub { font-family: var(--font-serif); font-size: clamp(19px, 1.8vw, 26px); line-height: 1.3; max-width: 44ch; }

.yellow-hero { background: var(--sun-yellow); }
.yellow-hero .wrap { min-height: clamp(220px, 24vw, 320px); display: grid; place-content: center; text-align: center; padding-block: 56px; }
.yellow-hero h1 { color: var(--white); font-weight: 500; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.yellow-hero h1 strong { font-weight: 900; }
.tabbar { background: var(--white); border-bottom: 4px solid var(--sun-yellow); }
.tabbar ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabbar a { display: block; text-align: center; padding: 18px 8px; color: var(--sunriver-blue); text-decoration: none; font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 4px solid transparent; margin-bottom: -4px; }
.tabbar a:hover, .tabbar a[aria-current="page"] { color: var(--sun-yellow-deep); border-bottom-color: var(--sunriver-blue); }
@media (max-width: 640px) { .tabbar ul { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } .tabbar a { font-size: 12px; padding: 14px 6px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 8vw, 116px); }
.section.tight { padding-block: clamp(44px, 5vw, 70px); }
.sand { background: var(--riverbed-sand); }
.deep-bg { background: var(--deep-river); color: var(--riverbed-sand); }
.deep-bg h2, .deep-bg h3 { color: var(--riverbed-sand); }
.yellow-bg { background: var(--sun-yellow); color: var(--riverbed-sand); }
.yellow-bg h2, .yellow-bg h3 { color: var(--white); }
.stack { display: grid; gap: 22px; align-content: start; }
.stack-lg { display: grid; gap: 40px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.wide-text { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split, .split.wide-text { grid-template-columns: 1fr; } }

.photo { border-radius: var(--radius-img); overflow: hidden; background: var(--riverbed-sand); display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.shadow { box-shadow: var(--shadow-photo); }
.photo.plain { background: transparent; }
.photo.plain img { object-fit: contain; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-1 { aspect-ratio: 1; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-23 { aspect-ratio: 2 / 3; }

.band { position: relative; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }

.banner { position: relative; min-height: 240px; display: grid; place-items: center; overflow: hidden; color: var(--riverbed-sand); text-align: center; background: var(--sunriver-blue); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(20, 50, 80, 0.35); }
.banner .wrap { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; padding-block: 56px; }
.banner h2 { color: var(--white); font-weight: 500; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.1; }
.banner h2 strong { font-weight: 900; }
.banner.tall { min-height: clamp(320px, 36vw, 480px); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius-card); padding: 28px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-card); }
.card h3 { font-weight: 900; font-size: 21px; letter-spacing: -0.02em; line-height: 1.15; text-transform: uppercase; }
.card p { font-family: var(--font-serif); font-size: 16.5px; line-height: 1.5; }

.photo-card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.photo-card .photo { aspect-ratio: 4 / 3; }
.photo-card .photo.ratio-34 { aspect-ratio: 3 / 4; }
.photo-card h3 { font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: 0.01em; }
.deep-bg .photo-card h3 { color: var(--sun-yellow); }
.photo-card p { font-family: var(--font-serif); font-size: 16px; line-height: 1.5; }

.amenities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.amenity { padding-block: 20px; border-top: 2px solid var(--line); display: grid; gap: 6px; align-content: start; }
.amenity h3 { font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: 0.02em; }
.amenity p { font-family: var(--font-serif); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 960px) { .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .amenities { grid-template-columns: 1fr; } }

/* Star (✸) lists, per the dev build */
.star-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 44px; }
.star-item { display: grid; gap: 6px; padding-left: 38px; position: relative; align-content: start; }
.star-item::before, .star-list li::before { content: "\2738"; position: absolute; left: 0; top: -2px; color: var(--sun-yellow); font-size: 26px; line-height: 1; }
.star-item h3 { font-weight: 900; font-size: 19px; text-transform: uppercase; letter-spacing: 0; line-height: 1.2; }
.star-item p { font-family: var(--font-serif); font-size: 16.5px; line-height: 1.5; }
@media (max-width: 960px) { .star-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .star-grid { grid-template-columns: 1fr; } }
.star-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.star-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
@media (max-width: 600px) { .star-list.cols-2 { grid-template-columns: 1fr; } }
.star-list li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.45; }
.star-list li::before { font-size: 22px; top: 0; }
.star-list strong { font-weight: 900; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; }
.stat strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(48px, 5vw, 76px); line-height: 1; color: var(--sun-yellow); letter-spacing: -0.02em; }
.stat span { display: block; margin: 12px auto 0; font-size: 17px; line-height: 1.35; max-width: 26ch; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }
.team-photo { max-width: 980px; margin-inline: auto; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery .photo { aspect-ratio: 1; border-radius: 18px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Embeds */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-img); overflow: hidden; background: var(--deep-river); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.narrow-embed { max-width: 960px; width: 100%; margin-inline: auto; }

/* ---------- Home ---------- */
.live-card { background: var(--white); border-radius: var(--radius-card); padding: 34px 30px; display: grid; gap: 16px; align-content: start; justify-items: start; box-shadow: var(--shadow-card); }
.live-card h3 { font-weight: 900; font-size: 30px; letter-spacing: -0.03em; }
.live-card p { font-family: var(--font-serif); font-size: 17px; line-height: 1.5; }
.live-card .btn { margin-top: auto; }
.live-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--sun-yellow); display: grid; place-items: center; }
.live-icon img { width: 30px; height: 30px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; aspect-ratio: 1 / 1.05; }
.mosaic .photo { border-radius: 20px; }
.mosaic .photo:nth-child(1) { grid-row: 1 / 2; }
.mosaic .photo.tall { grid-column: 2; grid-row: 1 / 3; }
.mosaic .photo:nth-child(3) { grid-column: 1; grid-row: 2 / 4; }
.mosaic .photo:nth-child(4) { grid-column: 2; grid-row: 3; }
.begin { position: relative; color: var(--white); padding-block: clamp(70px, 9vw, 130px); overflow: hidden; background: var(--deep-river); }
.begin-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.begin .wrap { position: relative; }
.begin h2 { color: var(--white); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: s; }
.steps li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-card); padding: 30px; display: grid; gap: 10px; align-content: start; backdrop-filter: blur(4px); }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--sun-yellow); color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: 24px; }
.steps h3 { color: var(--white); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.steps p { font-family: var(--font-serif); font-size: 17px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Grid-based cards: keep the single column from growing to an image's intrinsic width */
.plan-card, .community-card, .choice-card, .home-card, .post-card, .photo-card, .live-card, .card, .offer-card, .hub-link, .like-link, .stack, .stack-lg { grid-template-columns: minmax(0, 1fr); }

/* Floor plan cards */
.plan-card { display: grid; text-decoration: none; border-radius: 30px; overflow: hidden; background: var(--sunriver-blue); transition: transform .2s ease, box-shadow .2s ease; align-content: start; }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-photo); }
.plan-img { position: relative; aspect-ratio: 458 / 275; background: var(--riverbed-sand); }
.plan-img img { width: 100%; height: 100%; object-fit: cover; }
.plan-img .badge { position: absolute; top: 16px; left: 16px; }
.plan-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 18px 26px 24px; color: var(--riverbed-sand); }
.plan-card .sqft { color: var(--sun-yellow); font-weight: 900; font-size: 18px; }
.plan-card .name { font-weight: 900; font-size: clamp(28px, 2.6vw, 36px); text-transform: uppercase; line-height: 1; letter-spacing: -0.03em; }
.plan-card .meta { grid-column: 1 / -1; font-size: 14px; letter-spacing: 0.01em; opacity: 0.9; }
.plan-card .price { grid-column: 1 / -1; font-family: var(--font-serif); font-size: 24px; }
.plan-card .explore { grid-column: 1 / -1; font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sun-yellow); margin-top: 4px; }
.plan-card .arrow { grid-row: 1 / span 2; grid-column: 2; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--riverbed-sand); display: grid; place-items: center; }
.plan-card .arrow::before { content: ""; width: 13px; height: 13px; border-right: 3px solid var(--riverbed-sand); border-top: 3px solid var(--riverbed-sand); transform: translateX(-3px) rotate(45deg); }
.badge { display: inline-block; background: var(--sun-yellow); color: var(--white); font-weight: 900; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; line-height: 1.2; }

/* Community cards */
.community-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius-img); overflow: hidden; text-decoration: none; color: var(--sunriver-blue); box-shadow: var(--shadow-card); }
.community-img { aspect-ratio: 4 / 3; overflow: hidden; }
.community-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.community-card:hover .community-img img { transform: scale(1.04); }
.community-body { padding: 24px 26px 28px; display: grid; gap: 14px; align-content: start; justify-items: start; }
.community-body p { font-family: var(--font-serif); font-size: 16.5px; line-height: 1.5; }
.community-logo { height: 54px; width: auto; }
.starting { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.starting strong { display: block; font-family: var(--font-serif); font-size: 30px; text-transform: none; letter-spacing: -.02em; font-weight: 500; }

.choice-card { display: grid; background: var(--riverbed-sand); border-radius: var(--radius-img); overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.choice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-photo); }
.choice-card .photo { border-radius: 0; }
.choice-body { padding: 26px 30px 32px; display: grid; gap: 12px; justify-items: start; }
.choice-body p:not(.eyebrow) { font-family: var(--font-serif); font-size: 17px; }

.founders-band { position: relative; overflow: hidden; background: var(--deep-river); color: var(--riverbed-sand); padding-block: clamp(64px, 8vw, 110px); }
.founders-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.founders-band .wrap { position: relative; }
.founders-band h2 { color: var(--white); }
.badge-wrap { display: grid; place-items: center; }
.badge-wrap img { width: min(360px, 80%); }
.sold-wrap { position: relative; overflow: visible; }
.sold-wrap > img:first-child { border-radius: var(--radius-img); }
.sold-sign { position: absolute; right: -18px; bottom: -24px; width: 34% !important; height: auto !important; object-fit: contain !important; }

.distances { margin: 0; display: grid; gap: 6px; }
.distances div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 6px; }
.distances dt { font-weight: 900; }
.distances dd { margin: 0; font-family: var(--font-serif); }
.quote { margin: 0; background: var(--white); border-radius: var(--radius-card); padding: 32px; display: grid; gap: 18px; box-shadow: var(--shadow-card); }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.45; }
.quote blockquote::before { content: "\201C"; display: block; color: var(--sun-yellow); font-size: 64px; line-height: .6; margin-bottom: 4px; }
.quote figcaption strong { display: block; font-weight: 900; text-transform: uppercase; }
.quote figcaption span { font-size: 14px; opacity: .8; }
.storage-logo { width: 220px; }

/* History timeline */
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tl-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 320px); gap: 30px; align-items: center; padding-block: 26px; border-top: 2px solid var(--line); }
.tl-year { font-family: var(--font-serif); font-size: clamp(40px, 4vw, 56px); color: var(--sun-yellow); line-height: 1; }
.tl-content h3 { font-weight: 900; font-size: 22px; text-transform: uppercase; margin-bottom: 6px; }
.tl-content p { font-family: var(--font-serif); font-size: 17px; }
.tl-img { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; }
.tl-img img { width: 100%; height: 100%; object-fit: cover; }
.tl-img.empty { background: transparent; }
@media (max-width: 760px) { .tl-row { grid-template-columns: 1fr; gap: 12px; } .tl-img.empty { display: none; } }

/* Firelight */
.amen-row + .amen-row { margin-top: 56px; }
.amen-row.flip > :first-child { order: 2; }
@media (max-width: 860px) { .amen-row.flip > :first-child { order: 0; } }
.homes-trio { align-items: center; }
.drive-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.drive-times div { border-top: 4px solid var(--sun-yellow); padding-top: 18px; }
.drive-times strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--sun-yellow); }
.drive-times span { font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: 0.04em; }
@media (max-width: 600px) { .drive-times { grid-template-columns: 1fr; } }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.week .day { display: grid; gap: 10px; align-content: start; }
.week .day .photo { aspect-ratio: 3 / 4; border-radius: 18px; }
.week .dname { font-weight: 900; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun-yellow-deep); }
.week .act { font-family: var(--font-serif); font-size: 18px; line-height: 1.2; }
@media (max-width: 900px) { .week { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq-group { display: grid; gap: 12px; }
.faq-group h2 { margin-bottom: 8px; }
details.faq { background: var(--white); border-radius: var(--radius-card); padding: 0 28px; }
details.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 900; font-size: 18px; letter-spacing: -0.02em; line-height: 1.3; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--sun-yellow); color: var(--white); display: grid; place-items: center; font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "\2212"; }
details.faq .answer { padding-bottom: 24px; display: grid; gap: 12px; font-family: var(--font-serif); font-size: 17px; line-height: 1.55; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-family: var(--font-display); }
.tag-list li { background: var(--riverbed-sand); border-radius: 30px; padding: 4px 14px; font-size: 14px; }

/* Ready to Chat */
.chat { text-align: center; }
.chat .wrap { display: grid; gap: 22px; justify-items: center; }
.chat h2 { color: #FAF5EF; font-weight: 900; font-size: clamp(36px, 3.8vw, 52px); letter-spacing: -0.03em; }
.chat .rule { background: var(--white); width: 346px; max-width: 70%; }
.chat > .wrap > p { color: var(--white); font-size: 18px; }
.chat-form { width: 100%; max-width: 640px; background: #ECA514; border-radius: 30px; padding: clamp(24px, 4vw, 44px); text-align: left; display: grid; gap: 22px; }
.chat-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chat-form label, .chat-form legend { display: block; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--white); }
.chat-form input[type="text"], .chat-form input[type="email"], .chat-form input[type="tel"], .chat-form textarea {
  width: 100%; height: 46px; border: 0; border-radius: 30px; padding: 0 18px; font: 500 16px var(--font-display); color: var(--sunriver-blue); background: var(--white);
}
.chat-form textarea { height: 120px; padding: 14px 18px; border-radius: 20px; resize: vertical; }
.chat-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks label { display: flex; align-items: center; gap: 12px; font-size: 16px; margin: 0; cursor: pointer; }
.checks input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 4px; background: var(--white); margin: 0; flex: none; display: grid; place-items: center; cursor: pointer; }
.checks input:checked::after { content: ""; width: 10px; height: 6px; border-left: 3px solid var(--sunriver-blue); border-bottom: 3px solid var(--sunriver-blue); transform: rotate(-45deg) translate(1px, -1px); }
.chat-form .consent { font-size: 12px; line-height: 1.5; color: var(--white); max-width: none; }
.chat-form .btn { justify-self: start; min-width: 220px; }
.form-note { font-size: 16px; color: var(--white); }
@media (max-width: 560px) { .chat-form .row, .checks { grid-template-columns: 1fr; } }
/* HubSpot-connected forms: bot trap (off screen), the single "Can we text you?" box, links in consent text, group errors */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chat-form .one-check { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; cursor: pointer; }
.chat-form .one-check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 4px; background: var(--white); margin: 0; flex: none; display: grid; place-items: center; cursor: pointer; }
.chat-form.light .one-check input { border: 2px solid var(--line); }
.chat-form .one-check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 3px solid var(--sunriver-blue); border-bottom: 3px solid var(--sunriver-blue); transform: rotate(-45deg) translate(1px, -1px); }
.chat-form .consent a { color: inherit; text-decoration: underline; }
.chat-form fieldset.is-invalid-group .checks { outline: 2px solid #C0392B; outline-offset: 8px; border-radius: 8px; }
.chat-form.is-sent .form-note { font-size: 18px; }
.chat-form.light { background: var(--riverbed-sand); }
.chat-form.light label, .chat-form.light legend, .chat-form.light .consent { color: var(--sunriver-blue); }
.chat-form.light input[type="text"], .chat-form.light input[type="email"], .chat-form.light input[type="tel"], .chat-form.light textarea, .chat-form.light .checks input { border: 2px solid var(--line); }

/* People / offices */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.person { display: grid; gap: 10px; text-align: center; }
.person .photo { aspect-ratio: 4 / 5; }
.person h3 { font-weight: 900; font-size: 21px; letter-spacing: -0.02em; }
.person .role { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 900; color: var(--sun-yellow-deep); margin-top: 6px; }
.person p { font-size: 15px; line-height: 1.5; margin-inline: auto; }
.office { display: grid; gap: 6px; font-size: 16px; line-height: 1.5; align-content: start; }
.office h3 { font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.office-map { height: 320px; margin-top: 14px; border-radius: 18px; overflow: hidden; background: var(--riverbed-sand); }
.office-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.partner-logo { width: 220px; }
.price-callout { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.offer-card { background: var(--riverbed-sand); border-radius: var(--radius-card); padding: 32px; display: grid; gap: 12px; align-content: start; }
.offer-icon { width: 64px; height: 64px; }
.offer-card h3 { font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; }
.offer-card p { font-family: var(--font-serif); font-size: 17px; }

.hub-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hub-link { display: grid; gap: 4px; background: var(--white); border-radius: var(--radius-card); padding: 24px 64px 24px 28px; text-decoration: none; position: relative; box-shadow: var(--shadow-card); transition: transform .2s ease; }
.hub-link:hover { transform: translateY(-2px); }
.hub-link::after { content: ""; position: absolute; right: 28px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--sun-yellow); border-top: 3px solid var(--sun-yellow); transform: translateY(-50%) rotate(45deg); }
.hub-link strong { font-weight: 900; font-size: 20px; text-transform: uppercase; }
.hub-link span { font-family: var(--font-serif); font-size: 16px; }
@media (max-width: 640px) { .hub-links { grid-template-columns: 1fr; } }

/* ---------- Detail pages (floor plans, listings) ---------- */
.plan-detail { padding-top: clamp(28px, 4vw, 48px); }
.back-link { display: inline-block; margin-bottom: 22px; font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--sunriver-blue); }
.back-link:hover { color: var(--sun-yellow-deep); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-media { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.viewer { display: grid; gap: 12px; width: 100%; }
.viewer-main { border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 3 / 2; background: var(--riverbed-sand); }
.viewer-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.thumb { flex: none; width: 96px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; padding: 0; border: 3px solid transparent; background: var(--riverbed-sand); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--sun-yellow); }
.detail-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--riverbed-sand); border-radius: var(--radius-img); padding: 30px; display: grid; gap: 10px; box-shadow: var(--shadow-card); }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-num { font-weight: 900; font-size: 15px; color: var(--sun-yellow-deep); }
.detail-card h1 { font-weight: 900; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; letter-spacing: -0.03em; }
.detail-price { font-family: var(--font-serif); font-size: 32px; letter-spacing: -0.02em; }
.detail-sqft { font-weight: 900; font-size: 20px; }
.detail-spec, .detail-address { font-size: 16px; }
.detail-meta { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; font-weight: 900; opacity: .75; }
.lot { font-family: var(--font-serif); font-style: italic; }
.detail-actions { display: grid; gap: 12px; margin-top: 10px; }
.detail-actions .btn { width: 100%; }
@media (max-width: 860px) { .detail-card { position: static; } }
.plan-drawing { display: flex; justify-content: center; cursor: zoom-in; }
.plan-drawing img { width: auto; height: auto; max-width: min(768px, 100%); max-height: 680px; object-fit: contain; }
.plan-note { max-width: 70ch; }
.tour-section { background: var(--sunriver-blue); color: var(--riverbed-sand); padding-block: clamp(56px, 6vw, 88px); }
.tour-section h2 { color: var(--riverbed-sand); }
.tour-section .embed { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.like-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.like-link { display: grid; gap: 2px; padding: 18px 22px; border: 2px solid var(--line); border-radius: var(--radius-card); text-decoration: none; transition: border-color .2s; }
.like-link:hover { border-color: var(--sun-yellow); }
.like-link strong { font-weight: 900; font-size: 20px; text-transform: uppercase; }
.like-link span { font-family: var(--font-serif); }
@media (max-width: 700px) { .like-row { grid-template-columns: 1fr; } }

/* ---------- Homes for sale ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--sunriver-blue); font-weight: 900; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BA55C; }
.status-for-sale::before { background: var(--sunriver-blue); }
.status-under-contract { background: var(--sun-yellow); color: var(--white); }
.status-under-contract::before { background: var(--white); }
.status-sold { background: var(--deep-river); color: var(--white); }
.status-sold::before { background: #E5484D; }
.empty-state[hidden] { display: none; }
.empty-state { background: var(--riverbed-sand); border-radius: var(--radius-card); padding: 40px; display: grid; gap: 14px; justify-items: start; }
.shorts { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.short { position: relative; width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: var(--radius-img); overflow: hidden; background: var(--deep-river); box-shadow: var(--shadow-photo); }
.short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map { border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 21 / 9; background: var(--riverbed-sand); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }
.listing-ctas { align-items: stretch; }
.founders-card, .sales-card { background: var(--white); border-radius: var(--radius-img); padding: 30px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; box-shadow: var(--shadow-card); }
.founders-card > img { width: 140px; }
.sales-card > img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
.founders-card p, .sales-card p { font-family: var(--font-serif); }
.founders-card .stack, .sales-card .stack { justify-items: start; }
@media (max-width: 480px) { .founders-card, .sales-card { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-banner { position: relative; min-height: clamp(260px, 28vw, 380px); display: grid; place-items: center; overflow: hidden; text-align: center; background: var(--deep-river); }
.blog-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-banner .wrap { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: center; padding-block: 48px; color: var(--white); }
.blog-banner .wordmark { width: min(460px, 80vw); }
.blog-banner p { font-family: var(--font-serif); font-size: 19px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.cat-chips, .post-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chips { justify-content: center; }
.cat-chips a, .post-chips a { text-decoration: none; border: 2px solid var(--sunriver-blue); border-radius: 30px; padding: 8px 18px; font-weight: 900; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.cat-chips a:hover, .cat-chips a[aria-current="page"], .post-chips a:hover { background: var(--sunriver-blue); color: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 26px; }
.post-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .post-grid, .post-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid, .post-grid.cols-4 { grid-template-columns: 1fr; } }
.post-card { display: grid; gap: 10px; align-content: start; text-decoration: none; }
.post-card .photo { aspect-ratio: 16 / 10; border-radius: 22px; }
.post-card .photo img { transition: transform .4s ease; }
.post-card:hover .photo img { transform: scale(1.04); }
.post-cat { justify-self: start; background: var(--sun-yellow); color: var(--white); font-weight: 900; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 30px; }
.post-card h3 { font-weight: 900; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.post-card time { font-family: var(--font-serif); font-size: 15px; opacity: .8; }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--sun-yellow); text-underline-offset: 5px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 20px; font-weight: 900; }
.post { padding-top: clamp(32px, 4vw, 56px); }
.post-wrap { max-width: calc(1040px + 2 * var(--gutter)); display: grid; gap: 28px; }
.post-cover { border-radius: var(--radius-img); overflow: hidden; }
.post-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.post-head { display: grid; gap: 10px; max-width: 760px; width: 100%; margin-inline: auto; }
.post-head h1 { font-weight: 900; font-size: clamp(34px, 4.4vw, 58px); line-height: 1; letter-spacing: -0.025em; }
.post-head time { font-family: var(--font-serif); font-size: 17px; opacity: .8; }
.post-body { max-width: 760px; width: 100%; margin-inline: auto; display: grid; gap: 1.1em; font-family: var(--font-serif); font-size: 19px; line-height: 1.65; color: var(--deep-river); }
.post-body h2, .post-body h3, .post-body h4 { font-family: var(--font-display); font-weight: 900; color: var(--sunriver-blue); letter-spacing: -0.02em; line-height: 1.15; margin-top: .6em; }
.post-body h2 { font-size: 30px; }
.post-body h3 { font-size: 24px; }
.post-body h4 { font-size: 20px; }
.post-body ul, .post-body ol { margin: 0; padding-left: 1.3em; display: grid; gap: .35em; }
.post-body li::marker { color: var(--sun-yellow-deep); }
.post-body a { color: var(--sunriver-blue); text-decoration-color: var(--sun-yellow); text-underline-offset: 4px; }
.post-body figure { margin: .4em 0; }
.post-body figure img { border-radius: 20px; margin-inline: auto; max-height: 900px; width: auto; }
.post-body blockquote { margin: 0; padding-left: 20px; border-left: 4px solid var(--sun-yellow); font-style: italic; }
.post-body p { max-width: none; }

/* Legal */
.legal { display: grid; gap: 14px; font-family: var(--font-serif); font-size: 17px; line-height: 1.6; }
.legal h2 { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; margin-top: 22px; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }

/* Lightbox */

/* ---------- Footer: matches the live sunriver.com footer ---------- */
.site-footer { position: relative; overflow: hidden; min-height: 587px; background: #E9E6E1; color: #143250; }
.site-footer > img.footer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48.6% 35.2%; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .11); }
.site-footer .wrap { position: relative; z-index: 2; display: grid; gap: 18px; max-width: 1440px; padding-block: 92px 211px; padding-left: clamp(16px, 7.8vw, 112px); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.social { display: flex; justify-content: center; gap: 14px; margin-left: calc(-1 * clamp(16px, 7.8vw, 112px)); }
.social a { width: 20px; height: 20px; color: #143250; transition: color .2s ease, transform .2s ease; }
.social a:hover { color: #335A97; transform: translateY(-1px); }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.footer-grid { display: grid; grid-template-columns: 212px minmax(24px, 122px) repeat(4, minmax(0, 223px)); gap: 0; }
.footer-grid > .footer-col:nth-child(2) { grid-column: 3; }
.footer-col { padding-right: 16px; max-width: 186px; }  /* live footer wraps "Energy Efficient Homes" onto two lines */
.footer-brand { display: grid; justify-items: center; align-content: start; text-align: center; font-size: 16px; line-height: 25px; font-weight: 500; }
.footer-logo { display: block; width: 212px; }
.footer-logo .logo-svg { display: block; width: 100%; height: auto; }
.footer-brand p { margin: 0; }
.footer-brand p:nth-of-type(1) { margin-top: 64px; }
.footer-brand p:nth-of-type(2) { margin-top: 26px; }
.footer-brand a { color: #143250; text-decoration: none; }
.footer-col h2 { margin: 0 0 14px; color: #143250; font-weight: 900; font-size: 19.5px; line-height: 24px; letter-spacing: -0.01em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 17px; }
.footer-col a { color: #143250; font-weight: 500; font-size: 16px; line-height: 25px; text-decoration: none; background: linear-gradient(#FFCB05, #FFCB05) 0 100% / 0 2px no-repeat; transition: background-size .25s ease; padding-bottom: 2px; }
.footer-col a:hover, .footer-col a:focus-visible, .footer-brand a:hover { background-size: 100% 2px; }
.footer-brand a { background: linear-gradient(#FFCB05, #FFCB05) 0 100% / 0 2px no-repeat; transition: background-size .25s ease; padding-bottom: 2px; }
.footer-col a.italic { font-style: italic; }

@media (max-width: 900px) {
  .site-footer .wrap { padding-block: 56px 260px; gap: 28px; }
  .social { margin-left: 0; }
  .site-footer .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-grid > .footer-col:nth-child(2) { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p:nth-of-type(1) { margin-top: 24px; }
  .footer-brand p:nth-of-type(2) { margin-top: 12px; }
  /* phones: keep the links on a soft white fade and let the photo show below them */
  .site-footer::before { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .86) 68%, rgba(255, 255, 255, 0) 84%); }
  .site-footer > img.footer-bg { object-position: 42% 100%; }
  .site-footer .wrap { padding-bottom: 300px; }
  .footer-col ul { gap: 8px; }
}

.skip { position: absolute; left: -9999px; top: 0; background: var(--sunriver-blue); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

@media print { .site-header, .site-footer, .chat, .banner, .tour-section, .btn { display: none !important; } main { padding-top: 0; } }

/* =====================================================================
   Homepage, Figma "Home Clark Life NAV 4" (625:214). Measurements are from the 1440px frame.
   ===================================================================== */
.home main { padding-top: 0; }

/* Overlay header with translucent pill nav */
.site-header.overlay { position: absolute; background: transparent; box-shadow: none; }
.overlay .header-inner { height: auto; padding-top: 54px; align-items: center; }
.pill-nav { position: relative; width: auto; justify-content: flex-start; height: 46px; margin-right: 10px; padding: 0 7px 0 31px; gap: 50px; background: rgba(255, 255, 255, 0.94); border-radius: 23px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pill-nav .nav-link { font-size: 15px; letter-spacing: -0.03em; color: var(--sunriver-blue); padding: 6px 0; }
.pill-nav .nav-link:hover { color: var(--sun-yellow-deep); }
.pill-nav .chev { display: none; }
.pill-cta { display: grid; place-items: center; margin-left: -14px; width: 138px; height: 34px; border-radius: 14px; background: var(--sun-yellow); color: var(--white); font-size: 15px; letter-spacing: -0.03em; text-decoration: none; transition: background .2s; }
.pill-cta:hover { background: var(--sun-yellow-deep); }
/* Life at SunRiver dropdown, Figma "Home NAV Live In 3": a white card just under the pill, same width,
   Live In / Live Out / Live On on the left (the one under the pointer gets the yellow underline) and an inset photo
   with a serif title on the right. Opens with a quick fade and drop; the photo crossfades with the item. */
.pill-drop {
  display: grid; position: absolute; left: 0; right: 0; top: 50px; width: auto; height: 226px; padding: 6px 6px 6px 25px;
  background: var(--white); border-radius: 24px; overflow: hidden; grid-template-columns: minmax(0, 1fr) 389px; align-items: stretch;
  box-shadow: 0 14px 34px rgba(20, 50, 80, 0.18);
  visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.985); transform-origin: 20% 0;
  transition: opacity .14s ease, transform .18s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .18s;
}
.nav-item[data-open="true"] .pill-drop {
  visibility: visible; opacity: 1; pointer-events: auto; transform: none;
  transition: opacity .16s ease, transform .22s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
.pill-drop ul { list-style: none; margin: 0; padding: 23px 0 0; display: grid; align-content: start; gap: 44.5px; }
.pill-drop li { opacity: 0; transform: translateY(6px); transition: opacity .14s ease, transform .14s ease; }
.nav-item[data-open="true"] .pill-drop li { opacity: 1; transform: none; transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1); }
.nav-item[data-open="true"] .pill-drop li:nth-child(1) { transition-delay: .03s; }
.nav-item[data-open="true"] .pill-drop li:nth-child(2) { transition-delay: .06s; }
.nav-item[data-open="true"] .pill-drop li:nth-child(3) { transition-delay: .09s; }
.pill-drop ul a { display: inline-block; text-decoration: none; color: #335A97; }
.pill-drop ul strong { display: inline-block; font-weight: 500; font-size: 15px; line-height: 24px; letter-spacing: -0.02em; }
.pill-drop ul strong::after { content: ""; display: block; height: 3px; margin-top: -1px; background: var(--sun-yellow); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s cubic-bezier(.22, .61, .36, 1); }
.pill-drop[data-active="0"] li:nth-child(1) strong::after, .pill-drop[data-active="1"] li:nth-child(2) strong::after, .pill-drop[data-active="2"] li:nth-child(3) strong::after { transform: scaleX(1); }
.pill-drop-photo { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 20px; background: #C9D7EE; }
.pd-shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .25s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.pd-shot.is-on { opacity: 1; transform: none; }
.pd-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 11%; }
.pd-shot::after { content: ""; position: absolute; inset: 0; background: rgba(20, 40, 70, .18); }
.pd-shot-title { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: var(--white); font-family: var(--font-serif); font-size: 32px; letter-spacing: -0.02em; text-shadow: 0 2px 14px rgba(20, 40, 70, .35); }

/* Hero */
.h4-hero { position: relative; z-index: 3; height: clamp(560px, 63.75vw, 918px); border-radius: 0 0 30px 30px; overflow: hidden; background: #CFE0F2; box-shadow: 0 4px 30px rgba(21, 50, 80, 0.57); }
.h4-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.h4-hero-inner { position: absolute; left: 0; right: 0; top: 34%; }
.h4-hero h1 { max-width: 682px; color: var(--sunriver-blue); font-weight: 900; font-size: clamp(40px, 4.93vw, 71px); line-height: 0.817; letter-spacing: -0.02em; }
.h4-eyebrow { margin-top: 12px; color: var(--white); font-weight: 900; font-size: 18px; line-height: 25px; letter-spacing: -0.03em; text-transform: uppercase; }
.h4-hero-btn { margin-top: 34px; width: 302px; min-height: 53px; font-size: 14.6px; }

/* Blue story band with couple cutout */
.h4-story { position: relative; z-index: 2; margin-top: -22px; background: #335A97; border-radius: 0 0 30px 30px; overflow: hidden; color: var(--white); }
.story-wave { position: absolute; left: -2.6%; width: 119%; bottom: -12px; height: 421px; pointer-events: none; }
.h4-story-inner { position: relative; display: grid; grid-template-columns: minmax(0, 699fr) minmax(0, 501fr); min-height: 616px; padding-top: 82px; }
.h4-couple { align-self: end; margin-left: -36px; width: calc(100% + 59px); }
.h4-couple img { width: 100%; height: auto; }
.h4-story-text { align-self: start; margin-top: 97px; position: relative; z-index: 1; }
.h4-story-text h2 { color: var(--white); font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 3.33vw, 48px); line-height: 0.875; letter-spacing: -0.02em; max-width: 501px; }
.h4-story-text hr { width: 195px; height: 4px; border: 0; margin: 18px 0 24px; background: var(--sun-yellow); }
.h4-story-text p { font-size: 15px; line-height: 1.5; letter-spacing: -0.02em; max-width: 441px; }
.h4-story-text p + p { margin-top: 18px; }

/* #LiveYoung */
.h4-live { position: relative; z-index: 1; margin-top: -30px; padding: 230px 0 126px; background: #FAF5EF; overflow: hidden; }
.live-wave { position: absolute; left: -12%; width: 119%; bottom: 0; height: 421px; pointer-events: none; }
.h4-live-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 791px); gap: 32px; }
.h4-live-head { margin-top: 36px; margin-left: -5px; }
.h4-tag { display: inline-grid; place-items: center; width: 98px; height: 33px; border-radius: 16.5px; background: var(--sunriver-blue); color: #FAF5EF; font-weight: 900; font-size: 10px; letter-spacing: -0.03em; }
.h4-live-head h2 { margin-top: 24px; max-width: 389px; font-family: var(--font-serif); font-weight: 500; font-size: clamp(44px, 4.44vw, 64px); line-height: 0.83; letter-spacing: -0.02em; color: var(--sunriver-blue); }
.h4-live-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lv-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 34px 26px 32px; background: var(--white); border-radius: 18px; }
.lv-icon img { width: 36px; height: 36px; }
.lv-card h3 { margin-top: 18px; font-weight: 900; font-size: 27.2px; line-height: 1.1; letter-spacing: -0.03em; color: var(--sunriver-blue); }
.lv-card hr { width: 107px; height: 4px; border: 0; margin: 6px 0 18px; background: var(--sun-yellow); }
.lv-card p { margin-bottom: 22px; font-family: var(--font-serif); font-size: 13px; line-height: 1.6; letter-spacing: -0.02em; color: var(--sunriver-blue); }
.lv-btn { margin-top: auto; display: grid; place-items: center; width: 100%; max-width: 191px; height: 31px; border-radius: 70px; background: #335A97; color: var(--white); font-size: 10px; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.lv-btn:hover { background: var(--sunriver-blue-deep); }

/* Sky band */
.h4-sky { position: relative; height: 261px; display: grid; place-items: center; overflow: hidden; background: #7FA6CF; }
.h4-sky > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h4-sky h2 { position: relative; color: #FAF5F0; font-weight: 500; font-size: 27.2px; line-height: 36px; letter-spacing: -0.03em; text-align: center; padding-inline: 16px; }
.h4-sky h2 strong { font-weight: 900; }

/* 25 years, laid out on the 1440 x 1183 design stage */
.h4-years { overflow: hidden; }
.h4-years-stage { position: relative; max-width: 1440px; margin: 0 auto; aspect-ratio: 1440 / 1183; }
.h4-years-stage > * { position: absolute; }
.hy-title { left: 14.86%; top: 13.86%; width: 46.9%; color: var(--sunriver-blue); font-weight: 900; font-size: clamp(48px, 4.93vw, 71px); line-height: 0.76; letter-spacing: -0.02em; }
.hy-text { left: 14.86%; top: 26.63%; width: 35.35%; color: var(--sunriver-blue); font-size: 15px; line-height: 25px; letter-spacing: -0.03em; }
.hy-text p + p { margin-top: 25px; }
.hy-record { font-weight: 900; color: var(--sun-yellow); }
.hy-img, .hy-frame > div { overflow: hidden; }
.hy-img img, .hy-frame img { width: 100%; height: 100%; object-fit: cover; }
.hy-1 { left: 14.86%; top: 57.73%; width: 31.81%; height: 21.56%; border-radius: 30px; }
.hy-2 { left: 59.86%; top: 21.7%; width: 23.61%; height: 48.29%; border-radius: 38px; }
.hy-frame { background: var(--white); border-radius: 40px; padding: 12px; }
.hy-frame > div { width: 100%; height: 100%; border-radius: 30px; }
.hy-3 { left: 67.29%; top: 59.68%; width: 20.76%; height: 27.22%; }
.hy-4 { left: 40.69%; top: 47.34%; width: 23.54%; height: 46.66%; }

/* Find the home that suits you */
.h4-homes { background: #FAF5EF; padding: 74px 0 186px; }
.h4-homes h2 { max-width: calc(515px + 2 * var(--gutter)); text-align: center; color: var(--sun-yellow); font-weight: 900; font-size: clamp(36px, 3.33vw, 48px); line-height: 0.94; letter-spacing: -0.02em; }
.hp-carousel { position: relative; margin-top: 72px; }
.hp-track { display: flex; gap: 29px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - 1440px) / 2 + 100px)); padding: 0 max(var(--gutter), calc((100vw - 1440px) / 2 + 100px)); scrollbar-width: none; }
.hp-track::-webkit-scrollbar { display: none; }
.hp-track:focus-visible { outline-offset: -3px; }
.hp-card { flex: none; width: min(458px, 82vw); scroll-snap-align: start; text-decoration: none; display: block; }
.hp-img { display: block; height: 261px; border-radius: 30px 30px 0 0; overflow: hidden; background: var(--white); }
.hp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hp-card:hover .hp-img img { transform: scale(1.04); }
.hp-bar { position: relative; display: block; height: 92px; margin-top: -6px; padding: 12px 26px 0; background: #335A97; border-radius: 0 0 30px 30px; }
.hp-sqft { display: block; color: var(--sun-yellow); font-size: 16px; line-height: 25px; letter-spacing: -0.03em; }
.hp-name { display: block; margin-top: 6px; color: #FAF5EF; font-weight: 900; font-size: 36px; line-height: 25px; letter-spacing: -0.03em; text-transform: uppercase; }
.hp-go, .hp-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.hp-go { position: absolute; right: 20px; top: 16px; }
.hp-go::before, .hp-arrow::before { content: ""; width: 14px; height: 14px; border-right: 4px solid var(--sunriver-blue); border-top: 4px solid var(--sunriver-blue); transform: translateX(-3px) rotate(45deg); }
.hp-arrow { position: absolute; z-index: 2; top: 152px; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(20, 50, 80, 0.25); }
.hp-arrow[hidden] { display: none; }
.hp-next { right: 24px; }
.hp-prev { left: 24px; }
.hp-prev::before { transform: translateX(3px) rotate(-135deg); }
.h4-big-btn { margin-top: 89px; width: min(494px, 100%); min-height: 68px; font-size: 18.6px; }

/* Where you begin */
.h4-begin { position: relative; overflow: hidden; background: #335A97; color: #FAF5EF; }
.h4-begin-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h4-begin::after { content: ""; position: absolute; inset: 0; background: #335A97; opacity: 0.89; }
.h4-begin-inner { position: relative; z-index: 1; min-height: 760px; padding-block: 74px 80px; display: flex; flex-direction: column; align-items: center; }
.h4-begin h2 { color: #FAF5EF; font-family: var(--font-serif); font-weight: 500; font-size: clamp(48px, 4.93vw, 71px); line-height: 0.8; letter-spacing: -0.02em; text-align: center; }
.h4-begin hr { width: min(514px, 100%); height: 7px; border: 0; margin: 22px 0 0; background: var(--sun-yellow); }
.h4-steps { list-style: none; margin: 49px 0 0; padding: 0; width: min(405px, 100%); transform: translateX(24px); display: grid; gap: 34px; }
.h4-steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 13px; }
.h4-steps li:not(:last-child)::after { content: ""; position: absolute; left: 22.5px; top: 56px; bottom: -30px; width: 3px; background: var(--sun-yellow); }
.st-num { width: 48px; height: 48px; border-radius: 50%; background: var(--sun-yellow); display: grid; place-items: center; font-size: 33.9px; line-height: 1; color: #FAF5EF; }
.h4-steps h3 { color: #FAF5EF; font-weight: 500; font-size: 23px; line-height: 48px; letter-spacing: -0.02em; text-transform: uppercase; }
.h4-steps p { font-size: 15px; line-height: 1.25; letter-spacing: -0.02em; max-width: 284px; margin-top: -2px; }
.h4-begin-btn { margin-top: 48px; width: 214px; min-height: 50px; font-size: 14px; }

/* Homepage: tablet and phone */
@media (max-width: 1100px) {
  .h4-live-inner { grid-template-columns: 1fr; }
  .h4-live-head { margin: 0; }
  .h4-live { padding-top: 140px; }
  .h4-years-stage { aspect-ratio: auto; padding: 80px var(--gutter); display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h4-years-stage > * { position: static; width: auto; height: auto; }
  .hy-title, .hy-text { grid-column: 1 / -1; }
  .hy-img, .hy-frame { aspect-ratio: 3 / 4; }
  .hy-1 { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .overlay .header-inner { padding-top: 24px; }
  .overlay .menu-toggle { background: rgba(255, 255, 255, 0.7); border-radius: 50%; }
  .site-header.overlay[data-menu="open"] { background: var(--white); }
  .pill-nav { width: auto; justify-content: flex-start; height: auto; padding: 8px var(--gutter) 24px; border-radius: 0; background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; gap: 0; }
  .pill-nav .nav-link { font-size: 17px; padding: 16px 0; }
  .pill-nav .chev { display: inline-block; }
  .pill-drop { display: none; position: static; width: auto; height: auto; padding: 12px 16px; margin-bottom: 8px; grid-template-columns: 1fr; box-shadow: none; visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: none; }
  .nav-item[data-open="true"] .pill-drop { display: grid; }
  .pill-drop li { opacity: 1; transform: none; }
  .pill-drop ul a { width: auto; min-height: 0; }
  .pill-drop ul { gap: 14px; }
  .pill-drop ul { margin-top: 0; gap: 14px; }
  .pill-drop ul span { max-width: none; font-size: 13px; line-height: 1.3; }
  .pill-drop-photo { display: none; }
  .pill-cta { margin-top: 18px; width: auto; height: 48px; padding: 0 30px; font-size: 15px; justify-self: start; align-self: flex-start; }
}
@media (max-width: 860px) {
  .h4-story-inner { grid-template-columns: 1fr; padding-top: 72px; }
  .h4-story-text { margin-top: 0; order: -1; }
  .h4-couple { margin: 24px 0 0; width: 100%; }
  .h4-live-cards { grid-template-columns: 1fr; }
  .lv-card { min-height: 0; }
  .lv-btn { margin-top: 22px; }
}
@media (max-width: 760px) {
  .h4-hero { height: min(100svh, 760px); min-height: 600px; }
  .h4-hero-img { object-position: center top; }
  .h4-hero-inner { top: 128px; }
  .h4-eyebrow { font-size: 15px; }
  .h4-hero-btn { width: auto; padding: 0 36px; }
  .h4-sky h2 { font-size: 21px; line-height: 1.3; }
  .h4-years-stage { grid-template-columns: 1fr; }
  .hy-img, .hy-frame, .hy-1 { aspect-ratio: 4 / 3; }
  .hp-arrow { display: none; }
  .hp-img { height: 210px; }
  .hp-name { font-size: 30px; }
  .h4-homes { padding-bottom: 100px; }
  .h4-big-btn { margin-top: 56px; font-size: 15px; min-height: 58px; }
  .h4-steps { transform: none; }
  .h4-steps h3 { font-size: 19px; }
}

/* =====================================================================
   OFFICIAL SunRiver Website Figma (P3Ozmr47Say3ms57lX4htZ): sitewide pill header,
   Find a Home (6:206), Homes for Sale (6:267), listing detail (6:503). 1440px frames.
   ===================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header: white bar (inner pages) and photo overlay with the Founders tab */
.on-light .pill-nav { background: rgba(255, 255, 255, .8); box-shadow: 0 4px 18px rgba(20, 40, 80, .08), inset 0 0 0 1px rgba(51, 90, 151, .08); }
.pill-nav .nav-link[aria-current="page"] { color: var(--sunriver-blue); }
.overlay-page main { padding-top: 0; }
.sand-page main { background: #FAF5EF; }

/* ---------- Find a Home hero */
.fah-hero { position: relative; height: 611px; overflow: hidden; border-radius: 0 0 30px 30px; background: #335A97; }
.fah-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .93; }
.fah-hero-inner { position: relative; z-index: 1; padding-top: 275px; text-align: center; }
.fah-hero h1 { max-width: 581px; margin: 0 auto; color: #FAF5EF; font-weight: 900; font-size: 48px; line-height: 42px; letter-spacing: -0.02em; }
.fah-hero p { max-width: 460px; margin: 25px auto 0; color: #FAF5EF; font-family: var(--font-serif); font-size: 22.2px; line-height: 25px; letter-spacing: -0.03em; }

/* ---------- Floor plan cards (Find a Home + Floor Plans) */
.fah-plans { padding-top: 41px; }
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, 270px); justify-content: space-between; gap: 70px 24px; }
.fp-card { display: flex; flex-direction: column; width: 270px; min-height: 586px; background: var(--white); border-radius: 20px; overflow: hidden; text-decoration: none; color: #1C314E; box-shadow: 0 6px 22px rgba(20, 50, 80, 0.16); transition: transform .2s ease, box-shadow .2s ease; }
.fp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20, 50, 80, 0.22); }
.fp-img { display: block; height: 167px; background: var(--riverbed-sand); }
.fp-img img { width: 100%; height: 100%; object-fit: cover; }
.fp-head { display: block; height: 113px; padding: 32px 54px 0; }
.fp-num { display: block; font-weight: 900; font-size: 13px; line-height: 16px; }
.fp-num em { margin-left: 10px; font-style: normal; font-weight: 500; color: var(--sun-yellow); text-transform: uppercase; letter-spacing: .02em; }
.fp-name { display: inline-block; margin: 8px 0 0 -3px; padding: 0 3px 2px; border-bottom: 4px solid #EBB244; font-weight: 900; font-size: 24px; line-height: 24px; text-transform: uppercase; letter-spacing: -0.01em; }
.fp-band { display: flex; flex-direction: column; flex: 1 0 auto; min-height: 167px; padding: 18px 54px 29px; background: #F9F5F1; }
.fp-sqft { font-weight: 900; font-size: 16px; line-height: 20px; }
.fp-sqft sup { font-size: 9px; vertical-align: 6px; line-height: 0; }
.fp-spec { margin-top: 16px; font-weight: 900; font-size: 12.5px; line-height: 24px; letter-spacing: .02em; text-transform: uppercase; }
.fp-price { margin-top: auto; padding-top: 6px; font-weight: 900; font-size: 26px; line-height: 30px; letter-spacing: -0.01em; }
.fp-foot { display: block; height: 139px; padding: 28px 54px 0; }
.fp-btn { display: grid; place-items: center; width: 162px; height: 56px; border-radius: 28px; background: #F7CD46; color: #4F5B6B; font-size: 15px; transition: background .2s; }
.fp-card:hover .fp-btn { background: var(--sun-yellow); color: var(--deep-river); }
.section .fp-grid { margin-top: 8px; }

/* ---------- Find a Home link cards */
.fah-links { padding: 100px 0 110px; }
.fah-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 499px)); justify-content: center; align-items: start; gap: 38px; }
.fl-card { display: block; border-radius: 30px; overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.fl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.fl-img { display: block; height: 261px; background: var(--riverbed-sand); }
.fl-img img { width: 100%; height: 100%; object-fit: cover; }
.fl-bar { position: relative; display: block; height: 132px; padding: 12px 28px 0; background: #FAF5F0; }
.fl-card.tall .fl-bar { height: 165px; }
.fl-kicker { display: block; color: var(--sun-yellow); font-size: 16px; line-height: 25px; letter-spacing: -0.03em; text-transform: uppercase; }
.fl-title { display: block; margin-top: 5px; color: #335A97; font-weight: 900; font-size: 36px; line-height: 25px; letter-spacing: -0.03em; text-transform: uppercase; padding-top: 6px; }
.fl-arrow { position: absolute; right: 23px; top: 57px; width: 56px; height: 56px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 7h28M22 1l6 6-6 6' fill='none' stroke='%23153250' stroke-width='1.6'/%3E%3C/svg%3E") center / 30px no-repeat; transition: transform .2s ease; }
.fl-card:hover .fl-arrow { transform: translateX(4px); }
.fl-btn { position: absolute; right: 24px; top: 89px; display: grid; place-items: center; width: 302px; max-width: calc(100% - 52px); height: 53px; border-radius: 70px; background: var(--sun-yellow); color: var(--white); font-size: 14.6px; letter-spacing: .03em; text-transform: uppercase; transition: background .2s; }
.fl-card:hover .fl-btn { background: var(--sun-yellow-deep); }

/* ---------- Homes for sale */
/* Homes for Sale: full-bleed aerial hero running up under the header */
.hfs-hero { height: 620px; background: #6E8FB8; }
.hfs-hero .fah-hero-img { opacity: 1; object-position: 50% 8%; }
.hfs-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .18) 26%, rgba(255, 255, 255, 0) 42%), linear-gradient(0deg, rgba(24, 52, 96, .55) 0%, rgba(24, 52, 96, .28) 45%, rgba(24, 52, 96, 0) 75%); }
.hfs-hero .fah-hero-inner { z-index: 2; padding-top: 330px; }
.hfs-hero h1 { display: inline-block; max-width: none; font-size: 64px; line-height: 70px; text-shadow: 0 2px 18px rgba(20, 50, 80, .3); }
.hfs-hero h1::after { content: ""; display: block; height: 7px; margin-top: 4px; background: #F6AF1D; border-radius: 3px; }
@media (max-width: 860px) {
  .hfs-hero { height: 440px; }
  .hfs-hero .fah-hero-inner { padding-top: 220px; }
  .hfs-hero h1 { font-size: 42px; line-height: 48px; }
}
.hfs-band { position: relative; height: 238px; overflow: hidden; background: #335A97; }
.hfs-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hfs-band .wrap { position: relative; z-index: 1; padding-top: 65px; text-align: center; }
.hfs-band h1 { color: #FAF5EF; font-weight: 900; font-size: 54.2px; line-height: 65px; letter-spacing: -0.02em; }
.hfs-band h1::after { content: ""; display: block; width: 408px; max-width: 80%; height: 7px; margin: 0 auto; background: #F6AF1D; }
.hfs { padding: 57px 0 96px; }
.hfs-grid { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 27px; align-items: start; }
.filters { background: var(--white); border-radius: 20px; padding: 24px 22px 24px 25px; color: #153250; }
.filters form { display: grid; gap: 8px; }
.filters-title { margin: 0 0 6px; padding-bottom: 1px; border-bottom: 1px solid #D9D9D9; font-weight: 900; font-size: 14.5px; line-height: 32px; letter-spacing: -0.03em; text-transform: uppercase; }
.filters fieldset { border: 0; margin: 0; padding: 0 0 0 3px; min-width: 0; }
.filters legend { padding: 0; font-weight: 900; font-size: 14.5px; line-height: 35.5px; letter-spacing: -0.03em; color: #153250; }
.opts { display: grid; padding-left: 17px; }
.opts.two { grid-template-columns: 76px 76px; row-gap: 1px; }
.opts label { display: flex; align-items: center; gap: 13px; font-size: 14.5px; line-height: 23px; letter-spacing: -0.03em; cursor: pointer; }
.opts small { font-size: 10px; }
.filters input { appearance: none; -webkit-appearance: none; flex: none; width: 13px; height: 13px; margin: 0; border: 1px solid #DEDEDE; border-radius: 3px; background: var(--white); cursor: pointer; }
.filters input:checked { background: #335A97; box-shadow: inset 0 0 0 1px #fff; }
.filter-btn { justify-self: start; margin: 26px 0 0 6px; width: 173px; height: 35px; border: 1px solid #335A97; border-radius: 30px; background: var(--white); color: #335A97; font: 500 14px var(--font-display); letter-spacing: -0.03em; cursor: pointer; transition: background .2s, color .2s; }
.filter-btn:hover { background: #335A97; color: var(--white); }
.results-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hfs-results { position: relative; }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
/* Listing card, matched to the Vercel build */
.home-card { display: block; border-radius: 21px; text-decoration: none; transition: box-shadow .25s ease; }
.home-card:hover { box-shadow: 0 14px 34px rgba(20, 50, 80, .14); }
.home-card[hidden] { display: none; }
.home-card-in { display: block; height: 100%; padding: 14px; border-radius: 21px; background: var(--white); box-shadow: 0 1px 2px rgba(20, 50, 80, .05); }
.home-img { position: relative; display: block; aspect-ratio: 284 / 167; border-radius: 21px; overflow: hidden; background: linear-gradient(135deg, #C9D8E0, #E8DCC8); }
.home-img img { width: 100%; height: 100%; object-fit: cover; }
.home-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #FAF5F0; color: #325A96; font-weight: 900; font-size: 10px; line-height: 15px; letter-spacing: -0.02em; text-transform: uppercase; }
.home-badge i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #22C55E; }
.home-badge.is-under-contract { background: #F5AF1C; color: var(--white); }
.home-badge.is-sold { background: #D91E37; color: var(--white); }
.home-badge.is-under-contract i, .home-badge.is-sold i { background: var(--white); }
.home-body { display: block; padding: 8px 6px 6px; }
.home-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #143250; font-size: 15px; line-height: 22.5px; letter-spacing: -0.03em; }
.home-title strong { font-weight: 900; text-transform: uppercase; }
.home-sf { flex: none; text-decoration: underline 3px #F5AF1C; text-underline-offset: 2px; }
.home-address { display: block; color: #143250; font-size: 11px; line-height: 16.5px; letter-spacing: -0.03em; }
.home-no { color: #9499AD; }
.home-price { display: block; margin-top: 4px; color: #325A96; font-weight: 900; font-size: 22px; line-height: 33px; letter-spacing: -0.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #C8C4C0; border-radius: 999px; color: #C8C4C0; font-size: 11px; line-height: 16.5px; letter-spacing: -0.03em; white-space: nowrap; }
.chip-icon { width: 12px; height: 12px; object-fit: contain; filter: grayscale(1) opacity(.45); }
.empty-state { margin-top: 0; }

/* ---------- Listing detail */
.hd { padding: 45px 0 96px; }
.hd-back { display: inline-flex; align-items: center; gap: 10px; height: 26px; margin-left: -3px; color: #335A97; font-size: 14px; letter-spacing: -0.03em; text-decoration: none; }
.hd-back::before { content: ""; width: 9px; height: 9px; margin-left: 9px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.hd-back:hover { color: var(--sun-yellow-deep); }
.hd-top { display: grid; grid-template-columns: minmax(0, 667fr) minmax(0, 544fr); gap: 21px; margin-top: 38px; align-items: start; }
.hd-media.viewer { gap: 18px; }
.hd-media .viewer-main { aspect-ratio: 667 / 346; border-radius: 21px; }
.hd-thumbs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hd-thumbs .thumb { width: auto; aspect-ratio: 159 / 83; border: 0; border-radius: 10px; outline-offset: -3px; }
.hd-thumbs .thumb.is-active { outline: 3px solid var(--sun-yellow); }
.hd-thumbs .thumb:nth-of-type(n+5) { display: none; }
.hd-thumbs.show-all .thumb:nth-of-type(n+5) { display: block; }
.see-more { position: absolute; bottom: 8px; right: 9px; width: 85px; height: 23px; border: 0; border-radius: 6px; background: var(--white); color: #335A97; font: 500 10.4px var(--font-display); letter-spacing: -0.03em; cursor: pointer; }
.hd-card { min-height: 440px; padding: 25px 38px 30px; background: var(--white); border: 2px solid rgba(51, 90, 151, 0.4); border-radius: 20px; color: #153250; }
.hd-card p { max-width: none; }
.hd-price { color: #335A97; font-weight: 900; font-size: 42.2px; line-height: 64.6px; letter-spacing: -0.03em; }
.hd-name { margin-top: 18px; font-size: 18px; line-height: 26px; letter-spacing: -0.03em; }
.hd-name strong { font-weight: 900; text-transform: uppercase; }
.hd-name span { margin: 0 9px; font-weight: 900; }
.hd-address { margin-top: 10px; color: #153250; font-weight: 500; font-size: 26px; line-height: 32px; letter-spacing: -0.03em; text-wrap: pretty; }
.hd-comm { margin-top: 5px; font-size: 20px; line-height: 25px; letter-spacing: -0.03em; }
.hd-chips { margin-top: 43px; padding: 0; gap: 6px; }
.hd-chips .chip { height: 38px; padding: 0 17px 0 18px; gap: 9px; border-width: 1.05px; border-radius: 32px; color: #335A97; font-size: 16.8px; }
.hd-chips .chip-icon { width: 18px; height: 18px; filter: none; }
.hd-status { margin-top: 23px; font-size: 20px; line-height: 25px; letter-spacing: -0.03em; }
.hd-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 23px; }
.hd-btn { display: grid; place-items: center; width: 216px; height: 46px; border: 1px solid #335A97; border-radius: 30px; color: #335A97; font-size: 14px; letter-spacing: -0.03em; text-decoration: none; transition: background .2s, color .2s; }
.hd-btn:hover { background: #335A97; color: #FAF5EF; }
.hd-btn.solid { background: #335A97; color: #FAF5EF; }
.hd-btn.solid:hover { background: var(--sunriver-blue-deep); }
.hd-btn.yellow { width: 266px; border: 0; background: #F5AF1C; color: #335A97; }
.hd-btn.yellow:hover { background: var(--sun-yellow-deep); color: #153250; }
.hd-mls { margin-top: 14px; font-size: 12px; opacity: .7; }
.hd-desc { display: grid; grid-template-columns: minmax(0, 1fr) 490px; gap: 40px; margin-top: 51px; padding: 19px 31px 22px 39px; min-height: 323px; background: var(--white); border-radius: 20px; }
.hd-desc-text { padding-top: 39px; }
.hd-desc h2 { color: #335A97; font-weight: 500; font-size: 28px; line-height: 34px; letter-spacing: -0.03em; }
.hd-desc p { max-width: 609px; margin-top: 22px; color: #153250; font-size: 16px; line-height: 25.4px; letter-spacing: -0.03em; }
.hd-map { height: 282px; background: var(--riverbed-sand); }
.hd-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hd-bottom { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 23px; margin-top: 44px; }
.hd-bottom.solo { grid-template-columns: minmax(0, 1fr); }
.hd-founders { position: relative; min-height: 276px; padding: 39px 14px 24px 24px; border-radius: 20px; background: #335A97; color: #FAF5EF; text-decoration: none; }
.hd-founders h2 { text-wrap: wrap; max-width: 262px; color: #FAF5EF; font-weight: 900; font-size: 30.2px; line-height: 27.2px; letter-spacing: -0.05em; }
.hd-founders h2 span { color: #F6AF1D; }
.hd-founders p { max-width: 117px; margin-top: 14px; font-size: 16px; line-height: 20.4px; letter-spacing: -0.03em; }
.hd-badge { position: absolute; right: 2px; bottom: -10px; width: 160px; transition: transform .3s ease; }
.hd-founders:hover .hd-badge { transform: rotate(-4deg) scale(1.03); }
.hd-sales { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 442px; min-height: 276px; background: var(--white); border-radius: 20px; }
.hd-sales-text { padding: 42px 20px 40px 61px; }
.hd-sales h2 { color: #335A96; font-weight: 900; font-size: 30.4px; line-height: 27px; letter-spacing: -0.02em; }
.hd-q { margin-top: 13px; color: #335A96; font-weight: 900; font-size: 18px; line-height: 18.3px; letter-spacing: .1em; text-transform: uppercase; }
.hd-contact { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 16px; color: #335A96; font-size: 20px; line-height: 18.3px; letter-spacing: -0.03em; }
.hd-contact a { text-decoration: none; }
.hd-contact a:hover { text-decoration: underline; text-decoration-color: var(--sun-yellow); }
.hd-sales .hd-btn.yellow { margin-top: 37px; }
.hd-team { position: relative; }
.hd-team img { position: absolute; right: 0; bottom: 0; width: 442px; max-width: none; border-radius: 0 0 22px 22px; }
.hd-videos { padding: 0 0 96px; }

@media (max-width: 1240px) {
  .fp-grid { justify-content: space-evenly; }
}
@media (max-width: 1100px) {
  .hd-top, .hd-desc { grid-template-columns: minmax(0, 1fr); }
  .hd-card { min-height: 0; }
  .hd-desc-text { padding-top: 20px; }
  .hd-bottom { grid-template-columns: minmax(0, 1fr); }
  .hd-founders { min-height: 230px; }
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
}
@media (max-width: 860px) {
  .fah-hero { height: 520px; }
  .fah-hero-inner { padding-top: 190px; }
  .fah-hero h1 { font-size: 36px; line-height: 34px; }
  .fah-hero p { font-size: 19px; line-height: 23px; }
  .fah-links-grid { grid-template-columns: minmax(0, 499px); }
  .hfs-grid { grid-template-columns: minmax(0, 1fr); }
  .filters-body { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .filters-title, .filter-btn { grid-column: 1 / -1; }
  .hd-sales { grid-template-columns: minmax(0, 1fr); }
  .hd-team { height: 260px; overflow: hidden; border-radius: 0 0 20px 20px; }
  .hd-team img { left: 50%; right: auto; transform: translateX(-50%); width: 380px; border-radius: 0; }
}
@media (max-width: 640px) {
  .fp-grid { justify-content: center; }
  .hfs-band h1 { font-size: 40px; }
  .hfs-band .wrap { padding-top: 72px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .fl-bar, .fl-card.tall .fl-bar { height: auto; min-height: 132px; padding-bottom: 24px; }
  .fl-title { font-size: 30px; }
  .fl-btn { position: static; margin-top: 18px; width: 100%; max-width: none; }
  .fl-arrow { top: auto; bottom: 20px; }
  .hd-price { font-size: 34px; line-height: 48px; }
  .hd-address { font-size: 22px; line-height: 28px; }
  .hd-card { padding: 20px 22px 26px; }
  .hd-btn { width: 100%; }
  .hd-chips .chip { font-size: 14px; height: 34px; padding: 0 12px; }
  .hd-desc { padding: 16px; gap: 20px; }
  .hd-sales-text { padding: 32px 24px; }
  .hd-btn.yellow { width: 100%; }
}

/* =====================================================================
   Scrolling: a header that tucks into a slim bar, and content that settles
   in once as it enters the screen. Nothing loops, nothing follows the pointer,
   and all of it switches off for people who ask for reduced motion.
   ===================================================================== */
/* Header on scroll (like tripointehomes.com): the logo and nav scroll away with the page;
   scrolling back up brings the nav pill back on its own, floating, without the logo. */
.site-header.overlay { transition: none; }
.site-header.is-fixed { position: fixed; transform: translateY(-110%); }
.site-header.is-fixed.is-shown { transform: none; }
.site-header.is-fixed.is-anim { transition: transform .32s cubic-bezier(.22, .61, .36, 1); }
.site-header.is-fixed .header-inner { padding-top: 16px; }
.site-header.is-fixed .logo { visibility: hidden; opacity: 0; pointer-events: none; }
.site-header.is-fixed .founders-tab { display: none; }
.site-header.is-fixed .pill-nav { margin-top: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 28px rgba(20, 40, 80, .14); }
@media (max-width: 1020px) {
  .site-header.is-fixed .header-inner { padding-top: 12px; }
  .site-header.is-fixed .menu-toggle { background: rgba(255, 255, 255, .92); border-radius: 50%; box-shadow: 0 6px 20px rgba(20, 40, 80, .14); }
}

.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .site-header.is-fixed.is-anim { transition: none; }
}

/* Homepage: more breathing room between sections (about 40% more than the Figma frame) */
.home .h4-story-inner { padding-top: clamp(72px, 8.3vw, 120px); min-height: 680px; }
.home .h4-live { padding: clamp(150px, 19vw, 280px) 0 clamp(110px, 12.5vw, 180px); }
.home .h4-years { padding-block: clamp(40px, 5.5vw, 80px); }
.home .h4-homes { padding: clamp(80px, 9vw, 130px) 0 clamp(120px, 15vw, 220px); }
.home .h4-begin-inner { padding-block: clamp(90px, 8.3vw, 120px); }
.home .chat { padding-block: clamp(80px, 10vw, 150px); }
@media (max-width: 760px) {
  .home .h4-story-inner { min-height: 0; }
}

.viewer-main img.is-drawing { object-fit: contain; background: var(--white); padding: 10px; }
.hd-thumbs .thumb[data-fit="contain"] img { object-fit: contain; background: var(--white); }

/* =====================================================================
   Floor plan pages: OFFICIAL Figma floor plan detail frame (the "Hamlet" version
   of "Homes for Sale Home Detail"). Measurements from the 1440px frame.
   ===================================================================== */
.pd .hd-back { margin-bottom: 0; }
.pd-num { margin-top: 56px; color: var(--sun-yellow); font-weight: 900; font-size: 16px; line-height: 18px; letter-spacing: -0.02em; }
.pd-title { margin-top: 2px; color: #335A97; font-weight: 900; font-size: 88px; line-height: 0.9; letter-spacing: -0.03em; }
.pd-top { display: grid; grid-template-columns: minmax(0, 667fr) minmax(0, 540fr); gap: 23px; margin-top: 30px; align-items: start; }
.pd .hd-media .viewer-main { aspect-ratio: 667 / 346; border-radius: 21px; }
.pd-card { padding: 30px 37px 37px; background: var(--white); border-radius: 20px; color: #153250; }
.pd-card p { max-width: none; }
.pd-price { color: #335A97; font-weight: 900; font-size: 40px; line-height: 48px; letter-spacing: -0.03em; }
.pd-line { margin-top: 6px; font-size: 16px; line-height: 22px; letter-spacing: -0.03em; }
.pd-line sup { font-size: 9px; vertical-align: 6px; line-height: 0; }
.pd-line strong { margin-left: 12px; font-weight: 900; }
.pd-story { margin-top: 12px; max-width: 430px !important; font-size: 14.5px; line-height: 25px; letter-spacing: -0.03em; }
.pd-chips { margin-top: 26px; padding: 0; gap: 10px 8px; }
.pd-chips .chip { height: 37px; padding: 0 16px; gap: 8px; border: 1px solid #C8C4C0; border-radius: 30px; color: #335A97; font-size: 14px; }
.pd-chips .chip-icon { width: 16px; height: 16px; filter: none; }
.pd-feat-title { margin-top: 30px; color: #153250; font-weight: 500; font-size: 17px; line-height: 22px; letter-spacing: -0.03em; }
.pd-feats { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 0; }
.pd-feats li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 33px; letter-spacing: -0.02em; }
.pd-feats li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--sun-yellow); }
.pd-card .hd-actions { margin-top: 30px; gap: 12px; }
.pd-card .hd-btn { width: 215px; height: 45px; }
.pd-plan { margin-top: 50px; padding: 70px 24px 70px; background: var(--white); border-radius: 20px; text-align: center; }
.pd-plan h2, .pd-tour h2, .pd-others h2 { color: #335A97; font-weight: 900; font-size: 36px; line-height: 40px; letter-spacing: -0.03em; text-align: center; }
.pd-plan-img { display: block; width: min(467px, 100%); margin: 60px auto 0; cursor: zoom-in; }
.pd-plan-img img { width: 100%; height: auto; }
.pd-tour { margin-top: 88px; }
.pd-tour-frame { width: min(1025px, 100%); aspect-ratio: 1025 / 577; margin: 50px auto 0; border-radius: 20px; overflow: hidden; background: #153250; }
.pd-tour-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.pd-others { margin-top: 140px; }
.pd-others-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 380px)); justify-content: space-between; gap: 30px; margin-top: 80px; }
.po-card { display: block; text-decoration: none; border-radius: 20px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.po-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.po-img { display: block; height: 207px; background: var(--white); }
.po-img img { width: 100%; height: 100%; object-fit: cover; }
.po-bar { position: relative; display: block; height: 78px; padding: 10px 20px 0; background: #335A97; }
.po-sqft { display: block; color: var(--sun-yellow); font-size: 13px; line-height: 18px; letter-spacing: -0.02em; }
.po-name { display: block; margin-top: 4px; color: #FAF5EF; font-weight: 900; font-size: 30px; line-height: 30px; letter-spacing: -0.03em; text-transform: uppercase; }
.po-go { position: absolute; right: 18px; top: 19px; width: 40px; height: 40px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 7h28M22 1l6 6-6 6' fill='none' stroke='%23335A97' stroke-width='1.8'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform .2s ease; }
.po-card:hover .po-go { transform: translateX(3px); }
.pd .hd-bottom { margin-top: 130px; }
@media (max-width: 1100px) {
  .pd-top { grid-template-columns: minmax(0, 1fr); }
  .pd-title { font-size: 64px; }
}
@media (max-width: 860px) {
  .pd-others-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-others { margin-top: 90px; }
  .pd .hd-bottom { margin-top: 80px; }
}
@media (max-width: 560px) {
  .pd-title { font-size: 48px; }
  .pd-card { padding: 24px 20px 28px; }
  .pd-feats { grid-template-columns: minmax(0, 1fr); }
  .pd-card .hd-btn { width: 100%; }
  .pd-plan h2, .pd-tour h2, .pd-others h2 { font-size: 28px; line-height: 32px; }
}

/* =====================================================================
   Floor Plans page: OFFICIAL Figma "Homes for Sale / Model Homes NEW" (6:206).
   Three 391px cards per row, 32px apart, 27px between rows.
   ===================================================================== */
.mh-section { padding: 45px 0 140px; }
.mh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px 32px; }
.mh-card { position: relative; display: flex; flex-direction: column; min-height: 378px; border-radius: 20px; overflow: hidden; background: #F9F5F1; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.mh-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.mh-img { position: relative; display: block; height: 215px; background: var(--riverbed-sand); }
.mh-img img { width: 100%; height: 100%; object-fit: cover; }
.mh-tag { position: absolute; left: 10px; top: 18px; display: grid; place-items: center; height: 26px; padding: 0 22px; border-radius: 20px; background: var(--sun-yellow); color: var(--white); font-weight: 900; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; }
.mh-body { position: relative; display: block; padding: 13px 22px 22px; }
.mh-num { display: block; color: #153250; font-size: 12px; line-height: 16px; letter-spacing: -0.02em; }
.mh-name { display: block; margin-top: 4px; color: var(--sun-yellow); font-weight: 900; font-size: 28px; line-height: 30px; letter-spacing: -0.02em; text-transform: uppercase; }
.mh-spec { display: block; margin-top: 4px; color: #335A97; font-size: 13px; line-height: 18px; letter-spacing: -0.02em; }
.mh-price { display: block; margin-top: 12px; color: #335A97; font-family: var(--font-serif); font-size: 30px; line-height: 34px; letter-spacing: -0.03em; }
.mh-go { position: absolute; right: 26px; bottom: 30px; width: 10px; height: 10px; border-right: 2px solid #E2DBD2; border-top: 2px solid #E2DBD2; transform: rotate(45deg); transition: border-color .2s, transform .2s; }
.mh-card:hover .mh-go { border-color: #335A97; transform: translateX(3px) rotate(45deg); }
@media (max-width: 1000px) { .mh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mh-grid { grid-template-columns: minmax(0, 1fr); } }
/* Floor Plans banner (updated frame): "Floor Plans" with a one-line serif subtitle */
.fp-banner .fah-hero-inner { padding-top: 328px; }
.fp-banner h1 { max-width: none; font-size: 67px; line-height: 64px; }
.fp-banner p { max-width: none; margin-top: 12px; font-size: 27px; line-height: 30px; }
.fah-hero.fp-banner .fp-banner-sub { color: var(--sun-yellow) !important; text-shadow: 0 1px 10px rgba(20, 50, 80, .35) !important; }
@media (max-width: 860px) {
  .fp-banner .fah-hero-inner { padding-top: 230px; }
  .fp-banner h1 { font-size: 44px; line-height: 46px; }
  .fp-banner p { font-size: 20px; }
}

/* Floor Plans page, lower sections (updated "Model Homes NEW" frame) */
.mh-section { padding-bottom: 196px; }
.fl-founders, .fl-smart { position: relative; overflow: hidden; }
.fl-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fl-founders { height: 524px; background: #335A97; }
.fl-founders .fl-bg { object-position: 50% 44%; }
.fl-founders::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(51, 90, 151, 0.74); }
.fl-founders-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-start; gap: 16px; padding-top: 116px; }
.fl-founders-text { width: 486px; margin-left: 100px; }
.fl-founders h2, .fl-smart h2 { font-weight: 900; font-size: 64px; line-height: 62px; letter-spacing: -0.03em; text-wrap: wrap; }
.fl-founders h2 { width: 720px; max-width: none; color: var(--white); }
.fl-founders h2 span { color: var(--sun-yellow); }
.fl-founders p { max-width: 470px; margin-top: 14px; color: var(--white); font-size: 14px; line-height: 18px; letter-spacing: -0.02em; }
.flp-btn { display: inline-grid; place-items: center; width: 300px; height: 48px; margin-top: 42px; border: 2px solid #335A97; border-radius: 30px; color: #335A97; font-weight: 900; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.flp-btn:hover { background: #335A97; color: var(--white); }
.flp-btn.light { border-color: var(--white); color: var(--white); }
.flp-btn.light:hover { background: var(--white); color: #335A97; }
.fl-badge { width: 204px; margin-top: 154px; margin-left: -16px; flex: none; }
.fl-trails { padding-top: 212px; text-align: center; background: var(--white); }
.fl-trails h2 { color: #335A97; font-family: var(--font-serif); font-weight: 500; font-size: 61px; line-height: 70px; letter-spacing: -0.02em; }
.fl-trails-img { display: block; width: 100%; height: 392px; margin-top: 64px; object-fit: cover; object-position: 50% 0; }
.fl-smart { height: 632px; background: #E9E1D6; }
.fl-smart .fl-bg { object-position: 50% 40%; }
.fl-smart::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(250, 245, 240, 0.78) 0%, rgba(250, 245, 240, 0.55) 40%, rgba(250, 245, 240, 0.3) 100%); }
.fl-smart-inner { z-index: 2; }
.fl-smart-inner { position: relative; z-index: 1; padding-top: 118px; padding-left: calc(var(--gutter) + 100px); }
.fl-smart h2 { max-width: 440px; color: #335A97; }
.fl-smart h2 span { position: relative; display: inline-block; }
.fl-smart h2 span::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -6px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 60 3, 150 2, 218 7' fill='none' stroke='%23F5AF1C' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.fl-smart p { max-width: 410px; margin-top: 20px; color: #153250; font-size: 14px; line-height: 18px; letter-spacing: -0.02em; }
@media (max-width: 860px) {
  .mh-section { padding-bottom: 100px; }
  .fl-founders { height: auto; }
  .fl-founders-inner { flex-direction: column; padding-block: 70px; }
  .fl-founders-text, .fl-founders h2 { width: auto; margin-left: 0; }
  .fl-smart-inner { padding-left: var(--gutter); }
  .fl-badge { margin: 10px 0 0; width: 150px; }
  .fl-founders h2, .fl-smart h2 { font-size: 42px; line-height: 42px; }
  .fl-trails { padding-top: 100px; }
  .fl-trails h2 { font-size: 40px; line-height: 46px; padding-inline: 16px; }
  .fl-trails-img { height: 240px; margin-top: 40px; }
  .fl-smart { height: auto; padding-bottom: 260px; }
  .fl-smart-inner { padding-top: 70px; }
  .fl-smart .fl-bg { object-position: 75% 50%; }
}

/* =====================================================================
   Live In page: OFFICIAL Figma "Live In" frame (work in progress).
   Content column starts 200px in from the 1440px frame edge.
   ===================================================================== */
.li-hero { background: #E9E4DD; }
.li-hero .fah-hero-img { opacity: 1; object-position: 50% 23%; }
.li-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.6) 28%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0) 72%); }
.li-btns.li-plans-more { margin-top: 48px; }
.li-hero .fah-hero-inner { z-index: 2; padding-top: 250px; }
.li-hero h1 { display: inline-block; max-width: none; font-size: 84px; line-height: 84px; text-shadow: 0 2px 18px rgba(20, 50, 80, 0.25); }
.li-hero h1::after { content: ""; display: block; height: 5px; margin-top: 6px; background: var(--sun-yellow); border-radius: 3px; }
.li-in { padding-left: calc(var(--gutter) + 100px); }
.li-intro { padding: 126px 0 120px; background: var(--white); }
.li-intro h2 { max-width: 620px; color: #335A97; font-weight: 900; font-size: 60px; line-height: 56px; letter-spacing: -0.03em; }
.li-serif { margin-top: 18px; color: #335A97; font-family: var(--font-serif); font-size: 22px; line-height: 26px; letter-spacing: -0.02em; }
.li-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.li-btns.center { justify-content: center; }
.li-btn { display: inline-grid; place-items: center; width: 300px; height: 52px; border: 2px solid #335A97; border-radius: 30px; color: #335A97; font-weight: 900; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.li-btn:hover { background: #335A97; color: var(--white); }
.li-btn.solid { border-color: #EDB443; background: #EDB443; color: var(--white); }
.li-btn.solid:hover { border-color: var(--sun-yellow-deep); background: var(--sun-yellow-deep); }
.li-btn.light { border-color: var(--white); color: var(--white); }
.li-btn.light:hover { background: var(--white); color: #EDB443; }
.li-btn.white { border-color: var(--white); background: var(--white); color: #EDB443; }
.li-btn.white:hover { background: transparent; color: var(--white); }
.li-eyebrow { color: #335A97; font-weight: 900; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.li-title { margin-top: 12px; color: #335A97; font-family: var(--font-serif); font-weight: 500; font-size: 52px; line-height: 52px; letter-spacing: -0.02em; text-wrap: wrap; }
.li-copy { max-width: 690px; margin-top: 22px; color: #335A97; font-size: 14.5px; line-height: 19px; letter-spacing: -0.02em; }
.li-plans { padding: 104px 0 124px; background: #FAF5F0; }
.li-plan-grid { display: grid; gap: 46px; margin-top: 88px; }
.li-plan-row { display: flex; gap: 46px; }
.li-plan-row.shift { margin-left: 228px; }
.li-plan-row .po-card { width: 380px; flex: none; }
.li-plan-row .po-img { height: 216px; }
.li-plan-row .po-bar { height: 72px; }
.li-visit { position: relative; overflow: hidden; height: 360px; background: #EDB443; }
.li-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.li-visit-inner { position: relative; z-index: 1; padding-top: 104px; text-align: center; }
.li-visit h2 { color: var(--white); font-family: var(--font-serif); font-weight: 500; font-size: 52px; line-height: 56px; letter-spacing: -0.02em; }
.li-visit .li-btns { margin-top: 38px; }
.li-ready { padding: 106px 0 126px; background: var(--white); }
.li-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 926px; margin-top: 70px; }
.li-step { margin-top: 128px; }
.li-step::before { content: ""; display: block; width: 104px; height: 3px; background: #EDB443; }
.li-step h2 { margin-top: 18px; color: #335A97; font-weight: 900; font-size: 44px; line-height: 48px; letter-spacing: -0.03em; }
.li-step p { margin-top: 8px; color: #335A97; font-size: 14px; }
.li-step .li-btn { margin-top: 30px; }
.li-lots { padding: 104px 0 140px; background: #FAF5F0; }
@media (max-width: 1100px) {
  .li-in { padding-left: var(--gutter); }
  .li-plan-row.shift { margin-left: 0; }
}
@media (max-width: 860px) {
  .li-plan-row { flex-direction: column; }
  .li-plan-row .po-card { width: 100%; }
  .li-home-grid { grid-template-columns: minmax(0, 1fr); }
  .li-intro h2 { font-size: 42px; line-height: 42px; }
  .li-title { font-size: 38px; line-height: 40px; }
  .li-visit { height: auto; padding-bottom: 80px; }
  .li-visit-inner { padding-top: 70px; }
  .li-visit h2 { font-size: 38px; line-height: 42px; }
  .li-hero h1 { font-size: 60px; line-height: 64px; }
  .li-lots { padding-bottom: 90px; }
}

/* Lot map (Live In, "Pick your spot."), art from the Illustrator export */
.lotmap { position: relative; max-width: 1034px; margin-top: 48px; }
.lotmap-scroll { position: relative; width: 100%; min-width: 0; }
/* The map sits in its own window: drag to pan, pinch or the buttons to zoom */
.lotmap-window { height: 760px; overflow: hidden; border-radius: 24px; background: #F1EEE9; box-shadow: inset 0 0 0 1px rgba(51, 90, 151, .12); touch-action: pan-y; cursor: grab; }
.lotmap-window.is-zoomed { touch-action: none; }
.lotmap-window.is-dragging { cursor: grabbing; }
.lotmap-window.is-dragging .lm-lot { cursor: grabbing !important; }
.lotmap-stage { position: absolute; left: 0; top: 0; width: 1000px; transform-origin: 0 0; will-change: transform; }
.lotmap-stage.is-easing { transition: transform .32s cubic-bezier(.22, .61, .36, 1); }
.lotmap-zoom { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: grid; overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: 0 6px 20px rgba(20, 40, 80, .16); }
.lotmap-zoom button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: var(--white); color: #335A97; cursor: pointer; transition: background .18s ease; }
.lotmap-zoom button + button { border-top: 1px solid rgba(51, 90, 151, .12); }
.lotmap-zoom button:hover { background: #FAF5F0; }
.lotmap-zoom button:disabled { color: rgba(51, 90, 151, .3); cursor: default; background: var(--white); }
.lotmap-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lotmap-hint { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 20px; background: rgba(51, 90, 151, .88); color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; transition: opacity .4s ease; }
.lotmap-hint.is-gone { opacity: 0; }
.lotmap-svg { display: block; width: 100%; height: auto; }
/* only the lot shapes take the pointer: labels, numbers and the rest of the art let it pass straight through to the lot */
.lotmap-svg { -webkit-user-select: none; user-select: none; }
.lotmap-svg * { pointer-events: none; }
.lotmap-svg .lm-lot { pointer-events: auto; }
.lotmap-svg .lm-lot { cursor: default; outline: none; stroke: rgba(51, 90, 151, 0); stroke-width: 1.6px; transition: filter .22s cubic-bezier(.22, .61, .36, 1), stroke .22s cubic-bezier(.22, .61, .36, 1); }
.lotmap-svg .lm-lot[data-tip] { cursor: pointer; }
.lotmap-svg .lm-lot:not([data-tip]) { pointer-events: none; }
.lotmap-svg .lm-lot[data-tip].is-hot, .lotmap-svg .lm-lot[data-tip]:hover, .lotmap-svg .lm-lot[data-tip]:focus-visible { filter: brightness(.93); stroke: rgba(51, 90, 151, .9); }
.lm-marks { pointer-events: none; }
.lm-marks text { font-family: var(--font-display); font-weight: 500; font-size: 9.93px; text-anchor: middle; }
/* Lot card that floats over the map */
.lotmap-card { position: absolute; z-index: 3; opacity: 0; transform: translateY(8px) scale(.97); transform-origin: 50% 100%; pointer-events: none;
  transition: opacity .2s cubic-bezier(.22, .61, .36, 1), transform .24s cubic-bezier(.22, .61, .36, 1); }
.lotmap-card.is-below { transform: translateY(-8px) scale(.97); transform-origin: 50% 0; }
.lotmap-card.is-open { opacity: 1; transform: none; pointer-events: auto; }
.lotmap-card.is-moving { transition: opacity .2s cubic-bezier(.22, .61, .36, 1), transform .24s cubic-bezier(.22, .61, .36, 1), left .22s cubic-bezier(.22, .61, .36, 1), top .22s cubic-bezier(.22, .61, .36, 1); }
.lotmap-card[hidden] { display: none; }
.lmc-card { transition: box-shadow .2s ease; }
@media (prefers-reduced-motion: reduce) { .lotmap-card, .lotmap-card.is-moving, .lotmap-svg .lm-lot { transition: opacity .12s linear; transform: none; } }
.lmc-card { display: block; overflow: hidden; border-radius: 18px; text-decoration: none; box-shadow: 0 14px 34px rgba(20, 40, 80, .28); }
.lmc-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #E9E4DD; }
.lmc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Option 1: light, a small version of the floor plan card */
.card-light .lotmap-card { width: 240px; }
.lmc-bar { position: relative; display: block; padding: 10px 62px 12px 16px; background: #335A97; }
.lmc-meta { display: block; color: var(--sun-yellow); font-size: 12px; line-height: 16px; letter-spacing: -0.01em; }
.lmc-name { display: block; margin-top: 2px; color: #FAF5EF; font-weight: 900; font-size: 22px; line-height: 24px; letter-spacing: -0.03em; text-transform: uppercase; }
.lmc-bar .po-go { top: 50%; right: 14px; width: 34px; height: 34px; margin-top: -17px; background-size: 18px; }
.lmc-card:hover .po-go { transform: translateX(3px); }
/* Option 2: more info */
.card-detail .lotmap-card { width: 300px; }
.lmc-detail { background: var(--white); }
.lmc-pill { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 20px; background: var(--white); color: #335A97; font-weight: 900; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.lmc-pill.is-sold { background: #D91E37; color: var(--white); }
/* sold lots: the hover outline and card go red to match */
.lmc-card.is-sold .lmc-bar { background: #D91E37; }
.lmc-card.is-sold .lmc-meta { color: #FFE2E6; }
.lmc-detail.is-sold .lmc-title, .lmc-detail.is-sold .lmc-eyebrow { color: #D91E37; }
.lmc-detail.is-sold .lmc-cta { color: #D91E37; }
.lmc-detail.is-sold .lmc-arrow { background-color: #D91E37; }
.lmc-pill.is-available { background: var(--sun-yellow); color: var(--white); }
.lmc-pill.solo { position: static; display: inline-block; margin: 18px 0 0 20px; border: 1px solid rgba(51, 90, 151, .2); }
.lmc-body { display: grid; gap: 6px; padding: 16px 20px 20px; }
.lmc-eyebrow { color: #335A97; font-weight: 900; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: .7; }
.lmc-title { color: #335A97; font-weight: 900; font-size: 24px; line-height: 26px; letter-spacing: -0.03em; }
.lmc-spec { color: #335A97; font-size: 13px; line-height: 17px; }
.lmc-price { margin-top: 2px; color: #335A97; font-family: var(--font-serif); font-size: 24px; line-height: 28px; letter-spacing: -0.02em; }
.lmc-note { color: #335A97; font-size: 13px; line-height: 18px; }
.lmc-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(51, 90, 151, .14); color: #EDB443; font-weight: 900; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.lmc-arrow { width: 34px; height: 34px; border-radius: 50%; background: #335A97 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 7h28M22 1l6 6-6 6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease; }
.lmc-detail:hover .lmc-arrow { transform: translateX(3px); }
/* Preview switch (temporary, while choosing a card style) */
.lotmap-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; color: #335A97; font-size: 13px; font-weight: 700; }
.lotmap-preview button { padding: 8px 16px; border: 2px solid #335A97; border-radius: 30px; background: transparent; color: #335A97; font: inherit; font-weight: 900; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.lotmap-preview button[aria-pressed="true"] { background: #335A97; color: var(--white); }
.lotmap-preview + .lotmap { margin-top: 24px; }
.lotmap-key { position: absolute; top: 16px; left: 16px; z-index: 2; list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 9px; border-radius: 16px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 20px rgba(20, 40, 80, .12); color: #335A97; font-size: 13px; font-weight: 700; pointer-events: none; }
.lotmap-key li { display: flex; align-items: center; gap: 9px; }
.lotmap-key .sw { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(51, 90, 151, .2); }
.sw-open { background: #fff; }
.sw-sold { background: #D91E37; }
.sw-model { background: #8EC4DD; }
.sw-future { background: #BACED6; }
.sw-plan { background: linear-gradient(135deg, #297AA7 0 25%, #C16089 25% 50%, #8070AF 50% 75%, #EAE188 75%); }
@media (max-width: 860px) {

  .lotmap-scroll { flex: none; width: 100%; }
  .lotmap-window { height: min(72vh, 600px); border-radius: 20px; }
  .lotmap-hint { bottom: 16px; left: 16px; transform: none; font-size: 11px; }
  .lotmap-key { top: 10px; left: 10px; padding: 8px 10px; gap: 5px 12px; grid-template-columns: repeat(2, auto); font-size: 10.5px; }
  .lotmap-key .sw { width: 14px; height: 14px; }
}

/* Live Out (patterned on Live In) */
.lo-hero .fah-hero-img { object-position: 50% 45%; }
.lo-region-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; margin-top: 56px; max-width: 1080px; }
.lo-region h3, .lo-trails h3, .lo-nearby h3 { color: #335A97; font-weight: 900; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.lo-times ul, .lo-near ul { list-style: none; margin: 16px 0 0; padding: 0; }
.lo-times li, .lo-near li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(51, 90, 151, .16); color: #335A97; font-size: 15px; line-height: 19px; }
.lo-times li strong, .lo-near li strong { flex: none; font-weight: 900; color: #EDB443; }
.lo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
/* Destination cards, Figma "Elements" 2: photo with a blue tab pinned to the right edge */
.lo-card { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 356 / 237; background: #335A97; }
.lo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.lo-card:hover img { transform: scale(1.04); }
.lo-card-text { position: absolute; right: 0; bottom: 28px; z-index: 1; display: grid; justify-items: end; gap: 1px; min-width: 62%; max-width: 92%; padding: 7px 14px 8px 26px; border-radius: 24px 0 0 24px; background: #3D5C9A; color: var(--white); text-align: right; }
.lo-card-text strong { font-weight: 900; font-size: 18px; line-height: 21px; letter-spacing: -0.02em; }
.lo-card-text span { font-weight: 900; font-size: 12px; line-height: 14px; }
.lo-also { margin-top: 18px; color: #335A97; font-size: 14.5px; line-height: 19px; }
.lo-weather { margin-top: 80px; max-width: 1080px; padding-top: 44px; border-top: 3px solid #EDB443; }
.lo-weather h3 { font-family: var(--font-serif); font-weight: 500; font-size: 32px; line-height: 36px; letter-spacing: -0.02em; text-transform: none; }
.lo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 30px; }
.lo-stats strong { display: block; color: #335A97; font-weight: 900; font-size: 56px; line-height: 56px; letter-spacing: -0.03em; }
.lo-stats span { display: block; margin-top: 8px; color: #335A97; font-size: 14.5px; line-height: 19px; }
.lo-trails { position: relative; padding-bottom: 0; overflow: hidden; }
.lo-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1080px; margin-top: 52px; }
.lo-col { padding-top: 22px; border-top: 3px solid #EDB443; }
.lo-col p { margin-top: 10px; color: #335A97; font-size: 15px; line-height: 21px; }
.lo-trail-img { margin-top: 40px; }
.lo-trail-img img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: 50% 0; }
.lo-nearby { padding-bottom: 130px; }
.lo-near-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1080px; margin-top: 52px; }
.lo-nearby .li-btns { margin-top: 56px; }
@media (max-width: 960px) {
  .lo-region-grid, .lo-near-grid, .lo-cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lo-stats { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .lo-trail-img img { height: 320px; }
}
@media (max-width: 520px) {
  .lo-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Live Out, Figma "LIVE OUT" (255:900) */
.lo-hero .fah-hero-img { object-position: 50% 38%; }
.lo-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; max-width: 1040px; margin-top: 56px; }
.lo-photo { aspect-ratio: 320 / 245; }
.lo-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(10, 18, 34, 0), rgba(10, 18, 34, .72)); pointer-events: none; }
.lo-photo-text { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; display: grid; gap: 2px; color: var(--white); }
.lo-photo-text strong { font-weight: 900; font-size: 18px; line-height: 22px; letter-spacing: -0.02em; }
.lo-photo-text span { font-weight: 500; font-size: 12px; line-height: 15px; opacity: .92; }
.lo-region .lo-weather { max-width: 1040px; margin-top: 104px; padding-top: 0; border-top: 0; text-align: center; }
.lo-region .lo-weather h3 { color: #335A97; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.lo-region .lo-stats { max-width: 860px; margin: 44px auto 0; }
.lo-region .lo-stats strong { color: #EDB443; font-size: 64px; line-height: 64px; }
.lo-region .lo-stats span { max-width: 240px; margin: 10px auto 0; font-size: 14px; line-height: 18px; }
.lo-visit { position: relative; z-index: 1; height: 450px; margin-top: 0; background: #3D5C9A; }
.lo-visit-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.lo-visit-inner { position: relative; height: 100%; }
.lo-visit-text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 680px; }
.lo-visit h2 { color: var(--white); font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 62px; letter-spacing: -0.035em; }
.lo-visit .li-btns { margin-top: 40px; }
.lo-visit .li-btn { width: 300px; }
.lo-btn-blue.li-btn.solid { color: #335A97; }
.lo-visit-couple { position: absolute; right: 3%; bottom: 0; z-index: 1; width: min(50%, 682px); height: calc(100% + 125px); pointer-events: none; }
.lo-visit-couple img { position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.lo-nearby { background: var(--white); padding-bottom: 40px; }
.lo-nearby .lo-near-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 64px; max-width: 1040px; }
.lo-nearby .lo-near ul { display: grid; gap: 18px; margin-top: 22px; }
.lo-nearby .lo-near li { align-items: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px; background: #FAF5F0; font-size: 14px; }
.lo-nearby .lo-near li strong { color: #335A97; }
@media (max-width: 960px) {
  .lo-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .lo-region .lo-weather h3 { font-size: 30px; line-height: 34px; }
  .lo-region .lo-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .lo-region .lo-stats strong { font-size: 44px; line-height: 46px; }
  .lo-visit { height: auto; padding-top: 72px; }
  .lo-visit-text { height: auto; max-width: none; }
  .lo-visit h2 { font-size: 46px; line-height: 46px; }
  .lo-visit-couple { position: relative; right: auto; width: min(100%, 440px); height: auto; margin: 24px auto 0; aspect-ratio: 682 / 575; }
  .lo-nearby .lo-near-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 560px) {
  .lo-photos { grid-template-columns: minmax(0, 1fr); }
  .lo-region .lo-stats { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lo-visit .li-btn { width: 100%; }
  .lo-nearby .lo-near li { padding: 0 18px; }
}

/* Live On 01, Figma "LIVE ON": photo mosaic, start-your-own note, what's running now */
.lon-clubs { padding-bottom: 0; }
.lon-mosaic { position: relative; width: min(896px, 100%); aspect-ratio: 896 / 746; margin: 64px 0 0 71px; }
.lon-defs { position: absolute; width: 0; height: 0; }
.lon-hero .fah-hero-img { object-position: 50% 56%; }
.lon-tile { position: absolute; overflow: hidden; border-radius: 30px; background: #335A97; }
.lon-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.lon-tile:hover img { transform: scale(1.04); }
.lon-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(10, 18, 34, 0), rgba(10, 18, 34, .7)); pointer-events: none; }
.lon-tile span { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: var(--white); font-weight: 900; font-size: 20px; line-height: 24px; letter-spacing: -0.02em; }
.lon-t-pottery { left: 0; top: 0; width: 35.49%; height: 59.79%; }
.lon-t-pottery img { object-position: 50% 60%; }
.lon-t-pilates { left: 37.61%; top: 9.52%; width: 55.25%; height: 35.25%; }
.lon-t-paddle { left: 0; top: 63.27%; width: 73.33%; height: 36.73%; border-radius: 0; clip-path: url(#lon-paddle-clip); }
.lon-t-paddle img { object-position: 50% 28%; }
.lon-t-pickleball { left: 37.61%; top: 47.32%; width: 35.71%; height: 32.98%; }
.lon-t-hiking { left: 74.89%; top: 47.32%; width: 25.11%; height: 52.68%; }
.lon-t-hiking img { object-position: 55% 50%; }
.lon-start { position: relative; max-width: 1000px; margin: 78px 0 0 128px; }
.lon-start h3 { display: inline-block; padding-bottom: 18px; color: #335A97; font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.lon-start h3::after { content: ""; display: block; width: 138px; height: 3px; margin-top: 18px; background: #EDB443; }
.lon-start p { max-width: 620px; margin: 0 0 0 208px; color: #335A97; font-family: var(--font-serif); font-size: 24px; line-height: 35px; letter-spacing: -0.015em; }
.lon-running { position: relative; min-height: 560px; margin: 150px 0 0 71px; padding-bottom: 105px; }
.lon-running-list { position: relative; z-index: 2; width: min(507px, 100%); }
.lon-running-list h3 { display: flex; align-items: center; gap: 16px; color: #335A97; font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.lon-running-list h3 svg { flex: none; width: 34px; height: 34px; fill: none; stroke: #EDB443; stroke-width: 1.8; stroke-linecap: round; }
.lon-running-list ul { list-style: none; margin: 28px 0 0; padding: 10px 32px; border-radius: 20px; background: var(--white); box-shadow: 0 14px 40px rgba(51, 90, 151, .06); }
.lon-running-list li { display: flex; justify-content: space-between; gap: 18px; padding: 24px 0; border-bottom: 2px solid #EDB443; color: #335A97; font-size: 14px; line-height: 18px; }
.lon-running-list li:last-child { border-bottom: 0; }
.lon-running-list li strong { flex: none; font-weight: 900; }
.lon-running-couple { position: absolute; left: 483px; bottom: 0; z-index: 3; width: 522px; height: 765px; pointer-events: none; }
.lon-running-couple img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
@media (max-width: 1100px) {
  .lon-mosaic, .lon-running { margin-left: 0; }
  .lon-start { margin-left: 0; }
  .lon-start p { margin-left: 120px; }
  .lon-running-couple { left: auto; right: -40px; width: 46%; }
}
@media (max-width: 860px) {
  .lon-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; aspect-ratio: auto; }
  .lon-tile { position: relative; inset: auto; width: auto; height: 220px; border-radius: 22px; }
  .lon-t-pottery, .lon-t-hiking { height: 300px; }
  .lon-t-paddle { grid-column: 1 / -1; order: 5; height: 220px; border-radius: 22px; clip-path: none; }
  .lon-tile span { left: 16px; bottom: 14px; font-size: 17px; }
  .lon-start h3, .lon-running-list h3 { font-size: 30px; line-height: 34px; }
  .lon-start p { margin-left: 0; font-size: 20px; line-height: 29px; }
  .lon-running { min-height: 0; margin-top: 80px; padding-bottom: 0; }
  .lon-running-couple { position: relative; left: auto; right: auto; width: min(100%, 420px); height: auto; margin: 24px auto 0; aspect-ratio: 522 / 765; }
  .lon-running-list ul { padding: 4px 22px; }
}
@media (max-width: 520px) {
  .lon-tile, .lon-t-paddle { height: 180px; }
  .lon-t-pottery, .lon-t-hiking { height: 250px; }
  .lon-running-list li { flex-direction: column; gap: 4px; padding: 18px 0; }
}

/* Live In 01: seven plan tiles in two staggered rows that bleed off both edges (Figma "LIVE IN") */
.li-plan-rows { --cw: 382px; --gap: 44px; --step: calc(var(--cw) + var(--gap)); --o1: calc(50% - 517px); --o2: calc(50% - 714px - 3 * var(--step));
  display: grid; gap: var(--gap); margin-top: 88px; overflow: hidden; padding: 6px 0 10px; }
.li-plan-track { position: relative; height: 296px; }
.li-plan-belt { position: absolute; top: 0; display: flex; gap: var(--gap); width: max-content; animation: li-belt 90s linear infinite; }
.li-plan-track-1 .li-plan-belt { left: calc(var(--o1) - 7 * var(--step)); }
.li-plan-track-2 .li-plan-belt { left: calc(var(--o2) - 7 * var(--step)); }
.li-plan-rows:hover .li-plan-belt, .li-plan-rows:focus-within .li-plan-belt { animation-play-state: paused; }
.li-plan-belt .po-card { flex: none; width: var(--cw); }
.li-plan-belt .po-img { height: 216px; }
.li-plan-belt .po-bar { height: 72px; }
@keyframes li-belt { from { transform: translateX(0); } to { transform: translateX(calc(-7 * var(--step))); } }
@media (prefers-reduced-motion: reduce) { .li-plan-belt { animation: none; } }
@media (max-width: 860px) {
  .li-plan-rows { --cw: 280px; --gap: 18px; --o1: 20px; --o2: calc(20px - 2.5 * var(--step)); margin-top: 48px; }
  .li-plan-track { height: 236px; }
  .li-plan-belt .po-img { height: 160px; }
  .li-plan-belt .po-bar { height: 66px; }
  .li-plan-belt .po-name { font-size: 24px; line-height: 26px; }
}

/* Live On 03 and 04, Figma "LIVE ON": built-and-open mosaic, under-construction carousel, story cards */
.lon-cal { background: var(--white); }
.lon-coming { background: var(--white); padding-bottom: 110px; }
.lon-blog { background: #FAF5F0; }
.lon-sub { color: #335A97; font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.lon-sub::before { content: ""; display: block; width: 132px; height: 3px; margin-bottom: 14px; background: #EDB443; }
.lon-built { max-width: 906px; margin: 64px 0 0 128px; }
.lon-built-grid { display: grid; gap: 18px; margin-top: 40px; }
.lon-built-row { display: flex; gap: 18px; }
.lon-built-tile, .lon-slide { position: relative; overflow: hidden; border-radius: 24px; background: #335A97; }
.lon-built-tile { height: 261px; }
.lon-b1 { flex: 491 1 0; } .lon-b2 { flex: 397 1 0; } .lon-b3 { flex: 395 1 0; } .lon-b4 { flex: 493 1 0; }
.lon-built-tile img, .lon-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lon-built-tile::after, .lon-slide::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, rgba(10, 18, 34, 0), rgba(10, 18, 34, .65)); pointer-events: none; }
.lon-built-tile span, .lon-slide span { position: absolute; left: 30px; bottom: 26px; z-index: 1; color: var(--white); font-weight: 900; font-size: 13px; line-height: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.lon-uc { max-width: 1034px; margin-top: 96px; }
.lon-carousel { position: relative; height: 362px; margin-top: 44px; overflow: hidden; border-radius: 24px; }
.lon-car-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.lon-slide { flex: none; width: 100%; height: 100%; border-radius: 0; }
.lon-car-nav { position: absolute; right: 24px; bottom: 22px; z-index: 2; display: flex; gap: 8px; }
.lon-car-nav button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1.5px solid var(--white); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background .2s, color .2s; }
.lon-car-nav button:hover { background: var(--white); color: #335A97; }
.lon-car-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lon-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 37px; max-width: 1034px; margin-top: 52px; }
.lon-post { display: block; min-height: 351px; padding-bottom: 24px; overflow: hidden; border-radius: 24px; background: var(--white); color: #335A97; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.lon-post:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(51, 90, 151, .12); }
.lon-post-img { position: relative; display: block; height: 245px; overflow: hidden; border-radius: 24px; background: #E9E1D6; }
.lon-post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.lon-post:hover .lon-post-img img { transform: scale(1.04); }
.lon-post strong { display: block; margin: 18px 22px 0; font-weight: 900; font-size: 18px; line-height: 22px; letter-spacing: -0.02em; }
.lon-post time { display: block; margin: 6px 22px 0; font-size: 12px; line-height: 15px; }
.lon-blog-more { max-width: 1034px; margin-top: 56px; }
.li-btn.blue { border-color: #335A97; background: #335A97; color: var(--white); }
.li-btn.blue:hover { border-color: #26457A; background: #26457A; }
@media (max-width: 1100px) { .lon-built { margin-left: 0; } }
@media (max-width: 860px) {
  .lon-sub { font-size: 30px; line-height: 34px; }
  .lon-built-row { flex-direction: column; }
  .lon-built-row .lon-built-tile { flex: none; }
  .lon-built-tile { height: 220px; }
  .lon-uc { margin-top: 72px; }
  .lon-carousel { height: 260px; }
  .lon-posts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lon-post-img { height: 220px; }
}

/* Bucketlist Living, in the Live In / Out / On style */
.fl-promo-wrap.bl-feature { padding: 0 0 104px; }
.bl-feature .fl-promo { margin-top: 22px; }
.bl-list { padding-bottom: 120px; }
.bl-chips { justify-content: flex-start; margin-top: 30px; }
.bl-grid, .bl-more { row-gap: 56px; }
.bl-pager { max-width: 1034px; margin-top: 64px; justify-content: center; }
.bl-page-of { max-width: 1034px; margin-top: 16px; color: #335A97; font-size: 13px; text-align: center; }
@media (max-width: 860px) { .fl-promo-wrap.bl-feature { padding-bottom: 72px; } }

/* Sitewide page hero (same treatment as Homes for Sale): full-bleed photo up under the floating header */
.fh-hero { height: 600px; background: #6E8FB8; }
.fh-hero .fah-hero-img { opacity: 1; }
.fh-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .18) 26%, rgba(255, 255, 255, 0) 42%), linear-gradient(0deg, rgba(24, 52, 96, .6) 0%, rgba(24, 52, 96, .3) 50%, rgba(24, 52, 96, 0) 78%); }
.fh-hero .fah-hero-inner { z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; padding-top: 0; padding-bottom: 92px; }
.fh-hero .fh-eyebrow { max-width: none; font-family: var(--font-display); line-height: 1.2; margin: 0 0 14px; color: #FAF5EF; font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(20, 50, 80, .35); }
.fh-hero h1 { max-width: 920px; margin: 0 auto; color: #FAF5EF; font-weight: 900; font-size: 58px; line-height: 62px; letter-spacing: -0.02em; text-wrap: balance; text-shadow: 0 2px 18px rgba(20, 50, 80, .3); }
.fh-hero h1 strong { color: inherit; font-weight: 900; }
.fh-hero h1::after { content: ""; display: block; width: 140px; height: 7px; margin: 18px auto 0; background: #F6AF1D; border-radius: 3px; }
.fh-sub { max-width: 640px; margin: 20px auto 0; color: #FAF5EF; font-family: var(--font-serif); font-size: 23px; line-height: 28px; letter-spacing: -0.02em; text-shadow: 0 1px 12px rgba(20, 50, 80, .35); }
.fh-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.fh-cta .hero-phone { color: #FAF5EF; font-weight: 900; font-size: 18px; text-decoration: none; border-bottom: 2px solid #F6AF1D; padding-bottom: 2px; }
.fh-badge { position: absolute; right: max(var(--gutter), calc((100% - 1240px) / 2)); bottom: 70px; z-index: 2; width: 180px; }
.fh-badge img { width: 100%; height: auto; }
.fh-blog .wordmark { display: block; width: min(520px, 80vw); height: auto; margin: 0 auto; filter: drop-shadow(0 2px 14px rgba(20, 50, 80, .3)); }
.fh-blog h1::after { margin-top: 10px; }
.fh-blog::before { background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 30%); }
.fh-blog h1, .fh-blog .fh-sub, .fh-blog .fh-eyebrow { color: #335A97; text-shadow: none; }
.fh-hero + .tabbar { margin-top: 0; }
@media (max-width: 860px) {
  .fh-hero { height: 500px; }
  .fh-hero .fah-hero-inner { padding-bottom: 64px; }
  .fh-hero h1 { font-size: 38px; line-height: 42px; }
  .fh-sub { font-size: 19px; line-height: 24px; }
  .fh-badge { width: 110px; bottom: auto; top: 120px; }
}

/* Live In: "Walk the ground." card under the lot map */
.li-walk { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 706px; max-width: 100%; margin: 56px 0 0 50px; padding: 26px 30px 26px 36px; background: var(--white); border-radius: 24px; }
.li-walk h3 { color: #335A97; font-weight: 900; font-size: 30px; line-height: 32px; letter-spacing: -0.03em; }
.li-walk p { margin-top: 4px; color: #335A97; font-size: 13.5px; }
.li-walk .li-btn { flex: none; width: 238px; height: 44px; }

/* Live In: 04 / The Design Center */
.li-dc { padding: 104px 0 140px; background: var(--white); }
.li-dc-feature { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 44px; align-items: center; max-width: 1080px; margin-top: 76px; }
.li-dc-img { aspect-ratio: 354 / 237; overflow: hidden; border-radius: 20px; }
.li-dc-img img { width: 100%; height: 100%; object-fit: cover; }
.li-dc-text h3 { color: #335A97; font-weight: 900; font-size: 28px; line-height: 32px; letter-spacing: -0.03em; }
.li-dc-text p { margin-top: 12px; max-width: 400px; color: #335A97; font-size: 13.5px; line-height: 18px; }
.li-flips { display: grid; grid-template-columns: repeat(3, 250px); gap: 28px; margin-top: 92px; }
.li-flip { height: 304px; perspective: 1200px; outline: none; cursor: pointer; }
.li-flip-in { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.li-flip:hover .li-flip-in, .li-flip:focus-visible .li-flip-in, .li-flip.is-flipped .li-flip-in { transform: rotateY(180deg); }
.li-flip-front, .li-flip-back { position: absolute; inset: 0; overflow: hidden; border-radius: 20px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.li-flip-front { display: flex; flex-direction: column; align-items: center; padding: 34px 26px 0; background: #FAF5F0; text-align: center; }
.li-flip-num { color: #EDB443; font-family: var(--font-serif); font-size: 50px; line-height: 50px; }
.li-flip-front h3 { margin-top: 28px; color: #335A97; font-weight: 900; font-size: 26px; line-height: 28px; letter-spacing: -0.03em; }
.li-flip-front p { margin-top: 12px; color: #335A97; font-size: 13px; line-height: 17px; }
.li-flip-back { transform: rotateY(180deg); background: #335A97; }
.li-flip-back img { width: 100%; height: 100%; object-fit: cover; }
.li-flip-back span { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: #335A97; font-weight: 900; font-size: 15px; line-height: 18px; letter-spacing: -0.02em; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .li-flip-in { transition: none; transform: none !important; }
  .li-flip-back { transform: none; opacity: 0; transition: opacity .25s ease; }
  .li-flip:hover .li-flip-back, .li-flip:focus-visible .li-flip-back, .li-flip.is-flipped .li-flip-back { opacity: 1; }
}
@media (max-width: 960px) {
  .li-walk { margin-left: 0; flex-direction: column; align-items: flex-start; }
  .li-dc-feature { grid-template-columns: minmax(0, 1fr); }
  .li-flips { grid-template-columns: minmax(0, 300px); }
}

/* Flip card animations: the page uses 5 (fade and zoom); 2 to 4 are kept for an easy switch via data-anim */
/* 2. Vertical flip: turns top over bottom */
.li-flips[data-anim="flipx"] .li-flip-back { transform: rotateX(180deg); }
.li-flips[data-anim="flipx"] .li-flip:hover .li-flip-in, .li-flips[data-anim="flipx"] .li-flip:focus-visible .li-flip-in, .li-flips[data-anim="flipx"] .li-flip.is-flipped .li-flip-in { transform: rotateX(180deg); }
/* 3. Lift and flip: the card rises toward you as it turns, a shade quicker, with a shadow */
.li-flips[data-anim="lift"] .li-flip-in { transition: transform .6s cubic-bezier(.34, 1.3, .64, 1); }
.li-flips[data-anim="lift"] .li-flip:hover .li-flip-in, .li-flips[data-anim="lift"] .li-flip:focus-visible .li-flip-in, .li-flips[data-anim="lift"] .li-flip.is-flipped .li-flip-in { transform: translateY(-10px) rotateY(180deg); }
.li-flips[data-anim="lift"] .li-flip-front, .li-flips[data-anim="lift"] .li-flip-back { transition: box-shadow .5s ease; }
.li-flips[data-anim="lift"] .li-flip:hover .li-flip-back, .li-flips[data-anim="lift"] .li-flip.is-flipped .li-flip-back { box-shadow: 0 22px 40px rgba(20, 40, 80, .25); }
/* 4 and 5 do not turn the card: the photo comes in over the front */
.li-flips[data-anim="slide"] .li-flip-in, .li-flips[data-anim="fade"] .li-flip-in { transform: none !important; transition: none; }
.li-flips[data-anim="slide"] .li-flip-back, .li-flips[data-anim="fade"] .li-flip-back { -webkit-backface-visibility: visible; backface-visibility: visible; }
/* 4. Slide up: the photo rises from the bottom edge and covers the card */
.li-flips[data-anim="slide"] .li-flip-back { transform: translateY(101%); transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.li-flips[data-anim="slide"] .li-flip:hover .li-flip-back, .li-flips[data-anim="slide"] .li-flip:focus-visible .li-flip-back, .li-flips[data-anim="slide"] .li-flip.is-flipped .li-flip-back { transform: none; }
.li-flips[data-anim="slide"] .li-flip-front { transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.li-flips[data-anim="slide"] .li-flip:hover .li-flip-front, .li-flips[data-anim="slide"] .li-flip.is-flipped .li-flip-front { transform: translateY(-14%); }
/* 5. Fade and zoom: the photo fades in while easing from a slight zoom to rest */
.li-flips[data-anim="fade"] .li-flip-back { transform: none; opacity: 0; transition: opacity .45s ease; }
.li-flips[data-anim="fade"] .li-flip-back img { transform: scale(1.12); transition: transform .9s cubic-bezier(.22, .61, .36, 1); }
.li-flips[data-anim="fade"] .li-flip:hover .li-flip-back, .li-flips[data-anim="fade"] .li-flip:focus-visible .li-flip-back, .li-flips[data-anim="fade"] .li-flip.is-flipped .li-flip-back { opacity: 1; }
.li-flips[data-anim="fade"] .li-flip:hover .li-flip-back img, .li-flips[data-anim="fade"] .li-flip.is-flipped .li-flip-back img { transform: none; }
.li-flips[data-anim="slide"] .li-flip, .li-flips[data-anim="fade"] .li-flip { overflow: hidden; border-radius: 20px; }

/* Phone and tablet menu, matched to the prototype site (Clark, Nov 2026): the page dims under a Deep River wash, the
   logo, Visit and a round close button stay on top, and a white rounded card holds the links at 24px on tall rows.
   Life at SunRiver and Homes slide to a second level inside the card; a small "More" group sits at the bottom. */
.m-nav { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: rgba(20, 50, 80, .5); overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; transition: opacity .3s ease; }
.m-nav[hidden] { display: none; }
.m-nav.is-open { opacity: 1; }
.m-nav-bar { display: flex; align-items: center; gap: 8px; flex: none; padding: 24px var(--gutter) 12px; }
.m-nav-logo { margin-right: auto; }
.m-nav-logo .logo-svg { width: 150px; --logo-word: #fff; --logo-accent: #fff; }  /* same size as the header logo on mobile, white over the wash */
.m-nav-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--sunriver-blue); cursor: pointer; }
.m-nav-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.m-nav-body { flex: 1 0 auto; display: flex; overflow: hidden; margin: 0 18px 18px; background: var(--white); border-radius: 20px; box-shadow: 0 18px 40px -12px rgba(20, 50, 80, .3);
  transform: translateY(-8px); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.m-nav.is-open .m-nav-body { transform: none; }
.m-nav-panels { display: flex; flex: 1 0 auto; width: 300%; transition: transform .34s cubic-bezier(.22, .61, .36, 1); }
.m-nav.at-life .m-nav-panels { transform: translateX(-33.3333%); }
.m-nav.at-homes .m-nav-panels { transform: translateX(-66.6667%); }
.m-nav-panel { display: flex; flex-direction: column; width: 33.3333%; padding: 24px 18px 28px; }
.m-nav-list { margin: 0; padding: 0; list-style: none; }
.m-nav-list > li + li { border-top: 1px solid rgba(50, 90, 150, .15); }
.m-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; height: 56px; padding: 0; border: 0; background: none; color: var(--sunriver-blue); font: inherit; font-weight: 500; font-size: 24px; line-height: 1; letter-spacing: -0.02em; text-align: left; text-decoration: none; cursor: pointer; }
.m-arrow { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m-nav-rich { display: block; height: auto; padding: 16px 0; }  /* Life at SunRiver pages: the name, then what the page covers */
.m-nav-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.m-nav-desc { display: block; margin-top: 8px; font-size: 14px; line-height: 1.375; letter-spacing: 0; color: rgba(50, 90, 150, .7); }
.m-nav-label { margin: 0; max-width: none; font-family: inherit; font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: rgba(50, 90, 150, .7); }
.m-nav-label + .m-nav-list { margin-top: 8px; }
.m-nav-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 40px; margin: 0 0 20px; padding: 0; border: 0; background: none; color: var(--sunriver-blue); font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; }
.m-back-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m-nav-more { margin-top: auto; padding-top: 48px; }
.m-nav-small { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.m-nav-small a { display: block; padding: 2px 0; color: var(--sunriver-blue); font-weight: 500; font-size: 14px; line-height: 20px; text-decoration: none; }
.m-nav-row:hover, .m-nav-small a:hover, .m-nav-back:hover { color: var(--sun-yellow-deep); }
.m-nav-row:hover .m-nav-desc { color: rgba(50, 90, 150, .7); }
.m-nav-row:focus:not(:focus-visible), .m-nav-back:focus:not(:focus-visible) { outline: none; }
body.m-nav-lock { overflow: hidden; }
/* while the menu is open the header's own logo and buttons sit under the wash; hide them so nothing shows twice */
body.m-nav-lock .site-header .logo, body.m-nav-lock .site-header .m-visit, body.m-nav-lock .site-header .menu-toggle { visibility: hidden; }
@media (min-width: 1021px) { .m-nav { display: none !important; } }
/* Phone and tablet header: a yellow Visit button beside the round white menu button */
.m-visit { display: none; }
@media (max-width: 1020px) {
  /* the old drop-down mobile menu gives way to the sheet */
  .site-header[data-menu="open"] .main-nav { display: none; }
  .m-visit { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 34px; padding: 0 24px; border-radius: 14px; background: var(--sun-yellow); color: var(--white); font-weight: 500; font-size: 15px; line-height: 1; letter-spacing: -0.03em; text-decoration: none; }
  .m-visit:hover { color: var(--white); filter: brightness(1.05); }
  .header-inner { gap: 8px; }
  .header-inner > .m-visit { margin-left: auto; }
  .site-header .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--white); box-shadow: 0 2px 10px rgba(20, 40, 80, .1); }
  .site-header .menu-toggle span { width: 16px; height: 2px; margin: 0; transform: none !important; opacity: 1 !important; }
}
/* the narrowest phones: logo, Visit and the round button still fit on one line */
@media (max-width: 374px) {
  .site-header .logo-svg, .m-nav-logo .logo-svg { width: 124px; }
  .m-visit { padding: 0 16px; }
}
.m-nav { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { .m-nav, .m-nav-panels, .m-nav-body { transition: opacity .12s linear; transform: none; } .m-nav.at-life .m-nav-panels { transform: translateX(-33.3333%); }
.m-nav.at-homes .m-nav-panels { transform: translateX(-66.6667%); } }

/* Homepage hero, Figma "Home NAV Live In 3": "NEW" in white, and the logo's sun rays and "Communities" in white over the sky */
.h4-new { color: var(--white); }
.site-header.is-home { --logo-accent: var(--white); }  /* until the color map is painted */

/* Live On, patterned on Live In / Live Out */
.lon-hero .fah-hero-img { object-position: 50% 56%; }
.lon-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin-top: 52px; }
.lon-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; max-width: 1080px; margin-top: 64px; }
.lon-lists h3, .lon-cal h3.lon-h, .lon-phase h3 { color: #335A97; font-weight: 900; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.lon-plain li { display: block; }
.lon-own { padding-top: 0; }
.lon-own p { margin-top: 16px; padding-top: 13px; border-top: 3px solid #EDB443; color: #335A97; font-family: var(--font-serif); font-size: 20px; line-height: 26px; letter-spacing: -0.02em; }
/* calendar */
.lon-calendar { max-width: 1080px; margin-top: 48px; }
.lon-cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 3px solid #EDB443; }
.lon-cal-nav { display: flex; align-items: center; gap: 14px; }
.lon-cal-nav h3 { min-width: 210px; color: #335A97; font-weight: 900; font-size: 28px; line-height: 32px; letter-spacing: -0.03em; text-align: center; }
.lon-cal-nav button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 2px solid #335A97; border-radius: 50%; background: none; color: #335A97; cursor: pointer; transition: background .2s, color .2s; }
.lon-cal-nav button:hover { background: #335A97; color: var(--white); }
.lon-cal-nav svg { width: 9px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lon-cal-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.lon-cal-filter { display: flex; padding: 4px; border-radius: 30px; background: #FAF5F0; }
.lon-cal-filter button { height: 34px; padding: 0 18px; border: 0; border-radius: 20px; background: none; color: #335A97; font: inherit; font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.lon-cal-filter button[aria-pressed="true"] { background: #335A97; color: var(--white); }
.lon-cal-print { height: 42px; padding: 0 20px; border: 2px solid #335A97; border-radius: 30px; background: none; color: #335A97; font: inherit; font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.lon-cal-print:hover { background: #335A97; color: var(--white); }
.lon-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid rgba(51, 90, 151, .16); border-left: 1px solid rgba(51, 90, 151, .16); }
.lon-cal-dow { padding: 10px 10px 8px; border-right: 1px solid rgba(51, 90, 151, .16); border-bottom: 1px solid rgba(51, 90, 151, .16); background: #FAF5F0; color: #335A97; font-weight: 900; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.lon-cal-day { min-height: 118px; padding: 8px 8px 10px; border-right: 1px solid rgba(51, 90, 151, .16); border-bottom: 1px solid rgba(51, 90, 151, .16); }
.lon-cal-day.is-out { background: #FBF9F6; }
.lon-cal-day.is-today .lon-cal-num { background: #EDB443; color: var(--white); }
.lon-cal-num { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 13px; color: #335A97; font-weight: 900; font-size: 13px; }
.lon-cal-day.is-out .lon-cal-num { opacity: .35; }
.lon-cal-ev { display: block; margin-top: 5px; padding: 4px 7px 5px; border-left: 3px solid #8FA7D6; border-radius: 0 8px 8px 0; background: #EEF3FB; color: #335A97; font-size: 12px; line-height: 14px; }
.lon-cal-ev small { display: block; opacity: .75; font-size: 11px; }
.lon-cal-ev.is-event { border-left-color: #EDB443; background: #FDF4E1; }
.lon-cal-ev.is-town { border-left-color: #D9577A; background: #FCEBF0; color: #A3304F; }  /* around town, pink like the printed calendar */
.lon-cal-ev.is-open::after { content: "Guests welcome"; display: block; margin-top: 2px; color: #B07A0D; font-weight: 900; font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; }
.lon-cal-empty { grid-column: 1 / -1; padding: 30px; border-right: 1px solid rgba(51, 90, 151, .16); border-bottom: 1px solid rgba(51, 90, 151, .16); color: #335A97; text-align: center; }
.lon-guest { margin-left: 0; width: 100%; max-width: 1080px; background: #FAF5F0; }
.lon-guest .li-btn { flex: none; width: 260px; }
/* what is coming */
.lon-phases { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1080px; margin-top: 60px; }
.lon-phases::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #EDB443 0 33%, rgba(237, 180, 67, .45) 33% 66%, rgba(51, 90, 151, .18) 66%); border-radius: 2px; }
.lon-phase { position: relative; padding-top: 36px; }
.lon-dot { position: absolute; top: 0; left: 0; width: 19px; height: 19px; border: 4px solid #FAF5F0; border-radius: 50%; background: #EDB443; }
.lon-phase:nth-child(2) .lon-dot { background: #F3CF86; }
.lon-phase:nth-child(3) .lon-dot { background: #C3CFE3; }
.lon-phase ul { list-style: none; margin: 14px 0 0; padding: 0; }
.lon-phase li { padding: 11px 0; border-bottom: 1px solid rgba(51, 90, 151, .16); color: #335A97; font-size: 15px; line-height: 20px; }
.lon-updated { max-width: 690px; margin-top: 30px; color: #335A97; font-family: var(--font-serif); font-size: 18px; line-height: 23px; font-style: italic; }
.lon-honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 1080px; margin-top: 80px; overflow: hidden; border-radius: 24px; background: #335A97; }
.lon-honest-img { position: relative; min-height: 420px; }
.lon-honest-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lon-honest-text { padding: 52px 48px 50px; color: var(--white); }
.lon-honest-text h3 { color: var(--white); font-family: var(--font-serif); font-weight: 500; font-size: 34px; line-height: 38px; letter-spacing: -0.02em; }
.lon-honest-text p { margin-top: 16px; font-size: 15px; line-height: 21px; opacity: .92; }
.lon-honest-text .lon-kicker { margin-top: 22px; color: #F3C25E; font-weight: 900; font-size: 22px; line-height: 26px; letter-spacing: -0.02em; opacity: 1; }
.lon-honest-text .li-btn { margin-top: 26px; }
.lon-posts { max-width: 1080px; margin-top: 52px; }
@media (max-width: 960px) {
  .lon-lists, .lon-phases { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lon-phases::before { display: none; }
  .lon-shots { grid-template-columns: minmax(0, 1fr); }
  .lon-honest { grid-template-columns: minmax(0, 1fr); }
  .lon-honest-img { min-height: 260px; }
  .lon-honest-text { padding: 36px 28px 38px; }
  .lon-guest { flex-direction: column; align-items: flex-start; }
}
/* calendar becomes an agenda list on small screens */
@media (max-width: 760px) {
  .lon-cal-grid { display: block; border: 0; }
  .lon-cal-dow, .lon-cal-day.is-out, .lon-cal-day.is-blank, .lon-cal-day.is-past { display: none; }  /* the agenda starts today */
  .lon-cal-day { display: flex; gap: 14px; min-height: 0; padding: 12px 0; border-right: 0; }
  .lon-cal-day .lon-cal-evs { flex: 1; }
  .lon-cal-day .lon-cal-ev:first-child { margin-top: 0; }
  .lon-cal-num::after { content: attr(data-dow); display: block; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
  .lon-cal-num { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #FAF5F0; line-height: 1; }
  .lon-cal-nav h3 { min-width: 0; font-size: 22px; }
}
/* printable month */
@media print {
  body.lon-printing > *:not(main), body.lon-printing main > *:not(.lon-cal), body.lon-printing .lon-guest, body.lon-printing .lon-cal-tools, body.lon-printing .lon-cal-nav button, body.lon-printing .site-header, body.lon-printing .m-nav { display: none !important; }
  body.lon-printing .lon-cal { padding: 0; }
  body.lon-printing .li-in { padding-left: 0; }
  body.lon-printing .lon-cal-grid { display: grid; }
  body.lon-printing .lon-cal-day { min-height: 92px; }
  @page { size: landscape; margin: 12mm; }
}

/* Homes dropdown: a small card under Homes with Floor Plans and Homes for Sale, same type and underline as Life at SunRiver */
.nav-item.has-sm { position: relative; }
.pill-drop.pill-drop-sm { left: -26px; right: auto; top: 40.6px; width: 200px; height: auto; padding: 6px 25px 28px; grid-template-columns: minmax(0, 1fr); transform-origin: 30% 0; }
.pill-drop-sm ul { padding-top: 23px; gap: 24px; }
.pill-drop-sm ul a:hover strong::after, .pill-drop-sm ul a:focus-visible strong::after { transform: scaleX(1); }
.photo .dv-photo, .dv-photo { width: 100%; height: 100%; object-fit: cover; object-position: 8% 50%; }

/* SunRiver Firelight overview, in the Live In style */
.fl-hero .fah-hero-img { object-position: 50% 25%; }
.li-hero.no-wash::before { display: none; }
.fl-hero h1::after { display: none; }
.fah-hero .fl-hero-sub { display: inline-block; max-width: none; margin: 10px auto 0; min-width: 304px; padding: 0 22px 12px; color: #FAF5EF; font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 42px; letter-spacing: -0.01em; text-shadow: 0 2px 14px rgba(20, 50, 80, 0.3); border-bottom: 5px solid var(--sun-yellow); }
.fl-hero .fah-hero-inner { display: flex; flex-direction: column; align-items: center; }
.fl-intro h2::after { content: ""; display: block; width: 136px; height: 4px; margin-top: 18px; background: #EDB443; border-radius: 2px; }
.fl-intro .li-serif { max-width: 690px; margin-top: 30px; font-size: 22px; line-height: 28px; }
.fl-intro .li-btns { margin-top: 56px; }
@media (max-width: 860px) { .fah-hero .fl-hero-sub { min-width: 0; font-size: 24px; line-height: 30px; } .fl-intro .li-serif { font-size: 19px; line-height: 26px; } }
.fl-mix .lo-cols { row-gap: 44px; }
.fl-mix .lo-col h3, .fl-amen-card h3 { color: #335A97; font-weight: 900; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.fl-mix .lo-weather .li-copy { margin-top: 30px; }
.fl-amen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1080px; margin-top: 52px; }
.fl-amen-img { overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; background: #E9E4DD; }
.fl-amen-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.fl-amen-card:hover .fl-amen-img img { transform: scale(1.04); }
.fl-amen-card h3 { margin-top: 20px; }
.fl-amen-card p { margin-top: 8px; color: #335A97; font-size: 15px; line-height: 21px; }
.fl-amen .li-btns, .fl-clubs .li-btns { margin-top: 48px; }
@media (max-width: 960px) { .fl-amen-grid { grid-template-columns: minmax(0, 1fr); } }

/* More breathing room at the sides: Discovery Villas "Close to everything" and Firelight "01 / Just the right mix" */
.dv-near { width: 100%; box-sizing: border-box; max-width: 1060px; margin-inline: auto; padding-inline: clamp(0px, 5vw, 60px); gap: 40px; }
.fl-mix .li-in { padding-right: calc(var(--gutter) + 100px); }
.fl-mix .lo-cols { column-gap: 56px; }
@media (max-width: 1100px) { .fl-mix .li-in { padding-left: calc(var(--gutter) + 40px); padding-right: calc(var(--gutter) + 40px); } }
@media (max-width: 860px) { .fl-mix .li-in { padding-left: calc(var(--gutter) + 12px); padding-right: calc(var(--gutter) + 12px); } }

/* Live In / Out / On opening section: what the page is, before the page starts */
.li-lead h2 { max-width: 760px; }
.li-lead .li-serif { max-width: 760px; margin-top: 26px; font-size: 22px; line-height: 31px; }
.li-lead .li-serif strong { display: block; margin-bottom: 8px; font-weight: 500; font-size: 28px; line-height: 32px; }
@media (max-width: 860px) { .li-lead .li-serif { font-size: 19px; line-height: 27px; } }
.li-lead .li-serif mark { padding: 0 4px; margin: 0 -2px; color: inherit; border-radius: 3px; background: linear-gradient(transparent 38%, rgba(237, 180, 67, .62) 38%, rgba(237, 180, 67, .62) 94%, transparent 94%); }

/* Live In / Out / On: card linking to the SunRiver Firelight overview */
.fl-promo-wrap { padding: 96px 0 110px; background: var(--white); }
.fl-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1080px; overflow: hidden; border-radius: 24px; background: #335A97; color: var(--white); text-decoration: none; }
.fl-promo-img { position: relative; min-height: 360px; overflow: hidden; }
.fl-promo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.fl-promo:hover .fl-promo-img img { transform: scale(1.04); }
.fl-promo-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px 48px 50px; }
.fl-promo-text .li-eyebrow { color: #F3C25E; }
.fl-promo-h { display: block; margin-top: 12px; font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.fl-promo-p { display: block; margin-top: 14px; font-size: 15px; line-height: 22px; opacity: .92; }
.fl-promo { position: relative; max-width: 1040px; min-height: 400px; grid-template-columns: 45% minmax(0, 1fr); background: #3D5C9A; }
.fl-promo-text { padding: 48px 96px 64px 48px; }
.fl-promo-h { font-size: 40px; line-height: 44px; }
.fl-promo-go { position: absolute; right: 26px; bottom: 26px; display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--white); border-radius: 50%; transition: background .2s, color .2s; }
.fl-promo-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fl-promo:hover .fl-promo-go { background: var(--white); color: #3D5C9A; }
@media (max-width: 960px) {
  .fl-promo { grid-template-columns: minmax(0, 1fr); }
  .fl-promo-img { min-height: 240px; }
  .fl-promo-text { padding: 34px 28px 88px; }
  .fl-promo-h { font-size: 28px; line-height: 32px; }
}

/* Design Center page, patterned on tripointehomes.com/design-studio in SunRiver colors and type */
.dz-hero .fah-hero-img { object-position: 50% 55%; }
.dz-intro { padding: 120px 0 40px; background: var(--white); text-align: center; }
.dz-intro h2 { color: #335A97; font-weight: 900; font-size: 60px; line-height: 56px; letter-spacing: -0.03em; }
.dz-intro p { max-width: 760px; margin: 28px auto 0; color: #335A97; font-family: var(--font-serif); font-size: 22px; line-height: 31px; letter-spacing: -0.02em; }
.li-eyebrow.center { text-align: center; }
.dz-h2 { margin-top: 12px; color: #335A97; font-family: var(--font-serif); font-weight: 500; font-size: 52px; line-height: 54px; letter-spacing: -0.02em; text-align: center; }
.dz-h2.left { text-align: left; }
.dz-h2.light { color: var(--white); }
/* timeline */
.dz-process { padding: 90px 0 120px; background: var(--white); }
.dz-timeline { position: relative; max-width: 1000px; margin: 70px auto 0; padding: 0; list-style: none; }
.dz-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #E7E1D8; }
.dz-line-fill { position: absolute; left: 0; right: 0; top: 0; height: var(--dz-fill, 0%); border-radius: 2px; background: #EDB443; transition: height .15s linear; }
.dz-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 230px; }
.dz-num { position: absolute; left: 50%; top: 0; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-left: -20px; border-radius: 12px; background: #E7E1D8; color: #335A97; font-weight: 900; font-size: 15px; transition: background .3s ease, color .3s ease; }
.dz-step.is-reached .dz-num { background: #EDB443; color: var(--white); }
.dz-step-text { grid-column: 2; padding: 0 0 60px 60px; }
.dz-step.is-left .dz-step-text { grid-column: 1; padding: 0 60px 60px 0; text-align: right; }
.dz-step h3 { color: #335A97; font-family: var(--font-serif); font-weight: 500; font-size: 32px; line-height: 36px; letter-spacing: -0.02em; }
.dz-step p { max-width: 380px; margin-top: 14px; color: #335A97; font-size: 15px; line-height: 22px; }
.dz-step.is-left p { margin-left: auto; }
.dz-step-card { display: block; min-height: 0; padding-top: 10px; }
.dz-card { position: relative; z-index: 2; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 9; background: #335A97; }
.dz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dz-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 40, 75, .78) 0%, rgba(20, 40, 75, .3) 45%, rgba(20, 40, 75, 0) 70%); }
.dz-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 40px 36px; color: var(--white); }
.dz-card-text .dz-num { position: static; margin: 0 0 14px; background: var(--white); color: #335A97; }
.dz-card-text h3 { color: var(--white); }
.dz-card-text p { color: var(--white); opacity: .92; }
/* band + wide photo */
.dz-band { padding: 110px 0 120px; background: #335A97; color: var(--white); text-align: center; }
.dz-band h2 { font-family: var(--font-serif); font-weight: 500; font-size: 56px; line-height: 58px; letter-spacing: -0.02em; }
.dz-band p { max-width: 680px; margin: 26px auto 0; font-size: 16px; line-height: 24px; opacity: .92; }
.dz-wide img { display: block; width: 100%; height: 640px; object-fit: cover; }
/* style tabs */
.dz-style { padding: 110px 0 120px; background: #2A4C82; color: var(--white); }
.dz-style .li-eyebrow { color: #F3C25E; }
.dz-sub { max-width: 560px; margin: 22px auto 0; font-size: 16px; line-height: 24px; text-align: center; opacity: .9; }
.dz-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 40px auto 0; padding: 5px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 30px; }
.dz-tabs button { height: 40px; padding: 0 20px; border: 0; border-radius: 22px; background: none; color: var(--white); font: inherit; font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.dz-tabs button[aria-selected="true"] { background: var(--white); color: #335A97; }
.dz-tabs button:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, .12); }
.dz-panes { position: relative; max-width: 1080px; margin: 44px auto 0; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 24px; background: #335A97; }
.dz-pane { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.02); transition: opacity .35s ease, transform .5s cubic-bezier(.22, .61, .36, 1); }
.dz-pane.is-on { opacity: 1; transform: none; }
.dz-pane img { width: 100%; height: 100%; object-fit: cover; }
.dz-pane figcaption { position: absolute; left: 24px; bottom: 24px; max-width: 420px; padding: 18px 22px 20px; border-radius: 18px; background: var(--white); color: #335A97; font-size: 14.5px; line-height: 20px; }
.dz-pane figcaption strong { display: block; margin-bottom: 4px; font-weight: 900; font-size: 18px; letter-spacing: -0.02em; }
/* standard features */
.dz-standard { padding: 120px 0; background: #FAF5F0; }
.dz-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; max-width: 1180px; }
.dz-split-text > p:not(.li-eyebrow) { max-width: 460px; margin-top: 20px; color: #335A97; font-size: 16px; line-height: 24px; }
.dz-std { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.dz-std li { padding: 12px 0 12px 24px; border-bottom: 1px solid rgba(51, 90, 151, .16); color: #335A97; font-size: 15px; line-height: 20px; position: relative; }
.dz-std li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: #EDB443; }
.dz-split-img { overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3.4; }
.dz-split-img img { width: 100%; height: 100%; object-fit: cover; }
/* questions */
.dz-faqs { padding: 110px 0 120px; background: var(--white); }
.dz-faq-list { display: grid; gap: 12px; max-width: 900px; margin: 46px auto 0; }
.dz-faq { background: #FAF5F0; color: #335A97; }
/* closing band */
.dz-cta { position: relative; overflow: hidden; height: 520px; background: #335A97; }
.dz-cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dz-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(20, 40, 75, .55), rgba(20, 40, 75, .15)); }
.dz-cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; }
.dz-cta h2 { color: var(--white); font-family: var(--font-serif); font-weight: 500; font-size: 60px; line-height: 62px; letter-spacing: -0.02em; text-shadow: 0 2px 18px rgba(20, 40, 75, .3); }
.dz-note { padding: 20px 0; background: var(--white); }
.dz-note p { color: #335A97; font-size: 12px; opacity: .8; }
@media (max-width: 960px) {
  .dz-intro h2, .dz-cta h2 { font-size: 40px; line-height: 42px; }
  .dz-h2, .dz-band h2 { font-size: 36px; line-height: 40px; }
  .dz-line { left: 20px; }
  .dz-num { left: 20px; }
  .dz-step, .dz-step.is-left { grid-template-columns: 1fr; min-height: 0; }
  .dz-step-text, .dz-step.is-left .dz-step-text { grid-column: 1; padding: 4px 0 48px 64px; text-align: left; }
  .dz-step.is-left p { margin-left: 0; }
  .dz-step h3 { font-size: 26px; line-height: 30px; }
  .dz-card { aspect-ratio: 4 / 5; }
  .dz-card-text { padding: 0 24px 26px; }
  .dz-wide img { height: 360px; }
  .dz-panes { aspect-ratio: 4 / 5; }
  .dz-pane figcaption { left: 14px; right: 14px; bottom: 14px; }
  .dz-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .dz-std { grid-template-columns: 1fr; }
  .dz-cta { height: 420px; }
}
.dz-band h2 { color: var(--white); }
.dz-process p.li-eyebrow, .dz-style p.li-eyebrow { display: block; max-width: none; text-align: center; }
.dz-pane-4 img { object-position: 50% 12%; }  /* Lighting: keep the chandelier in frame */

/* Live In 04: the Design Center photo plays the "Build it the way you always said you would" video (vertical, opens at its own shape) */
.li-dc-video { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #E9E4DD; cursor: pointer; }
.li-dc-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 40, 75, .55) 0%, rgba(20, 40, 75, 0) 55%); transition: background .3s ease; }
.li-dc-video img { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.li-dc-video:hover img { transform: scale(1.04); }
.li-dc-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(20, 40, 75, .3); transition: transform .25s ease; }
.li-dc-play::after { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #335A97; }
.li-dc-video:hover .li-dc-play { transform: scale(1.06); }
.li-dc-cap { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; color: var(--white); font-family: var(--font-serif); font-size: 20px; line-height: 24px; text-align: left; text-shadow: 0 1px 10px rgba(20, 40, 75, .4); }
.li-dc-text h3 { font-size: 32px; line-height: 36px; }
.li-dc-text p { font-size: 16px; line-height: 23px; }
.vid-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(12, 24, 45, .82); opacity: 0; transition: opacity .2s ease; }
.vid-modal.is-open { opacity: 1; }
.vid-modal-box { position: relative; height: min(86vh, 860px); aspect-ratio: 9 / 16; max-width: 92vw; overflow: hidden; border-radius: 20px; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.vid-modal-box iframe { width: 100%; height: 100%; border: 0; }
.vid-modal-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #F4EFE8; color: #335A97; cursor: pointer; }
.vid-modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Live In 04: the video loops silently inside the photo frame (cropped to fill it); a click opens it with sound */
.li-dc-loop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.li-dc-loop iframe { position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 9 / 16; border: 0; transform: translateY(-50%); opacity: 0; transition: opacity .6s ease; }
.li-dc-loop.is-ready iframe { opacity: 1; }
.li-dc-video[data-yt-loop]::after { background: linear-gradient(0deg, rgba(20, 40, 75, .35) 0%, rgba(20, 40, 75, 0) 40%); }
.li-dc-sound { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 18px; background: rgba(255, 255, 255, .92); color: #335A97; font-weight: 900; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease; }
.li-dc-sound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.li-dc-sound svg path:first-child { fill: currentColor; }
.li-dc-video:hover .li-dc-sound { background: var(--white); }

/* FAQs open and close with a smooth height animation (site.js); the + turns into an x */
details.faq summary::after { content: "+"; transition: transform .35s cubic-bezier(.22, .61, .36, 1), background .25s ease; }
details.faq[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); }
details.faq summary:hover::after { background: var(--sun-yellow-deep); }
details.faq { transition: box-shadow .3s ease; }
details.faq[open] { box-shadow: 0 10px 28px rgba(20, 50, 80, .08); }
details.faq .answer { overflow: hidden; }
details.faq .answer > * { transition: opacity .35s ease, transform .35s cubic-bezier(.22, .61, .36, 1); }
details.faq.is-closing .answer > *, details.faq.is-opening-start .answer > * { opacity: 0; transform: translateY(-6px); }
.dz-card img { object-position: 50% 30%; }  /* Know what it costs: keep the designer's face in frame */
@media (max-width: 960px) { .dz-card img { object-position: 50% 20%; } }

/* Button kit: text link with a light arrow. Text only, no box; the arrow slides on hover.
   Use: <a class="text-link" href="...">Label<svg viewBox="0 0 30 14" aria-hidden="true"><path d="M0 7h28M22 1l6 6-6 6"/></svg></a>
   Add "light" for dark backgrounds. */
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 6px 0; color: #335A97; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.text-link svg { flex: none; width: 26px; height: 12px; fill: none; stroke: #EDB443; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.text-link:hover svg, .text-link:focus-visible svg { transform: translateX(5px); }
.text-link:hover { color: #24477F; }
.text-link.light { color: var(--white); }
.text-link.light:hover { color: #F3C25E; }

/* Discovery Villas: request-a-stay form */
.dvb-hero .fah-hero-img { object-position: 50% 55%; }
.dvb { padding: 100px 0 120px; background: var(--white); }
.dvb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 64px; align-items: start; max-width: 1180px; }
.dvb-summary { position: sticky; top: 120px; color: #335A97; }
.dvb-summary h2 { margin-top: 12px; font-family: var(--font-serif); font-weight: 500; font-size: 48px; line-height: 52px; letter-spacing: -0.02em; }
.dvb-summary h2 span { color: #EDB443; }
.dvb-summary > p:not(.li-eyebrow) { max-width: 420px; margin-top: 20px; font-size: 16px; line-height: 24px; }
.dvb-list { margin: 22px 0 0; padding: 0; list-style: none; }
.dvb-list li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid rgba(51, 90, 151, .16); font-size: 15px; line-height: 21px; }
.dvb-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: #EDB443; }
.dvb-summary .dvb-call { margin-top: 26px; font-size: 15px; }
.dvb-call a { color: #335A97; font-weight: 900; text-decoration: none; border-bottom: 2px solid #EDB443; }
.chat-form input[type="date"], .chat-form select {
  width: 100%; height: 46px; border: 0; border-radius: 30px; padding: 0 18px; font: 500 16px var(--font-display); color: var(--sunriver-blue); background: var(--white);
}
.chat-form select { appearance: none; -webkit-appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23335A97' stroke-width='1.8'/%3E%3C/svg%3E") right 18px center / 12px no-repeat; padding-right: 40px; }
.chat-form input[readonly] { background: rgba(255, 255, 255, .6); cursor: default; }
.chat-form input::placeholder, .chat-form textarea::placeholder { color: rgba(51, 90, 151, .5); }
.dvb-hint { display: block; margin-top: 6px; padding-left: 18px; color: #335A97; font-size: 12px; opacity: .8; }
.chat-form input:focus-visible, .chat-form select:focus-visible, .chat-form textarea:focus-visible { outline: 3px solid #335A97; outline-offset: 2px; }
.chat-form .is-invalid { box-shadow: 0 0 0 2px #C0392B inset; }
@media (max-width: 960px) {
  .dvb { padding: 64px 0 90px; }
  .dvb-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .dvb-summary { position: static; }
  .dvb-summary h2 { font-size: 38px; line-height: 42px; }
}
.lon-b2 img { object-position: 50% 82%; }
.lon-b3 img { object-position: 50% 72%; }
.lon-s3 img { object-position: 50% 90%; }

/* SunRiver Firelight 01: Just the right mix carousel (Figma "SunRiver Firelight") */
.fl-carousel { max-width: 1034px; height: 414px; margin-top: 52px; }
.fl-slide span.fl-slide-text { display: grid; gap: 6px; max-width: 360px; left: 30px; bottom: 26px; text-transform: none; letter-spacing: 0; }
.fl-slide-text strong { font-weight: 900; font-size: 20px; line-height: 24px; letter-spacing: -0.02em; }
.fl-slide-text em { font-style: normal; font-weight: 500; font-size: 13px; line-height: 17px; opacity: .95; }
.fl-slide::after { inset: 40% 0 0; }
@media (max-width: 860px) { .fl-carousel { height: 320px; } .fl-slide span.fl-slide-text { left: 22px; right: 100px; bottom: 22px; } }

/* Mortgage Options: the "Loans built just for seniors" card as live text in SunRiver blue (was an image with #1b283a type) */
.loans-card { display: grid; place-items: center; min-height: 210px; padding: 36px 28px; border-radius: var(--radius-img); background: var(--white); box-shadow: var(--shadow-card); }
.loans-card p { margin: 0; color: var(--sunriver-blue); font-family: var(--font-serif); font-weight: 500; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; text-align: center; }
@media (max-width: 860px) { .loans-card { min-height: 0; } .loans-card p { font-size: 30px; line-height: 34px; } }

/* History: scroll-driven timeline with round photos on a center line */
.ht { position: relative; list-style: none; max-width: 1080px; margin: 24px auto 0; padding: 0; }
.ht-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; border-radius: 2px; background: rgba(50, 90, 150, .14); }
.ht-fill { position: absolute; top: 0; left: 0; right: 0; height: var(--ht-fill, 0%); border-radius: 2px; background: var(--sun-yellow); }
.ht-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); align-items: center; gap: 0 40px; min-height: 260px; }
.ht-item + .ht-item { margin-top: 18px; }
.ht-node { position: relative; z-index: 1; grid-column: 2; grid-row: 1; justify-self: center; width: 200px; height: 200px; overflow: hidden; border-radius: 50%; background: var(--sunriver-blue);
  box-shadow: 0 0 0 8px var(--riverbed-sand), 0 0 0 12px rgba(50, 90, 150, .18), var(--shadow-photo); transform: scale(.82); filter: grayscale(1) brightness(1.08);
  transition: transform .7s cubic-bezier(.22, .61, .36, 1), filter .7s ease, opacity .7s ease, box-shadow .5s ease; }
.ht-node img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.ht-node-year { display: grid; place-items: center; }
.ht-node-year span { color: var(--white); font-weight: 900; font-size: 44px; letter-spacing: -0.03em; }
.ht-card { grid-row: 1; max-width: 400px; padding: 30px 32px 32px; border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-card);
  opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); }
.ht-left .ht-card { grid-column: 1; justify-self: end; text-align: right; transform: translateX(-36px); }
.ht-right .ht-card { grid-column: 3; justify-self: start; transform: translateX(36px); }
.ht-year { display: block; color: var(--sun-yellow); font-family: var(--font-serif); font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.ht-card h3 { margin-top: 12px; color: var(--sunriver-blue); font-weight: 900; font-size: 20px; line-height: 24px; text-transform: uppercase; letter-spacing: 0.01em; }
.ht-card p { margin-top: 8px; color: var(--sunriver-blue); font-family: var(--font-serif); font-size: 17px; line-height: 24px; }
.ht-item.is-reached .ht-node { transform: scale(1); filter: none; opacity: 1; box-shadow: 0 0 0 8px var(--riverbed-sand), 0 0 0 12px var(--sun-yellow), var(--shadow-photo); }
.ht-item.is-reached .ht-node img { transform: scale(1.08); }
.ht-item.is-reached .ht-card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ht-node, .ht-card, .ht-node img { transition: none; } }
@media (max-width: 860px) {
  .ht-line { left: 52px; }
  .ht-item { grid-template-columns: 104px minmax(0, 1fr); gap: 0 18px; min-height: 0; }
  .ht-item + .ht-item { margin-top: 28px; }
  .ht-node { grid-column: 1; width: 96px; height: 96px; box-shadow: 0 0 0 5px var(--riverbed-sand), 0 0 0 8px rgba(50, 90, 150, .18); }
  .ht-item.is-reached .ht-node { box-shadow: 0 0 0 5px var(--riverbed-sand), 0 0 0 8px var(--sun-yellow); }
  .ht-node-year span { font-size: 24px; }
  .ht-left .ht-card, .ht-right .ht-card { grid-column: 2; justify-self: stretch; max-width: none; padding: 22px 22px 24px; text-align: left; transform: translateY(24px); }
  .ht-year { font-size: 40px; }
}

/* Page banners at half height (2026-10-29). Home and Live In / Out / On keep the full-height banner (.keep-tall). */
.fah-hero:not(.keep-tall) { height: auto; min-height: 306px; }
.fah-hero:not(.keep-tall) .fah-hero-inner { padding-top: 150px; padding-bottom: 44px; }
.fah-hero.li-hero:not(.keep-tall) h1 { font-size: 64px; line-height: 64px; }
.fah-hero:not(.keep-tall) .fh-eyebrow { margin-bottom: 6px; }
@media (max-width: 860px) {
  .fah-hero:not(.keep-tall) { min-height: 260px; }
  .fah-hero:not(.keep-tall) .fah-hero-inner { padding-top: 126px; padding-bottom: 34px; }
  .fah-hero.li-hero:not(.keep-tall) h1 { font-size: 42px; line-height: 44px; }
}
.fl-hero:not(.keep-tall) .fah-hero-img { object-position: 50% 64%; }

/* Walk the ground: same width as the lot map, two buttons */
.lotmap + .li-walk, .hfs-map .li-walk { width: 100%; max-width: 1034px; margin: 32px 0 0; }
.li-walk-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.li-walk-btns .li-btn { flex: none; width: 238px; height: 44px; }
/* Homes for Sale: lot map section under the listings, and the View map jump under the filters */
.hfs-map { padding: 40px 0 120px; scroll-margin-top: 20px; }
.hfs-map .wrap > .li-eyebrow, .hfs-map .li-title, .hfs-map .li-copy, .hfs-map .lotmap, .hfs-map .li-walk { max-width: 1034px; margin-left: auto; margin-right: auto; }
.hfs-map .lotmap { margin-top: 36px; }
.filter-btn.filter-map { display: grid; place-items: center; margin-top: 10px; background: #335A97; color: var(--white); text-decoration: none; }
.filter-btn.filter-map:hover { background: #24477D; }
@media (max-width: 860px) { .li-walk-btns { width: 100%; } .li-walk-btns .li-btn { width: 100%; } .hfs-map { padding-bottom: 80px; } }

/* ================= Discovery Villas v2 ================= */
.dv2-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: stretch; margin-top: 48px; }
.dv2-split-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-photo); }
.dv2-card { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 40px 40px 36px; color: #335A97; display: flex; flex-direction: column; }
.dv2-price { display: flex; align-items: baseline; gap: 12px; padding-bottom: 22px; border-bottom: 3px solid #EDB443; }
.dv2-price strong { font-family: var(--font-serif); font-weight: 500; font-size: 72px; line-height: 72px; letter-spacing: -0.03em; }
.dv2-price span { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.dv2-facts { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 18px; }
.dv2-facts li { font-size: 15.5px; line-height: 22px; }
.dv2-facts strong { display: block; font-weight: 900; font-size: 16px; margin-bottom: 2px; }
.dv2-card .li-btns { margin-top: auto; }
.dv2-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dv2-timeline { list-style: none; position: relative; margin: 56px 0 0; padding: 0 0 0 64px; display: grid; gap: 34px; }
.dv2-timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; background: #EDB443; border-radius: 3px; }
.dv2-day { position: relative; }
.dv2-dot { position: absolute; left: -64px; top: 22px; width: 45px; height: 45px; border-radius: 50%; background: #335A97; color: var(--white); font-weight: 900; font-size: 17px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--white); }
.dv2-day-card { background: #FAF5F0; border-radius: var(--radius-card); overflow: hidden; color: #335A97; }
.dv2-day.has-pic .dv2-day-card { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.dv2-day-img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.dv2-day-text { padding: 30px 36px 32px; }
.dv2-day-text h3 { margin-top: 6px; font-family: var(--font-serif); font-weight: 500; font-size: 34px; line-height: 38px; letter-spacing: -0.02em; text-transform: none; }
.dv2-lead { margin-top: 10px; font-size: 17px; line-height: 25px; }
.dv2-sched { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.dv2-sched li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.dv2-sched span { font-weight: 900; }

.dv2-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.dv2-link { display: flex; flex-direction: column; gap: 6px; color: #335A97; text-decoration: none; }
.dv2-link-img { display: block; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 4 / 3; margin-bottom: 12px; }
.dv2-link-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dv2-link:hover .dv2-link-img img { transform: scale(1.04); }
.dv2-link strong { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 30px; }
.dv2-link span:last-child { font-size: 15px; line-height: 22px; }

@media (max-width: 860px) {
  .dv2-split, .dv2-cards { grid-template-columns: 1fr; gap: 28px; }
  .dv2-split-img img { min-height: 280px; }
  .dv2-card { padding: 30px 24px; }
  .dv2-price strong { font-size: 56px; line-height: 56px; }
  .dv2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .dv2-timeline { padding-left: 46px; gap: 26px; }
  .dv2-timeline::before { left: 15px; }
  .dv2-dot { left: -46px; width: 33px; height: 33px; font-size: 14px; top: 18px; }
  .dv2-day.has-pic .dv2-day-card { grid-template-columns: 1fr; }
  .dv2-day-img img { min-height: 200px; max-height: 240px; }
  .dv2-day-text { padding: 24px 22px 26px; }
  .dv2-day-text h3 { font-size: 28px; line-height: 32px; }
  .dv2-sched li { grid-template-columns: 76px 1fr; }
}

/* Discovery Villas v2: intro with photo collage */
.dv2-intro { position: relative; overflow: hidden; padding: 110px 0 120px; background: linear-gradient(180deg, var(--white) 0%, #FAF5F0 100%); }
.dv2-intro::after { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 175, 28, .16), rgba(245, 175, 28, 0) 70%); pointer-events: none; }
.dv2-intro-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center; padding-right: var(--gutter); }
.dv2-intro .li-eyebrow { margin-bottom: 14px; }
.dv2-intro h2 { font-size: 64px; line-height: 60px; }
.dv2-intro .li-serif { max-width: 540px; }
.dv2-collage { position: relative; min-height: 560px; }
.dv2-col-main { position: absolute; top: 0; right: 0; width: 82%; height: 430px; border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-photo); }
.dv2-col-small { position: absolute; left: 0; bottom: 0; width: 50%; height: 250px; border-radius: var(--radius-card); overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow-photo); }
.dv2-col-main img, .dv2-col-small img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dv2-badge { position: absolute; right: 26px; bottom: 120px; z-index: 2; width: 150px; height: 150px; border-radius: 50%; background: #F5AF1C; color: #143250; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 12px 30px rgba(20, 50, 80, .28); transform: rotate(-8deg); }
.dv2-badge strong { font-family: var(--font-serif); font-weight: 500; font-size: 44px; line-height: 44px; letter-spacing: -0.03em; }
.dv2-badge span { margin-top: 4px; font-weight: 900; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dv2-chips { position: absolute; left: 54%; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; max-width: 46%; margin: 0; padding: 0; list-style: none; }
.dv2-chips li { padding: 7px 14px; border-radius: 999px; background: var(--white); color: #335A97; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-card); }
@media (max-width: 1100px) {
  .dv2-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .dv2-collage { max-width: 640px; }
}
@media (max-width: 860px) {
  .dv2-intro { padding: 72px 0 80px; }
  .dv2-intro h2 { font-size: 44px; line-height: 44px; }
  .dv2-collage { min-height: 420px; }
  .dv2-col-main { width: 88%; height: 290px; }
  .dv2-col-small { width: 56%; height: 170px; border-width: 6px; }
  .dv2-badge { width: 112px; height: 112px; right: 6px; bottom: 120px; }
  .dv2-badge strong { font-size: 34px; line-height: 34px; }
  .dv2-badge span { font-size: 9px; }
  .dv2-chips { display: none; }
}

/* Nav dropdown motion, option 3 "Glide": .pill-morph is the white card; the dropdowns sit on it with no card of their own */
.pill-morph { display: none; }
.pill-nav.has-morph .pill-morph {
  display: block; position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 0;
  background: var(--white); border-radius: 24px; box-shadow: 0 14px 34px rgba(20, 50, 80, 0.18);
  opacity: 0; visibility: hidden; pointer-events: none; scale: .97; transform-origin: 30% 0;
  transition: opacity .16s ease, scale .2s ease, visibility 0s linear .2s;
}
.pill-nav.has-morph .pill-morph.is-open { opacity: 1; visibility: visible; scale: 1; transition: opacity .2s ease, scale .3s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.pill-nav.has-morph .pill-morph.is-ready { transition: opacity .2s ease, scale .3s cubic-bezier(.2, .8, .2, 1), transform .38s cubic-bezier(.65, 0, .35, 1), width .38s cubic-bezier(.65, 0, .35, 1), height .38s cubic-bezier(.65, 0, .35, 1), visibility 0s; }
.pill-nav.has-morph .pill-drop { z-index: 1; background: transparent; box-shadow: none; transform: none; transition: opacity .1s ease, transform .38s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .38s; }
.pill-nav.has-morph .nav-item[data-open="true"] .pill-drop { transform: none; transition: opacity .24s ease .12s, transform .38s cubic-bezier(.65, 0, .35, 1), visibility 0s; }
.pill-nav.has-morph .pill-drop.pd-leave-l { transform: translateX(-40px); }
.pill-nav.has-morph .pill-drop.pd-leave-r { transform: translateX(40px); }
.pill-nav.has-morph .nav-item[data-open="true"] .pill-drop.pd-enter-r { animation: pd-in-r .38s cubic-bezier(.65, 0, .35, 1); }
.pill-nav.has-morph .nav-item[data-open="true"] .pill-drop.pd-enter-l { animation: pd-in-l .38s cubic-bezier(.65, 0, .35, 1); }
@keyframes pd-in-r { from { transform: translateX(40px); } to { transform: none; } }
@keyframes pd-in-l { from { transform: translateX(-40px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pill-nav.has-morph .pill-morph, .pill-nav.has-morph .pill-drop { transition-duration: .01s !important; animation: none !important; }
}

/* Lot map: Build job / Occupied icons and Discovery Villa lots (Adam's map, Nov 2026) */
.lm-marks text.lm-lbl { font-weight: 700; font-size: 4.3px; letter-spacing: 0; }
.lotmap-key .sw-icon { display: grid; place-items: center; background: #fff; }
.lotmap-key .sw-icon svg { width: 13px; height: 13px; }
.sw-villa { background: #E8A93A; }
@media (max-width: 700px) { .lotmap-key .sw-icon svg { width: 10px; height: 10px; } }

/* Homesite number with the house icon (cards and listing pages), Featured Home tag, price breakdown */
.home-no { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; color: #335A97; font-weight: 900; vertical-align: -1px; white-space: nowrap; }
.home-ico { width: 13px; height: 12px; flex: none; }
.home-feat { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 999px; background: #F5AF1C; color: #143250; font-weight: 900; font-size: 10px; line-height: 15px; letter-spacing: -0.02em; text-transform: uppercase; }
.hd-site { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #FAF5F0; color: #335A97; font-weight: 900; font-size: 15px; line-height: 20px; letter-spacing: -0.02em; }
.hd-site-ico { width: 20px; height: 18px; flex: none; }
.hd-site + .hd-address { margin-top: 10px; }
.hd-feat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; color: #335A97; font-weight: 700; font-size: 15px; line-height: 20px; }
.hd-feat strong { padding: 3px 12px; border-radius: 999px; background: #F5AF1C; color: #143250; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: -0.01em; }
.hd-break { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(51, 90, 151, .18); display: grid; gap: 6px; font-size: 14px; line-height: 20px; color: #143250; }
.hd-break div { display: flex; justify-content: space-between; gap: 16px; }
.hd-break dt { margin: 0; }
.hd-break dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hd-break .hd-break-total { margin-top: 4px; padding-top: 8px; border-top: 2px solid #F5AF1C; font-weight: 900; color: #335A97; font-size: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Card head: plan and address on the left, square feet with the homesite number under it on the right */
.home-title { align-items: flex-start; }
.home-tl { display: flex; flex-direction: column; min-width: 0; }
.home-tl .home-address { margin-top: 1px; }
.home-tr { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.home-tr .home-no { margin-left: 0; font-size: 12px; line-height: 14px; gap: 4px; }
.home-tr .home-ico { width: 14px; height: 13px; }

/* ===== Clark feedback, Nov 6 2026: let every page breathe like the homepage ===== */
.section { padding-block: clamp(76px, 11vw, 156px); }
.section.tight { padding-block: clamp(56px, 7vw, 100px); }
.li-intro { padding: 156px 0 150px; }
.li-plans { padding: 144px 0 156px; }
.li-ready { padding: 144px 0 156px; }
.fah-hero:not(.keep-tall) { min-height: 420px; }
.fah-hero:not(.keep-tall) .fah-hero-inner { padding-top: 196px; padding-bottom: 84px; }
.fah-hero:not(.keep-tall) .fh-eyebrow { margin-bottom: 14px; }
.fah-hero:not(.keep-tall) h1 + .fh-rule, .fah-hero:not(.keep-tall) .fh-rule { margin-top: 22px; }
@media (max-width: 860px) {
  .li-intro, .li-plans, .li-ready { padding: 96px 0 100px; }
  .fah-hero:not(.keep-tall) { min-height: 320px; }
  .fah-hero:not(.keep-tall) .fah-hero-inner { padding-top: 150px; padding-bottom: 56px; }
}
.fh-hero h1::after { margin-top: 26px; }
.fah-hero:not(.keep-tall).fh-hero .fah-hero-inner { padding-bottom: 78px; }

/* Why SunRiver (Clark, Nov 2026) */
.ws-why-title { color: var(--white); text-align: center; }
.ws-comms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ws-comm { position: relative; display: flex; flex-direction: column; color: var(--white); text-decoration: none; }
.ws-comm-photo { position: relative; display: block; height: 300px; border-radius: var(--radius-img); overflow: hidden; background: #24477D; }
.ws-comm-photo img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) saturate(1.05); transform: scale(1.12); }
.ws-comm-photo::after { content: ""; position: absolute; inset: 0; background: rgba(20, 50, 80, .28); }
.ws-comm-logo { position: absolute; left: 50%; top: 150px; z-index: 1; transform: translate(-50%, -50%); display: grid; place-items: center; width: 74%; padding: 22px 26px; border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px rgba(10, 25, 45, .25); }
.ws-comm-logo img { width: 100%; max-height: 92px; object-fit: contain; }
.ws-comm-text { display: block; margin-top: 22px; font-size: 16px; line-height: 25px; color: rgba(250, 245, 239, .92); text-align: center; padding: 0 8px; }
.ws-comm-cta { display: block; margin-top: 12px; color: var(--sun-yellow); font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
a.ws-comm:hover .ws-comm-photo img { transform: scale(1.18); transition: transform .6s ease; }
.ws-clubs { max-width: none; }
.ws-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 22px; }
.ws-more h3 { margin: 0; }
.ws-more ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ws-more li { padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--sunriver-blue); font-weight: 700; font-size: 14px; }
.ws-amen { position: relative; }
.ws-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: rgba(245, 175, 28, .16); }
.ws-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--sun-yellow-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-area { align-items: center; }
.ws-map img { width: 100%; height: auto; display: block; border-radius: var(--radius-img); }
@media (max-width: 860px) {
  .ws-comms { grid-template-columns: 1fr; gap: 40px; }
  .ws-comm-photo { height: 240px; }
  .ws-comm-logo { top: 120px; }
}

/* History: SunRiver Firelight years get the spotlight, plus a closing card */
.ht-fl .ht-card { background: #335A97; color: var(--white); }
.ht-fl .ht-card h3 { color: var(--white); }
.ht-fl .ht-card p { color: rgba(250, 245, 239, .9); }
.ht-fl .ht-year { color: var(--sun-yellow); }

.ht-next { display: grid; justify-items: center; gap: 10px; max-width: 760px; margin: 40px auto 0; padding: 48px 40px; border-radius: var(--radius-img); background: var(--deep-river); color: var(--white); text-align: center; text-decoration: none; box-shadow: var(--shadow-photo); }
.ht-next-eyebrow { color: var(--sun-yellow); font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ht-next strong { font-weight: 900; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.ht-next-text { max-width: 52ch; color: rgba(250, 245, 239, .9); font-size: 17px; line-height: 26px; }
.ht-next-cta { margin-top: 8px; padding: 12px 26px; border-radius: 999px; background: var(--sun-yellow); color: var(--deep-river); font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ht-next:hover .ht-next-cta { background: var(--white); }

/* Southern Utah tiles: more room */
.su-tiles { gap: 56px 36px; }
.su-tiles .photo-card { gap: 14px; }
.su-tiles .photo-card p { max-width: 34ch; }
.ht-node-year span { display: grid; justify-items: center; font-size: 34px; line-height: 34px; }
.ht-node-year span small { font-size: 16px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--sun-yellow); }
.faq-group + .faq-group { margin-top: 40px; }

/* Mortgage options (Clark): green in place of the sand, more room */
.mt-loans { background: #E7EEE1; }
.mt-loans .loans-card { background: #5E7F55; box-shadow: 0 12px 30px rgba(40, 70, 35, .25); }
.mt-loans .loans-card p { color: var(--white); }
.mt-loans .mt-cards { gap: 28px; }
.mt-loans .mt-cards .card { padding: 34px 30px; }
.mt-loans .stack > .rule { margin-bottom: 18px; }

/* Homes for Sale: the homesite map reads as its own white section */
.hfs-map { background: var(--white); padding-top: 120px; }

/* Bucketlist Living: Read more on each story, softer category chips */
.lon-post-more { display: inline-flex; align-items: center; gap: 10px; margin: 14px 22px 0; color: #335A97; font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.lon-post-arrow { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F5AF1C; transition: transform .2s ease, background .2s ease; }
.lon-post-arrow::before { content: ""; width: 7px; height: 7px; margin-left: -3px; border-top: 2px solid #143250; border-right: 2px solid #143250; transform: rotate(45deg); }
.lon-post:hover .lon-post-arrow { transform: translateX(4px); background: #335A97; }
.lon-post:hover .lon-post-arrow::before { border-color: var(--white); }
.bl-chips a { border: 1px solid rgba(51, 90, 151, .28); background: var(--white); color: #335A97; font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; padding: 7px 16px; }
.bl-chips a:hover { background: rgba(51, 90, 151, .08); color: #335A97; }
.bl-chips a[aria-current="page"] { background: #335A97; border-color: #335A97; color: var(--white); }

/* Floor plans (Clark): dark blue plan names, header with SunRiver Firelight in yellow */
.mh-name { color: var(--deep-river); }
.fp-banner h1 .yellow { color: var(--sun-yellow); }
.fp-banner h1 { font-size: 60px; line-height: 64px; }
@media (max-width: 860px) { .fp-banner h1 { font-size: 38px; line-height: 42px; } }

/* Plan page thumbnails with captions and the virtual tour */
.pd-thumbs { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin-top: 12px; }
.pd-thumbs .thumb.pd-thumb { display: flex; flex-direction: column; gap: 6px; aspect-ratio: auto; background: transparent; border-radius: 10px; outline: 0; }
.pd-thumbs .thumb:nth-of-type(n+5) { display: flex; }
.pd-thumb-img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 159 / 90; overflow: hidden; border-radius: 10px; background: #E9E1D6; outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .2s; }
.pd-thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active .pd-thumb-img { outline-color: var(--sun-yellow); }
.pd-thumb-cap { color: #335A97; font-size: 12px; line-height: 15px; font-weight: 700; text-align: left; }
.pd-thumb-tour .pd-thumb-img { background: #335A97; color: var(--white); font-weight: 900; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; gap: 4px; align-content: center; }
.pd-tour-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--sun-yellow); position: relative; }
.pd-tour-ico::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 10px solid #143250; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.viewer-main { position: relative; }
.viewer-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer-main.is-tour img { visibility: hidden; }

/* Zoomable floor plan viewer */
.pd-plan-img { position: relative; display: block; }
.pd-zoom-hint { position: absolute; right: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(20, 50, 80, .82); color: var(--white); font-size: 12px; font-weight: 700; pointer-events: none; }
.lightbox.is-zoom { cursor: default; }

/* Discovery Villas (Clark): logo lockup and drive-time cards */
.dv-logo { display: inline-flex; align-items: center; gap: 14px; }
.dv-logo-mark { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 18px; background: #E8A93A; }
.dv-logo-mark svg { width: 46px; height: 46px; }
.dv-logo-word { color: #335A97; font-weight: 900; font-size: 20px; line-height: 21px; letter-spacing: .02em; text-transform: uppercase; }
.dv-near-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.dv-near-card { display: grid; align-content: start; gap: 8px; padding: 36px 30px 38px; border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-card); color: #335A97; }
.dv-near-card strong { color: var(--sun-yellow-deep); font-weight: 900; font-size: 44px; line-height: 44px; letter-spacing: -0.03em; }
.dv-near-card h3 { margin: 6px 0 0; font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; }
.dv-near-card p { margin: 0; font-family: var(--font-serif); font-size: 16px; line-height: 1.5; }
@media (max-width: 960px) { .dv-near-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dv-near-grid { grid-template-columns: 1fr; } }

/* SunRiver Firelight (Clark): plan rows fade out at the left and right edges so they drift in and out of view */
.li-plan-rows { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.fl-hero-eyebrow { margin: 0 0 12px; color: #FAF5EF; font-weight: 900; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(20, 50, 80, .4); }
.footer-col .footer-name { color: #143250; font-weight: 500; font-size: 16px; line-height: 25px; }
.section .stack p a { overflow-wrap: anywhere; }
.pd-thumbs .thumb.pd-thumb { overflow: visible; height: auto; }
/* Official Discovery Villas logo (Discovery_Villas_Logo_A.svg) */
img.dv-logo { display: block; width: 300px; max-width: 100%; height: auto; margin-bottom: 18px; }
@media (max-width: 860px) { img.dv-logo { width: 230px; } }

/* Design Center banners: dark overlay so the header text reads clearly */
.dz-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 30, 55, .55) 0%, rgba(14, 30, 55, .38) 45%, rgba(14, 30, 55, .55) 100%); pointer-events: none; }
.dz-hero .fah-hero-inner { position: relative; z-index: 2; }
.dz-hero h1 { text-shadow: 0 2px 20px rgba(10, 25, 45, .35); }
.dz-cta::before { background: linear-gradient(0deg, rgba(14, 30, 55, .7), rgba(14, 30, 55, .45)); }

/* Design Center "The good stuff comes included": more breathing room */
.dz-standard { padding: 170px 0 180px; }
.dz-standard .dz-split { gap: 80px; }
.dz-standard .dz-h2 + * { margin-top: 22px; }
.dz-standard .dz-std { margin-top: 36px; }
.dz-standard .dz-std li { padding-top: 15px; padding-bottom: 15px; }
.dz-standard .dz-std li::before { top: 21px; }
@media (max-width: 860px) { .dz-standard { padding: 104px 0 112px; } .dz-standard .dz-split { gap: 44px; } }

/* SunRiver Firelight "So much time. So much to do.": more vertical room */
.li-plans.fl-clubs { padding-top: 200px; padding-bottom: 210px; }
@media (max-width: 860px) { .li-plans.fl-clubs { padding-top: 120px; padding-bottom: 128px; } }

/* Bucketlist Living category filters: lighter still */
.bl-chips a { border-color: rgba(51, 90, 151, .14); background: transparent; color: #5A78A8; font-weight: 500; }
.bl-chips a:hover { background: rgba(51, 90, 151, .05); color: #335A97; border-color: rgba(51, 90, 151, .24); }
.bl-chips a[aria-current="page"] { background: rgba(245, 175, 28, .16); border-color: rgba(245, 175, 28, .5); color: #143250; font-weight: 700; }
.pill-cta { border-radius: 999px; }

/* Live Out: What's near SunRiver Firelight map (redrawn from the sales flier, zoom and drag window) */
.nm { margin-top: 80px; }
.nm-head h3 { margin: 0; color: #335A97; font-weight: 900; font-size: 32px; line-height: 36px; letter-spacing: -0.02em; }
.nm-head p { margin: 8px 0 0; color: #335A97; font-family: var(--font-serif); font-size: 17px; }
.nm-map { position: relative; margin-top: 28px; aspect-ratio: 1340 / 945; max-height: 78vh; width: 100%; border-radius: 28px; overflow: hidden; background: #FAF5F0; border: 1px solid rgba(51, 90, 151, .16); box-shadow: var(--shadow-card); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.nm-map.is-drag { cursor: grabbing; }
.nm-stage { position: absolute; left: 0; top: 0; width: 1340px; height: 945px; transform-origin: 0 0; will-change: transform; }
.nm-map.is-anim .nm-stage { transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.nm-svg { display: block; width: 1340px; height: 945px; max-width: none; font-family: var(--font-sans); }
.nm-bg { fill: #FAF5F0; }
.nm-lake { fill: #335A97; fill-opacity: .22; stroke: #335A97; stroke-opacity: .35; stroke-width: 1.5; }
.nm-road-casing { fill: none; stroke: #FFFFFF; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.nm-road { fill: none; stroke: #143250; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; opacity: .82; }
.nm-arrow { fill: none; stroke: #143250; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .82; }
.nm-town { fill: #335A97; font-family: var(--font-serif); font-style: normal; font-weight: 700; font-size: 19px; }
.nm-label { fill: #143250; font-weight: 600; font-size: 13.5px; paint-order: stroke; stroke: rgba(250, 245, 240, .9); stroke-width: 3.5px; pointer-events: none; }
.nm-pin-g { transform: scale(var(--nm-pk, 1)); transition: transform .18s; }
.nm-hit { fill: transparent; }
.nm-pin { fill: #335A97; stroke: #FAF5F0; stroke-width: 1.8; transition: fill .18s; }
.nm-pin-dot { fill: #FAF5F0; }
.nm-place { cursor: pointer; outline: none; transition: opacity .2s; }
.nm-place:hover .nm-pin, .nm-place:focus-visible .nm-pin, .nm-place.is-on .nm-pin { fill: #F5AF1C; }
.nm-place:hover .nm-pin-dot, .nm-place:focus-visible .nm-pin-dot, .nm-place.is-on .nm-pin-dot { fill: #143250; }
.nm-place:hover .nm-pin-g, .nm-place:focus-visible .nm-pin-g, .nm-place.is-on .nm-pin-g { transform: scale(calc(var(--nm-pk, 1) * 1.25)); }
.nm-place:hover .nm-label, .nm-place:focus-visible .nm-label, .nm-place.is-on .nm-label { fill: #335A97; font-weight: 800; }
.nm.is-focus .nm-place { opacity: .3; }
.nm.is-focus .nm-place.is-on { opacity: 1; }
.nm-home-plate { fill: #FFFFFF; fill-opacity: .92; filter: drop-shadow(0 4px 10px rgba(20, 50, 80, .14)); }
.nm-tip { position: absolute; z-index: 3; left: 0; top: 0; width: 280px; transform: translate(-50%, calc(-100% - 16px)); padding: 16px 18px; border-radius: 16px; background: #FFFFFF; color: #143250; box-shadow: 0 14px 34px rgba(20, 50, 80, .22); border: 1px solid rgba(51, 90, 151, .12); pointer-events: none; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.nm-tip[hidden] { display: none; }
.nm-tip::after { content: ""; position: absolute; left: var(--nm-tip-x, 50%); bottom: -7px; width: 14px; height: 14px; background: #FFFFFF; border-right: 1px solid rgba(51, 90, 151, .12); border-bottom: 1px solid rgba(51, 90, 151, .12); transform: translateX(-50%) rotate(45deg); }
.nm-tip-logo { height: 48px; margin-bottom: 12px; display: flex; align-items: center; }
.nm-tip-logo img { display: block; height: 48px; width: auto; max-width: 180px; object-fit: contain; border-radius: 6px; }
.nm-tip-logo.is-icon { width: 48px; border-radius: 50%; background: #FAF5F0; color: #335A97; justify-content: center; }
.nm-tip-logo svg { width: 26px; height: 26px; }
.nm-tip-cat { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #335A97; opacity: .8; }
.nm-tip strong { display: block; margin-top: 2px; font-size: 16px; font-weight: 800; line-height: 1.2; color: #143250; }
.nm-tip-about { margin: 5px 0 0; font-size: 13px; line-height: 1.4; color: #143250; opacity: .82; }
.nm-tip-dist { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 999px; background: #F5AF1C; color: #143250; font-size: 12.5px; font-weight: 800; }
.nm-tip.is-below { transform: translate(-50%, 20px); }
.nm-tip.is-below::after { bottom: auto; top: -7px; transform: translateX(-50%) rotate(225deg); }
@media (max-width: 860px) { .nm-tip { width: 250px; } }
.nm-ctrl { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #FFFFFF; box-shadow: 0 6px 18px rgba(20, 50, 80, .16); }
.nm-ctrl button { width: 44px; height: 44px; border: 0; background: #FFFFFF; color: #335A97; font: 800 22px/1 var(--font-sans); cursor: pointer; }
.nm-ctrl button + button { border-top: 1px solid rgba(51, 90, 151, .14); }
.nm-ctrl button:hover, .nm-ctrl button:focus-visible { background: #F5AF1C; color: #143250; outline: none; }
.nm-ctrl .nm-fit { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.nm-hint { position: absolute; z-index: 2; left: 18px; top: 18px; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #335A97; font-size: 12.5px; font-weight: 600; pointer-events: none; transition: opacity .3s; }
.nm-map.is-used .nm-hint { opacity: 0; }
.nm-hint-sm { display: none; }
@media (max-width: 860px) {
  .nm { margin-top: 56px; }
  .nm-map { aspect-ratio: auto; height: min(72vh, 520px); border-radius: 22px; }
  .nm-hint { left: 12px; top: 12px; font-size: 12px; }
  .nm-hint-lg { display: none; }
  .nm-hint-sm { display: inline; }
  .nm-ctrl { right: 12px; bottom: 12px; }
}

.lo-map-sec { padding-block: 8px 72px; }
.lo-map-sec .nm { margin-top: 0; }
@media (max-width: 860px) { .lo-map-sec { padding-bottom: 48px; } }

/* Lightbox, matched to the floor plan zoom on sunriver-website.vercel.app: deep river backdrop with blur,
   white rounded card, small white close button on the corner. */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(20, 50, 80, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: zoom-out; }
.lb-frame { position: relative; width: fit-content; max-width: min(96vw, 1200px, 100vw - 48px); cursor: default; }
.lb-card { padding: 12px; border-radius: 20px; background: #FFFFFF; overflow: hidden; }
.lb-stage { display: grid; place-items: center; overflow: hidden; border-radius: 10px; touch-action: none; }
.lb-stage img { display: block; width: auto; height: auto; max-width: calc(min(96vw, 1200px, 100vw - 48px) - 24px); max-height: 88vh; object-fit: contain; transform-origin: center center; user-select: none; -webkit-user-select: none; }
.lightbox.is-zoom .lb-stage img { max-height: calc(100vh - 180px); }
.lightbox.is-zoom .lb-stage { cursor: grab; }
.lightbox.is-zoom .lb-stage:active { cursor: grabbing; }
.lightbox .lb-close { position: absolute; top: -8px; right: -8px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #FFFFFF; color: #143250; box-shadow: 0 35px 60px -15px rgba(0, 0, 0, .3), 0 4px 12px rgba(20, 50, 80, .18); cursor: pointer; transition: background-color .2s; }
.lightbox .lb-close svg { width: 16px; height: 16px; }
.lightbox .lb-close:hover, .lightbox .lb-close:focus-visible { background: var(--sun-yellow); outline: none; }
.lb-ctl { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; overflow: hidden; border-radius: 999px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.lightbox .lb-ctl button { width: 48px; height: 40px; padding: 0; border: 0; background: #FFFFFF; color: #143250; font: 800 20px/1 var(--font-sans); cursor: pointer; }
.lightbox .lb-ctl button + button { border-left: 1px solid rgba(20, 50, 80, .12); }
.lightbox .lb-ctl button[data-z="fit"] { width: 60px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.lightbox .lb-ctl button:hover { background: var(--sun-yellow); }
.lb-hint { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); margin: 0; color: rgba(255, 255, 255, .75); font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) { .lightbox.is-zoom .lb-stage img { max-height: calc(100vh - 180px); } .lb-hint { display: none; } }

/* Homepage parallax (site.js): images drift slightly within their frames */
.plx { transform: translate3d(0, var(--plx, 0px), 0) scale(var(--plx-s, 1)); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .plx { transform: none; } }

/* Listing gallery with arrows (version A, picked Nov 13): big photo with prev/next and a count, a strip of 4 thumbnails with its own arrows */
.gal .viewer-main { position: relative; }
.gal-arrow, .gal-sarrow { display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s, transform .2s; }
.gal-arrow svg, .gal-sarrow svg { width: 20px; height: 20px; }
.gal-arrow { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; transform: translateY(-50%); }
.gal-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: rgba(20, 50, 80, .72); color: #FFFFFF; font: 600 13px/1.2 var(--font-sans); letter-spacing: .02em; pointer-events: none; }
.gal-count b { font-weight: 800; }
.gal-strip { position: relative; }
.gal-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track .thumb { width: auto; aspect-ratio: 159 / 83; border: 0; border-radius: 10px; outline-offset: -3px; scroll-snap-align: start; }
.gal-track .thumb.is-active { outline: 3px solid #FFFFFF; }
.gal-sarrow[disabled] { opacity: 0; pointer-events: none; }

/* A: soft white arrows sitting on the photos */
.gal-a .gal-arrow { background: rgba(255, 255, 255, .55); color: #143250; box-shadow: 0 6px 18px rgba(20, 50, 80, .14); }
.gal-a .gal-prev { left: 16px; }
.gal-a .gal-next { right: 16px; }
.gal-a .gal-arrow:hover, .gal-a .gal-arrow:focus-visible { background: #FFFFFF; outline: none; }
.gal-a .gal-sarrow { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; border-radius: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .55); color: #143250; box-shadow: 0 4px 12px rgba(20, 50, 80, .16); }
.gal-a .gal-sarrow svg { width: 16px; height: 16px; }
.gal-a .gal-sprev { left: 8px; }
.gal-a .gal-snext { right: 8px; }
.gal-a .gal-sarrow:hover, .gal-a .gal-sarrow:focus-visible { background: #FFFFFF; outline: none; }

@media (max-width: 860px) {
  .gal-arrow { width: 40px; height: 40px; }
}

/* Listing detail on desktop: a slimmer info card that runs the full height of the photo and thumbnails,
   readable text at the site's usual sizes, and the two buttons stacked full width at the bottom */
@media (min-width: 1101px) {
  .hd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 24px; align-items: stretch; }
  .hd-media.viewer { display: flex; flex-direction: column; gap: 18px; }
  .hd-media .viewer-main { flex: 1 1 auto; min-height: 0; }
  .hd-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 28px 32px 30px; }
  .hd-card > * { max-width: 100%; }
  .hd-price { font-size: 40px; line-height: 46px; }
  .hd-name { margin-top: 8px; font-size: 18px; line-height: 26px; }
  .hd-site { margin-top: 12px; }
  .hd-address { font-size: 22px; line-height: 28px; }
  .hd-comm { font-size: 17px; line-height: 24px; }
  .hd-chips { margin-top: 18px; }
  .hd-chips .chip { height: 36px; padding: 0 12px; gap: 7px; font-size: 15px; }
  .hd-chips { flex-wrap: nowrap; }
  .hd-status { margin-top: 16px; font-size: 17px; line-height: 24px; }
  .hd-break { align-self: stretch; margin-top: 16px; font-size: 15px; line-height: 22px; }
  .hd-break .hd-break-total { font-size: 17px; }
  .hd-actions { align-self: stretch; flex-direction: column; flex-wrap: nowrap; gap: 12px; margin-top: auto; padding-top: 22px; }
  .hd-btn { width: 100%; height: 52px; font-size: 17px; font-weight: 600; }
}

/* Live In / Out / On lead headings: the page name gets a yellow underline */
.li-u { text-decoration: underline; text-decoration-color: var(--sun-yellow); text-decoration-thickness: 5px; text-underline-offset: 8px; text-decoration-skip-ink: none; }

/* Live In, Homes ready now: cards carry a drop shadow by default, a little deeper on hover */
.li-ready .home-card { box-shadow: 0 10px 28px rgba(20, 50, 80, .12); }
.li-ready .home-card:hover { box-shadow: 0 16px 38px rgba(20, 50, 80, .2); }

/* Banner preview (?bnr=1|2|3): white wash over the photo, SunRiver waves on top, navy type */
.bnr .fah-hero::before, .bnr .fah-hero::after { display: none !important; }
.bnr-wash, .bnr-waves { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bnr-waves { background: url(/assets/img/sr-waves-full.svg) no-repeat center bottom / 100% 100%; }
.bnr .fah-hero-inner { z-index: 2; }
.bnr .fah-hero h1, .bnr .fah-hero p, .bnr .fah-hero .fh-eyebrow, .bnr .fah-hero .fl-hero-sub { color: #143250 !important; text-shadow: none !important; }
.bnr .fah-hero h1 { color: #335A97 !important; }
/* 1: soft haze, white waves at their own strength */
.bnr-1 .bnr-wash { background: rgba(255, 255, 255, .7); }
.bnr-1 .bnr-waves { opacity: .38; }
/* 2: bright cream wash, the photo becomes a whisper, navy waves */
.bnr-2 .bnr-wash { background: rgba(250, 245, 240, .72); }
.bnr-2 .bnr-waves { opacity: .14; filter: brightness(0) saturate(100%) invert(30%) sepia(40%) saturate(900%) hue-rotate(185deg); }
/* 3: graded wash, heavy behind the type and lighter toward the bottom so the photo shows through, sun yellow waves */
.bnr-3 .bnr-wash { background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .6) 55%, rgba(255, 255, 255, .35) 100%); }
.bnr-3 .bnr-waves { opacity: .13; filter: brightness(0) saturate(100%) invert(73%) sepia(58%) saturate(1200%) hue-rotate(358deg) brightness(101%); }
.bnr .site-header { --logo-word: #325A96 !important; --logo-accent: #F5AF1C !important; }

/* Nov 13: waves off for now, lighter wash */
.bnr-waves { display: none; }

/* Homes for sale filter: a collapsible dropdown on phones and tablets (like the Vercel build), always open on desktop */
.filters-body { display: grid; gap: 8px; }
button.filters-title { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; border-bottom: 1px solid #D9D9D9; background: none; color: #153250; font-family: inherit; text-align: left; cursor: default; pointer-events: none; }
.filters-chev { display: none; width: 16px; height: 16px; transition: transform .25s ease; }
@media (max-width: 860px) {
  .filters { padding: 18px 22px; }
  button.filters-title { margin: 0; padding: 4px 0; border-bottom: 0; font-size: 15px; cursor: pointer; pointer-events: auto; }
  .filters-chev { display: block; }
  .filters-body { display: none; padding-top: 12px; margin-top: 8px; border-top: 1px solid #D9D9D9; }
  .filters.is-open .filters-body { display: grid; }
  .filters.is-open .filters-chev { transform: rotate(180deg); }
}

/* Listing detail: one photo still gets its thumbnail row (no arrows, no count) so the photo keeps the same shape */
.gal-single .gal-arrow, .gal-single .gal-count, .gal-single .gal-sarrow { display: none; }
/* Listing detail on phones: Request Info becomes a yellow Call Us button */
.hd-call { display: none; }
@media (max-width: 860px) {
  .hd-info { display: none; }
  .hd-call { display: grid; place-items: center; background: var(--sun-yellow); border-color: var(--sun-yellow); color: #143250; }
}
/* Listing detail lightbox: white backdrop instead of deep river blue */
.lightbox.lb-light { background: rgba(255, 255, 255, .94); }
.lightbox.lb-light .lb-card { box-shadow: 0 20px 60px rgba(20, 50, 80, .18); }
.lightbox.lb-light .lb-close { box-shadow: 0 6px 18px rgba(20, 50, 80, .25); }
.lightbox.lb-light .lb-hint { color: #335A97; }
.lightbox.lb-light .lb-ctl { box-shadow: 0 6px 20px rgba(20, 50, 80, .2); }

/* ================================================================== Ad landing pages (/firelight-bing, /discovery-villas-meta)
   Laid out like the same pages on the old sunriver.com, under the regular white header bar. */
body.landing main > section:first-child { padding-top: clamp(36px, 5vw, 76px); }

/* SunRiver Firelight for Microsoft Ads: headline and pricing form on blue */
.lp-hero { background: var(--sunriver-blue); color: var(--white); padding-bottom: clamp(56px, 8vw, 120px); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lp-hero h1 { color: var(--white); font-weight: 900; font-size: clamp(40px, 5.6vw, 78px); line-height: 0.92; letter-spacing: -0.02em; margin-top: clamp(0px, 3vw, 40px); }
.lp-hero h1 .yellow { color: var(--sun-yellow); }
.lp-under { text-decoration: underline; text-decoration-color: var(--sun-yellow); text-decoration-thickness: 5px; text-underline-offset: 6px; }
.lp-arrow { display: block; width: 0; height: 0; margin-top: clamp(28px, 4vw, 52px); border-left: clamp(70px, 10vw, 146px) solid var(--sun-yellow); border-top: clamp(38px, 5.4vw, 78px) solid transparent; border-bottom: clamp(38px, 5.4vw, 78px) solid transparent; }
.lp-hero-form h2 { color: var(--white); font-weight: 900; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.02em; text-align: center; }
.lp-sub { color: var(--sun-yellow); font-size: 19px; line-height: 1.55; text-align: center; margin: 10px auto 26px; max-width: 30em; }
.chat-form.lp-form { background: transparent; padding: 0; max-width: none; gap: 18px; border-radius: 0; }
.chat-form.lp-form label { font-size: 17px; }
.chat-form.lp-form .btn { justify-self: end; background: var(--sun-yellow); color: var(--deep-river); min-width: 0; }
.chat-form.lp-form .btn:hover { background: var(--sun-yellow-deep); }
.chat-form.lp-form .consent { opacity: .85; }
.lp-close h2 { font-weight: 900; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.02em; }
.lp-close p { color: var(--white); font-size: 20px; margin: 0; }
@media (max-width: 860px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-arrow { display: none; }
  .lp-hero-form h2, .lp-sub { text-align: left; margin-inline: 0; }
  .chat-form.lp-form .btn { justify-self: stretch; }
}

/* Discovery Villas for Meta ads: photo beside the offer and request form */
.lp-dv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.lp-dv-photo { border-radius: var(--radius-img); overflow: hidden; min-height: 420px; }
.lp-dv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 16% 50%; display: block; }
.lp-dv-copy { align-content: start; }
.lp-dv-title { font-weight: 900; font-size: clamp(24px, 2.2vw, 30px); line-height: 1; letter-spacing: -0.02em; color: var(--deep-river); }
.lp-dv-copy > p { color: var(--deep-river); line-height: 1.6; max-width: 34em; }
.lp-dv-copy .price-callout { color: var(--deep-river); }
.chat-form.lp-dv-form { background: transparent; padding: 0; max-width: 520px; gap: 18px; border-radius: 0; }
.chat-form.lp-dv-form .btn { justify-self: end; min-width: 0; }
/* the full request-a-stay form on the Meta landing page: a white card, since the section behind it is sand */
.lp-dv .chat-form.dvb-form { background: var(--white); max-width: none; padding: clamp(22px, 2.6vw, 34px); }
.lp-call { font-size: clamp(26px, 3vw, 42px); line-height: 1.05; color: var(--deep-river); }
.lp-call a { color: var(--sun-yellow); text-decoration: none; white-space: nowrap; }
.lp-fine { font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--deep-river); opacity: .75; }
.lp-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lp-shot { aspect-ratio: 3 / 2; border-radius: var(--radius-card); cursor: zoom-in; }
@media (max-width: 860px) {
  .lp-dv-grid { grid-template-columns: 1fr; }
  .lp-dv-photo { min-height: 0; aspect-ratio: 4 / 3; order: 2; }
  .lp-gallery { grid-template-columns: 1fr; }
  .chat-form.lp-dv-form .btn { justify-self: stretch; }
}
.chat-form.light input[type="date"], .chat-form.light select { border: 2px solid var(--line); }

/* Discovery Villas page (Clark, Nov 2026): the old sunriver.com layout under the photo header. The offer block reuses
   the .lp-dv rules above; these are the page's own touches and the three "places to go" photo cards. */
.dv-offer .rule { width: min(100%, 320px); max-width: none; }
.dv-offer .lp-dv-title { font-size: clamp(26px, 2.4vw, 34px); }
.dv-offer .lp-dv-photo img { object-position: 14% 50%; }
/* Kept short (Clark, Nov 2026): less padding, smaller logo and type. The request form lives on /discovery-villas/book. */
.section.dv-offer { padding-block: clamp(36px, 4vw, 56px) clamp(40px, 4.5vw, 64px); }
.dv-offer .lp-dv-copy { gap: 14px; }
.dv-offer img.dv-logo { width: 210px; margin-bottom: 0; }
.dv-offer .lp-dv-title { font-size: clamp(24px, 2.1vw, 30px); }
.dv-offer .lp-dv-copy > p { max-width: none; }
.dv-offer .price-callout { font-size: clamp(26px, 2.5vw, 34px); }
.dv-offer .lp-fine { font-size: 12px; }
.dv-offer .lp-dv-photo { min-height: 0; }
.dv-close h2.display { color: var(--deep-river); }
.dv-dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.dv-dest { display: grid; align-content: start; }
.dv-dest-photo { position: relative; z-index: 1; aspect-ratio: 16 / 10; border-radius: var(--radius-img); overflow: hidden; background: var(--deep-river); }
.dv-dest-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.dv-dest-photo.dark img { object-position: 50% 100%; }
.dv-dest-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 42%); pointer-events: none; }
.dv-dest-photo.dark::after { background: linear-gradient(160deg, rgba(20, 50, 80, .5), rgba(20, 50, 80, 0) 48%); }
.dv-dest-title { position: absolute; z-index: 1; left: 22px; top: 18px; right: 22px; display: grid; gap: 2px; }
.dv-dest-title h3 { color: var(--sunriver-blue); font-weight: 900; font-size: clamp(26px, 2.5vw, 36px); line-height: 1; letter-spacing: -0.02em; }
.dv-dest-title span { font-family: var(--font-serif); font-size: 18px; line-height: 1.2; color: var(--deep-river); }
.dv-dest-photo.dark h3, .dv-dest-photo.dark span { color: var(--white); }
.dv-dest-list { list-style: none; margin: -26px 22px 0; padding: 42px 22px 20px; display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 22px 22px; color: var(--sunriver-blue); font-size: 15px; line-height: 1.35; }
.dv-dest-list li { position: relative; padding-left: 20px; }
.dv-dest-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; border-radius: 50%; background: var(--sun-yellow); }
@media (max-width: 900px) { .dv-dest-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Discovery Villas: one yellow, #E49C08, everywhere on the page (Adam, Nov 2026) */
.dv-yellow { --sun-yellow: #E49C08; --sun-yellow-deep: #E49C08; }
.dv-yellow .fh-hero h1::after, .dv-yellow .chat-form { background: #E49C08; }
.dv-yellow .footer-col a, .dv-yellow .footer-brand a { background-image: linear-gradient(#E49C08, #E49C08); }

/* iPhone Duo, outer screen (Clark, Nov 2026). Safari keeps its controls in a strip beside the page there, does not let
   a site extend into that strip, and fills it with the page's background colour, which was white. These rules make
   that colour SunRiver Blue on the Duo's outer screen only: Apple gives its Safari viewport as exactly 382px wide in
   portrait and 594px wide in landscape, widths no other iPhone has. The page keeps its white background through
   <main>, so nothing on the page changes. Remove this once Safari lets sites use that strip. */
@media (width: 382px), (width: 594px) and (max-height: 420px) {
  html, body { background-color: #325A96; }
  main { background-color: var(--white); }
}
