:root {
  --bg: #f1ede4;
  --bg-deep: #e0d1bd;
  --surface: #fcf8f1;
  --ink: #1d1a18;
  --muted: #625a4f;
  --line: rgba(29, 26, 24, 0.16);
  --accent: #186a3b;
  --accent-2: #b24a1c;
  --shadow: 0 16px 36px rgba(29, 26, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(178, 74, 28, 0.18), transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(24, 106, 59, 0.2), transparent 35%),
    linear-gradient(155deg, var(--bg) 8%, var(--bg-deep) 100%);
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 248, 241, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner,
.page,
.footer-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 0;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a.active {
  border-color: var(--line);
  background: rgba(252, 248, 241, 0.8);
}

.page {
  padding: 2rem 0 3rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.45rem);
}

p {
  color: var(--muted);
  line-height: 1.58;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.panel {
  background: rgba(252, 248, 241, 0.74);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.2rem, 2.5vw, 2.4rem);
  animation: rise 700ms ease;
}

.kicker {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 170ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(24, 106, 59, 0.3);
}

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.hero-image {
  min-height: 360px;
  overflow: hidden;
}

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

.section {
  margin-top: 3rem;
}

.feature-grid,
.preview-grid,
.gallery-grid,
.quickfacts {
  display: grid;
  gap: 0.95rem;
}

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

.preview-card,
.feature,
.fact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.preview-card {
  overflow: hidden;
}

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

.preview-card p {
  margin: 0;
  padding: 0.7rem 0.85rem 0.9rem;
}

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

.feature {
  padding: 1rem;
}

.quickfacts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.fact {
  padding: 0.95rem;
}

.fact .value {
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0;
}

.fact .label {
  margin: 0.25rem 0 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1rem;
}

.surface {
  background: rgba(252, 248, 241, 0.74);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  box-shadow: var(--shadow);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.gallery-item {
  border: 0;
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item img {
  transition: transform 220ms ease;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 1rem 0 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.note {
  font-size: 0.85rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 40;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
  border-radius: 999px;
  width: 2.3rem;
  height: 2.3rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .gallery-grid,
  .preview-grid,
  .quickfacts {
    grid-template-columns: 1fr;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
