/* =========================================================
   1011 Delmarina Street | Single-property listing site
   Edit colors and fonts in :root. Status banner styles are
   under "STATUS BANNER" (coming-soon, under-contract, sold).
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #faf7f0;
  --sand: #f1ece1;
  --white: #ffffff;
  --ink: #1f1d1a;
  --muted: #5d584e;
  --line: #ddd5c4;
  --gold: #8f7e39;          /* pulled from the Justin Cullifer logo */
  --gold-deep: #6c5f28;     /* gold for small text on light backgrounds */
  --gold-light: #cdbb7d;    /* gold for dark backgrounds */
  --night: #1b1e1d;
  --night-2: #252928;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 2px;
  --header-bar: 84px;     /* logo + button row */
  --header-h: 128px;      /* full sticky header, including the section menu */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: .005em; }
/* Cormorant defaults to old-style figures; use lining numbers so 1011 and 3,643 read cleanly */
h1, h2, h3, strong, output, .amenity__num, .status-banner__label { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 200; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(2.3rem, 5vw, 3.75rem); margin-bottom: 26px; }
.section-title em { font-style: italic; color: var(--gold-deep); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px;
  border: 1px solid var(--gold); border-radius: var(--radius);
  background: var(--gold); color: var(--white);
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost { background: transparent; color: var(--gold-deep); }
.btn--ghost:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, .96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-bar); padding-top: 10px; padding-bottom: 10px; }
.brand-logos { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); }
.brand-logos__link, .logo-link { display: inline-block; line-height: 0; text-decoration: none; transition: opacity .2s; }
.brand-logos__link:hover, .logo-link:hover { opacity: .8; }
.brand-logos img { height: 52px; width: auto; }
.brand-logos .logo-llo { height: 56px; }
.brand-logos__divider { width: 1px; align-self: stretch; background: var(--line); margin: 6px 0; }
.site-header .btn { white-space: nowrap; }
.site-header__inner--logos-only { justify-content: center; min-height: 84px !important; }

/* Section menu: a row under the logos on desktop, a drop-down panel on phones */
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }
.site-nav { border-top: 1px solid var(--line); }
.site-nav__list { display: flex; gap: clamp(16px, 2.6vw, 36px); width: max-content; max-width: 100%; margin: 0 auto; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.site-nav__list::-webkit-scrollbar { display: none; }
.site-nav a { display: block; padding: 12px 1px 10px; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="true"] { color: var(--gold-deep); border-bottom-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white); overflow: hidden;
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,16,15,.15) 0%, rgba(14,16,15,0) 26%, rgba(14,16,15,0) 42%, rgba(14,16,15,.55) 66%, rgba(14,16,15,.88) 100%);
}

/* STATUS BANNER: change data-status in index.html to
   coming-soon | under-contract | sold and update the words. */
.status-banner {
  position: relative; margin-top: clamp(24px, 4vh, 44px);
  padding: clamp(18px, 3vw, 30px) var(--gutter);
  text-align: center;
  background: rgba(27, 30, 29, .78);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  box-shadow: 0 0 0 6px rgba(27,30,29,.22);
}
.status-banner__label {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(3rem, 9vw, 7rem); line-height: .95;
  letter-spacing: .08em; text-transform: uppercase; color: var(--white);
}
.status-banner__note {
  display: block; margin-top: 12px;
  font-family: var(--sans); font-weight: 400; font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light);
}
.status-banner[data-status="under-contract"] { background: rgba(108, 95, 40, .88); }
.status-banner[data-status="sold"] { background: rgba(143, 32, 32, .86); border-color: #f0d9a6; }

.hero__content { margin-top: auto; padding-top: 40px; padding-bottom: 32px; }
.hero__card { max-width: 600px; }
.hero__card .hero__tagline { max-width: none; }
.hero__card { padding: 22px 30px 24px; background: rgba(20, 22, 21, .84); border-left: 2px solid var(--gold-light); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero__kicker { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); text-shadow: 0 2px 28px rgba(0,0,0,.55); }
.hero h1 span { display: block; font-size: .42em; font-style: italic; font-weight: 500; letter-spacing: .02em; margin-top: 10px; color: rgba(255,255,255,.92); }
.hero__tagline { margin: 16px 0 0; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 400; color: rgba(255,255,255,.94); max-width: 560px; text-shadow: 0 1px 14px rgba(0,0,0,.6); }

.hero__bar { background: rgba(20, 22, 21, .94); border-top: 1px solid rgba(205, 187, 125, .45); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats li { padding: 22px 12px 18px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; color: var(--white); }
.stats span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.hero__mls { margin: 0; padding: 10px 0 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--dark { background: var(--night); color: rgba(255,255,255,.84); }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-title em { color: var(--gold-light); }
.section--dark .lede { color: rgba(255,255,255,.72); }

/* Intro */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro__body { padding-top: 8px; }
.intro__body p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-size: 4.6em; line-height: .82; padding: 6px 8px 0 0; color: var(--gold);
}
.facts {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts li { padding: 26px 16px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--ink); }
.facts span { display: block; margin-top: 6px; font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Feature split (photo + narrative) */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { margin: 0; }
.photo-frame { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.photo-frame img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.photo-frame:hover img { transform: scale(1.015); }
.photo-frame__hint {
  position: absolute; right: 14px; bottom: 14px;
  padding: 7px 12px; background: rgba(27,30,29,.72); color: var(--white);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.split__media figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.split__body .section-title { font-size: clamp(2rem, 4vw, 3rem); }
.checklist { margin: 26px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 10px; height: 1px; background: var(--gold); }

/* Section heads + spacing for room sections */
.section-head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 84px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.split--spaced { margin-top: clamp(64px, 9vw, 120px); }
.split__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.split__title em { font-style: italic; color: var(--gold-deep); }

/* Photo galleries (thumbnails keep their native aspect ratio) */
.gallery { margin-top: clamp(48px, 7vw, 84px); }
.gallery__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.gallery__count strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.gallery__count span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; margin: 0; padding: 0; list-style: none; }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: auto; transition: transform .7s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery--details { margin: clamp(40px, 6vw, 64px) 0 0; }
.gallery--details .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.gallery--dark .gallery__count { border-top-color: rgba(255,255,255,.14); }
.gallery--dark .gallery__count strong { color: var(--white); }
.gallery--dark .gallery__count span { color: rgba(255,255,255,.6); }
.gallery--dark .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--dark .gallery__item { background: var(--night-2); }
.split__media figcaption { margin-top: 10px; font-size: 13px; font-style: italic; color: var(--muted); }

/* Thoughtful extras */
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.extras li { background: var(--ivory); padding: clamp(24px, 3vw, 34px); }
.extras strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--ink); margin-bottom: 6px; }
.extras span { display: block; font-size: 15px; color: var(--muted); }
#details .preview { margin-top: clamp(64px, 9vw, 110px); }

/* Showing call-to-action block */
.preview { text-align: center; max-width: 760px; margin: 0 auto; }
.preview .eyebrow { justify-content: center; }
.preview .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.preview .lede { margin: 0 auto 34px; }
.preview__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Amenities (dark section) */
.amenities-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.amenity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.amenity { background: var(--night); padding: clamp(26px, 3vw, 38px); }
.amenity__num { font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 1.1rem; }
.amenity h3 { color: var(--white); font-size: 1.6rem; margin: 10px 0 10px; }
.amenity p { font-size: 15px; color: rgba(255,255,255,.7); }
.getting-here { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 70px); margin-top: clamp(52px, 7vw, 86px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(255,255,255,.14); }
.getting-here h3 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.source-note { margin-top: 26px; font-size: 12px; color: rgba(255,255,255,.5); }

/* Contact */
.contact { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.avatar { width: clamp(180px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--gold); padding: 6px; background: var(--white); }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.contact__name { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.contact__titles { margin: 10px 0 22px; font-size: 13px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.contact__titles span + span::before { content: " | "; color: var(--line); }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 17px; }
.contact__links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.contact__links a:hover { border-color: var(--gold); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact__logos { display: flex; flex-direction: column; align-items: center; gap: 26px; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
.contact__logos img { height: 74px; width: auto; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px clamp(28px, 5vw, 64px); margin-bottom: 34px; }
.footer-logos img { height: 62px; width: auto; }
.footer-logos .logo-leading { height: 40px; opacity: .85; }
.site-footer p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-deep); }
.footer-legal { margin-top: 18px !important; font-size: 12px !important; color: #8a8478 !important; }

/* ---------- Lake life, events, healthcare ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 clamp(48px, 7vw, 80px); padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band li { padding: 28px 20px; text-align: center; }
.stat-band li + li { border-left: 1px solid var(--line); }
.stat-band strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--gold-deep); }
.stat-band span { display: block; margin-top: 10px; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.feature-card { background: var(--white); padding: clamp(28px, 3.5vw, 44px); border-top: 2px solid var(--gold); box-shadow: 0 14px 40px rgba(31, 29, 26, .05); }
.feature-card__num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 1.1rem; }
.feature-card h3 { font-size: 1.85rem; margin: 8px 0 12px; }
.feature-card p { font-size: 16px; color: var(--muted); }

.events-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.events-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.event-list { margin: 0; padding: 0; list-style: none; counter-reset: ev; }
.event-list li { position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--line); counter-increment: ev; }
.event-list li:last-child { border-bottom: 1px solid var(--line); }
.event-list li::before { content: counter(ev, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--gold-deep); font-variant-numeric: lining-nums; }
.event-list h3 { font-size: 1.6rem; margin-bottom: 6px; }
.event-list p { font-size: 16px; color: var(--muted); }

.health-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.health-feature { margin-top: 34px; padding: 28px 30px; background: var(--ivory); border-left: 3px solid var(--gold); }
.health-feature h3 { font-size: 1.7rem; margin-bottom: 12px; }
.health-feature p { font-size: 16px; color: var(--muted); }
.drive-times { margin: 0; padding: 0; list-style: none; position: relative; }
.drive-times::before { content: ""; position: absolute; left: 47px; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.drive-times li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; padding: 0 0 34px; }
.drive-times li:last-child { padding-bottom: 0; }
.drive-times__time { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 96px; height: 38px; border: 1px solid var(--gold); border-radius: 40px; background: var(--white); font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--gold-deep); }
.drive-times h3 { font-size: 1.55rem; margin: 2px 0 4px; }
.drive-times p { font-size: 15px; color: var(--muted); }
.fine-print { margin-top: clamp(40px, 5vw, 60px); font-size: 12px; color: #8a8478; }

@media (max-width: 1100px) and (min-width: 761px) {
  .site-nav__list { gap: 18px; }
  .site-nav a { font-size: 11px; letter-spacing: .12em; }
}

@media (max-width: 1000px) {
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band li:nth-child(3) { border-left: 0; }
  .stat-band li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .feature-grid, .events-layout, .health-layout { grid-template-columns: 1fr; }
  .events-layout .section-head { position: static; margin-bottom: 8px; }
  .stat-band li { padding: 22px 12px; }
  .event-list li { padding-left: 52px; }
  .drive-times li { grid-template-columns: 84px 1fr; gap: 16px; }
  .drive-times__time { width: 84px; font-size: 12px; }
  .drive-times::before { left: 41px; }
  .health-feature { padding: 22px; }
}

/* ---------- Inline reference links ---------- */
a.ext { color: var(--gold-deep); text-decoration: underline; text-decoration-color: rgba(143, 126, 57, .4); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .2s, color .2s; }
a.ext:hover { color: var(--ink); text-decoration-color: var(--gold); }
h3 a.ext { text-decoration-thickness: 1px; }
.section--dark a.ext { color: var(--gold-light); }

/* ---------- Original song (compact Spotify embed) ---------- */
.song { background: var(--night-2); padding: 14px 0; border-top: 1px solid rgba(205, 187, 125, .2); }
.song__inner { display: flex; align-items: center; justify-content: center; gap: 22px; }
.song__label { flex: 0 0 auto; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: rgba(255, 255, 255, .75); }
.song__embed { flex: 0 1 520px; min-width: 0; }
.song__frame { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; background: #282828; }
@media (max-width: 760px) {
  .song { background: var(--night); padding: 4px 0 18px; border-top: 0; }
  .song__inner { flex-direction: column; gap: 8px; }
  .song__label { font-size: 1rem; }
  .song__embed { flex: none; width: 100%; }
}

/* ---------- Video tour (YouTube, loads on click) ---------- */
.video { margin: clamp(48px, 7vw, 84px) auto 0; max-width: 980px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(31, 29, 26, .16); }
.video__poster { position: absolute; inset: 0; display: block; cursor: pointer; }
.video__poster img, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__poster img { transition: transform .8s var(--ease), filter .4s; }
.video__poster:hover img { transform: scale(1.015); filter: brightness(.92); }
.video__play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; padding-left: 4px; border-radius: 50%; background: rgba(143, 126, 57, .94); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .3s; }
.video__poster:hover .video__play { transform: translate(-50%, -50%) scale(1.07); background: var(--gold-deep); }
.video__poster:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.video__caption { margin: 14px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--muted); }
@media (max-width: 760px) { .video__play { width: 64px; height: 64px; } .video__play svg { width: 24px; height: 24px; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,22,21,.62); animation: fade .25s ease; }
.modal__dialog {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--ivory); padding: clamp(28px, 5vw, 44px); border-top: 3px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0,0,0,.3); animation: rise .35s var(--ease);
}
.modal__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal__close:hover { color: var(--ink); }
.modal h2 { font-size: 2.2rem; margin-bottom: 10px; padding-right: 30px; }
.modal__note { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.field .req { color: var(--gold-deep); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(143,126,57,.18); }
.field.has-error input, .field.has-error textarea, .field.has-error .choice-row { border-color: #a8322d; }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: #a8322d; }
.field.has-error .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; font-size: 15px; line-height: 1.55; }
.form-status.is-success { display: block; background: #eef0e3; border-left: 3px solid var(--gold); }
.form-status.is-error { display: block; background: #f7ebe8; border-left: 3px solid #a8322d; }
.form-status a { color: var(--gold-deep); font-weight: 500; }
.form-success-panel h3 { font-size: 2rem; margin-bottom: 10px; }

/* ---------- Text-for-tour popup ---------- */
.tour-popup {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: min(360px, calc(100vw - 40px));
  background: var(--white); border-top: 3px solid var(--gold);
  padding: 26px 24px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.22);
  transform: translateY(24px); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .45s var(--ease), visibility 0s linear .45s;
}
.tour-popup.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.tour-popup h2 { font-size: 1.75rem; margin-bottom: 8px; padding-right: 26px; }
.tour-popup p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.tour-popup__close { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; background: rgba(14,16,15,.94); padding: 56px 20px; }
.lightbox.is-open { display: flex; animation: fade .25s ease; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.25); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.12); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next, .lightbox.is-single .lightbox__count { display: none; }
body.no-scroll { overflow: hidden; }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tour-popup, .photo-frame img { transition: none; }
}

/* ---------- Feedback page ---------- */
.feedback-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(36px, 5vw, 56px); text-align: center; }
.feedback-hero .eyebrow { justify-content: center; }
.feedback-hero .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.feedback-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 18px; }
.feedback-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }
.feedback-card { max-width: 760px; margin: 0 auto clamp(70px, 10vw, 120px); background: var(--white); padding: clamp(26px, 5vw, 56px); border-top: 3px solid var(--gold); box-shadow: 0 18px 50px rgba(31,29,26,.07); }
.feedback-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.q-block:first-of-type { padding-top: 0; }
.q-block:last-of-type { border-bottom: 0; }
.feedback-card .q-title { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 1.8rem); line-height: 1.2; margin-bottom: 8px; color: var(--ink); text-transform: none; letter-spacing: 0; padding: 0; }
.q-help { font-size: 14px; color: var(--muted); margin: 0 0 18px; }

/* Slider */
.slider { --fill: 50%; position: relative; padding: 4px 0 0; }
.slider__value { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.slider__value output { font-family: var(--serif); font-size: 2rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--gold-deep); line-height: 1; }
.slider__track { position: relative; height: 48px; margin: 0 15px; }
.slider__track::before, .slider__track::after { content: ""; position: absolute; left: 0; top: 50%; height: 8px; margin-top: -4px; border-radius: 8px; }
.slider__track::before { right: 0; background: #e6dfcf; }
.slider__track::after { width: var(--fill); background: var(--gold); }
.slider__dot { position: absolute; top: 50%; z-index: 1; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--white); border: 2px solid #cfc5ae; pointer-events: none; transition: background .2s, border-color .2s; }
.slider__dot.is-filled { background: var(--gold); border-color: var(--gold); }
.slider__dot:nth-child(1) { left: 0; } .slider__dot:nth-child(2) { left: 25%; } .slider__dot:nth-child(3) { left: 50%; } .slider__dot:nth-child(4) { left: 75%; } .slider__dot:nth-child(5) { left: 100%; }
.slider input[type="range"] {
  -webkit-appearance: none; appearance: none; position: absolute; z-index: 3;
  left: -15px; top: 0; width: calc(100% + 30px); height: 48px; margin: 0; padding: 0;
  background: transparent; cursor: pointer; touch-action: pan-y;
}
.slider input[type="range"]::-webkit-slider-runnable-track { height: 48px; background: transparent; border: 0; }
.slider input[type="range"]::-moz-range-track { height: 48px; background: transparent; border: 0; }
.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: 9px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--gold); box-shadow: 0 3px 10px rgba(0,0,0,.25); cursor: grab;
}
.slider input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 4px solid var(--gold); box-shadow: 0 3px 10px rgba(0,0,0,.25); cursor: grab; }
.slider input[type="range"]:focus-visible { outline: none; }
.slider input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(143,126,57,.3); }
.slider input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(143,126,57,.3); }
.slider__labels { position: relative; height: 38px; margin: 2px 15px 0; padding: 0; list-style: none; }
.slider__labels li { position: absolute; top: 0; transform: translateX(-50%); }
.slider__labels li:nth-child(1) { left: 0; transform: translateX(-15px); } .slider__labels li:nth-child(2) { left: 25%; } .slider__labels li:nth-child(3) { left: 50%; } .slider__labels li:nth-child(4) { left: 75%; } .slider__labels li:nth-child(5) { left: 100%; transform: translateX(calc(-100% + 15px)); }
.slider__stop { padding: 8px 4px; border: 0; background: none; cursor: pointer; white-space: nowrap; font-size: 13px; font-weight: 400; color: var(--muted); }
.slider__stop:hover { color: var(--ink); }
.slider__stop.is-active { color: var(--gold-deep); font-weight: 500; }
.slider__how { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.slider__how::before { content: "\2194"; font-size: 17px; color: var(--gold-deep); }

/* Yes / No choices */
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid transparent; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 54px;
  border: 1px solid var(--line); background: var(--ivory); cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.giveaway-fields { display: none; margin-top: 22px; padding: 22px; background: var(--ivory); border-left: 3px solid var(--gold); }
.giveaway-fields.is-shown { display: block; }
.giveaway-fields .field:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts li:nth-child(4) { border-left: 0; }
  .facts li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { grid-template-columns: auto 1fr; }
  .contact__logos { grid-column: 1 / -1; flex-direction: row; justify-content: center; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  :root { --header-bar: 124px; --header-h: 124px; }
  body { font-size: 16px; }
  .site-header__inner { flex-direction: column; justify-content: center; gap: 10px; }
  .brand-logos img { height: 40px; }
  .brand-logos .logo-llo { height: 44px; }
  .site-header .btn { width: 100%; min-height: 42px; padding: 10px 18px; font-size: 12px; }
  .site-header__actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; width: 100%; }
  .site-header__actions .btn { padding: 10px 12px; letter-spacing: .1em; white-space: normal; line-height: 1.2; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid var(--gold); border-radius: var(--radius); background: transparent; color: var(--gold-deep); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
  .menu-toggle__bars { position: relative; display: block; width: 16px; height: 12px; }
  .menu-toggle__bars span { position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
  .menu-toggle__bars span:nth-child(1) { top: 0; } .menu-toggle__bars span:nth-child(2) { top: 5px; } .menu-toggle__bars span:nth-child(3) { top: 10px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(31, 29, 26, .14); }
  .site-nav.is-open { display: block; animation: fade .2s ease; }
  .site-nav__list { flex-direction: column; gap: 0; width: auto; padding: 4px 0 12px; overflow: visible; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .2em; }
  .site-nav a[aria-current="true"] { border-bottom-color: var(--line); }
  .site-nav a[aria-current="true"]::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 10px 4px 0; vertical-align: middle; background: var(--gold); }

  /* Phone hero: photo on top (front entry kept in frame), banner and details below */
  .hero { display: block; min-height: 0; }
  .hero::after { content: none; }
  .hero__media { position: relative; z-index: 0; height: 52vh; height: 52svh; min-height: 280px; max-height: 480px; }
  .hero__media img { object-position: 76% 50%; } /* keeps the front entry in frame */
  .status-banner { margin-top: 0; padding: 18px 16px 16px; box-shadow: none; background: var(--night-2); border-top: 0; }
  .status-banner__label { font-size: min(11.2vw, 3.1rem); letter-spacing: .04em; }
  .status-banner__note { margin-top: 8px; letter-spacing: .26em; }
  .hero__content { padding-top: 30px; padding-bottom: 20px; background: var(--night); }
  .hero__card { max-width: none; padding: 0; background: none; border-left: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); text-shadow: none; }
  .hero__tagline, .hero__kicker { text-shadow: none; }
  .hero__bar { background: var(--night); border-top: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
  .stats li, .stats li + li { padding: 14px 10px 12px 0; border-left: 0; }
  .stats li:first-child { grid-column: 1 / -1; border-bottom: 1px solid rgba(255,255,255,.14); }
  .stats li:nth-child(3), .stats li:nth-child(5) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.14); }
  .stats li:nth-child(4), .stats li:nth-child(5) { border-top: 1px solid rgba(255,255,255,.14); }
  .hero__mls { padding: 12px 0 26px; }

  .intro, .split, .amenities-head, .getting-here { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: 20px 10px; }
  .facts li:nth-child(odd) { border-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .amenity-grid { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
  .gallery__grid, .gallery--dark .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

  .contact { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .contact__titles span { display: block; }
  .contact__titles span + span::before { content: none; }
  .contact__links { justify-content: center; flex-direction: column; align-items: center; }
  .contact__actions { justify-content: center; flex-direction: column; width: 100%; max-width: 360px; }
  .contact__logos { display: none; }

  .footer-logos img { height: 50px; }
  .footer-logos .logo-leading { height: 32px; }

  .tour-popup { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .slider__stop { font-size: 12px; padding: 8px 2px; }
}
