/* Look and feel: photo-first, white and charcoal, one quiet brass accent.
   Headlines in Cormorant Garamond, everything else in Jost. */
:root {
  --ink: #161616;
  --charcoal: #1b1c1e;
  --paper: #ffffff;
  --mist: #f4f3f0;
  --line: #e2e0db;
  --brass: #96784a;
  --brass-text: #7a5f35;
  --muted: #575755;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.9rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.fine { font-size: .85rem; color: var(--muted); max-width: 36rem; }
.eyebrow, .chip {
  display: block; font-size: 13px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass-text); margin-bottom: 1.2em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05em 2em; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: #fff;
  font: 500 13px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-small { padding: .8em 1.4em; font-size: 12.5px; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.short { display: none; }

/* Header: see-through over the hero, solid after scrolling */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem var(--pad);
  color: #fff; transition: background .25s, color .25s, padding .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(255,255,255,.97); color: var(--ink); padding-top: .7rem; padding-bottom: .7rem; box-shadow: 0 1px 0 var(--line); }
.brand { text-decoration: none; margin-right: auto; }
.brand-text { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.brand-text em { font-style: italic; font-weight: 400; }
.nav { display: flex; gap: 2.2rem; }
.nav a { text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: currentColor; }
.site-header .btn { background: transparent; border-color: currentColor; color: inherit; }
.site-header .btn:hover { background: #fff; color: var(--ink); }
.site-header.scrolled .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.site-header.scrolled .btn:hover { background: transparent; color: var(--ink); }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; background: var(--charcoal); overflow: hidden; }
.hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%),
  linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,0) 72%); }
.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--pad) clamp(2.2rem, 6vw, 4.5rem);
  color: #fff;
}
.hero .chip { color: #fff; paint-order: stroke fill; -webkit-text-stroke: 3px rgba(0,0,0,.6); display: flex; align-items: center; gap: 1em; }
.hero .chip::before { content: ""; width: 2.6em; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 700; max-width: 20ch; text-wrap: balance; margin-bottom: .25em; paint-order: stroke fill; -webkit-text-stroke: 5px rgba(0,0,0,.6); text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 400; line-height: 1.5; max-width: 46ch; margin-bottom: 1.8em; paint-order: stroke fill; -webkit-text-stroke: 3.5px rgba(0,0,0,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Facts bar */
.facts {
  display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between;
  max-width: var(--wrap); margin: 0 auto; padding: clamp(1.8rem, 4vw, 2.8rem) var(--pad);
  border-bottom: 1px solid var(--line);
}
.fact { text-align: center; padding: 0 .5rem; }
.fact strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.05; }
.fact span { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.section > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.section-tint { background: var(--mist); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem 3rem; margin-bottom: 2.2rem; }
.section-head h2 { margin: 0; }
.lede { max-width: 52ch; margin: 0; color: var(--muted); font-weight: 400; font-size: 1.1rem; }
.narrow { max-width: 780px !important; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-top { align-items: start; }
.split p { font-weight: 400; font-size: 1.08rem; }
.split p.fine, .split p.chip { font-weight: 400; }
.split p.fine { font-size: .85rem; }
.split p.chip { font-size: 13px; font-weight: 500; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.tabs button {
  padding: .4em 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted);
  font: 500 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }

/* Photo grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tile { position: relative; padding: 0; border: 0; background: var(--mist); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile:first-child { grid-column: span 2; grid-row: span 2; }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  color: #fff; font-size: .82rem; text-align: left; opacity: 0; transition: opacity .25s;
}
.tile:hover span, .tile:focus-visible span { opacity: 1; }

video { width: 100%; background: #000; aspect-ratio: 16 / 9; }

/* Home cards */
.homes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.home-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.home-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-photo:hover img { transform: scale(1.03); }
.home-photo span { position: absolute; right: 0; bottom: 0; background: #fff; color: var(--ink); padding: .7em 1.2em; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.home-body { padding: 1.8rem 0 0; }
.home-body h3 { margin-bottom: .15em; }
.home-spec { color: var(--brass-text); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.4em; }
.home-body ul { margin: 0; padding: 0; list-style: none; }
.home-body li { padding: .75em 0; border-top: 1px solid var(--line); font-weight: 400; }
.home-body li:last-child { border-bottom: 1px solid var(--line); }

/* Floor plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.plan { margin: 0; }
.plan a { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); padding: clamp(.6rem, 2vw, 1.4rem); cursor: zoom-in; }
.plan img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.plan figcaption { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
.plan figcaption strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); line-height: 1.2; margin-bottom: .2rem; }

/* Improvements */
.improvements { background: var(--charcoal); color: #fff; }
.improve-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(1.5rem, 3vw, 3rem); counter-reset: imp; }
.improve-list li { counter-increment: imp; padding: 1.4rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.22); font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.improve-list li::before { content: counter(imp, decimal-leading-zero); display: block; margin-bottom: .7rem; font: 500 13px var(--sans); letter-spacing: .16em; color: #c9ae82; }

/* Details */
.details { margin: 0; }
.details div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid #d3d0c9; }
.details div:last-child { border-bottom: 1px solid #d3d0c9; }
.details dt { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-top: .3em; }
.details dd { margin: 0; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story-photo { margin: 0; position: sticky; top: 100px; }
.story-photo img { width: 100%; }
.story-photo figcaption { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); margin-top: .7rem; }
.story-text p { font-weight: 400; font-size: 1.08rem; }
.story-text p.eyebrow { font-weight: 500; font-size: 13px; }
blockquote { margin: 2.2rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.3; }
blockquote::before { content: ""; display: block; width: 3rem; height: 1px; background: var(--brass); margin-bottom: 1.2rem; }
details summary {
  cursor: pointer; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--brass); letter-spacing: 0; }
details[open] summary::after { content: "–"; }
details[open] summary { margin-bottom: 1.3rem; }
.faq summary { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: 0; text-transform: none; border-color: #d3d0c9; }
.faq + .faq summary { border-top: 0; }
.faq p { color: #333332; font-weight: 400; font-size: 1.05rem; max-width: 40rem; }

.life { margin-top: clamp(3rem, 7vw, 5rem); }
.life h3 { margin-bottom: 1.2rem; }
.life-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 1rem; }
.life-strip .tile:first-child { grid-column: auto; grid-row: auto; }

/* Contact */
.contact { background: var(--charcoal); color: #fff; }
.contact .fine { color: rgba(255,255,255,.6); }
.contact .chip { color: #c9ae82; }
form { background: #fff; color: var(--ink); padding: clamp(1.4rem, 3.5vw, 2.6rem); display: grid; gap: 1.2rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
legend, form > label > span, form > label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
legend { margin-bottom: .7rem; padding: 0; }
.choice { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border: 1px solid var(--line); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); }
form > label { display: grid; gap: .45rem; }
form small { font-weight: 400; color: var(--muted); letter-spacing: .08em; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; padding: .85rem .9rem; border: 1px solid #c9c6bf; border-radius: 0;
  font: 400 1rem var(--sans); letter-spacing: 0; text-transform: none; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { border-color: var(--ink); outline: none; }
input[type=radio] { accent-color: var(--ink); width: 1.05rem; height: 1.05rem; }
form .btn { justify-self: start; }
.form-note { margin: 0; padding: .9rem 1rem; background: var(--mist); border-left: 2px solid var(--brass); font-size: .92rem; }

/* GoHighLevel form embed */
.ghl-form { background: #fff; padding: clamp(.6rem, 2vw, 1.2rem); min-height: 690px; }
.ghl-form iframe { display: block; min-height: 690px; }

/* Footer */
.site-footer { padding: 2.6rem var(--pad); text-align: center; background: #111; color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer p { margin: 0 0 .7em; }
.site-footer strong { font-weight: 500; color: #fff; }
.site-footer .fine { color: rgba(255,255,255,.45); letter-spacing: .04em; text-transform: none; font-size: .8rem; margin-left: auto; margin-right: auto; }

/* Full-screen photo viewer */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0b; color: #fff; }
.lightbox::backdrop { background: #0b0b0b; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox figure { margin: 0; height: 100dvh; display: grid; grid-template-rows: 1fr auto; padding: 3.4rem 0 1.2rem; min-width: 0; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox figcaption { text-align: center; padding: 1rem 1rem 0; font-family: var(--serif); font-size: 1.2rem; }
#lb-count { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; color: rgba(255,255,255,.55); margin-right: 1.2em; font-variant-numeric: tabular-nums; }
.lb-nav, .lb-close { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; border-radius: 50%; width: 50px; height: 50px; font: 300 1.7rem/1 var(--sans); margin: 0 1rem; transition: background .2s, color .2s; }
.lb-nav:hover, .lb-close:hover { background: #fff; color: #111; }
.lb-close { position: absolute; top: .8rem; right: 0; font-size: 1rem; z-index: 2; border-color: transparent; }

/* Tablet and phone */
@media (max-width: 960px) {
  .nav { display: none; }
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 1.8rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .life-strip { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .split, .story, .homes, .plans { grid-template-columns: 1fr; }
  .improve-list { grid-template-columns: repeat(2, 1fr); }
  .homes { gap: 3rem; }
  .story-photo { position: static; }
  .tile span { display: none; }
  .tabs { gap: 0 1.4rem; }
  .tabs button { min-height: 44px; }
  .lb-nav { position: absolute; bottom: 4.6rem; z-index: 2; margin: 0 .7rem; width: 44px; height: 44px; }
  .lb-prev { left: 0; } .lb-next { right: 0; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figcaption { min-height: 5rem; padding: 1rem 4.4rem 0; font-size: 1.05rem; }
  #lb-count { display: block; margin: 0 0 .3em; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-text { font-size: 1.2rem; }
  .long { display: none; } .short { display: inline; }
  .hero-actions .btn { flex: 1 1 100%; }
  .details div { grid-template-columns: 1fr; gap: .15rem; }
  .fact span { letter-spacing: .1em; }
  .improve-list li { font-size: 1.25rem; }
  form .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .home-photo img { transition: none; }
}

.photo-note { margin-top: 1.2rem; }
