:root {
  --cream: #f4f1e6;
  --paper: #e8e2cd;
  --ink: #1b2b1c;
  --ink-soft: #4b5c46;
  --green: #2c5530;
  --green-dark: #1d3a20;
  --gold: #c98a2c;
  --gold-light: #e8b45c;
  --line: rgba(27, 43, 28, 0.14);
  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Work Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.9rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

em { font-style: normal; color: var(--gold); }

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(244, 241, 230, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand span { color: var(--green); }

.main-nav {
  display: flex;
  gap: 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a { position: relative; padding: 0.2rem 0; }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}

.main-nav a:hover::after { right: 0; }

.nav-cta {
  font-weight: 700;
  background: var(--green);
  color: var(--cream);
  padding: 0.65rem 1.3rem;
  border-radius: 100px;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

@media (max-width: 820px) {
  .main-nav { display: none; }
}

/* hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  max-width: 1500px;
  margin: 0 auto;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  line-height: 1.02;
}

.hero-lede {
  margin: 1.6rem 0 2.2rem;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  font-weight: 700;
  padding: 0.95rem 0.3rem;
  border-bottom: 2px solid var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover { color: var(--green); border-color: var(--green); }

.hero-media {
  position: relative;
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 30px 60px -25px rgba(27, 43, 28, 0.4);
}

.hero-img-float {
  position: absolute;
  width: 42%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  bottom: -8%;
  left: -12%;
  border: 6px solid var(--cream);
  box-shadow: 0 20px 40px -18px rgba(27, 43, 28, 0.45);
}

.badge-stamp {
  position: absolute;
  top: -1.4rem;
  right: -1rem;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 14px 26px -10px rgba(29, 58, 32, 0.55);
  z-index: 5;
  border: 3px dashed rgba(244, 241, 230, 0.55);
}

.badge-stamp span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img-float { display: none; }
}

/* stat band */

.stat-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.6rem clamp(1.5rem, 5vw, 4rem);
  background: var(--green-dark);
  color: var(--cream);
  flex-wrap: wrap;
}

.stat { text-align: center; max-width: 240px; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--gold-light);
  text-transform: uppercase;
}

.stat-label {
  display: block;
  font-size: 0.88rem;
  margin-top: 0.35rem;
  color: rgba(244, 241, 230, 0.85);
}

.stat-divider {
  width: 1px;
  height: 46px;
  background: rgba(244, 241, 230, 0.28);
}

@media (max-width: 700px) {
  .stat-divider { display: none; }
}

/* section shared */

.section-head {
  max-width: 620px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  line-height: 1.05;
}

section { padding: clamp(4rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem); }

/* services */

.service-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 1.4rem 1.4rem 1.8rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px -20px rgba(27, 43, 28, 0.35);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.1rem;
}

.service-index {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  z-index: 2;
}

.service-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.service-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* community */

.community {
  background: var(--paper);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  border-radius: 32px;
}

.community-media { position: relative; }

.community-media img:first-child {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.community-media-float {
  position: absolute;
  width: 55%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  bottom: -10%;
  right: -10%;
  border: 6px solid var(--paper);
  box-shadow: 0 20px 36px -18px rgba(27, 43, 28, 0.4);
}

.community-copy h2 { font-size: clamp(2.2rem, 3.6vw, 2.9rem); margin-bottom: 1.1rem; }

.community-copy p { color: var(--ink-soft); max-width: 52ch; }

.community-points {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.community-points li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-soft);
}

.community-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.community-points strong { color: var(--ink); }

@media (max-width: 900px) {
  .community { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
  .community-media-float { display: none; }
}

/* gallery */

.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 0.9rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.gallery-grid img:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-grid img:nth-child(2) { grid-column: span 3; }
.gallery-grid img:nth-child(3) { grid-column: span 3; }
.gallery-grid img:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img:nth-child(6) { grid-column: span 2; grid-row: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-grid img { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* visit */

.visit-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.visit-copy h2 { font-size: clamp(2.2rem, 3.6vw, 2.9rem); margin-bottom: 1.8rem; }

.visit-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.visit-details h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
}

.visit-details p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.visit-details a:hover { color: var(--green); }

.visit-map img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .visit-inner { grid-template-columns: 1fr; }
  .visit-details { grid-template-columns: 1fr 1fr; }
}

/* footer */

.site-footer {
  background: var(--ink);
  color: rgba(244, 241, 230, 0.72);
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 2.2rem;
  text-align: center;
}

.footer-top .brand { color: var(--cream); font-size: 1.5rem; }
.footer-top .brand span { color: var(--gold-light); }
.footer-top p { margin: 0.6rem 0 0; font-size: 0.92rem; }

.footer-note {
  margin: 1.6rem 0 0;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
