:root {
  --navy: #0f1c2e;
  --navy-2: #16263d;
  --navy-3: #1f3350;
  --gold: #b8975a;
  --gold-soft: #d6c09a;
  --ivory: #f7f4ee;
  --ink: #1b2330;
  --muted: #5d6675;
  --line: rgba(184, 151, 90, 0.35);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy); }
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 1.5rem 0; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px;
}
.wordmark {
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.08em;
  color: var(--ivory); text-decoration: none;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--ivory); text-decoration: none; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85;
}
.site-nav a:hover { opacity: 1; color: var(--gold-soft); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(15, 28, 46, 0.5) 0%, rgba(15, 28, 46, 0.05) 28%, rgba(15, 28, 46, 0.55) 52%, rgba(15, 28, 46, 0.94) 82%),
    var(--hero-image, radial-gradient(ellipse at 70% 20%, var(--navy-3) 0%, var(--navy) 65%));
  background-size: cover; background-position: center;
}
.hero .wrap { width: 100%; padding-block: 140px 72px; text-shadow: 0 1px 18px rgba(15, 28, 46, 0.55); }
.hero .eyebrow { color: var(--gold-soft); font-weight: 500; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); font-weight: 400; letter-spacing: 0.01em; }
.hero .city { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--gold-soft); margin: 0.6rem 0 0; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px;
  margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.price { font-family: var(--serif); font-size: 1.5rem; }
.price small { display: block; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); }

.btn {
  display: inline-block; padding: 15px 30px; border: 1px solid var(--gold);
  background: var(--gold); color: var(--navy); text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn-ghost { background: transparent; color: var(--ivory); }
.btn-ghost:hover { background: var(--gold); color: var(--navy); }

/* Facts */
.facts { background: var(--navy); color: var(--ivory); }
.facts ul {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.facts li { padding: 34px 16px; text-align: center; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts .num { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1.1; color: var(--gold-soft); }
.facts .lbl { display: block; margin-top: 6px; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }

.hero-caption {
  position: absolute; left: 24px; right: 24px; bottom: 16px; margin: 0; text-align: right;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247, 244, 238, 0.6);
}
.facts .sub { display: block; margin-top: 2px; font-size: 0.78rem; opacity: 0.6; }

/* Sections */
section.block { padding-block: 104px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.lede { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--navy); margin: 0 0 1.25rem; }
.muted { color: var(--muted); }

.notice {
  margin-top: 2rem; padding: 22px 26px; border: 1px solid var(--line); background: #fff;
  font-size: 0.95rem; color: var(--muted);
}
.notice strong { color: var(--navy); font-weight: 500; }

.features {
  list-style: none; margin: 1.75rem 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;
}
.features li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 0.97rem; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 8px; height: 1px; background: var(--gold); }

/* Features & finishes */
.finishes { background: #fff; border-top: 1px solid var(--line); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 3rem;
}
.feature-group { border-top: 1px solid var(--gold); padding-top: 1.25rem; }
.feature-group h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 0.75rem; }
.feature-group ul { list-style: none; margin: 0; padding: 0; }
.feature-group li { position: relative; padding: 7px 0 7px 20px; font-size: 0.95rem; line-height: 1.55; }
.feature-group li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 1px; background: var(--gold); }
.finishes .footnote { margin-top: 2.5rem; }
.location-list { margin-top: 2rem; }

/* Floor plans */
.plans { background: var(--ivory); border-top: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 2.25rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 14px 24px; cursor: pointer; color: var(--muted);
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.tabs button:hover { color: var(--navy); }
.plan { background: #fff; border: 1px solid var(--line); padding: 12px; }
.plan img { width: 100%; height: auto; }

/* Location */
.location { background: #fff; }
.map {
  margin-top: 2.5rem; position: relative; aspect-ratio: 16 / 7; max-width: 100%;
  border: 1px solid var(--line); background: var(--ivory);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35); }

/* Register */
.register { background: var(--navy); color: var(--ivory); }
.register h2 { color: var(--ivory); }
.register .muted { color: rgba(247, 244, 238, 0.72); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 8px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ivory);
  background: var(--navy-2); border: 1px solid rgba(247, 244, 238, 0.18); border-radius: 0;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: rgba(247, 244, 238, 0.8); }
.consent input { margin-top: 5px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--gold-soft); }
.form-status { font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: var(--gold-soft); }
.form-status.err { color: #f0a9a0; }
.form-thanks { display: none; padding: 32px; border: 1px solid var(--line); }
.form-thanks h3 { font-size: 1.9rem; color: var(--ivory); margin-bottom: 0.5rem; }
.is-sent .form { display: none; }
.is-sent .form-thanks { display: block; }

/* Agents */
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 3rem; }
.agent {
  background: #fff; border: 1px solid var(--line); padding: 28px;
  display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center;
}
.agent img { width: 150px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; max-width: 100%; height: auto; }
.agent h3 { font-size: 1.9rem; color: var(--navy); }
.agent .title { margin: 0.25rem 0 1.25rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.agent a { display: block; text-decoration: none; color: var(--ink); padding: 4px 0; }
.agent a:hover { color: var(--gold); }
.footnote { margin-top: 1.5rem; font-size: 0.82rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(247, 244, 238, 0.7); font-size: 0.85rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.site-footer .wrap { padding-block: 48px; display: grid; gap: 18px; }
.site-footer .brand { font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); letter-spacing: 0.04em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { color: var(--gold-soft); text-decoration: none; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem; }
.site-footer nav a:hover { color: var(--ivory); }
.site-footer p { margin: 0; max-width: 820px; }

/* Legal pages */
.legal-hero { background: var(--navy); color: var(--ivory); padding-block: 140px 64px; }
.legal-hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 400; }
.legal { padding-block: 72px 104px; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.7rem; margin: 2.5rem 0 0.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--navy); text-decoration-color: var(--gold); }

/* Phones */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .split, .agents { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .facts li { padding: 26px 8px; }
  .facts .lbl { font-size: 0.66rem; letter-spacing: 0.14em; }
  section.block { padding-block: 72px; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .form { grid-template-columns: 1fr; }
  .facts .num { font-size: 1.9rem; }
  .agent { padding: 22px; grid-template-columns: 104px 1fr; gap: 20px; }
  .agent img { width: 104px; }
  .agent h3 { font-size: 1.55rem; }
  .agent a { font-size: 0.92rem; word-break: break-word; }
  .features, .feature-grid { grid-template-columns: 1fr; }
  .tabs button { padding: 12px 16px; }
  .hero .wrap { padding-bottom: 56px; }
}
