/* RTB Development — public site.
   Southern heritage: Libre Caslon + Libre Franklin, parchment, maroon, pine, red clay. */

:root {
  --ink: #2a2723;
  --ink-2: #544e45;
  --muted: #7a7266;
  --rule: #d9cfbc;
  --rule-strong: #2a2723;
  --paper: #f5efe3;
  --paper-2: #fbf8f1;
  --tint: #ebe3d3;
  --cream: #fbf8f1;

  --maroon: #6e2230;
  --maroon-dark: #4f1822;
  --accent: #2e4a3b;          /* pine: available / under construction */
  --contract: #9c6a2c;        /* ochre: coming soon / under contract */
  --clay: #b5653f;
  --sold: #c4b9a4;

  --display: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Book", -apple-system, Arial, sans-serif;

  --max: 1240px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
  font-feature-settings: "lnum" 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
::selection { background: var(--maroon); color: var(--cream); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); text-wrap: balance; }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.caps, .label, .nav, table.lots th, .seg button, .btn, .crumbs, .kicker {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em;
}
.label { font-size: .68rem; font-weight: 500; color: var(--muted); }
.kicker { font-size: .72rem; font-weight: 600; color: var(--maroon); display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-family: var(--display); font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 60; transition: background .3s, border-color .3s, color .3s; }
.site-header .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 26px; padding-bottom: 18px; position: relative; }
.brand { font-family: var(--display); font-size: 1.7rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1; color: var(--maroon); transition: color .3s; }
.brand span { color: inherit; }
.nav { display: flex; gap: 38px; font-size: .7rem; font-weight: 500; }
.nav a { color: var(--ink-2); padding: 6px 0; position: relative; transition: color .15s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--maroon); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; position: absolute; right: calc(var(--gutter) - 10px); top: 50%; transform: translateY(-50%); color: inherit; }

/* Home: header floats over the hero until you scroll. */
body[data-page="home"] .site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--cream); }
body[data-page="home"] .site-header .brand,
body[data-page="home"] .site-header .nav a { color: var(--cream); }
body[data-page="home"] .site-header.is-solid { background: rgba(245, 239, 227, .97); border-color: var(--rule); color: var(--ink); }
body[data-page="home"] .site-header.is-solid .brand { color: var(--maroon); }
body[data-page="home"] .site-header.is-solid .nav a { color: var(--ink-2); }
body[data-page="home"] .site-header.is-solid .nav a[aria-current="page"] { color: var(--maroon); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 50px; padding: 0 24px; border: 1px solid var(--maroon); border-radius: 2px;
  background: var(--maroon); color: var(--cream); font-size: .7rem; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn::after { content: "→"; font-size: .95rem; letter-spacing: 0; transition: transform .2s var(--ease); }
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); }
.btn:hover::after { transform: translateX(4px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--maroon); }
.btn-light:hover { background: var(--tint); border-color: var(--tint); }
.btn-ghost { background: transparent; border-color: rgba(251,248,241,.55); color: var(--cream); }
.btn-ghost:hover { background: rgba(251,248,241,.12); border-color: var(--cream); }
.text-link { font-family: var(--display); font-style: italic; font-size: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.text-link:hover { color: var(--maroon); border-color: var(--maroon); }

/* ---------- home hero: slow aerial pans ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; background: #1f2a22; }
.hero-reel { position: absolute; inset: 0; }
.hero-reel .shot { position: absolute; inset: -4%; background: center / cover no-repeat; opacity: 0; animation: reel 28s infinite; will-change: transform, opacity; }
.hero-reel .shot:nth-child(1) { animation-delay: -1.4s; --x0: -2%; --x1: 2%; }
.hero-reel .shot:nth-child(2) { animation-delay: 5.6s; --x0: 2%; --x1: -2%; }
.hero-reel .shot:nth-child(3) { animation-delay: 12.6s; --x0: -1%; --x1: 3%; }
.hero-reel .shot:nth-child(4) { animation-delay: 19.6s; --x0: 2%; --x1: -1%; }
@keyframes reel {
  0%   { opacity: 0; transform: scale(1.04) translateX(var(--x0)); }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  32%  { opacity: 0; transform: scale(1.14) translateX(var(--x1)); }
  100% { opacity: 0; transform: scale(1.14) translateX(var(--x1)); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,16,14,.55) 0%, rgba(20,16,14,0) 22%),
    linear-gradient(0deg, rgba(40,12,18,.88) 0%, rgba(40,12,18,.35) 45%, rgba(40,12,18,0) 70%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 180px; padding-bottom: 72px; }
.hero .where { font-size: .72rem; font-weight: 600; color: rgba(251,248,241,.8); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 6rem); max-width: 13ch; line-height: 1.02; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); margin-top: 40px; align-items: end; }
.hero-foot p { grid-column: 1 / span 6; font-family: var(--display); font-size: 1.3rem; line-height: 1.5; color: rgba(251,248,241,.88); max-width: 40ch; }
.hero-foot .actions { grid-column: 8 / span 5; display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 1px; height: 44px; background: rgba(251,248,241,.35); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -44px; width: 1px; height: 44px; background: var(--cream); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 44px; } }

/* ---------- page banners (inner pages) ---------- */
.page-head {
  position: relative; color: var(--cream); padding: 96px 0 72px; margin-bottom: 88px;
  background: var(--maroon) center / cover no-repeat;
}
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(79,24,34,.94) 0%, rgba(110,34,48,.86) 55%, rgba(110,34,48,.62) 100%); }
.page-head .wrap { position: relative; }
.page-head .row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.page-head h1 { grid-column: 1 / span 8; }
.page-head .aside { grid-column: 9 / span 4; font-family: var(--display); font-size: 1.1rem; color: rgba(251,248,241,.85); max-width: 36ch; }
.page-head .aside .where { display: block; font-family: var(--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--cream); margin-bottom: 10px; }
.crumbs { font-size: .66rem; margin-bottom: 26px; color: rgba(251,248,241,.7); }
.crumbs a:hover { color: var(--cream); }
.page-head .facts { border-top: 1px solid rgba(251,248,241,.35); }
.page-head .label { color: rgba(251,248,241,.7); }
.page-head .btn { background: var(--cream); border-color: var(--cream); color: var(--maroon); }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head h2 { max-width: 20ch; }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px var(--gutter); }
.tile { display: block; }
.tile-media { aspect-ratio: 4 / 3; background: var(--cream); position: relative; overflow: hidden; }
.tile-media .img { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .8s var(--ease); }
.tile:hover .tile-media .img { transform: scale(1.05); }
.tile-media.no-photo { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; text-align: center; padding: 28px; color: var(--ink); font-family: var(--display); font-size: 1.55rem; line-height: 1.2; box-shadow: inset 0 0 0 1px var(--rule); }
.tile-media.no-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.tile-media.no-photo small { font-family: var(--sans); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile-past .tile-media.no-photo { background-color: var(--tint); box-shadow: none; }
.tile-past .tile-media.no-photo::after { border-color: rgba(42,39,35,.18); }
.tile-flag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--cream); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; }
.tile-body { padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tile-body h3 { font-size: 1.4rem; transition: color .15s; }
.tile-loc { margin-top: 4px; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
a.tile:hover h3 { color: var(--maroon); }
.tile-meta { font-size: .85rem; color: var(--muted); text-align: right; white-space: nowrap; flex: none; }
.tile-meta .avail { color: var(--accent); font-weight: 500; }
.tile-go { color: var(--maroon); display: inline-block; margin-left: 8px; transition: transform .2s var(--ease); }
a.tile:hover .tile-go { transform: translateX(4px); }
.tile-note { margin-top: 6px; font-size: .9rem; color: var(--ink-2); }

/* ---------- status ---------- */
.avail { color: var(--accent); font-weight: 500; }
.phase { font-family: var(--sans); font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.phase-construction, .phase-selling, .phase-presale { color: var(--accent); }
.phase-coming-soon { color: var(--contract); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-available { color: var(--accent); }
.status-contract { color: var(--contract); }
.status-sold { color: var(--muted); }
.status-sold::before { background: var(--sold); }
.status-planned { color: #3f6f95; }

/* ---------- founder teaser (home) ---------- */
.teaser { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.teaser-photo { grid-column: 1 / span 6; aspect-ratio: 5 / 4; background: var(--tint) center / cover no-repeat; position: relative; }
.teaser-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(251,248,241,.6); pointer-events: none; }
.teaser-body { grid-column: 8 / span 5; }
.teaser-body .lede { margin-top: 24px; }
.teaser-body .sig { margin-top: 28px; font-family: var(--display); font-style: italic; font-size: 1.15rem; }
.teaser-body .sig span { display: block; font-family: var(--sans); font-style: normal; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.teaser-body .btn { margin-top: 36px; }

/* ---------- closing band ---------- */
.closing { position: relative; color: var(--cream); background: #2a2a24 center / cover no-repeat; }
.closing::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,12,18,.9) 0%, rgba(40,12,18,.62) 55%, rgba(40,12,18,.3) 100%); }
.closing .wrap { position: relative; padding-top: 140px; padding-bottom: 140px; }
.closing h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 16ch; }
.closing p { margin-top: 20px; font-family: var(--display); font-size: 1.2rem; color: rgba(251,248,241,.85); max-width: 42ch; }
.closing .actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- lot table ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); border-top: 3px double var(--rule-strong); }
.seg { display: flex; gap: 22px; }
.seg button { background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: .68rem; color: var(--muted); border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--maroon); }
.select {
  appearance: none; -webkit-appearance: none; cursor: pointer; border: 0; border-bottom: 1px solid var(--rule);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232a2723' fill='none'/%3E%3C/svg%3E") right 2px center no-repeat;
  padding: 8px 24px 8px 0; font-size: .9rem; color: var(--ink); font-family: var(--sans);
}
.toolbar .count { margin-left: auto; font-size: .9rem; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table.lots { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.lots th { text-align: left; font-weight: 500; font-size: .64rem; color: var(--muted); padding: 16px 16px 12px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.lots th button { all: unset; cursor: pointer; }
table.lots th button:hover { color: var(--ink); }
table.lots th button[data-dir]::after { content: " ↓"; }
table.lots th button[data-dir="asc"]::after { content: " ↑"; }
table.lots td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.lots tbody tr { cursor: pointer; transition: background .12s; }
table.lots tbody tr:hover { background: var(--tint); }
table.lots .lot-id { font-family: var(--display); font-size: 1.15rem; }
table.lots .num, table.lots th.num { text-align: right; }
table.lots td:last-child, table.lots th:last-child { padding-right: 0; padding-left: 32px; }
.empty { padding: 48px 0; color: var(--muted); }

/* ---------- community ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 56px; }
.facts > div { padding-top: 16px; }
.fact-value { font-family: var(--display); font-size: 1.9rem; line-height: 1.15; }
.facts .label { margin-top: 6px; }
.plan-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; }
.plan { grid-column: 1 / span 8; }
.plan-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; }
.site-plan { display: block; width: 100%; height: auto; background: var(--tint); }
.site-plan .lot { cursor: pointer; outline: none; }
.site-plan .lot rect, .site-plan .lot path { stroke: var(--paper); stroke-width: 3; transition: opacity .15s; }
.site-plan .lot:hover rect, .site-plan .lot:hover path, .site-plan .lot:focus-visible rect, .site-plan .lot:focus-visible path { opacity: .85; }
.site-plan .lot.is-selected rect, .site-plan .lot.is-selected path { stroke: var(--ink); stroke-width: 4; }
.site-plan .lot text { pointer-events: none; font-family: var(--display); font-size: 24px; fill: var(--cream); }
.site-plan .lot text.sub { font-family: var(--sans); font-size: 12px; fill: rgba(255,255,255,.85); }
.site-plan .lot-sold text { fill: var(--ink-2); }
.site-plan .lot-sold text.sub { fill: var(--muted); }
.plan-note { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.detail { grid-column: 9 / span 4; border-top: 3px double var(--rule-strong); padding-top: 20px; position: sticky; top: 24px; }
.detail .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.detail .name { font-family: var(--display); font-size: 2.5rem; line-height: 1; }
.detail .price { font-family: var(--display); font-size: 1.7rem; margin-top: 20px; }
.spec { list-style: none; margin: 24px 0 0; padding: 0; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { text-align: right; }
.detail .note { margin-top: 16px; font-size: .92rem; color: var(--ink-2); }
.detail .actions { display: grid; gap: 10px; margin-top: 24px; }
.two-col { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.two-col > :first-child { grid-column: 1 / span 4; }
.two-col > :last-child { grid-column: 5 / span 8; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.project-cta { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.project-cta-media { grid-column: 1 / span 7; }
.project-cta-media .tile-media { aspect-ratio: 16 / 10; }
.project-cta-body { grid-column: 9 / span 4; }
.project-cta-body .lede { margin: 18px 0 32px; }

/* ---------- project gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.gallery-item { display: block; aspect-ratio: 16 / 9; background: var(--tint) center / cover no-repeat; transition: opacity .2s; }
.gallery-item:hover { opacity: .9; }
.gallery-item:only-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #1c1a17; object-fit: cover; }
.gallery-video { grid-column: 1 / -1; }
.gallery-single { grid-column: 1 / -1; display: block; }
.gallery-single img { display: block; max-width: 100%; max-height: 720px; width: auto; height: auto; margin: 0 auto; }
/* static colored site plan on a project page */
.layout-plan { display: block; border: 1px solid var(--line, rgba(0,0,0,.12)); }
.layout-plan img { display: block; width: 100%; height: auto; }

/* ---------- about ---------- */
.prose { font-family: var(--display); font-size: 1.15rem; line-height: 1.65; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.founder { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; }
.founder-photo { grid-column: 1 / span 5; aspect-ratio: 3 / 2; background: var(--tint) center / cover no-repeat; position: sticky; top: 32px; }
.founder-photo::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(251,248,241,.55); pointer-events: none; }
.founder-photo.no-photo { display: flex; align-items: flex-end; padding: 28px; font-family: var(--display); font-size: 1.3rem; color: var(--ink-2); }
.founder-photo.no-photo::after { border-color: rgba(42,39,35,.2); }
.founder-body { grid-column: 7 / span 6; }
.founder-body h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.founder-body .label { margin-top: 10px; color: var(--maroon); }
.founder-body .prose { margin-top: 28px; padding-top: 26px; border-top: 3px double var(--rule-strong); }
.founder-body .prose p:last-child { font-family: var(--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 1.8em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.contact-info { grid-column: 1 / span 4; }
.contact-info h2 { margin-bottom: 32px; }
.contact-info dl { margin: 0; display: grid; gap: 28px; }
.contact-info dd { margin: 8px 0 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.5; }
.contact-info dd a { border-bottom: 1px solid var(--rule); }
.contact-info dd a:hover { border-color: var(--maroon); color: var(--maroon); }
.form { grid-column: 6 / span 7; display: grid; gap: 30px; background: var(--paper-2); padding: 44px; box-shadow: inset 0 0 0 1px var(--rule); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.field { display: grid; gap: 4px; }
.field label { font-size: .64rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 10px 0; min-height: 44px; transition: border-color .15s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232a2723' fill='none'/%3E%3C/svg%3E") right 2px center no-repeat; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--maroon); }
.form .btn { justify-self: start; min-width: 220px; }
.form-status { font-size: .9rem; color: var(--accent); min-height: 1.4em; }
.form-status.error { color: #a4402f; }

/* ---------- footer ---------- */
.site-footer { background: var(--maroon-dark); color: rgba(251,248,241,.78); font-size: .9rem; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 36px; }
.footer-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding-bottom: 48px; border-bottom: 1px solid rgba(251,248,241,.15); }
.site-footer .brand { color: var(--cream); font-size: 1.4rem; }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand p { margin-top: 16px; font-family: var(--display); font-style: italic; color: rgba(251,248,241,.7); }
.footer-col { grid-column: span 2; }
.footer-col.wide { grid-column: span 3; }
.footer-col h5 { margin: 0 0 14px; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(251,248,241,.5); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .76rem; color: rgba(251,248,241,.5); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .plan, .detail { grid-column: 1 / -1; }
  .detail { position: static; }
  .page-head h1, .page-head .aside { grid-column: 1 / -1; }
  .page-head .aside { margin-top: 20px; }
  .teaser-photo, .teaser-body, .project-cta-media, .project-cta-body { grid-column: 1 / -1; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col.wide { grid-column: span 4; }
}
@media (max-width: 780px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: block; }
  .site-header .wrap { align-items: flex-start; padding-top: 18px; padding-bottom: 18px; }
  .brand { font-size: 1.2rem; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 0 var(--gutter) 16px; display: none; z-index: 50; }
  .nav.is-open { display: flex; }
  .nav a, body[data-page="home"] .site-header .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .78rem; color: var(--ink-2); }
  .nav a::after { display: none; }
  .hero .wrap { padding-bottom: 64px; }
  .scroll-cue { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .hero-foot p, .hero-foot .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .section { padding: 80px 0; }
  .page-head { padding: 64px 0 52px; margin-bottom: 64px; }
  .tiles { grid-template-columns: 1fr; gap: 40px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .two-col > :first-child, .two-col > :last-child { grid-column: 1 / -1; }
  .founder-photo, .founder-body { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr; }
  .founder-photo { position: relative; top: 0; }
  .contact-info, .form { grid-column: 1 / -1; }
  .form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .closing .wrap { padding-top: 96px; padding-bottom: 96px; }
  .footer-col, .footer-col.wide { grid-column: 1 / -1; }
  table.lots .col-front { display: none; }
  .toolbar .count { margin-left: 0; }
}
@media (max-width: 480px) {
  table.lots .col-comm { display: none; }
  table.lots th, table.lots td { padding-right: 10px; }
  table.lots td:last-child, table.lots th:last-child { padding-left: 8px; }
  table.lots .status { white-space: normal; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-reel .shot:first-child { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Rendered site plans (overlay: "outline"): status as a soft tint + thin outline so the drawing stays readable. */
.site-plan .lot path.outline { fill-opacity: var(--tint, .35); stroke-width: var(--outline, 2); stroke-opacity: .9; }
.site-plan .lot:hover path.outline, .site-plan .lot:focus-visible path.outline { opacity: 1; fill-opacity: calc(var(--tint, .35) + .2); }
.site-plan .lot.is-selected path.outline { fill-opacity: calc(var(--tint, .35) + .3); stroke: var(--ink); stroke-width: calc(var(--outline, 2) + 2); }
.legend-extra { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.legend-extra i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }

/* project details list */
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.detail-list dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #6f6a62); padding-top: 3px; }
.detail-list dd { margin: 0; }
@media (max-width: 600px) { .detail-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* project overview: photo + details side by side */
#interest-section .project-cta { align-items: start; }
#interest-section .project-cta-media { grid-column: 1 / span 7; }
#interest-section .project-cta-body { grid-column: 8 / span 5; }
#interest-section .project-cta-body h2 { margin-bottom: 18px; }
.overview-details > div { grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 9px 0; font-size: .9rem; }
.overview-details dt { font-size: .66rem; }
#interest-section .project-cta-body .lede { margin: 22px 0 26px; font-size: 1rem; }
@media (max-width: 1000px) { #interest-section .project-cta-media { position: static; } #interest-section .project-cta-media, #interest-section .project-cta-body { grid-column: 1 / -1; } }

/* Small disclaimer on a project's main photo (e.g. an artist's rendering). */
.tile-media { position: relative; }
.photo-note { position: absolute; z-index: 2; left: 10px; bottom: 10px; max-width: calc(100% - 20px); margin: 0; padding: 4px 9px; border-radius: 3px;
  background: rgba(20, 16, 12, .62); color: #f5efe4; font-size: 11.5px; line-height: 1.3; letter-spacing: .01em; pointer-events: none; }
.tile .photo-note { left: 8px; bottom: 8px; font-size: 10.5px; padding: 3px 7px; }

/* Features list under the overview photo, filling the space beside the details. */
.cta-features { margin-top: 36px; }
.cta-features h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 0 0 6px; }
.cta-features .plain-list li { padding: 10px 0; }
.cta-features #c-plat:not(:empty) { margin-top: 16px; }

/* Location map + distances (project pages with `map`) */
.where { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: start; }
.where-map { grid-column: 1 / span 7; aspect-ratio: 4 / 3; background: var(--tint); border: 1px solid var(--rule); z-index: 0; }
.where-body { grid-column: 8 / span 5; }
.where-body h2 { margin-bottom: 14px; }
.where-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.where-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.where-list .pl { font-family: var(--display); font-size: 1.15rem; }
.where-list .d { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.where .plan-note { margin-top: 12px; }
.map-label { background: rgba(255,255,255,.92); border: 0; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.25); font: 600 12px/1.2 var(--sans); color: #2a2723; padding: 3px 7px; }
.map-label::before { display: none; }
.map-label-site { background: #6e2230; color: #fff; font-size: 13px; }
@media (max-width: 1000px) { .where-map, .where-body { grid-column: 1 / -1; } .where-body { margin-top: 24px; } }

.status-presale { color: #2e7d5b; }
.status-later { color: #3f6f95; }
.where-map .leaflet-tile-pane { filter: saturate(.55) sepia(.12) brightness(1.03); }
