:root {
  color-scheme: light;
  --green: #174d39;
  --green-dark: #103b2b;
  --green-soft: #eaf1eb;
  --gold: #c1a855;
  --ink: #22312a;
  --muted: #647169;
  --paper: #fff;
  --sand: #f5f4ee;
  --line: #e4e6df;
  --shadow: 0 18px 50px rgb(24 48 36 / 12%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 "DM Sans", system-ui, sans-serif;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", "DM Sans", sans-serif;
  line-height: 1.18;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgb(228 230 223 / 85%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.header-content,
.brand,
.site-header nav,
.hero-content,
.section-heading-row,
.footer-content {
  display: flex;
  align-items: center;
}

.header-content {
  min-height: 82px;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  gap: 11px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  background: #fff;
}

.brand strong {
  font-weight: 800;
}

.site-header nav {
  gap: clamp(14px, 2.4vw, 32px);
}

.site-header nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

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

.site-header nav .nav-contact {
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
}

.site-header nav .nav-contact:hover {
  background: var(--green);
  color: #fff;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 2% 100%, rgb(193 168 85 / 10%), transparent 36%),
    var(--sand);
}

.hero-content {
  min-height: 560px;
  justify-content: space-between;
  gap: clamp(40px, 7vw, 88px);
  padding-block: 64px;
}

.hero-copy {
  flex: 1 1 48%;
  max-width: 510px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--green-dark);
  font-size: clamp(40px, 5.2vw, 64px);
  letter-spacing: -.045em;
}

.hero h1 span {
  color: var(--green);
}

.hero-copy > p {
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 700 15px "DM Sans", sans-serif;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
}

.button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.hero-location small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.location-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 24px;
}

.hero-photo {
  position: relative;
  flex: 1 1 52%;
  min-width: 0;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 390px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  background: rgb(16 59 43 / 88%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.section {
  padding-block: 88px;
}

.section-heading {
  max-width: 650px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: clamp(30px, 3.8vw, 44px);
  letter-spacing: -.035em;
}

.section-heading > p,
.section-heading-row > p,
.contact-intro > p {
  margin-bottom: 0;
  color: var(--muted);
}

.about .section-heading {
  margin-bottom: 34px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin-bottom: 32px;
}

.stat {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 24px;
  border-left: 3px solid var(--gold);
  background: var(--sand);
}

.stat strong {
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.block-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.block-list span {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.amenities {
  background: var(--sand);
}

.section-heading-row {
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading-row > p {
  max-width: 34ch;
}

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

.amenity-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 6px 20px rgb(24 48 36 / 5%);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.amenity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.amenity-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.amenity-copy {
  padding: 20px 21px 22px;
}

.amenity-copy h3 {
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 19px;
}

.amenity-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.community {
  background: #fff;
}

.community-content {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  column-gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.community .section-heading {
  position: sticky;
  top: 120px;
}

.rules-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  display: flex;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.rules-list li:first-child {
  padding-top: 0;
}

.rules-list li > span {
  flex: 0 0 30px;
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.rules-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.rules-list strong {
  color: var(--ink);
}

.note {
  grid-column: 2;
  margin: 18px 0 0 46px;
  color: var(--muted);
  font-size: 12px;
}

.contact {
  background: var(--green-dark);
  color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.contact .eyebrow {
  color: #d7c47d;
}

.contact h2 {
  color: #fff;
}

.contact-intro > p {
  color: rgb(255 255 255 / 76%);
}

.contact form {
  display: grid;
  gap: 18px;
}

.form-field label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 5px;
  background: rgb(255 255 255 / 8%);
  color: #fff;
  font: inherit;
}

.form-field select option {
  color: var(--ink);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgb(255 255 255 / 55%);
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.contact .button {
  justify-self: start;
  background: #d5bd68;
  color: var(--green-dark);
}

.contact .button:hover {
  background: #e4d28d;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.form-feedback {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 14px;
}

.form-success {
  background: #d9f2e3;
  color: #0b4a2b;
}

.form-error {
  background: #fde2e0;
  color: #7a1410;
}

.site-footer {
  padding-block: 24px;
  background: #0b2d21;
  color: rgb(255 255 255 / 72%);
  font-size: 13px;
}

.footer-content {
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  margin: 0;
}

.footer-brand {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .header-content {
    min-height: 74px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a {
    font-size: 12px;
  }

  .hero-content {
    gap: 36px;
    padding-block: 52px;
  }

  .hero-photo img {
    height: 340px;
  }

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

  .community-content,
  .contact-content {
    grid-template-columns: 1fr 1.2fr;
    column-gap: 36px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 118px;
  }

  .container {
    width: min(100% - 32px, 480px);
  }

  .header-content {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 8px 0;
  }

  .brand {
    min-height: 52px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .site-header nav {
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
    padding-block: 8px 10px;
  }

  .site-header nav a {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .site-header nav .nav-contact {
    padding: 7px 10px;
  }

  .hero-content {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-block: 36px 42px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-location {
    margin-top: 28px;
  }

  .hero-photo img {
    height: 260px;
  }

  .section {
    padding-block: 64px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat {
    min-height: 82px;
    padding-block: 12px;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row > p {
    margin-top: 12px;
  }

  .amenity-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .amenity-card img {
    height: 230px;
  }

  .community-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .community .section-heading {
    position: static;
  }

  .note {
    grid-column: 1;
    margin-left: 46px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
