:root {
  --pine: #535136;
  --moss: #6a6547;
  --cream: #f7f0e7;
  --ochre: #b98d41;
  --stone: #d2cbba;
  --lichen: #b3aa92;
  --sage: #8b8874;
  --ink: #2e3124;
  --paper: #fffaf2;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
}

html.lightbox-open,
html.lightbox-open body {
  overflow: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(83, 81, 54, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(185, 141, 65, 0.08), transparent 42%),
    var(--cream);
  background-size: 88px 100%, 100% 100%, auto;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  align-items: center;
}

.hero {
  width: 100%;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid rgba(106, 101, 71, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 24px 70px rgba(46, 49, 36, 0.10);
}

.site-header {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 24px;
  padding-bottom: clamp(36px, 7vw, 84px);
}

.logo {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  display: block;
}

.header-link {
  position: absolute;
  top: 50%;
  right: 0;
  flex: 0 0 auto;
  transform: translateY(-50%);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ochre);
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.info-panel h2 {
  margin: 0;
  color: var(--moss);
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 520px;
  margin: 16px 0 24px;
  color: var(--pine);
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.intro {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 640px;
  margin: 0 0 32px;
  border: 1px solid rgba(179, 170, 146, 0.72);
  background: rgba(179, 170, 146, 0.72);
}

.feature-grid span {
  min-height: 64px;
  display: grid;
  align-items: center;
  padding: 14px;
  background: rgba(247, 240, 231, 0.82);
  color: var(--pine);
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px 14px;
  border: 1px solid var(--pine);
  border-radius: 6px;
  background: var(--pine);
  color: var(--paper);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--paper);
  color: var(--pine);
  transform: translateY(-1px);
}

.info-panel {
  padding: 28px;
  border-left: 1px solid var(--lichen);
  background: rgba(247, 240, 231, 0.64);
}

.rule {
  width: 96px;
  height: 2px;
  margin: 18px 0 22px;
  background: var(--ochre);
}

.info-panel p {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.info-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--moss);
  font-weight: 600;
}

.info-panel li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--ochre);
  content: "";
}

.gallery-section {
  margin-top: clamp(44px, 7vw, 84px);
  padding-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid rgba(179, 170, 146, 0.64);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 520px;
  margin: 0;
  color: var(--pine);
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
}

.photo-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(179, 170, 146, 0.56);
  border-radius: 8px;
  background: rgba(247, 240, 231, 0.82);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.photo-gallery figure:hover,
.photo-gallery figure:focus-visible {
  border-color: var(--ochre);
  outline: 0;
  transform: translateY(-2px);
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: var(--stone);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 56px 16px 24px;
  background: rgba(46, 49, 36, 0.88);
  overscroll-behavior: contain;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  width: calc(100vw - 32px);
  height: calc(100dvh - 96px);
  display: block;
  object-fit: contain;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(247, 240, 231, 0.72);
  border-radius: 6px;
  background: rgba(247, 240, 231, 0.94);
  color: var(--pine);
  font: 700 0.9rem/1 "Segoe UI", Aptos, Arial, sans-serif;
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: clamp(36px, 6vw, 72px);
  padding-top: 18px;
  border-top: 1px solid rgba(179, 170, 146, 0.64);
  color: var(--sage);
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 16px, 680px);
    padding: 8px 0;
    align-items: start;
  }

  .hero {
    padding: 22px;
  }

  .site-header {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding-bottom: 40px;
  }

  .logo {
    width: clamp(190px, 72vw, 280px);
  }

  .header-link {
    position: static;
    transform: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 4px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h1 {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .button {
    width: 100%;
  }

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

  .photo-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }

  .info-panel {
    padding: 24px 0 0;
    border-top: 1px solid var(--lichen);
    border-left: 0;
  }
}

@media (max-width: 540px) {
  body {
    background:
      linear-gradient(180deg, rgba(185, 141, 65, 0.08), transparent 40%),
      var(--cream);
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 18px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .intro,
  .info-panel p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .feature-grid {
    margin-bottom: 24px;
  }

  .feature-grid span {
    min-height: 56px;
    padding: 12px;
    font-size: 0.78rem;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .photo-gallery figure {
    border-radius: 6px;
  }

  .lightbox {
    padding: 62px 10px 16px;
  }

  .lightbox-image {
    width: calc(100vw - 20px);
    height: calc(100dvh - 90px);
    border-radius: 6px;
  }

  .lightbox-close {
    top: 12px;
    right: 10px;
    min-height: 44px;
  }
}
