:root {
  --ink: #171714;
  --ink-soft: #4b4a43;
  --paper: #f5f0e7;
  --paper-bright: #fffaf1;
  --field: #4f6343;
  --field-dark: #233323;
  --brick: #8b4631;
  --brass: #b88b4a;
  --stone: #d8cdbb;
  --charcoal: #10100e;
  --line: rgba(23, 23, 20, 0.14);
  --shadow: 0 22px 60px rgba(16, 16, 14, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 52px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(16, 16, 14, 0.72), rgba(16, 16, 14, 0));
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.95);
  box-shadow: 0 8px 24px rgba(16, 16, 14, 0.09);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav a,
.header-cta,
.button,
.text-link {
  text-decoration: none;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  padding: 12px 16px;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 124px clamp(20px, 5vw, 72px) clamp(28px, 6vw, 72px);
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 16, 14, 0.82) 0%, rgba(16, 16, 14, 0.52) 38%, rgba(16, 16, 14, 0.08) 74%),
    linear-gradient(0deg, rgba(16, 16, 14, 0.72) 0%, rgba(16, 16, 14, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow.dark {
  color: var(--brick);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 0.98;
  font-weight: 700;
}

h1 {
  max-width: 840px;
  font-size: clamp(4.5rem, 10vw, 10.5rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5.2rem);
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button.primary {
  color: #fff;
  background: var(--brick);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.header-cta:hover,
.text-link:hover {
  filter: brightness(1.06);
}

.hero-card {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(28px, 6vw, 72px);
  z-index: 2;
  width: min(390px, calc(100vw - 40px));
  padding: 22px;
  background: rgba(255, 250, 241, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.price {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quick-facts span {
  min-height: 74px;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.quick-facts strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.microcopy,
.fine-print {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.microcopy {
  margin: 16px 0 0;
}

section {
  position: relative;
}

.intro-band,
.gallery-section,
.documents-section,
.outdoor-section,
.location-section,
.contact-section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.lead-copy {
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.72;
  color: var(--ink-soft);
}

.lead-copy p {
  margin: 0 0 20px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(42px, 6vw, 78px);
  background: var(--line);
}

.stat-row article {
  min-height: 150px;
  padding: 26px;
  background: var(--paper-bright);
}

.stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.9;
}

.stat-row span {
  display: block;
  margin-top: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 720px;
  background: var(--paper-bright);
}

.feature-split.cottage {
  background: #ebe5d8;
}

.feature-image {
  min-height: 520px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
  padding: clamp(42px, 7vw, 86px);
}

.feature-copy p {
  margin: 24px 0 0;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

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

.clean-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
  color: var(--ink);
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--brick);
}

.text-link {
  display: inline-flex;
  margin-top: 30px;
  border-bottom: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick);
}

.barn-section,
.plans-section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--charcoal);
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(32px, 5vw, 62px);
}

.section-head.invert p,
.barn-panel p,
.plans-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head p {
  max-width: 740px;
  margin: 18px 0 0;
  line-height: 1.65;
  color: var(--ink-soft);
}

.barn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.barn-hero-grid > img {
  width: 100%;
  height: 680px;
  object-fit: cover;
}

.barn-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
  background: #1d1b17;
}

.barn-specs {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.barn-specs span {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.use-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.use-cards article,
.doc-card,
.plan-cards a {
  border-radius: 8px;
  overflow: hidden;
}

.use-cards article {
  background: #24211c;
}

.use-cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.use-cards h3,
.use-cards p {
  padding: 0 18px;
}

.use-cards h3 {
  margin-top: 18px;
  font-size: 1.55rem;
}

.use-cards p {
  margin: 10px 0 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.outdoor-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.outdoor-copy p {
  margin: 22px 0 0;
  line-height: 1.72;
  color: var(--ink-soft);
}

.outdoor-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 280px 280px;
  gap: 14px;
}

.outdoor-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outdoor-mosaic img:first-child {
  grid-row: span 2;
}

.video-section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--field-dark);
}

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.video-poster,
.video-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #111;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(16, 16, 14, 0.38);
  font-size: 2rem;
  padding-left: 4px;
}

.video-frame {
  margin: 0;
  box-shadow: var(--shadow);
}

.video-frame video,
.video-frame iframe {
  width: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  background: #111;
}

.video-frame figcaption {
  padding: 12px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(16, 16, 14, 0.8);
}

.video-copy p {
  margin: 20px 0 0;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.76);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: #fff;
  border-color: var(--field);
  background: var(--field);
}

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

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: #fff;
  background: #222;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
  filter: brightness(0.86);
}

.gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 12px 12px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  background: linear-gradient(to top, rgba(16, 16, 14, 0.78), rgba(16, 16, 14, 0));
}

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

.plan-cards a {
  display: block;
  text-decoration: none;
  background: #24211c;
}

.plan-cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}

.plan-cards span {
  display: block;
  padding: 18px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.doc-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 22px;
  text-decoration: none;
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.doc-card span {
  justify-self: start;
  padding: 6px 8px;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.doc-card strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.05;
}

.doc-card small {
  color: var(--ink-soft);
  line-height: 1.5;
}

.doc-card.muted {
  opacity: 0.68;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #ebe5d8;
}

.location-section p {
  line-height: 1.7;
  color: var(--ink-soft);
}

.location-section img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 16, 14, 0.9), rgba(16, 16, 14, 0.72)),
    url("assets/photos/52-aerial-pond-and-open-grounds.jpg") center / cover;
}

.contact-section p {
  max-width: 780px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  align-self: start;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.94);
  box-shadow: var(--shadow);
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
  font-size: 0.8rem;
}

footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(10, 10, 8, 0.94);
}

.lightbox.open {
  display: flex;
}

.lightbox figure {
  width: min(1180px, calc(100vw - 160px));
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 52px;
  height: 74px;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}

.lightbox-arrow.prev {
  left: 22px;
}

.lightbox-arrow.next {
  right: 22px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .hero {
    align-items: center;
  }

  .intro-grid,
  .feature-split,
  .barn-hero-grid,
  .video-card,
  .outdoor-section,
  .location-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-cta {
    justify-self: start;
  }

  .hero {
    min-height: auto;
    padding-top: 190px;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }

  .quick-facts,
  .stat-row,
  .use-cards,
  .gallery-grid,
  .plan-cards,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .outdoor-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 240px);
  }

  .outdoor-mosaic img:first-child {
    grid-row: auto;
  }

  .barn-hero-grid > img,
  .feature-image,
  .video-poster,
  .location-section img {
    min-height: 320px;
    height: auto;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox figure {
    width: calc(100vw - 40px);
  }

  .lightbox-arrow {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  footer {
    display: grid;
  }
}
