:root {
  --green-dark: #2f4a35;
  --green: #4f7a55;
  --green-light: #dfe8d8;
  --cream: #faf7f0;
  --terracotta: #c0714f;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --header-h: 72px;
  --radius: 10px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--green-dark); line-height: 1.2; }

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

a { color: var(--green); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Fixed header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--green-dark);
  color: #fff;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  text-decoration: none;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.brand img { height: 44px; width: auto; align-self: center; margin-right: 0.3rem; }
.logo-the { font-weight: 400; }
.logo-main { font-weight: 700; letter-spacing: 0.02em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--green-dark);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; }
  .main-nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(rgba(30, 45, 33, 0.45), rgba(30, 45, 33, 0.45)),
              url("images/site/entry.jpg") center / cover no-repeat;
}

.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 0.5rem; }
.hero p { font-size: 1.2rem; max-width: 34rem; }
.hero .eyebrow { font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 0.5rem; opacity: 0.9; }

.page-banner {
  background: var(--green-light);
  padding: 3rem 0 2rem;
  text-align: center;
}
.page-banner h1 { margin: 0 0 0.5rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-banner p { margin: 0; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
.btn:hover { background: #a85d3e; }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { font-size: 2.2rem; margin: 0 0 0.4rem; }
.section-title p { color: var(--muted); margin: 0; }
.alt-bg { background: #fff; }
.center { text-align: center; margin-top: 2rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.feature { text-align: center; padding: 1.5rem; }
.feature .icon { width: 56px; height: 56px; margin: 0 auto; color: var(--green); }
.feature h3 { margin: 0.5rem 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- Stock gallery ---------- */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.stock-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}
.stock-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.stock-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.stock-card .info { padding: 0.9rem 1rem 1.1rem; }
.stock-card h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.stock-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.stock-card .date { display: block; margin-top: 0.5rem; font-size: 0.8rem; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.05em; }

.stock-empty { text-align: center; color: var(--muted); }

/* ---------- Photo gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.photo-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; cursor: zoom-in; transition: opacity 0.2s; }
.photo-grid img:hover { opacity: 0.85; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.before-after figure { margin: 0; }
.before-after img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.before-after figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.split img.tall { aspect-ratio: 3 / 4; object-fit: cover; max-height: 560px; width: 100%; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 900px; text-align: center; color: #fff; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { margin-top: 0.75rem; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* ---------- Visit ---------- */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--green-light); }
.hours td:last-child { text-align: right; }
.map-frame { width: 100%; height: 400px; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #dfe8d8; padding: 2.5rem 0; font-size: 0.95rem; }
.site-footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0.25rem 0; }
.copyright { text-align: center; margin: 2rem 1.25rem 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; opacity: 0.7; }

.fb-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: bold; }
.fb-icon { width: 22px; height: 22px; flex-shrink: 0; }
