:root {
  --background: #f4efe6;
  --cream: #f8f4ec;
  --cream-dark: #e8dfd1;
  --navy: #0f2034;
  --navy-mid: #182c43;
  --gold: #b99942;
  --gold-light: #d6bd72;
  --green: #2b7550;
  --green-light: #edf7f1;
  --amber: #a86f16;
  --amber-light: #fff5dc;
  --red: #b8332c;
  --text-dark: #181b2a;
  --text-mid: #445066;
  --text-light: #7a8494;
  --card: #fffdf9;
  --border: #dfd4c3;
  --shadow: 0 18px 55px rgba(15, 32, 52, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-dark);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  letter-spacing: 0;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 32, 52, 0.96);
  color: rgba(255, 253, 249, 0.74);
  border-bottom: 1px solid rgba(214, 189, 114, 0.2);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 12px;
  font-weight: 600;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.hero {
  background:
    linear-gradient(135deg, rgba(15, 32, 52, 0.96), rgba(15, 32, 52, 0.88)),
    url("./public/assets/100_winthrop_st_1-CvsqtuRG.jpeg") center / cover;
  color: var(--cream);
}

.hero-inner {
  max-width: 1100px;
  min-height: 620px;
  margin: 0 auto;
  padding: 92px 22px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 70px;
}

.eyebrow,
.section-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-top: 18px;
  color: var(--cream);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 600;
}

.hero-text {
  max-width: 660px;
  margin-top: 26px;
  color: rgba(255, 253, 249, 0.76);
  font-size: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(214, 189, 114, 0.35);
  background: rgba(15, 32, 52, 0.45);
}

.stat-grid div {
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid rgba(214, 189, 114, 0.22);
  border-bottom: 1px solid rgba(214, 189, 114, 0.22);
}

.stat-grid div:nth-child(2n) {
  border-right: 0;
}

.stat-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat-value,
.stat-label {
  display: block;
}

.stat-value {
  color: var(--gold-light);
  font-family: "DM Mono", monospace;
  font-size: 25px;
  font-weight: 500;
}

.stat-label {
  margin-top: 8px;
  color: rgba(255, 253, 249, 0.58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--border);
}

.photo-band img {
  height: 230px;
  object-fit: cover;
  border-right: 1px solid var(--border);
}

.photo-band img:last-child {
  border-right: 0;
}

.section {
  max-width: 1020px;
  margin: 0 auto;
  padding: 76px 22px;
}

.section.muted {
  max-width: none;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.muted > * {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 38px;
}

.section-head h2 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 600;
}

.section-head p:last-child {
  max-width: 760px;
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 16px;
}

.section-head.compact {
  margin-bottom: 26px;
}

.cards,
.buyer-grid,
.two-col,
.split {
  display: grid;
  gap: 18px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.two-col,
.split {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.buyer-card,
.feature-card,
.comp-card,
.lender-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.card,
.buyer-card,
.lender-card {
  padding: 24px;
}

.card-kicker,
.tier {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.card h3,
.buyer-card h3,
.feature-body h3,
.comp-card h3,
.lender-card h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.card p,
.buyer-card p,
.feature-body p,
.comp-card p,
.lender-card p {
  margin-top: 12px;
  color: var(--text-mid);
  font-size: 14px;
}

.callout {
  margin-top: 30px;
  padding: 24px 26px;
  border-radius: 4px;
  font-size: 15px;
}

.callout.navy {
  background: var(--navy);
  color: rgba(255, 253, 249, 0.82);
  border-left: 4px solid var(--gold);
}

.callout.navy strong {
  color: var(--cream);
}

.callout.amber {
  background: var(--amber-light);
  color: #70490f;
  border-left: 4px solid var(--amber);
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  height: 270px;
  object-fit: cover;
}

.feature-body {
  padding: 24px;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-mid);
  font-size: 14px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  margin-top: 11px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.muted-list li::before {
  background: var(--text-light);
}

.buyer-grid {
  grid-template-columns: repeat(2, 1fr);
}

.buyer-card,
.lender-card {
  position: relative;
  overflow: hidden;
}

.buyer-card::before,
.lender-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(185, 153, 66, 0));
}

.lender-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lender-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.lender-card a,
.lender-note {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  margin-top: auto;
  padding: 9px 12px;
  border: 1px solid rgba(185, 153, 66, 0.46);
  border-radius: 4px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.lender-card a:hover {
  background: rgba(185, 153, 66, 0.13);
  border-color: var(--gold);
}

.lender-note {
  color: var(--text-mid);
  background: rgba(15, 32, 52, 0.04);
}

.sustainability-block {
  margin-top: 54px;
}

.sustainability-notes {
  margin-top: 18px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.signal-row span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.signal-row span {
  background: var(--green-light);
  color: var(--green);
}

.comp-list {
  display: grid;
  gap: 20px;
}

.comp-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.comp-card img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-right: 1px solid var(--border);
}

.comp-card > div {
  padding: 24px;
}

.pill {
  margin-bottom: 12px;
}

.pill.gold {
  background: rgba(185, 153, 66, 0.18);
  color: #806719;
}

.pill.navy-pill {
  background: rgba(15, 32, 52, 0.1);
  color: var(--navy);
}

.pill.green {
  background: var(--green-light);
  color: var(--green);
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 0;
}

dt {
  color: var(--text-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-family: "DM Mono", monospace;
  font-size: 14px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.floor-plan-grid {
  display: grid;
  gap: 22px;
}

.floor-plan-card {
  box-shadow: var(--shadow);
}

.floor-plan-card img {
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
}

figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

figure img {
  height: 210px;
  object-fit: cover;
}

figcaption {
  padding: 11px 13px;
  color: var(--text-mid);
  background: var(--cream);
  font-size: 12px;
  font-weight: 600;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.metrics-row div {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.metrics-row span {
  display: block;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.metrics-row strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-family: "DM Mono", monospace;
  font-size: 18px;
  font-weight: 500;
}

.final-section {
  padding-bottom: 88px;
}

.footer {
  display: grid;
  gap: 8px;
  padding: 34px 22px;
  background: var(--navy);
  color: rgba(255, 253, 249, 0.54);
  text-align: center;
  font-size: 12px;
}

.footer strong {
  color: rgba(255, 253, 249, 0.84);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
  }

  .cards.four,
  .image-grid,
  .lender-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards.three,
  .metrics-row {
    grid-template-columns: 1fr;
  }

  .photo-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .comp-card {
    grid-template-columns: 1fr;
  }

  .comp-card img {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .stat-grid,
  .buyer-grid,
  .two-col,
  .split,
  .cards.four,
  .image-grid,
  .floor-plan-grid,
  .lender-grid,
  dl {
    grid-template-columns: 1fr;
  }

  .stat-grid div,
  .stat-grid div:nth-child(2n),
  .stat-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(214, 189, 114, 0.22);
  }

  .stat-grid div:last-child {
    border-bottom: 0;
  }

  .photo-band img {
    height: 190px;
  }
}
