:root {
  --ink: #16243d;
  --gold: #a9844c;
  --gold-rule: #c8ab7a;
  --paper: #f4f3f0;
  --tint: #eae7e1;
  --text: #2c3038;
  --muted: #6b6e74;
  --line: #d6d2ca;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); }

h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0; }

h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); margin-bottom: 1.25rem; }

figure { margin: 0; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.note { font-size: 0.9rem; color: var(--muted); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 243, 240, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}

.wordmark {
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; justify-content: flex-end; }

.site-header nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.site-header nav a:hover { color: var(--gold); }

.site-header nav a.nav-cta { color: var(--gold); font-weight: 600; white-space: nowrap; }

@media (max-width: 860px) {
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* Hero + intro */

.hero img {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: center 60%;
}

.intro { padding-top: 3rem; padding-bottom: 1rem; }

h1 {
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  letter-spacing: -0.01em;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--gold-rule);
}

.h1-sub {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

.stats dd {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.stats dt {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; }
}

.intro-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 0 1rem;
}

.lede { margin: 0; font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.55; font-weight: 600; color: #3b3f47; }

.intro-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }

.mls { margin: 0.4rem 0 0; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--muted); }

@media (max-width: 800px) {
  .intro-body { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Buttons */

.button {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.button:hover { background: #22355a; }

.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: var(--white); }

.button-gold { background: var(--gold-rule); border-color: var(--gold-rule); color: var(--ink); }
.button-gold:hover { background: #d6be94; }

.button-outline { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.button-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* Sections */

.section { padding-top: 4.5rem; padding-bottom: 4.5rem; }

.section-tint { background: var(--tint); }

.accent { color: var(--gold); font-weight: 400; margin-bottom: 0.4rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
}

.highlights { list-style: none; margin: 1.25rem 0 0; padding: 0; }

.highlights li { margin-bottom: 1.05rem; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

.highlights strong { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 600; }

.stacked-photos { display: grid; gap: 1.75rem; }

figcaption {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose { max-width: 720px; }

.prose p { margin: 0 0 1.2rem; }

.pull {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--gold-rule);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
}

/* Gallery */

.gallery-group {
  margin: 2.75rem 0 1rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem 1.25rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: opacity 0.2s;
}

.gallery a:hover img, .plans a:hover img { opacity: 0.88; }

/* Floor plans */

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 1rem;
}

.plans img { background: var(--white); border: 1px solid var(--line); }

@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
}

/* History timeline */

.timeline {
  list-style: none;
  margin: 2.5rem 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.timeline li { padding-top: 1.1rem; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }

.timeline .year { display: block; font-size: 1.6rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }

/* Location */

.map img { border: 1px solid var(--line); }

.callout { margin: 1.25rem 0 0; font-size: 0.95rem; color: var(--muted); }
.callout strong { display: block; color: var(--ink); font-size: 1.05rem; }

.times h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.times h3:first-child { margin-top: 0; }

.times dl { margin: 0; }

.times dl div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.times dt span { color: var(--muted); }
.times dd { margin: 0; white-space: nowrap; }

/* Contact */

.contact { background: var(--ink); color: #dfe3ea; padding: 4rem 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 2.5rem;
}

.contact-inner > div + div { border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: 2.5rem; }

.contact .eyebrow { color: var(--gold-rule); }

.contact h2 { color: var(--white); font-weight: 400; margin-bottom: 0.75rem; }

.contact a { color: #dfe3ea; }
.contact a.button-gold { color: var(--ink); }

.contact-lines { margin: 0; letter-spacing: 0.04em; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; }

.mls-big { margin: 0; font-size: 1.6rem; color: var(--white); }

@media (max-width: 800px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-inner > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 2rem; }
}

/* Footer */

.site-footer { padding: 1.5rem 0 2.5rem; font-size: 0.85rem; color: var(--muted); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
}

.footer-inner p { margin: 0; }
