:root {
  --background: #f5f5f5;
  --cream: #ffffff;
  --cream-dark: #e8edf2;
  --navy: #142c44;
  --navy-mid: #243f59;
  --gold: #3e8ede;
  --gold-light: #b8d7f3;
  --green: #3f6f63;
  --green-light: #eef5f2;
  --amber: #687789;
  --amber-light: #eef2f6;
  --red: #6b7888;
  --text-dark: #181b2a;
  --text-mid: #445466;
  --text-light: #778493;
  --card: #ffffff;
  --border: #d8dee6;
  --shadow: 0 18px 55px rgba(20, 44, 68, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

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, 255, 255, 0.74);
  border-bottom: 1px solid rgba(62, 142, 222, 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);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-menu-button {
  display: none;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(62, 142, 222, 0.36);
  border-radius: 4px;
  cursor: pointer;
}

.nav-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-light);
  transition: transform 160ms ease, opacity 160ms ease;
}

.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: 800px;
  margin-top: 18px;
  color: var(--cream);
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.03;
  font-weight: 600;
}

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

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

.stat-grid div {
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid rgba(62, 142, 222, 0.22);
  border-bottom: 1px solid rgba(62, 142, 222, 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: 23px;
  font-weight: 500;
  line-height: 1.12;
}

.stat-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 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;
}

.design-section {
  max-width: none;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--gold);
}

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

.design-section h2 {
  color: var(--cream);
}

.design-section .section-head p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.concept-group + .concept-group {
  margin-top: 42px;
}

.concept-grid {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

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

.concept-card {
  border-color: rgba(62, 142, 222, 0.24);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.concept-card img {
  height: auto;
  object-fit: contain;
  background: var(--navy-mid);
}

.concept-card figcaption {
  min-height: 50px;
  padding: 12px 14px;
  background: rgba(9, 20, 34, 0.72);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.property-photos {
  max-width: 1120px;
}

.photo-feature {
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.photo-feature img {
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  object-fit: cover;
}

.photo-feature figcaption {
  padding: 14px 18px;
  color: var(--navy);
  font-size: 13px;
}

.photo-group + .photo-group,
.split + .photo-group,
.floor-plan-grid + .photo-group {
  margin-top: 44px;
}

.before-after-grid {
  display: grid;
  gap: 22px;
  margin-top: 14px;
}

.before-after-card {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.before-after-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.before-after-pair figure {
  position: relative;
  box-shadow: none;
}

.before-after-pair span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 6px 9px;
  background: rgba(13, 29, 49, 0.86);
  color: var(--gold-light);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.before-after-pair img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--cream);
}

.before-after-card h3 {
  margin-top: 15px;
  color: var(--navy);
  font-size: 21px;
}

.before-after-card p {
  max-width: 760px;
  margin-top: 6px;
  color: var(--text-mid);
}

.concept-disclaimer {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.55;
}

.concept-options {
  margin-top: 44px;
}

.concept-option-grid {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.concept-option-grid figure {
  box-shadow: 0 14px 32px rgba(20, 27, 39, 0.08);
}

.concept-option-grid img {
  height: auto;
  object-fit: contain;
  background: var(--cream);
}

.concept-option-grid figcaption {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.property-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.property-photo-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-photo-grid figure {
  box-shadow: 0 14px 32px rgba(20, 27, 39, 0.08);
}

.property-photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--cream);
}

.property-photo-grid figcaption {
  min-height: 44px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

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

.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;
}

.dover-section {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  border-top: 0;
  border-bottom: 0;
}

.dover-section .section-label {
  color: var(--gold-light);
}

.dover-section h2 {
  color: #fff;
}

.dover-section .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

.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;
}

.specs-section {
  padding-bottom: 64px;
}

.spec-brief {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: stretch;
}

.spec-summary,
.spec-fact {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.spec-summary {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(20, 44, 68, 0.96), rgba(31, 72, 108, 0.92)),
    linear-gradient(135deg, rgba(62, 142, 222, 0.18), rgba(255, 255, 255, 0));
  color: rgba(255, 255, 255, 0.78);
}

.spec-summary span,
.spec-fact span {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.spec-summary span {
  color: var(--gold-light);
}

.spec-summary h3 {
  margin-top: 12px;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.08;
  font-weight: 800;
}

.spec-summary p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

.spec-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.spec-fact {
  min-height: 148px;
  padding: 20px;
}

.spec-fact.featured {
  border-color: rgba(62, 142, 222, 0.45);
  background: linear-gradient(180deg, rgba(62, 142, 222, 0.08), #fff 58%);
}

.spec-fact span {
  color: var(--text-light);
}

.spec-fact strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-family: "DM Mono", monospace;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 500;
  line-height: 1.1;
}

.spec-fact p {
  margin-top: 10px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.45;
}

.spec-table-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr + tr {
  border-top: 1px solid var(--border);
}

.spec-table th,
.spec-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 240px;
  color: var(--navy);
  background: rgba(15, 32, 52, 0.04);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.spec-table td {
  color: var(--text-mid);
  font-size: 15px;
}

.spec-note {
  max-width: 840px;
  margin-top: 16px;
  color: var(--text-light);
  font-size: 12px;
}

.record-links {
  display: flex;
  max-width: 840px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.record-links span {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.record-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(62, 142, 222, 0.46);
  border-radius: 4px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.record-links a:hover {
  background: rgba(62, 142, 222, 0.13);
  border-color: var(--gold);
}

.history-card {
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  background: var(--card);
}

.history-card h3 {
  margin-top: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.history-card p:last-child {
  max-width: 820px;
  margin-top: 12px;
  color: var(--text-mid);
  font-size: 15px;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
}

.location-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(15, 32, 52, 0.08), rgba(62, 142, 222, 0.07)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    #edf1f5;
  background-size: auto, 80px 80px, 80px 80px, auto;
  box-shadow: var(--shadow);
}

.map-embed {
  background: #edf1f5;
}

.map-fallback {
  position: absolute;
  inset: 24px;
  z-index: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  color: var(--navy);
  text-align: center;
}

.map-fallback strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
}

.map-fallback span {
  color: var(--text-mid);
  font-size: 13px;
}

.leaflet-container {
  z-index: 1;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border-radius: 4px;
  background: var(--card);
  color: var(--navy);
}

.leaflet-popup-content {
  margin: 10px 12px;
  font-size: 12px;
  line-height: 1.35;
}

.map-marker {
  background: transparent;
  border: 0;
}

.marker-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(15, 32, 52, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(15, 32, 52, 0.16);
}

.marker-chip::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--card);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(15, 32, 52, 0.12);
}

.marker-chip.site::before {
  background: var(--red);
}

.marker-chip.parking::before {
  background: var(--gold);
}

.marker-chip.transit::before {
  background: var(--green);
}

.marker-chip.highway::before {
  background: var(--navy);
}

.marker-chip.city::before {
  background: var(--text-light);
}

.map-road,
.map-rail {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 14px;
  border-radius: 999px;
  opacity: 0.72;
}

.map-road {
  background: rgba(15, 32, 52, 0.22);
}

.road-main {
  top: 44%;
  transform: rotate(-13deg);
}

.road-cross {
  top: 58%;
  transform: rotate(21deg);
  height: 10px;
  opacity: 0.45;
}

.road-i93 {
  top: 51%;
  left: 60%;
  right: -22%;
  height: 26px;
  background: rgba(15, 32, 52, 0.55);
  transform: rotate(82deg);
}

.map-rail {
  top: 36%;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--green) 0,
    var(--green) 18px,
    rgba(43, 117, 80, 0.25) 18px,
    rgba(43, 117, 80, 0.25) 28px
  );
  transform: rotate(-18deg);
  opacity: 0.85;
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 160px;
  color: var(--navy);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.map-pin span {
  display: block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--card);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(15, 32, 52, 0.2);
}

.map-pin strong {
  padding: 5px 8px;
  border: 1px solid rgba(15, 32, 52, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
}

.primary-pin span {
  width: 28px;
  height: 28px;
  background: var(--red);
}

.transit-pin span {
  background: var(--green);
}

.highway-pin span {
  background: var(--navy);
}

.city-pin span {
  background: var(--text-light);
}

.map-zone {
  position: absolute;
  color: rgba(15, 32, 52, 0.18);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.zone-medford {
  left: 7%;
  top: 10%;
}

.zone-urban {
  right: 6%;
  bottom: 8%;
  max-width: 320px;
  text-align: right;
}

.location-points {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
}

.mini-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.mini-card strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.mini-card p {
  margin-top: 8px;
  color: var(--text-mid);
  font-size: 13px;
}

.use-group + .use-group {
  margin-top: 34px;
}

.use-group h3 {
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.use-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

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

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

.use-card {
  min-height: 218px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
}

.use-card h4 {
  margin: 0;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.use-card p {
  margin-top: 11px;
  color: var(--text-mid);
  font-size: 14px;
}

.use-note {
  max-width: 820px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.55;
}

.buyer-context-section .buyer-card {
  min-height: 0;
}

.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, 255, 255, 0.82);
  border-left: 4px solid var(--gold);
}

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

.callout.amber {
  background: var(--amber-light);
  color: #405365;
  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 {
  display: flex;
  min-height: 310px;
  flex-direction: column;
}

.buyer-card::before,
.lender-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(62, 142, 222, 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(62, 142, 222, 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(62, 142, 222, 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;
  margin-bottom: 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);
}

.buyer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  margin-top: auto;
  padding: 9px 12px;
  border: 1px solid rgba(62, 142, 222, 0.46);
  border-radius: 4px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.buyer-cta:hover {
  background: rgba(62, 142, 222, 0.13);
  border-color: var(--gold);
}

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

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

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

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

.pill {
  margin-bottom: 12px;
}

.pill.gold {
  background: rgba(62, 142, 222, 0.18);
  color: #315f8a;
}

.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;
  overflow-wrap: anywhere;
}

.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;
}

.title-with-badge {
  display: flex;
  max-width: 860px;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.title-with-badge h2 {
  margin-top: 8px;
}

.outlook-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--card);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.dover-section .outlook-badge {
  background: var(--gold);
  color: #fff;
}

.dover-highlight {
  margin-bottom: 22px;
  padding: 28px;
  border: 1px solid rgba(184, 215, 243, 0.34);
  border-left: 5px solid var(--gold-light);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.dover-highlight span {
  display: block;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.dover-highlight strong {
  display: block;
  max-width: 820px;
  margin-top: 10px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 700;
}

.dover-highlight p {
  max-width: 820px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.dover-section .metrics-row div {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(184, 215, 243, 0.28);
}

.dover-section .callout.amber {
  background: rgba(255, 255, 255, 0.94);
}

.zoning-outlook .check-list li {
  padding-left: 22px;
}

.contact-section {
  padding-top: 54px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(62, 142, 222, 0.42);
  border-left: 5px solid var(--gold);
  border-radius: 4px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-top: 8px;
  color: var(--cream);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.contact-panel p {
  max-width: 660px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(62, 142, 222, 0.78);
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.contact-actions a + a {
  background: transparent;
  color: var(--gold-light);
}

.contact-actions a:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.agent-card {
  padding: 24px;
  border: 1px solid rgba(62, 142, 222, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.agent-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.agent-card strong {
  display: block;
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.1;
}

.agent-card a,
.agent-card p {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.agent-card a {
  font-weight: 800;
}

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

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

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

.footer a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

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

  .cards.four,
  .image-grid,
  .lender-grid,
  .use-grid.primary,
  .use-grid.additional,
  .property-photo-grid,
  .property-photo-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .before-after-pair {
    grid-template-columns: 1fr;
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .concept-grid.two {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 900px) {
  .nav {
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    padding-right: 76px;
  }

  .brand {
    max-width: calc(100% - 58px);
    white-space: normal;
  }

  .nav-menu-button {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 22px;
  }

  .nav-links {
    display: grid;
    width: 100%;
    max-height: 0;
    grid-template-columns: repeat(2, 1fr);
    justify-content: flex-start;
    gap: 0 16px;
    overflow: hidden;
    opacity: 0;
    transition: max-height 180ms ease, opacity 180ms ease, padding-top 180ms ease;
  }

  .nav-links a {
    padding: 10px 0;
    border-top: 1px solid rgba(62, 142, 222, 0.16);
  }

  .nav-toggle:checked ~ .nav-links {
    max-height: 520px;
    padding-top: 12px;
    opacity: 1;
  }

  .nav-toggle:checked + .nav-menu-button span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-menu-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-menu-button span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .hero h1 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: break-word;
  }

  .hero-text {
    max-width: 100%;
    font-size: 16px;
  }

  .stat-grid,
  .location-points,
  .buyer-grid,
  .use-grid.primary,
  .use-grid.additional,
  .spec-fact-grid,
  .two-col,
  .split,
  .cards.four,
  .image-grid,
  .property-photo-grid,
  .property-photo-grid.compact,
  .floor-plan-grid,
  .lender-grid,
  dl {
    grid-template-columns: 1fr;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    padding-bottom: 6px;
    background: transparent;
  }

  .spec-table td {
    padding-top: 0;
  }

  .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(62, 142, 222, 0.22);
  }

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

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

  .photo-feature img {
    height: 300px;
  }

  .property-photo-grid img {
    height: 230px;
  }

  .contact-panel {
    padding: 24px;
  }

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

  .comp-card h3,
  .comp-card p {
    overflow-wrap: break-word;
  }

  .comp-card img {
    height: 190px;
  }

  .location-map {
    min-height: 430px;
  }

  .map-pin {
    width: 128px;
    font-size: 11px;
  }

  .zone-urban {
    max-width: 240px;
  }
}
