@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f8f1;
  --white: #fff;
  --ink: #16342c;
  --muted: #495b51;
  --green: #1c493a;
  --green-dark: #12372c;
  --lime: #e1edc7;
  --line: #d9dfd1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 500 1rem/1.65 var(--sans);
}
main:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2d846a; outline-offset: 4px; }
section[id], article[id], main[id] { scroll-margin-top: 108px; }

.shell {
  width: min(100% - var(--gutter) * 2, 1280px);
  margin-inline: auto;
}

.icon-library { position: absolute; width: 0; height: 0; }
.icon {
  width: 1.12em;
  height: 1.12em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 15;
  inset: 10px auto auto 12px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: .91rem; font-weight: 800; line-height: 1.18; }
.brand img { flex: none; border-radius: 9px; }
.brand-subtitle { display: block; margin-top: 3px; font-size: .77rem; color: var(--muted); font-weight: 650; }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.4vw, 34px); }
.main-nav a { font-size: .9rem; font-weight: 700; white-space: nowrap; }
.main-nav a:hover { color: #316d57; text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  gap: .58em;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: .68em 1.12em;
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-small { min-height: 42px; padding-inline: 13px; font-size: .86rem; }
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--green-dark); }
.button-outline { border-color: #aebeb0; color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--green); background: #edf1e5; }
.button-lime { background: var(--lime); color: var(--green-dark); }
.button-lime:hover { background: #f0f7dc; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .56em;
  color: #3f6754;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
  line-height: 1.4;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(27px, 4.75vw, 76px);
  padding-block: clamp(36px, 5vw, 74px) 35px;
}
.hero h1 {
  margin-top: 16px;
  font: 400 clamp(3.05rem, 5.45vw, 5.4rem)/.96 var(--serif);
  letter-spacing: -.062em;
}
.title-prefix {
  display: block;
  margin-bottom: .37em;
  color: var(--muted);
  font: 750 .22em/1 var(--sans);
  letter-spacing: .005em;
}
.hero h1 em { display: block; color: #456b51; font-weight: 400; }
.hero-description { max-width: 41ch; margin-top: 22px; color: var(--muted); }
.home-selector { min-width: 0; margin: 24px 0 0; padding: 0; border: 0; }
.home-selector legend { margin-bottom: 8px; padding: 0; font-size: .88rem; font-weight: 800; }
.hero-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-option { position: relative; min-width: 0; }
.hero-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.hero-option label {
  display: flex;
  position: relative;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .72rem .85rem;
  background: var(--white);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.hero-option label:hover { border-color: #72907d; }
.hero-option input:checked + label { background: #e8efdb; border-color: #52735d; }
.hero-option input:focus-visible + label { outline: 3px solid #2d846a; outline-offset: 3px; }
.hero-option label::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 12px;
  width: 13px;
  height: 13px;
  border: 1px solid #789383;
  border-radius: 50%;
}
.hero-option input:checked + label::after { background: var(--green); border: 3px solid #e8efdb; outline: 1px solid var(--green); }
.hero-price-label { padding-right: 15px; color: var(--muted); font-size: .86rem; font-weight: 800; line-height: 1.35; }
.hero-price-value { margin-top: 3px; font-weight: 800; font-size: clamp(1.18rem, 2.04vw, 1.68rem); line-height: 1.2; letter-spacing: -.046em; white-space: nowrap; }
.hero-price-value small, .hero-price-period { font-size: .78rem; letter-spacing: 0; font-weight: 680; }
.hero-price-period { margin-top: 2px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.hero-offer { display: inline-block; margin-top: 11px; padding-block: 4px; color: var(--green); font-size: .89rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dae6df;
  aspect-ratio: 1.18;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-image figcaption,
.home-image figcaption {
  position: absolute;
  left: 15px;
  bottom: 15px;
  max-width: calc(100% - 30px);
  padding: 6px 10px;
  background: rgb(12 31 25 / .91);
  color: white;
  border-radius: 6px;
  font-size: .81rem;
  font-weight: 750;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d9e2cd;
  border-radius: 13px;
  background: #ecf0e2;
}
.project-facts > div { padding: 17px clamp(13px, 2.4vw, 28px); }
.project-facts > div + div { border-left: 1px solid #d9e2cd; }
.project-facts dt { color: var(--muted); font-size: .85rem; font-weight: 750; }
.project-facts dd { margin-top: 3px; font-size: clamp(1rem, 1.8vw, 1.45rem); font-weight: 800; line-height: 1.32; }
.project-facts dd span { display: inline-block; font-size: .83rem; font-weight: 650; color: var(--muted); }

.homes, .aerials { padding-block: clamp(58px, 7.5vw, 108px) clamp(50px, 7vw, 96px); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px 32px;
  margin-bottom: 25px;
}
.section-heading > p { max-width: 34ch; color: var(--muted); }
h2 {
  margin-top: 9px;
  font: 400 clamp(2.4rem, 4.3vw, 4.15rem)/1.03 var(--serif);
  letter-spacing: -.045em;
}
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(15px, 2.35vw, 32px); }
.home-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.home-image { position: relative; background: #dce7df; aspect-ratio: 1.65; }
.home-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.home-content { flex: 1; display: flex; flex-direction: column; gap: 15px; padding: clamp(16px, 2.4vw, 30px); }
.home-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: 14px; }
.home-heading h3 { font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.12 var(--serif); letter-spacing: -.038em; }
.card-price { font-size: .84rem; color: var(--muted); white-space: nowrap; }
.card-price strong { font-size: 1.36rem; color: var(--ink); letter-spacing: -.045em; }
.home-specs { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0; padding: 12px 0; border-block: 1px solid #e3e9df; list-style: none; }
.home-specs li { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 750; }
.home-specs .icon { color: #48715c; }
.home-content > p { color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 3px; margin-top: auto; }
.fine-print { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.homes > .fine-print { margin-top: 14px; }

.package-band { background: var(--green-dark); color: #f9faef; }
.package-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(30px, 7vw, 106px);
  align-items: center;
  padding-block: clamp(46px, 6vw, 84px);
}
.package-intro .eyebrow { color: #c8dcad; }
.package-intro h2 { max-width: 14ch; }
.package-intro > p:not(.eyebrow) { max-width: 36ch; margin-top: 14px; color: #dfe8d8; }
.package-intro .button { margin-top: 22px; }
.package-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px 0; border-bottom: 1px solid #4e6d5b; }
.package-item:first-child { border-top: 1px solid #4e6d5b; }
.check-icon { display: inline-grid; width: 31px; height: 31px; flex: none; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-dark); }
.package-item h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.4; }
.package-item p { color: #dfe8d8; margin-top: 3px; }
.package-details .fine-print { margin-top: 14px; color: #cedcc9; }

.aerials { padding-bottom: 0; }
.aerial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.35vw, 32px); }
.aerial-card { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: white; }
.aerial-link { display: block; border-radius: var(--radius); }
.aerial-link img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
.aerial-link:hover .aerial-card { border-color: #789383; }
.aerial-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 13px 16px; }
.aerial-card figcaption strong { display: block; font-size: .93rem; line-height: 1.4; }
.aerial-card figcaption span { display: block; font-size: .83rem; color: var(--muted); }
.aerial-card figcaption .icon { color: #4a6c59; }
.phase-plan { padding-top: clamp(40px, 6vw, 84px); }
.phase-plan-link img { aspect-ratio: auto; }

.location {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(24px, 7vw, 112px);
  padding-block: clamp(60px, 7.7vw, 110px);
}
.location-copy > p:not(.eyebrow):not(.fine-print) { margin-top: 12px; max-width: 42ch; color: var(--muted); }
.nearby { margin-top: 17px; border-top: 1px solid var(--line); }
.nearby > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.nearby dt { font-weight: 700; }
.nearby dd { white-space: nowrap; font-weight: 800; color: #3f6754; }
.location-copy .fine-print { margin-top: 9px; }
.location-copy .button { margin-top: 20px; }
.location-map { padding: 14px; background: #efefe9; border: 1px solid var(--line); border-radius: var(--radius); }
.location-map a { display: block; }
.location-map img { width: 100%; height: auto; border-radius: 8px; }
.location-map figcaption { margin: 7px 3px 0; font-size: .83rem; line-height: 1.35; color: var(--muted); }

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 28px;
  padding: clamp(20px, 4vw, 48px);
  background: #e8efda;
  border: 1px solid #dae4ce;
  border-radius: var(--radius);
}
.contact-section h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.contact-section p:not(.eyebrow) { margin-top: 7px; color: var(--muted); }
.contact-section .button { flex: none; }
.site-footer { margin-top: clamp(28px, 5vw, 70px); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding-block: 25px 30px; font-size: .86rem; }
.footer-inner span { display: block; color: var(--muted); }
.footer-inner a { font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

.mobile-contact { display: none; }

.media-dialog {
  width: min(100% - 24px, 660px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  color: var(--ink);
}
.media-dialog::backdrop { background: rgb(10 29 22 / .76); }
.media-dialog.is-wide { width: min(100% - 24px, 1160px); }
.media-header { display: flex; justify-content: space-between; align-items: start; gap: 10px; padding: 17px 19px 12px; }
.media-header h2 { margin-top: 5px; font-size: clamp(1.65rem, 4.8vw, 2.35rem); }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: white; cursor: pointer; }
.icon-button:hover { background: #e8efda; }
.media-options { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 19px 10px; }
.media-options button { min-height: 42px; padding: 6px 12px; border: 1px solid #aebeb0; border-radius: 8px; background: transparent; cursor: pointer; font-size: .9rem; font-weight: 750; }
.media-options button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.media-image { display: grid; place-items: center; padding: 8px; margin-inline: 12px; background: #e9ede4; border-radius: 9px; }
.media-image img { width: auto; max-width: 100%; max-height: min(600px, 59dvh); object-fit: contain; }
.is-wide .media-image img { width: 100%; max-height: 72dvh; }
.media-footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 7px 12px; padding: 11px 19px 15px; color: var(--muted); font-size: .84rem; }
.text-link { display: inline-flex; align-items: center; min-height: 39px; gap: 6px; color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1050px) {
  .home-heading { align-items: start; flex-direction: column; gap: 5px; }
}
@media (max-width: 960px) {
  .site-header .main-nav { display: none; }
}
@media (max-width: 880px) {
  .hero { align-items: center; gap: 24px; }
  .hero h1 { font-size: clamp(2.65rem, 6.7vw, 3.95rem); }
  .hero-price-value { font-size: 1.3rem; }
}
@media (max-width: 720px) {
  .hero, .package-layout, .location { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 27px; padding-bottom: 23px; }
  .hero h1 { font-size: clamp(3.12rem, 8.7vw, 4.5rem); }
  .hero h1 em { display: inline; }
  .hero-image { aspect-ratio: 1.43; }
  .hero-description { margin-top: 14px; }
  .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-facts > div:nth-of-type(3) { border-left: 0; }
  .project-facts > div:nth-of-type(n+3) { border-top: 1px solid #d9e2cd; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 10px; }
  .package-layout { gap: 25px; }
}
@media (max-width: 610px) {
  .header-inner { min-height: 61px; }
  .brand img { width: 38px; height: 38px; }
  .header-contact { display: none; }
  .mobile-contact {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
    inset: auto 0 0;
    z-index: 6;
    padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .home-grid, .aerial-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 em { display: block; }
  .hero-image { aspect-ratio: 1.34; }
  .hero-prices { gap: 8px; }
  .hero-option { position: relative; }
  .hero-option label { padding-inline: .64rem; }
  .hero-option label::after { width: 11px; height: 11px; right: 9px; }
  .hero-price-label { font-size: .82rem; padding-right: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { padding-inline: .55em; }
  .home-specs { gap: 8px 13px; }
  .contact-section { flex-direction: column; align-items: start; }
  .footer-inner { padding-bottom: calc(87px + env(safe-area-inset-bottom)); }
  section[id], article[id], main[id] { scroll-margin-top: 80px; }
}
@media (max-width: 365px) {
  :root { --gutter: 15px; }
  .hero-image figcaption, .home-image figcaption { left: 9px; bottom: 9px; }
  .hero-price-value { font-size: 1.16rem; }
  .card-actions { flex-direction: column; }
  .nearby dt { font-size: .91rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
