:root {
  --ink: #151817;
  --soft-ink: #46504e;
  --muted: #6c7572;
  --paper: #fffaf1;
  --ivory: #f4eee2;
  --mist: #e8f0ee;
  --teal: #0e5d61;
  --teal-deep: #0d3438;
  --brass: #c5962d;
  --brick: #a43332;
  --line: rgba(21, 24, 23, 0.14);
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(14, 24, 26, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.anchor-section {
  scroll-margin-top: 88px;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 52px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.properties-page.property-selected .site-header {
  color: var(--ink);
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 10px 35px rgba(20, 30, 30, 0.08);
  backdrop-filter: blur(16px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
}

.brand-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-wordmark {
  display: block;
  width: 150px;
  height: auto;
  transition: filter 180ms ease;
}

.site-header .brand-wordmark {
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand-wordmark,
.site-header.is-open .brand-wordmark,
.properties-page.property-selected .site-header .brand-wordmark {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 750;
}

.site-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  color: currentColor;
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(197, 150, 45, 0.18);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: clamp(560px, 82vh, 820px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 22, 23, 0.82) 0%, rgba(11, 22, 23, 0.56) 42%, rgba(11, 22, 23, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 16, 18, 0.28) 0%, rgba(6, 16, 18, 0.08) 48%, rgba(6, 16, 18, 0.46) 100%);
}

.hero.property-hero {
  min-height: clamp(520px, 72vh, 760px);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 132px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 850px;
  margin-top: 18px;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  letter-spacing: 0;
}

.property-hero h1 {
  max-width: 940px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brass);
  color: #16120a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  background: var(--teal-deep);
  color: var(--white);
}

.button-light {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(10, 20, 21, 0.28);
}

.hero-metrics strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  font-weight: 750;
  text-transform: uppercase;
}

.section {
  padding: clamp(66px, 8vw, 112px) 0;
}

.section-compact {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section-cream {
  background: var(--ivory);
}

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

.section-dark {
  color: var(--white);
  background: var(--teal-deep);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.8vw, 4.25rem);
}

.section-dark .section-heading h2,
.section-dark .section-heading p {
  color: var(--white);
}

.section-heading p {
  max-width: 780px;
  margin: 0;
  color: var(--soft-ink);
}

.anchor-section .section-heading h2 {
  font-size: clamp(1.35rem, 3.2vw, 2.55rem);
  white-space: nowrap;
}

.selected-only {
  display: none;
}

.properties-page .anchor-section {
  display: none;
}

.properties-page.property-selected .property-hero,
.properties-page.property-selected .property-overview,
.properties-page.property-selected .comparison-section,
.properties-page.property-selected .anchor-section {
  display: none;
}

.properties-page.property-selected .anchor-section.is-selected-property {
  display: block;
}

.properties-page.property-selected .anchor-section.is-selected-property .selected-only {
  display: inline-flex;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(18, 28, 29, 0.08);
}

.property-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.property-card-body {
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  border: 1px solid rgba(197, 150, 45, 0.35);
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--teal-deep);
  background: rgba(197, 150, 45, 0.12);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.property-card h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  line-height: 1.12;
  white-space: nowrap;
}

.property-card p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.section-dark .property-card {
  color: var(--ink);
}

.section-dark .property-card p {
  color: #4f5b58;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--brick);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 26px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
}

.split p {
  color: var(--soft-ink);
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  color: var(--soft-ink);
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--brass);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-tile {
  min-height: 128px;
  padding: 22px;
  background: var(--white);
}

.stat-tile strong {
  display: block;
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1;
}

.stat-tile span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.detail-box {
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
}

.detail-box h3 {
  margin-bottom: 12px;
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.detail-box p,
.detail-box li {
  color: var(--soft-ink);
}

.detail-box ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.section-subheading {
  display: grid;
  gap: 8px;
  margin: 38px 0 18px;
}

.section-subheading h3 {
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.section-subheading p {
  max-width: 760px;
  margin: 0;
  color: var(--soft-ink);
}

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

.plan-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(18, 28, 29, 0.08);
}

.plan-card img {
  width: 100%;
  height: clamp(300px, 42vw, 520px);
  object-fit: contain;
  padding: 12px;
  background: #fffdf8;
}

.plan-card figcaption {
  padding: 14px 18px 16px;
  color: var(--soft-ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.wide-plan {
  grid-column: 1 / -1;
}

.wide-plan img {
  height: clamp(360px, 48vw, 660px);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--teal-deep);
  background: rgba(14, 93, 97, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td {
  color: var(--soft-ink);
}

tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 52, 56, 0.95), rgba(14, 93, 97, 0.86)),
    url("home-hero.jpg") center / cover no-repeat;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.cta-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-panel {
  padding: clamp(26px, 5vw, 46px);
  background: var(--white);
}

.contact-panel h3 {
  margin-bottom: 18px;
  color: var(--teal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list strong,
.contact-list a {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-status {
  margin: 0;
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: #edf6f2;
  font-size: 0.94rem;
  font-weight: 750;
}

.form-status.is-error {
  color: #7a2018;
  background: #fff0ec;
}

.form-status.is-success {
  color: #0f4d35;
  background: #ecf8f2;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #111918;
  padding: 54px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}

.footer-brand .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.footer-brand .brand-wordmark {
  width: 158px;
}

.footer-note {
  max-width: 330px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.footer-links h4 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-bottom span {
  display: block;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 4px;
    padding: 12px;
    color: var(--ink);
    background: rgba(255, 250, 241, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .section-heading,
  .cta-content {
    display: grid;
    align-items: start;
  }

  .property-grid,
  .stats-grid,
  .detail-grid,
  .plan-grid,
  .contact-grid,
  .footer-inner,
  .footer-links,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .wide-plan {
    grid-column: auto;
  }

  .wide-plan img,
  .plan-card img {
    height: clamp(280px, 78vw, 420px);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-wordmark {
    width: 126px;
  }

  .footer-brand .brand-wordmark {
    width: 136px;
  }

  .hero {
    min-height: 720px;
    background-position: center;
  }

  .hero-inner {
    width: min(100% - 30px, var(--max));
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .property-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
  }

  .hero-metrics div {
    padding: 12px 10px;
  }

  .hero-metrics strong {
    font-size: 1.55rem;
  }

  .hero-metrics span {
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .section-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 30px, var(--max));
    display: grid;
    gap: 10px;
  }

  .property-card-body,
  .detail-box,
  .stat-tile,
  .contact-panel {
    padding: 20px;
  }

  .property-card h3 {
    font-size: 0.95rem;
  }
}
