:root {
  --green: #4d8a2c;
  --green-deep: #1c2e14;
  --green-mid: #2f4a22;
  --cream: #f4efe4;
  --paper: #faf7f0;
  --ink: #1c1a16;
  --muted: #5c584f;
  --line: rgba(28, 26, 22, 0.12);
  --wheat: #c4a15a;
  --white: #fffdf8;
  --header-h: 4.25rem;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(28, 46, 20, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 22ch;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

button,
a.btn {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 2rem));
}

.eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
}

.lede {
  font-size: 1.15rem;
  max-width: 42ch;
  color: rgba(244, 239, 228, 0.82);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  translate: 0 3px;
}

.brand-mark path {
  fill: none;
  stroke: var(--green);
  stroke-width: 3.4;
  stroke-linejoin: miter;
  stroke-linecap: square;
}

.brand-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
}

.brand-suffix {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--cream);
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
}

.hero-furrows {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      118deg,
      transparent 0 18px,
      rgba(77, 138, 44, 0.16) 18px 20px
    ),
    radial-gradient(1200px 480px at 80% 20%, rgba(77, 138, 44, 0.35), transparent 70%),
    linear-gradient(180deg, #24351c 0%, var(--green-deep) 100%);
}

.hero-inner {
  position: relative;
  padding: 5rem 0 4.5rem;
}

.hero .eyebrow {
  color: var(--wheat);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: #5a9c35;
}

.btn-ghost {
  border: 1px solid rgba(244, 239, 228, 0.35);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--cream);
}

.stats {
  background: var(--green-mid);
  color: var(--cream);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 1.8rem 0;
}

.stat-value {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.stat-label {
  display: block;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-intro {
  max-width: 46rem;
  margin-bottom: 2.4rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.frame {
  margin: 0;
}

.frame img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.frame figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.plot-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 36rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.plot {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.7rem 0.8rem;
  cursor: pointer;
  color: inherit;
}

.plot:hover,
.plot:focus-visible {
  border-color: var(--green);
}

.plot.is-active {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
}

.plot-size {
  flex: 0 0 4.4rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.plot-meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.plot-meta span {
  font-size: 0.8rem;
  opacity: 0.75;
}

.map-panel {
  display: flex;
  flex-direction: column;
  min-height: 36rem;
  background: #d7d2c6;
  box-shadow: var(--shadow);
}

.map-panel iframe {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: 28rem;
}

.map-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.map-bar p {
  margin: 0;
  font-size: 0.92rem;
}

.map-open {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--green);
  text-decoration: none;
}

.map-open:hover {
  text-decoration: underline;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.card img {
  width: 100%;
  height: 14.5rem;
  object-fit: cover;
  background: #e7e1d4;
}

.card figcaption {
  padding: 0.8rem 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.card figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.card:hover {
  border-color: var(--green);
}

.text-link {
  color: var(--green);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  font-style: normal;
  background: var(--cream);
  padding: 1.6rem;
  border-left: 4px solid var(--green);
}

.contact-card a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--green);
}

.lightbox {
  position: fixed;
  inset: 0;
  width: min(960px, 94vw);
  max-height: 92vh;
  margin: auto;
  border: 0;
  padding: 2.6rem 0 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(18, 24, 14, 0.88);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #111;
}

.lightbox-caption {
  margin: 0.7rem 0 0;
  color: var(--cream);
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--green-deep);
  color: var(--cream);
  border: 0;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-close {
  top: 0;
  right: 0;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  translate: 0 -50%;
}

.lightbox-prev {
  left: 0.4rem;
}

.lightbox-next {
  right: 0.4rem;
}

@media (max-width: 900px) {
  .stats-grid,
  .split,
  .map-layout,
  .contact-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .plot-list {
    flex-direction: row;
    overflow: auto;
    max-height: none;
    padding-bottom: 0.4rem;
  }

  .plot {
    min-width: 13rem;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 22rem;
  }

  .frame img {
    height: 20rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.6rem 1rem 1rem;
    gap: 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0;
  }

  .lightbox-prev {
    left: 0.4rem;
  }

  .lightbox-next {
    right: 0.4rem;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .map-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
