/* Auburn Experience — site styles
   Layout concept: warm limestone pages, Auburn navy for structure, orange used sparingly
   for the moments that matter (campus distance, calls to action). */
:root {
  --navy: #0C2340;
  --navy-2: #18345C;
  --orange: #E87722;
  --orange-ink: #A84C0A;
  --limestone: #F7F3EE;
  --sand: #ECE3D5;
  --surface: #FFFFFF;
  --ink: #17212F;
  --muted: #586376;
  --line: #DDD4C6;
  --on-navy: #F4EFE8;
  --on-navy-muted: #B9C3D3;

  --ok: #2F6B45;
  --ok-bg: #E2EEE5;
  --soon: #8A5A0B;
  --soon-bg: #F6E8CF;
  --off: #6B6F78;
  --off-bg: #E9E7E3;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 18px;
  --radius-sm: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--limestone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.6rem; font-weight: 650; }
p { margin: 0; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

.wrap {
  max-width: calc(var(--wrap) + 40px);
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 44px; }
.section-head p { max-width: 32rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--body);
  padding: 16px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-accent { background: var(--orange); color: var(--navy); }
.btn-accent:hover { background: #F08A3C; color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--on-navy); }
.btn-light { border-color: var(--on-navy); color: var(--on-navy); }
.btn-light:hover { background: var(--on-navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--limestone) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy); color: var(--orange);
  display: grid; place-items: center;
  font: 800 1rem/1 var(--display); letter-spacing: -0.03em;
}
.brand-name { font: 700 1.2rem/1 var(--display); letter-spacing: -0.02em; }
.brand-name small { display: block; font: 500 .78rem/1.3 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--orange); }
.nav .btn { padding: 12px 20px; border-bottom: 0; }
.nav .btn:hover { border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--limestone); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange-ink); }
  .nav .btn { margin-top: 16px; border-bottom: 2px solid transparent; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy h1 { max-width: 12ch; }

.campus-index { list-style: none; margin: 16px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.campus-index li { border-bottom: 1px solid var(--line); }
.campus-index a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px;
  padding: 16px 4px; text-decoration: none; color: var(--ink);
  transition: background-color .2s, padding .2s;
}
.campus-index a:hover, .campus-index a.is-active { background: var(--surface); padding-left: 14px; padding-right: 14px; }
.ci-name { font: 650 1.2rem/1.2 var(--display); color: var(--navy); letter-spacing: -0.01em; }
.ci-meta { grid-column: 1; font-size: .92rem; color: var(--muted); }
.ci-time { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-variant-numeric: tabular-nums; }
.ci-time strong { display: block; font: 700 2.1rem/1 var(--display); color: var(--orange-ink); letter-spacing: -0.03em; }
.ci-time span { font-size: .8rem; color: var(--muted); }
.campus-index-note { font-size: .88rem; color: var(--muted); }

.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--sand); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.hero-media img.is-hidden { opacity: 0; }
.hero-caption {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  background: var(--navy); color: var(--on-navy);
  padding: 14px 18px; border-radius: 12px;
}
.hero-caption strong { font: 650 1.05rem/1.2 var(--display); }
.hero-caption span { color: var(--on-navy-muted); font-size: .9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
}

/* ---------- Promise strip ---------- */
.promises { background: var(--surface); border-block: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { padding: 32px 28px; border-left: 1px solid var(--line); }
.promise:first-child { border-left: 0; padding-left: 0; }
.promise h3 { font-size: 1.15rem; margin-bottom: 6px; }
.promise p { font-size: .97rem; color: var(--muted); }
@media (max-width: 900px) {
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .promise { padding: 24px 20px; }
  .promise:nth-child(odd) { border-left: 0; padding-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise { border-left: 0; padding-left: 0; }
  .promise:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ---------- Property rows ---------- */
.property-list { display: grid; gap: clamp(48px, 7vw, 88px); }
.property-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.property-row:nth-child(even) .property-photo { order: 2; }
.property-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); display: block; }
.property-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.property-photo:hover img { transform: scale(1.03); }
.property-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.property-kicker { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; color: var(--muted); }
.property-kicker .walk { color: var(--orange-ink); font-weight: 600; }
.property-body h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.property-body p { color: var(--muted); max-width: 36rem; }
.included { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.included li { font-size: .88rem; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.included-label { font-size: .9rem; font-weight: 600; color: var(--navy); }
@media (max-width: 820px) {
  .property-row { grid-template-columns: 1fr; }
  .property-row:nth-child(even) .property-photo { order: 0; }
}

/* ---------- Navy band ---------- */
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy h2 { color: var(--on-navy); }
.band-navy p { color: var(--on-navy-muted); }
.video-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.video-band .btn-row { justify-content: flex-end; }
.video-band-copy { display: flex; flex-direction: column; gap: 16px; max-width: 36rem; }
@media (max-width: 820px) {
  .video-band { grid-template-columns: 1fr; }
  .video-band .btn-row { justify-content: flex-start; }
}

/* ---------- Retreat teaser ---------- */
.band-sand { background: var(--sand); }
.retreat-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.retreat-teaser .photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.retreat-teaser .photo-pair img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.retreat-teaser .photo-pair img:last-child { margin-top: 48px; aspect-ratio: 3 / 3.4; }
.retreat-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.retreat-copy p { color: var(--muted); max-width: 34rem; }
@media (max-width: 820px) { .retreat-teaser { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote { display: flex; flex-direction: column; gap: 18px; border-top: 2px solid var(--orange); padding-top: 24px; }
.quote blockquote { margin: 0; font: 500 1.28rem/1.4 var(--display); color: var(--navy); letter-spacing: -0.01em; }
.quote figcaption { color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.contact-lines { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-lines div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-lines dt { color: var(--muted); font-size: .92rem; }
.contact-lines dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

.form-card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--limestone);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 35%, transparent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-status { font-size: .95rem; }
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.err { color: #9B2C1F; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 56px 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--on-navy); font-size: 1rem; margin-bottom: 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer .brand { color: var(--on-navy); }
.site-footer .brand-mark { background: var(--orange); color: var(--navy); }
.site-footer .brand-name small { color: var(--on-navy-muted); }
.footer-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(244,239,232,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.crumbs { font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Rentals listing ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: end; padding-bottom: 28px; border-bottom: 2px solid var(--navy); margin-bottom: 8px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group > span { font-size: .88rem; font-weight: 600; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .95rem/1 var(--body); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.filter-group select { font: inherit; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.result-count { margin-left: auto; color: var(--muted); font-size: .95rem; }

.unit-list { list-style: none; padding: 0; margin: 0; }
.unit-row {
  display: grid; grid-template-columns: 120px minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.unit-thumb { width: 120px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.unit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.unit-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.unit-main h3 { font-size: 1.3rem; }
.unit-main h3 a { text-decoration: none; color: var(--navy); }
.unit-main h3 a:hover { color: var(--orange-ink); }
.unit-specs { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }
.unit-price { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-variant-numeric: tabular-nums; }
.unit-price strong { font: 700 1.3rem/1 var(--display); color: var(--navy); }
.unit-price strong.call { font-size: 1rem; font-family: var(--body); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.available { color: var(--ok); background: var(--ok-bg); }
.badge.upcoming { color: var(--soon); background: var(--soon-bg); }
.badge.leased { color: var(--off); background: var(--off-bg); }
.empty { padding: 48px 0; color: var(--muted); }
@media (max-width: 760px) {
  .unit-row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px 18px; }
  .unit-thumb { width: 96px; }
  .unit-price { grid-column: 2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .unit-row .btn { grid-column: 1 / -1; }
  .result-count { margin-left: 0; width: 100%; }
}

/* ---------- Property detail ---------- */
.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--sand); }
.thumbs button[aria-current="true"] { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 48px; }
.detail-body { display: flex; flex-direction: column; gap: 28px; }
.detail-body > p { font-size: 1.12rem; color: var(--ink); max-width: 40rem; }
.detail-body h2 { font-size: 1.7rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.feature-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }

.fact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.fact-card dl { margin: 0; display: grid; }
.fact-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact-card dt { color: var(--muted); font-size: .92rem; }
.fact-card dd { margin: 0; font-weight: 600; }
.fact-card .walk { color: var(--orange-ink); }
.fact-card .btn { width: 100%; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .fact-card { position: static; } }

.unit-cards { display: grid; gap: 14px; }
.unit-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: center; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.unit-card h3 { font-size: 1.25rem; }
.unit-card p { color: var(--muted); font-size: .97rem; grid-column: 1 / -1; }
.unit-card .unit-specs { margin-top: 2px; }
.unit-rent { font: 700 1.3rem/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.unit-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.unit-card-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.unit-card-actions .btn { padding: 11px 18px; font-size: .95rem; }
@media (max-width: 560px) { .unit-card { grid-template-columns: 1fr; } .unit-card-side { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; } }

.other-props { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.other-props a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.other-props img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.other-props strong { font: 650 1.2rem/1.2 var(--display); color: var(--navy); }
.other-props span { color: var(--muted); font-size: .93rem; }

/* ---------- Retreat page ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 52vw, 600px); }
.mosaic button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--sand); }
.mosaic button:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic button:hover img { transform: scale(1.03); }
@media (max-width: 720px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; }
  .mosaic button { aspect-ratio: 4 / 3; }
  .mosaic button:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}
.room-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 2px solid var(--navy); }
.room { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.room h3 { font-size: 1.2rem; }
.room p { color: var(--muted); }
@media (max-width: 720px) { .room-list { grid-template-columns: 1fr; } }
.occasions { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.occasions li { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: .93rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 18, 33, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; border-radius: 12px; }
.lightbox-close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: calc(16px + env(safe-area-inset-left, 0px)); }
.lightbox-next { right: calc(16px + env(safe-area-inset-right, 0px)); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--on-navy); color: var(--navy); display: grid; place-items: center; cursor: pointer; font-size: 1.4rem; line-height: 1; }

/* ---------- For sale ---------- */
.sale-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); }
.sale-card img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.sale-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sale-price { font: 700 2rem/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.sale-price.call { font-size: 1.2rem; font-family: var(--body); }
.sale-specs { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sale-body p { color: var(--muted); }
@media (max-width: 820px) { .sale-card { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Unit photo strips ---------- */
.unit-photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.unit-photos button { position: relative; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--sand); }
.unit-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.unit-photos button:hover img { transform: scale(1.04); }
.unit-photos span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12, 35, 64, .62); color: var(--on-navy); font-weight: 600; font-size: .95rem; }
.lightbox-count { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0; text-align: center; color: var(--on-navy); font-size: .95rem; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .unit-photos { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox: one image (floor plan) needs no arrows; plans sit on white so lines read */
.lightbox.single .lightbox-nav, .lightbox.single .lightbox-count { display: none; }
.lightbox img[src*="floorplan"] { background: #fff; padding: 12px; }

/* =====================================================================
   HOMEPAGE COLOR — navy and orange bands (home only; inner pages stay light)
   Rhythm: navy header+hero → orange promises → light properties →
   navy video → light retreat → orange testimonials → sand contact → navy footer
   ===================================================================== */
:root { --orange-bright: #F28C3A; --navy-deep: #081A31; }

body[data-page="home"] .site-header {
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  border-bottom: 3px solid var(--orange);
}
body[data-page="home"] .brand,
body[data-page="home"] .nav a { color: var(--on-navy); }
body[data-page="home"] .brand-mark { background: var(--orange); color: var(--navy); }
body[data-page="home"] .brand-name small { color: var(--on-navy-muted); }
body[data-page="home"] .nav a:hover { color: #fff; border-bottom-color: var(--orange); }
body[data-page="home"] .nav .btn-accent { color: var(--navy); }
body[data-page="home"] .nav-toggle { color: var(--on-navy); }
@media (max-width: 900px) {
  body[data-page="home"] .nav { background: var(--navy); border-bottom-color: var(--orange); }
  body[data-page="home"] .nav a { border-bottom-color: rgba(244, 239, 232, .14); }
  body[data-page="home"] .nav a:hover { color: var(--orange-bright); }
}

/* Hero */
body[data-page="home"] .hero {
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(232, 119, 34, .16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-navy);
}
body[data-page="home"] .hero h1 { color: #fff; }
body[data-page="home"] .hero h1::after {
  content: ""; display: block; width: 88px; height: 6px; margin-top: 22px;
  border-radius: 3px; background: var(--orange);
}
body[data-page="home"] .hero .lede { color: var(--on-navy-muted); }
body[data-page="home"] .campus-index { border-top-color: var(--orange); }
body[data-page="home"] .campus-index li { border-bottom-color: rgba(244, 239, 232, .14); }
body[data-page="home"] .campus-index a { color: var(--on-navy); }
body[data-page="home"] .campus-index a:hover,
body[data-page="home"] .campus-index a.is-active { background: var(--navy-2); }
body[data-page="home"] .campus-index a.is-active { box-shadow: inset 4px 0 0 var(--orange); }
body[data-page="home"] .ci-name { color: #fff; }
body[data-page="home"] .ci-meta,
body[data-page="home"] .ci-time span,
body[data-page="home"] .campus-index-note { color: var(--on-navy-muted); }
body[data-page="home"] .ci-time strong { color: var(--orange-bright); }
body[data-page="home"] .hero-media { box-shadow: 0 0 0 1px rgba(244, 239, 232, .1), 0 24px 60px rgba(0, 0, 0, .35); }
body[data-page="home"] .hero-caption { background: var(--orange); color: var(--navy); }
body[data-page="home"] .hero-caption span { color: var(--navy); opacity: .8; }

/* Orange promise strip */
body[data-page="home"] .promises { background: var(--orange); border-block: 0; }
body[data-page="home"] .promise { border-left-color: rgba(12, 35, 64, .22); }
body[data-page="home"] .promise h3 { color: var(--navy); }
body[data-page="home"] .promise p { color: var(--navy); opacity: .85; }
@media (max-width: 900px) { body[data-page="home"] .promise:nth-child(n+3) { border-top-color: rgba(12, 35, 64, .22); } }
@media (max-width: 520px) { body[data-page="home"] .promise:nth-child(n+2) { border-top-color: rgba(12, 35, 64, .22); } }

/* Properties: light, with orange touches */
body[data-page="home"] #properties .section-head { border-bottom: 3px solid var(--navy); padding-bottom: 20px; }
body[data-page="home"] .property-photo { box-shadow: 10px 10px 0 var(--orange); }
body[data-page="home"] .property-row:nth-child(even) .property-photo { box-shadow: -10px 10px 0 var(--navy); }
body[data-page="home"] .included li { background: color-mix(in srgb, var(--orange) 16%, var(--limestone)); }

/* Navy video band gets an orange top rule */
body[data-page="home"] .band-navy { border-top: 6px solid var(--orange); }

/* Orange testimonials */
.band-orange { background: var(--orange); color: var(--navy); }
.band-orange h2 { color: var(--navy); }
.band-orange .quote { border-top-color: var(--navy); }
.band-orange .quote blockquote { color: var(--navy); }
.band-orange .quote figcaption { color: var(--navy); opacity: .8; font-weight: 600; }

/* Keep the focus ring visible on orange surfaces */
body[data-page="home"] .promises :focus-visible,
.band-orange :focus-visible,
body[data-page="home"] .hero-caption :focus-visible { outline-color: var(--navy); }

/* What's around the corner (homepage, orange band) */
.band-orange .section-head p { color: var(--navy); opacity: .85; }
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.nearby-card { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nearby-card h3 { font-size: 1.4rem; }
.nearby-card h3 a { color: #fff; text-decoration: none; }
.nearby-card h3 a:hover { color: var(--orange-bright); }
.nearby-card header p { color: var(--on-navy-muted); font-size: .93rem; margin-top: 6px; }
.nearby-card header strong { color: var(--orange-bright); font-weight: 600; }
.nearby-card ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244, 239, 232, .16); flex: 1; }
.nearby-card li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 18px; border-bottom: 1px solid rgba(244, 239, 232, .12); position: relative; }
.nearby-card li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.nearby-card li span { font-weight: 500; }
.nearby-card li em { font-style: normal; font-size: .88rem; color: var(--on-navy-muted); }
.nearby-map { align-self: flex-start; color: var(--orange-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.nearby-map:hover { color: #fff; }
.nearby-card :focus-visible { outline-color: var(--orange-bright); }

/* For-sale gallery */
.sale-media { display: grid; gap: 8px; min-width: 0; }
.sale-main { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand); aspect-ratio: 4 / 3; }
.sale-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.sale-media .unit-photos { grid-column: auto; }
.sale-card { align-items: start; }

/* Retreat: water park callout */
.park-note { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 24px 28px; border-left: 6px solid var(--orange); display: flex; flex-direction: column; gap: 8px; }
.park-note h2 { color: #fff; font-size: 1.5rem; }
.park-note p { color: var(--on-navy-muted); }

/* Hero photo: favor the lower part of the frame (buildings), keep caption compact on phones */
.hero-media img { object-position: center 78%; }
@media (max-width: 900px) {
  .hero-media { aspect-ratio: 1 / 1; }
  .hero-caption { left: 10px; right: 10px; bottom: 10px; padding: 9px 14px; border-radius: 10px; }
  .hero-caption strong { font-size: .95rem; }
  .hero-caption span { font-size: .8rem; }
}
@media (max-width: 520px) {
  .hero-media img { object-position: center 88%; }
  .hero-caption { right: auto; padding: 7px 12px; }
  .hero-caption span { display: none; }
}

/* Phones/tablets: each property becomes its own card so the three don't run together */
@media (max-width: 820px) {
  body[data-page="home"] .property-list { gap: 28px; }
  body[data-page="home"] .property-row {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 6px solid var(--orange);
    border-radius: var(--radius);
    padding: 14px 14px 24px;
    gap: 20px;
    box-shadow: 0 10px 28px rgba(12, 35, 64, .10);
  }
  body[data-page="home"] .property-row:nth-child(even) { border-top-color: var(--navy); }
  body[data-page="home"] .property-row .property-photo,
  body[data-page="home"] .property-row:nth-child(even) .property-photo { box-shadow: none; border-radius: 12px; }
  body[data-page="home"] .property-body { padding-inline: 4px; }
}
