:root {
  --ink: #1f2328;
  --muted: #5a6470;
  --accent: #0b5d4f;
  --accent-dark: #083f36;
  --canary: #f5c518;
  --bg: #ffffff;
  --bg-soft: #f6f8f6;
  --line: #d8dee4;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --measure: 72rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}
h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}
h3 {
  font-size: 1.125rem;
}
p {
  margin: 0 0 1rem;
}

/* Header */
.site-header {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand span {
  color: var(--accent);
  margin-left: 0.3rem;
  font-weight: 500;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}
.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover {
  border-bottom-color: var(--canary);
}
.site-header nav a[aria-current="page"] {
  font-weight: 600;
  border-bottom-color: var(--accent);
}
.site-header nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 0;
}
.site-header nav .nav-cta:hover {
  background: var(--accent-dark);
}

/* Layout */
main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}
section {
  margin: 2.5rem 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 44rem;
}
.address {
  color: var(--muted);
  margin: 0 0 1rem;
}
.fine-print {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 44rem;
}
code {
  font-size: 0.9em;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
}
.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.button-secondary {
  background: transparent;
  color: var(--accent);
}
.button-secondary:hover {
  background: var(--bg-soft);
  color: var(--accent-dark);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

/* Hero */
.hero {
  position: relative;
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--accent-dark);
}
.hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-copy {
  padding: 1.5rem;
  color: #fff;
}
.hero-copy .eyebrow {
  /* The hero photo has both bright sky and dark foliage behind this line, so
     the text sits on its own dark pill instead of relying on the image. */
  display: inline-block;
  color: var(--canary);
  background: rgba(10, 32, 26, 0.72);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-copy .lede {
  color: rgba(255, 255, 255, 0.85);
}
.hero-copy .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.hero-copy .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
@media (min-width: 56rem) {
  .hero img {
    aspect-ratio: auto;
    min-height: 32rem;
    max-height: 40rem;
  }
  .hero-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 3rem 2.5rem 2.5rem;
    max-width: 40rem;
    background: linear-gradient(
      to top,
      rgba(8, 63, 54, 0.95),
      rgba(8, 63, 54, 0.75) 60%,
      transparent
    );
    border-radius: 0 var(--radius) 0 0;
  }
}

/* Grids and cards */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.card,
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.card h3,
.card p {
  padding: 0 1rem;
}
.card h3 {
  margin-top: 0.9rem;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}
.gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
.gallery figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Floor plans */
.page-title {
  margin-top: 2rem;
}
.plan {
  display: grid;
  gap: 0 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.plan img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.plan-body {
  padding: 1.25rem;
}
@media (min-width: 48rem) {
  .plan {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .plan img {
    aspect-ratio: auto;
    height: 100%;
  }
  .plan:nth-child(even) img {
    order: 2;
  }
}
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.specs div {
  min-width: 0;
}
.specs dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.specs dd {
  margin: 0;
  font-weight: 700;
}

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 2.5rem 1.25rem;
}
.cta-band p {
  color: var(--muted);
}

/* Forms */
.forms {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin: 1.5rem 0;
}
form {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  align-content: start;
}
form h2 {
  font-size: 1.35rem;
}
label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}
input,
textarea,
button {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  width: 100%;
}
button {
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
}
button:hover {
  background: var(--accent-dark);
}
button:disabled {
  background: var(--muted);
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}
[role="status"] {
  color: var(--accent);
  font-weight: 600;
  min-height: 1.5rem;
  margin: 0;
}

/* 404 */
.not-found {
  text-align: center;
  padding: 3rem 0;
}
.not-found .lede {
  margin-inline: auto;
}
.not-found .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--line);
}
.disclaimer {
  background: #fff8d6;
  border: 1px solid #f0d87a;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--ink);
}
