/* Layout: editorial sections on linen, one deep-forest band for the visit/register block; photography leads. */

:root {
  --forest: #253D3C;
  --forest-deep: #1B2E2D;
  --brass: #B38534;
  --brass-ink: #8A6424;
  --linen: #FAF5EA;
  --paper: #FFFDF8;
  --ink: #1F2A29;
  --muted: #5E6B66;
  --line: #E4DCCB;
  --on-forest: #F4EEDF;
  --on-forest-muted: #B9C3BC;
  --sold: #8C3B2E;
  --hold: #9A6B12;
  --avail: #2F6B4F;

  --display: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Nunito Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.55rem, 1.2rem + 1.2vw, 2.05rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --linen: #151F1E; --paper: #1B2726; --ink: #ECE5D5; --muted: #A7B2AC; --line: #2E3D3B;
    --brass: #D1A45C; --brass-ink: #D9B06C; --forest: #2C4746; --forest-deep: #0F1918;
    --sold: #E08A7A; --hold: #E2B355; --avail: #7FC3A0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --linen: #151F1E; --paper: #1B2726; --ink: #ECE5D5; --muted: #A7B2AC; --line: #2E3D3B;
  --brass: #D1A45C; --brass-ink: #D9B06C; --forest: #2C4746; --forest-deep: #0F1918;
  --sold: #E08A7A; --hold: #E2B355; --avail: #7FC3A0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-ink); }
.rule { width: 56px; height: 2px; background: var(--brass); border: 0; margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 2px; border: 1px solid transparent; font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-brass { background: var(--brass); color: #1B1407; }
.btn-brass:hover { background: #C6964A; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-forest { background: var(--forest); color: var(--on-forest); }
.btn-forest:hover { background: var(--forest-deep); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { height: 30px; width: auto; }
.brand .on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .on-light { display: none; } :root:not([data-theme="light"]) .brand .on-dark { display: block; } }
:root[data-theme="dark"] .brand .on-light { display: none; }
:root[data-theme="dark"] .brand .on-dark { display: block; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #1B1407; min-height: 42px; padding: 0 20px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; border-radius: 2px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; }
@media (max-width: 899px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; color: #FBF6EA; background: var(--forest-deep); overflow: hidden; }
.hero img.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,33,.88) 0%, rgba(20,34,33,.62) 42%, rgba(20,34,33,.08) 78%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(80px, 13vw, 168px) clamp(64px, 9vw, 112px); display: grid; gap: 22px; }
.hero .eyebrow { color: #E2BE7D; }
.hero h1 { font-size: var(--step-4); max-width: 13ch; }
.hero p.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 34rem; color: #EDE6D4; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 640px) { .hero::after { background: linear-gradient(180deg, rgba(20,34,33,.55) 0%, rgba(20,34,33,.9) 70%); } }

.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 26px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--display); font-weight: 400; font-size: var(--step-2); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.facts span { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li { padding: 20px 0 20px 16px; } .facts li:nth-child(odd) { border-left: 0; padding-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Intro */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro .copy { display: grid; gap: 20px; min-width: 0; }
.intro .copy p { color: var(--muted); font-size: 1.0625rem; max-width: 34rem; }
.intro figure { margin: 0; position: relative; }
.intro figure img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.intro figure img.inset { position: absolute; width: 46%; aspect-ratio: 1; left: -12%; bottom: -8%; border: 8px solid var(--linen); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro figure img.inset { left: auto; right: 0; } }

/* Homes */
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.collection { background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.collection img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.collection .body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.collection .range { font-family: var(--display); font-size: var(--step-2); line-height: 1.1; font-variant-numeric: lining-nums; }
.collection .meta { color: var(--muted); font-size: .9375rem; }
.collection dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 6px 0 0; font-size: .9375rem; }
.collection dt { color: var(--muted); }
.collection dd { margin: 0; font-variant-numeric: tabular-nums; }
.collection .link { margin-top: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); text-decoration: none; border-bottom: 1px solid currentColor; justify-self: start; padding-bottom: 2px; }
@media (max-width: 900px) { .collections { grid-template-columns: 1fr; } .collection { grid-template-columns: 2fr 3fr; grid-template-rows: none; } .collection img { height: 100%; aspect-ratio: auto; } }
@media (max-width: 560px) { .collection { grid-template-columns: 1fr; } .collection img { aspect-ratio: 3/2; } }

/* Availability */
.avail-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 500 .875rem var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
table.homes { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.homes th { text-align: left; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--linen); }
.homes td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.homes tr:last-child td { border-bottom: 0; }
.homes td.num { text-align: right; }
.homes th.num { text-align: right; }
.homes .lot { font-family: var(--display); font-size: 1.125rem; }
.homes .unit { color: var(--muted); font-size: .875rem; margin-left: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.available { color: var(--avail); } .status.available::before { background: var(--avail); }
.status.hold { color: var(--hold); } .status.hold::before { background: var(--hold); }
.status.sold { color: var(--sold); } .status.sold::before { background: var(--sold); }
.status.ask { color: var(--muted); }
.homes .ask-link { font-size: .875rem; color: var(--brass-ink); background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fine { font-size: .8125rem; color: var(--muted); margin-top: 14px; max-width: 60rem; }

/* Features */
.features { background: var(--paper); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.feature:nth-child(3n+2), .feature:nth-child(3n) { padding-left: 26px; border-left: 1px solid var(--line); }
.feature h3 { font-size: 1.1875rem; }
.feature p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } .feature:nth-child(n) { padding: 22px 18px 22px 0; border-left: 0; } .feature:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } .feature:nth-child(n) { padding: 20px 0; border-left: 0; } }

.schemes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 6vw, 72px); }
.scheme { display: grid; gap: 14px; }
.scheme .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scheme .pair img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.scheme p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 760px) { .schemes { grid-template-columns: 1fr; } }

/* Gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 8px; }
.gallery button { padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(10,16,15,.9); }
dialog.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
dialog.lightbox .cap { color: #EDE6D4; text-align: center; padding: 10px; font-size: .9375rem; }
dialog.lightbox .close { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.4); color: #fff; font-size: 22px; cursor: pointer; }

/* Neighbourhood */
.place { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.place img { aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.place .copy { display: grid; gap: 18px; min-width: 0; }
.place .copy p { color: var(--muted); }
.place ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.place li { padding-left: 22px; position: relative; }
.place li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1.5px; background: var(--brass); }
@media (max-width: 860px) { .place { grid-template-columns: 1fr; } }

/* Updates */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 36px 32px; display: grid; gap: 6px; max-width: 46rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--linen); border: 2px solid var(--brass); }
.timeline li:first-child::before { background: var(--brass); }
.timeline .when { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.timeline .tag { color: var(--brass-ink); font-weight: 600; }
.timeline h3 { font-size: 1.375rem; }
.timeline p { color: var(--muted); }

/* Visit / Register */
.visit { background: var(--forest); color: var(--on-forest); }
.visit .eyebrow { color: #E2BE7D; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); }
.visit-info { display: grid; gap: 24px; align-content: start; min-width: 0; }
.visit-info p { color: var(--on-forest-muted); }
.visit-info dl { margin: 0; display: grid; gap: 18px; }
.visit-info dt { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: #E2BE7D; margin-bottom: 4px; }
.visit-info dd { margin: 0; font-size: 1.0625rem; }
.visit-info dd a { text-decoration: none; border-bottom: 1px solid rgba(244,238,223,.35); }
form.register { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; min-width: 0; }
form.register h3 { font-size: var(--step-2); }
.mode { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.mode label { text-align: center; padding: 12px 8px; cursor: pointer; font-size: .875rem; font-weight: 500; }
.mode input { position: absolute; opacity: 0; pointer-events: none; }
.mode label:has(input:checked) { background: var(--forest); color: var(--on-forest); }
.mode label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: -2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--linen); border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: transparent; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; border: 0; padding: 0; margin: 0; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--muted); }
.consent input { margin-top: 3px; }
.form-note { font-size: .875rem; padding: 12px 14px; background: var(--linen); border-left: 3px solid var(--brass); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--forest-deep); color: var(--on-forest-muted); font-size: .875rem; }
.site-footer .wrap { padding-block: 48px; display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: end; }
.footer-top img { width: 220px; height: auto; }
.footer-top .contact { display: grid; gap: 4px; text-align: right; color: var(--on-forest); }
.legal { border-top: 1px solid rgba(244,238,223,.14); padding-top: 22px; display: grid; gap: 10px; font-size: .78rem; line-height: 1.6; max-width: 72rem; }
@media (max-width: 640px) { .footer-top .contact { text-align: left; } }

/* Mobile register bar */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-cta .btn { min-height: 44px; padding: 0 10px; letter-spacing: .1em; }
  .site-footer { padding-bottom: 72px; }
}

/* Fixes */
[hidden] { display: none !important; }
.checks input, .consent input { width: auto; min-height: 0; accent-color: var(--forest); }
.gallery { grid-auto-flow: dense; }
.homes .lot, .homes td { white-space: nowrap; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { table.homes { min-width: 0; } .homes th, .homes td { padding: 12px 10px; } }
@media (max-width: 1100px) and (min-width: 901px) { .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .homes th:nth-child(4), .homes td:nth-child(4), .homes th:nth-child(5), .homes td:nth-child(5), .homes th:nth-child(3), .homes td:nth-child(3) { display: none; } }
.collection .range { font-size: 1.375rem; white-space: nowrap; }

/* Floor plan viewer */
.planner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.plan-tabs { display: grid; gap: 8px; }
.plan-tab { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; color: var(--ink); font-family: var(--sans); transition: border-color .2s, background .2s; }
.plan-tab .l { grid-row: span 2; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--forest); text-align: center; }
.plan-tab .n { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8125rem; }
.plan-tab .s { color: var(--muted); font-size: .875rem; }
.plan-tab:hover { border-color: var(--brass); }
.plan-tab[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.plan-tab[aria-selected="true"] .l { color: #E2BE7D; }
.plan-tab[aria-selected="true"] .s { color: var(--on-forest-muted); }
.plan-stage { display: grid; gap: 22px; min-width: 0; }
.plan-figure { position: relative; background: #F7F2E7; border: 1px solid var(--line); }
.plan-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plan-zoom img { width: 100%; aspect-ratio: 3300 / 2550; object-fit: contain; }
.plan-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; z-index: 1; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.plan-arrow.prev { left: 10px; } .plan-arrow.next { right: 10px; }
.plan-arrow:hover { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.plan-info { display: grid; grid-template-columns: auto 1fr; gap: 18px 36px; align-items: start; }
.plan-title { display: flex; gap: 16px; align-items: center; grid-row: span 2; }
.plan-letter { font-family: var(--display); font-size: 4.2rem; line-height: .9; color: var(--forest); }
.plan-count { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.plan-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-left: 1px solid var(--line); }
.plan-specs div { padding: 0 16px; border-right: 1px solid var(--line); min-width: 0; }
.plan-specs dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan-specs dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.25rem; font-variant-numeric: lining-nums; }
.plan-text { color: var(--muted); grid-column: 2; max-width: 44rem; }
.plan-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.plan-link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.tba { color: var(--muted); font-size: .875rem; }
dialog.plan-box { max-width: 96vw; }
dialog.plan-box img { max-height: 92vh; background: #F7F2E7; }
@media (max-width: 980px) {
  .planner { grid-template-columns: 1fr; }
  .plan-tabs { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; padding-bottom: 4px; }
  .plan-info { grid-template-columns: 1fr; }
  .plan-title { grid-row: auto; }
  .plan-text { grid-column: 1; }
}
@media (max-width: 560px) {
  .plan-specs { grid-template-columns: 1fr 1fr; border-left: 0; gap: 14px 0; }
  .plan-specs div { border-right: 0; border-left: 1px solid var(--line); }
  .plan-arrow { width: 36px; height: 36px; font-size: 22px; }
  .plan-tab .l { font-size: 2rem; }
  .plan-tabs { grid-auto-columns: minmax(170px, 1fr); }
}
.plan-info { grid-template-columns: 1fr; }
.plan-title { grid-row: auto; }
.plan-text { grid-column: 1; }
.plan-specs { max-width: 680px; }
.plan-specs dd { white-space: nowrap; font-size: 1.125rem; }
@media (max-width: 520px) { .homes .unit { display: none; } .homes td { white-space: normal; } .homes .lot { white-space: nowrap; } }
@media (max-width: 980px) { .plan-tabs { grid-auto-columns: 200px; } .plan-tab .s { white-space: nowrap; font-size: .8125rem; } }
/* Plan tabs on tablet and phone: one even row of plan letters, no sideways scroll */
@media (max-width: 980px) {
  .plan-tabs { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; gap: 6px; }
  .plan-tab { grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; text-align: center; padding: 10px 4px; row-gap: 4px; min-width: 0; }
  .plan-tab .l { grid-row: auto; font-size: 1.9rem; }
  .plan-tab .n { font-size: .625rem; letter-spacing: .08em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .plan-tab .s { display: none; }
}
@media (max-width: 420px) {
  .plan-tab { padding: 8px 2px; }
  .plan-tab .l { font-size: 1.6rem; }
  .plan-tab .n { display: none; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan-tab .l, :root:not([data-theme="light"]) .plan-letter { color: var(--brass); } }
:root[data-theme="dark"] .plan-tab .l, :root[data-theme="dark"] .plan-letter { color: var(--brass); }

/* Photo band, site plan, maps, feature sheet */
.photo-band { padding-block: 0 clamp(56px, 8vw, 112px); }
.band-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.band-grid figure { margin: 0; position: relative; overflow: hidden; min-height: 0; }
.band-grid .b-wide { grid-row: span 2; }
.band-grid img { width: 100%; height: 100%; object-fit: cover; }
.band-grid .b-wide img { aspect-ratio: 4 / 3; }
.band-grid figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,34,33,.72); color: #F4EEDF; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
@media (max-width: 700px) { .band-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .band-grid .b-wide { grid-column: 1 / -1; grid-row: auto; } .band-grid img { aspect-ratio: 1; } }
.site-plan { margin-top: clamp(48px, 7vw, 96px); }
.map-zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #F7F2E7; cursor: zoom-in; }
.map-zoom img { width: 100%; aspect-ratio: 792 / 612; object-fit: contain; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (min-width: 861px) { #neighbourhood .place { grid-template-columns: 1.35fr 1fr; } }
.agent { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-block: 1px solid rgba(244,238,223,.16); }
.agent img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid #E2BE7D; }
.agent-name { font-family: var(--display); font-size: 1.5rem; color: var(--on-forest); line-height: 1.2; }
.agent-role { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: #E2BE7D; margin-top: 4px; }
/* Form: side-by-side fields line up even when one label wraps; selects look the same on every browser */
.row .field { grid-template-rows: 1fr auto; align-items: end; }
.field select { -webkit-appearance: none; appearance: none; height: 48px; padding-right: 40px; line-height: 1.2;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input { height: 48px; }

/* Visit mode: note above the plan checkboxes */
.checks-note { flex-basis: 100%; margin: 0; font-size: .875rem; color: var(--muted); }

/* Section intros and the plan disclaimer use the full content width on desktop */
.section-head { max-width: 72rem; }
.fine { max-width: none; }
.site-footer .social a { color: inherit; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* ---------- Brand refresh (Oct 10) ---------- */
/* Header: larger wordmark, roomier bar */
.site-header .wrap { min-height: 84px; }
.brand img { height: 38px; }
@media (max-width: 899px) { .site-header .wrap { min-height: 72px; } .brand img { height: 32px; } .nav { inset: 72px 0 auto 0; } }

/* Hero: full-height, centred brand lockup */
.hero { min-height: min(100svh, 920px); display: grid; align-items: center; }
.hero::after { background: linear-gradient(180deg, rgba(20,34,33,.55) 0%, rgba(20,34,33,.62) 45%, rgba(20,34,33,.82) 100%); }
.hero .wrap { justify-items: center; text-align: center; gap: 20px; padding-block: clamp(72px, 10vw, 128px); }
.hero-logo { width: clamp(260px, 38vw, 520px); height: auto; margin-block: 6px 4px; filter: drop-shadow(0 2px 18px rgba(0,0,0,.25)); }
.hero h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); max-width: none; font-style: italic; color: #F4EEDF; }
.hero p.lede { max-width: 40rem; margin-inline: auto; }
.hero .actions { justify-content: center; }
@media (max-width: 640px) { .hero::after { background: linear-gradient(180deg, rgba(20,34,33,.6) 0%, rgba(20,34,33,.85) 100%); } .hero { min-height: 88svh; } }

/* Facts: Phase 1 release shown as 25 of 70 with a progress bar */
.facts ul { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; }
.facts strong em { font-style: italic; font-size: .7em; color: var(--muted); margin-inline: .15em; }
.phase-bar { height: 4px; background: var(--line); margin-top: 8px; max-width: 220px; }
.phase-bar i { display: block; height: 100%; background: var(--brass); }
@media (max-width: 760px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Features: four columns, last cell holds the feature sheet links */
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature:nth-child(n) { padding: 26px 22px; border-left: 1px solid var(--line); }
.feature:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.feature-sheet { background: color-mix(in srgb, var(--brass) 8%, transparent); }
.feature-sheet .sheet-actions { margin-top: 6px; gap: 8px; }
.feature-sheet .btn { min-height: 42px; padding: 0 16px; font-size: .75rem; }
@media (max-width: 1100px) { .feature-grid { grid-template-columns: 1fr 1fr; } .feature:nth-child(n) { padding: 22px 18px 22px 0; border-left: 0; } .feature:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } .feature:nth-child(n) { padding: 20px 0; border-left: 0; } .feature-sheet { padding-inline: 16px !important; } }

/* Virtual tour */
.tour { margin-top: clamp(48px, 7vw, 96px); }
.tour-frame { position: relative; aspect-ratio: 16 / 9; background: var(--forest-deep); border: 1px solid var(--line); overflow: hidden; }
.tour-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border: 0; border-radius: 2px; background: var(--brass); color: #1B1407; font: 600 .8125rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.tour-play:hover { background: #C6964A; }
.tour-icon { width: 0; height: 0; border-left: 12px solid currentColor; border-block: 8px solid transparent; }
.tour-link { margin-top: 12px; font-size: .875rem; }
.tour-link a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
@media (max-width: 640px) { .tour-frame { aspect-ratio: 4 / 5; } }

/* Tagline in the signage style: spaced capitals, no italics */
.hero h1 { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: clamp(.95rem, .85rem + .45vw, 1.2rem); letter-spacing: .28em; text-transform: uppercase; line-height: 1.6; color: #F4EEDF; }
.facts strong em { font-style: normal; font-family: var(--sans); font-size: .55em; letter-spacing: .14em; text-transform: uppercase; vertical-align: .25em; }

/* Tagline: the main line under the logo */
.hero .wrap { gap: 16px; }
.hero h1 { font-size: clamp(1.15rem, .9rem + 1.1vw, 1.85rem); font-weight: 600; letter-spacing: .24em; color: #FFFFFF; margin-block: 10px 2px; }
.hero p.lede { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); max-width: 34rem; color: #E6DECB; }
.hero .eyebrow { font-size: .75rem; }
@media (max-width: 640px) { .hero h1 { letter-spacing: .18em; } }

/* Neighbourhood photo strip (Oct 10) */
.hood-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:3rem}
.hood-strip figure{margin:0}
.hood-strip img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:4px}
.hood-strip figcaption{margin-top:.6rem;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#253D3C;font-weight:600}
@media (max-width:760px){.hood-strip{grid-template-columns:repeat(2,1fr);gap:.75rem;margin-top:2rem}}
.tour h2.one-line{white-space:nowrap;font-size:min(var(--step-3),5.4vw)}

/* Facts: centre each box's content (Oct 10) */
.facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li, .facts li:first-child, .facts li:nth-child(odd) { padding: 26px 16px; text-align: center; justify-items: center; align-content: center; }
.facts .phase-bar { width: 100%; max-width: 220px; margin-inline: auto; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li, .facts li:first-child, .facts li:nth-child(odd) { padding: 22px 10px; }
  .facts li:nth-child(odd) { border-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); }
}
.facts span { text-wrap: balance; }
.facts strong { white-space: nowrap; }
@media (max-width: 760px) { .facts strong { font-size: clamp(1.25rem, 6.2vw, 1.625rem); } }

/* Hero: split screen, text on solid forest, photo at full brightness (Oct 11) */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: min(calc(100svh - 84px), 860px); background: #253D3C; }
.hero::after { display: none; }
.hero img.hero-photo { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: 100%; height: 100%; object-fit: cover; }
.hero .wrap { grid-column: 1; grid-row: 1; width: auto; max-width: none; margin: 0; align-content: center; padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px); }
.hero-logo { width: min(400px, 80%); filter: none; }
.hero h1 { font-size: clamp(1rem, .8rem + .6vw, 1.3rem); letter-spacing: .2em; color: #FFFFFF; }
.hero p.lede { color: #E6DECB; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero img.hero-photo { grid-column: 1; grid-row: 2; height: 300px; }
  .hero .wrap { padding: 44px 20px 40px; }
  .hero h1 { letter-spacing: .16em; }
  .hero .actions .btn { letter-spacing: .1em; padding: 0 18px; white-space: nowrap; }
}

/* Full menu on smaller desktops/tablets (Oct 11) */
@media (min-width: 1000px) and (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: .75rem; letter-spacing: .1em; }
  .nav .btn { padding: 0 16px; }
  .brand img { height: 30px; width: auto; }
}
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 999px) {
  .nav { gap: 14px; }
  .nav a { font-size: .72rem; letter-spacing: .07em; }
  .nav .btn { padding: 0 12px; }
  .brand img { height: 26px; width: auto; }
}

/* Section labels all match "Welcome to Clermont"; headings under them smaller (Oct 11) */
p.eyebrow:has(+ h2), .section-head .eyebrow, .intro .copy .eyebrow, .place .copy .eyebrow, .visit .eyebrow { font-size: 1.1875rem; letter-spacing: .22em; margin-bottom: 4px; }
.place .copy .eyebrow, .section-head .eyebrow, .intro .copy .eyebrow { color: var(--muted); }
:root { --step-3: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
form.register h3 { font-size: 1.375rem; }
.intro figure img[src*="living-163"] { object-position: 38% 50%; }
