:root {
  --brand: #019f3b;
  --brand-dark: #006529;
  --brand-soft: #e7f7ed;
  --ink: #1f2420;
  --muted: #687069;
  --line: #e1e5dd;
  --paper: #fffdfa;
  --wash: #f7f2f5;
  --mint: #d7f0e5;
  --peach: #ffe0d2;
  --lilac: #e8e8fb;
  --shadow: 0 18px 45px rgb(31 36 32 / .11);
  --radius: 14px;
  --display: "Bree Serif", Georgia, serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at top left, var(--peach), transparent 30rem),
    radial-gradient(circle at top right, var(--lilac), transparent 28rem),
    linear-gradient(145deg, #fffaf4, var(--wash) 48%, #eef8ff);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("/public/decor/watercolor-bg.png");
  background-size: cover;
  opacity: .08;
  mix-blend-mode: multiply;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
h3 { font-size: 1.28rem; }
p { line-height: 1.7; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.narrow { width: min(820px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.eyebrow {
  color: var(--brand-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 .65rem;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.28rem); max-width: 760px; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  padding: .7rem 1rem;
  background: white;
  border: 2px solid var(--brand);
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 253 250 / .86);
  border-bottom: 1px solid rgb(225 229 221 / .8);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.brand strong { display: block; font-family: var(--display); font-size: 1.4rem; }
.brand small { display: block; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a {
  border-radius: 8px;
  color: #343b35;
  font-size: .94rem;
  font-weight: 700;
  padding: .6rem .72rem;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.menu-button { display: none; }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: #18231d;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(16 23 20 / .76), rgb(16 23 20 / .35) 58%, rgb(16 23 20 / .08)),
    linear-gradient(0deg, rgb(16 23 20 / .45), transparent 42%);
  z-index: 1;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slides span {
  position: absolute;
  inset: 0;
  background: var(--slide-image) center / cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  animation: hero-fade 18s infinite;
}
.hero-slides span:nth-child(2) { animation-delay: 6s; }
.hero-slides span:nth-child(3) { animation-delay: 12s; }

@keyframes hero-fade {
  0% { opacity: 0; transform: scale(1.04); }
  8% { opacity: 1; }
  33% { opacity: 1; }
  45% { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.1); }
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-block: 7rem 5rem;
}
.hero h1 { max-width: 860px; color: white; text-shadow: 0 2px 24px rgb(0 0 0 / .28); }
.hero p { max-width: 680px; font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgb(255 255 255 / .9); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--brand-dark); color: white; text-decoration: none; }
.button.secondary { background: white; color: var(--brand-dark); border-color: var(--line); }
.button.light { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .22); color: white; }

.grid { display: grid; gap: 1.5rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: rgb(255 255 255 / .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgb(31 36 32 / .06);
  overflow: hidden;
}
.pad { padding: clamp(1.25rem, 3vw, 2rem); }
.feature-band {
  background: linear-gradient(135deg, rgb(231 247 237 / .9), rgb(255 224 210 / .55));
  border-block: 1px solid rgb(1 159 59 / .12);
}
.prose :where(p, ul, ol, blockquote) { color: #384039; font-size: 1.04rem; }
.prose > * + * { margin-top: 1rem; }
.prose blockquote {
  margin-inline: 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 12px 12px 0;
}
.prose figure {
  margin: 1.6rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 24px rgb(31 36 32 / .06);
}
.prose figure img {
  width: 100%;
  height: auto;
}
.prose figcaption {
  padding: .85rem 1rem;
  color: var(--muted);
  background: #f7f8f5;
  font-size: .92rem;
  line-height: 1.5;
}
.prose h2 { color: var(--brand-dark); margin-top: 2rem; }
.masonry { columns: 2 320px; column-gap: 1.5rem; }
.masonry > article { break-inside: avoid; margin-bottom: 1.5rem; }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-card { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; }
.article-card img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.meta { color: var(--muted); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge {
  display: inline-flex;
  width: max-content;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 8px 24px rgb(31 36 32 / .06);
}
.date-tile {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 84px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.date-tile strong { font-family: var(--display); font-size: 2rem; line-height: 1; }
.date-tile span { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.service-meta { margin: 0 0 .6rem; color: var(--muted); font-weight: 700; text-transform: capitalize; }
.service-card dl { display: grid; gap: .45rem; margin: .65rem 0; }
.service-card dl div { display: grid; grid-template-columns: 96px 1fr; gap: .6rem; }
.service-card dt { color: var(--muted); }
.service-card dd { margin: 0; font-weight: 700; }
.readings { border-top: 1px solid var(--line); margin: 1rem 0 0; padding-top: .8rem; }
.readings span { display: block; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.gallery { columns: 3 220px; column-gap: 1rem; }
.gallery a { display: block; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 24px rgb(31 36 32 / .08); }
.gallery img { width: 100%; height: auto; }
.map-frame { min-height: 420px; border: 0; width: 100%; height: 100%; }

.site-footer {
  margin-top: 5rem;
  color: rgb(255 255 255 / .84);
  background: linear-gradient(145deg, #18231d, #2b2334);
  border-top: 4px solid var(--mint);
}
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3rem; }
.site-footer h2 { color: white; font-size: 1.35rem; margin-bottom: .8rem; }
.site-footer a { color: #bff1d0; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-size: .92rem; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

@media (max-width: 920px) {
  .menu-button {
    display: inline-grid;
    gap: 4px;
    place-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .menu-button span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); }
  .site-nav {
    display: none;
    position: absolute;
    inset: 76px 1rem auto;
    padding: .7rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; }
  .grid.two, .grid.three, .service-grid, .footer-grid, .article-card { grid-template-columns: 1fr; }
  .hero { min-height: 620px; }
}

@media (max-width: 620px) {
  .service-card { grid-template-columns: 1fr; }
  .date-tile { width: 86px; }
  .footer-bottom .container { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides span {
    animation: none;
  }
  .hero-slides span:first-child {
    opacity: 1;
    transform: none;
  }
}
