:root {
  --teal: #0f7c82;
  --teal-deep: #0b5c61;
  --teal-bright: #3aa8ab;
  --ink: #243033;
  --muted: #5d6768;
  --olive: #5d7a34;
  --olive-deep: #466028;
  --paper: #ffffff;
  --sand: #f3f6f2;
  --line: #d5dfd6;
  --link: #0b6794;
  --focus: #0f7c82;
  --shadow: 0 10px 30px rgba(20, 40, 30, 0.12);
  --max: 1120px;
  --header: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--teal-deep); }
h1, h2, h3, .footer-brand {
  font-family: Oswald, "Arial Narrow", Impact, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--teal);
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; }
h2 { font-size: 1.7rem; margin: 0 0 0.6rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: #fff;
  color: #000;
  padding: 0.4rem 0.7rem;
  z-index: 100;
}
.skip-link:focus { top: 0.5rem; }

.site-header { position: relative; background: #fff; }
.is-home .site-header { background: transparent; }
.hero {
  position: relative;
  min-height: 68vh;
  background: #1d3a32 center/cover no-repeat;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero img.is-shown { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.05) 42%, rgba(214, 214, 170, 0.28) 58%, rgba(232, 230, 196, 0.38) 100%);
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  font-family: Oswald, sans-serif;
  letter-spacing: 0.03em;
}
.hero-pause {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255,255,255,0.9);
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(1200px, calc(100% - 1.5rem));
  margin: 0 auto;
  min-height: var(--header);
  position: relative;
  z-index: 5;
}
.is-home .header-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.logo { display: block; flex: 0 0 auto; }
.logo img { width: 230px; height: auto; display: block; }
.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars:before, .nav-toggle-bars:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-bars:before, .nav-toggle-bars:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars:before { top: -6px; }
.nav-toggle-bars:after { top: 6px; }
.site-nav { margin-left: auto; }
.nav-root, .submenu ul, .footer-links, .album-list, .event-list, .link-list, .people-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-root { display: flex; align-items: center; gap: 0.35rem; }
.nav-root > li { position: relative; }
.nav-root > li > a {
  display: inline-block;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.is-home .nav-root > li > a { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.is-home .nav-root > li:first-child > a {
  background: #fff;
  color: #223;
  text-shadow: none;
  border-radius: 8px;
}
.nav-root > li.is-current > a, .nav-root > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--olive); }
.is-home .nav-root > li.is-current > a { box-shadow: inset 0 -3px 0 #fff; }
.is-home .nav-root > li:first-child.is-current > a { box-shadow: none; outline: 2px solid var(--olive); }
.sub-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}
.submenu, .mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: var(--ink);
  min-width: 280px;
  padding: 0.6rem 0;
  box-shadow: var(--shadow);
  border-radius: 10px;
  z-index: 20;
}
.submenu a {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--ink);
  text-decoration: none;
}
.submenu a:hover, .submenu a:focus { background: var(--sand); color: var(--teal-deep); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.is-open > .submenu,
.has-sub:hover > .mega, .has-sub:focus-within > .mega, .has-sub.is-open > .mega { display: block; }
.mega {
  display: none;
  right: 0;
  left: auto;
  width: min(860px, 80vw);
  padding: 1rem;
  columns: 3;
  column-gap: 1rem;
}
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { display: block; }
.mega-col { break-inside: avoid; margin-bottom: 0.8rem; }
.mega-year { margin: 0 0 0.25rem; font-family: Oswald, sans-serif; color: var(--olive); }
.mega a { color: var(--ink); text-decoration: none; display: block; padding: 0.15rem 0; }
.mega a:hover { color: var(--teal); }

.page-banner { background: var(--sand); border-bottom: 1px solid var(--line); padding: 1.2rem 0 1rem; }
.main-page { padding: 1.6rem 0 3rem; }
.main-home { padding: 1.4rem 0 3rem; }
.home-grid, .layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 250px;
  gap: 1.4rem;
  align-items: start;
}
.layout { grid-template-columns: minmax(0, 1fr) 260px; }
.contact-card, .events-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-bright);
  padding: 1rem;
  border-radius: 12px;
}
.events-card { border-top-color: var(--olive); }
.contact-phone { font-size: 1.45rem; font-weight: 700; margin-bottom: 0.6rem; }
.contact-phone a { color: var(--teal); text-decoration: none; }
.contact-kicker {
  margin: 0.8rem 0 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
}
.contact-strong { font-weight: 700; margin: 0; }
.contact-address {
  white-space: pre-line;
  font-weight: 700;
  margin: 0.8rem 0 1rem;
  line-height: 1.45;
}
.fine { color: var(--muted); font-size: 0.92rem; }
.quick-links { display: flex; gap: 0.5rem; padding: 0; list-style: none; margin: 0.8rem 0 0; }
.quick-links a, .text-button, .button {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
}
.quick-links a, .text-button {
  color: var(--teal-deep);
  font-weight: 700;
}
.button, button.button {
  background: var(--teal);
  color: #fff;
  border: 0;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button:hover, button.button:hover { background: var(--teal-deep); color: #fff; }
.button-olive { background: var(--olive); }
.button-olive:hover { background: var(--olive-deep); }
.feature { margin-bottom: 1.6rem; }
.feature-photo { width: 100%; border-radius: 12px; margin: 0.4rem 0 0.8rem; object-fit: cover; max-height: 360px; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.event-list a {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.event-date {
  width: 3.1rem;
  text-align: center;
  background: var(--sand);
  border-radius: 8px;
  padding: 0.25rem 0;
  color: var(--olive-deep);
}
.event-date strong { display: block; font-size: 1.3rem; line-height: 1; }
.event-date span { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.event-title { display: block; font-weight: 700; }
.event-meta { display: block; color: var(--muted); font-size: 0.92rem; }

.prose img { border-radius: 10px; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.card-grid, .plan-grid, .people-grid {
  display: grid;
  gap: 1rem;
}
.card-grid, .plan-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.info-card, .plan-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.info-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.info-card h2, .plan-card h2 { font-size: 1.25rem; }
.plan-price { font-size: 1.5rem; font-weight: 700; color: var(--olive-deep); }
.plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.people-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.people-grid li, .people-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
}
.people-grid img, .portrait-fallback {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--sand);
}
.portrait-fallback {
  display: grid;
  place-items: center;
  font-family: Oswald, sans-serif;
  font-size: 2rem;
  color: var(--teal);
}
.person-name { font-weight: 700; }
.person-role, .person-years { color: var(--muted); font-size: 0.92rem; }
.portrait { float: right; width: min(240px, 45%); margin: 0 0 1rem 1rem; border-radius: 12px; }
.eyebrow { letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive); font-weight: 700; font-size: 0.85rem; }
.search-label { display: block; font-weight: 700; margin: 1rem 0; }
.search-label input, .site-form input, .site-form textarea, .site-form select {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #b7c4b8;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}
.gallery-thumb {
  padding: 0;
  border: 0;
  background: #dfe6df;
  cursor: zoom-in;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.gallery-thumb:hover img, .gallery-thumb:focus-visible img { transform: scale(1.04); }
.year-block { margin: 1.5rem 0 2rem; }
.album-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.album-count { color: var(--muted); font-weight: 500; }
.link-list a { display: inline-block; padding: 0.35rem 0; font-weight: 700; }
.section-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1.2rem; }
.section-nav a { font-weight: 700; }
.map-frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0.6rem 0 1rem; }
.map-frame iframe { width: 100%; height: min(70vh, 520px); border: 0; }
.video-frame { position: relative; padding-top: 56.25%; margin: 0 0 1rem; background: #111; border-radius: 12px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slider-frame { position: relative; background: #111; border-radius: 12px; overflow: hidden; min-height: 240px; }
.slider-slide { display: none; margin: 0; }
.slider-slide.is-shown { display: block; }
.slider-slide img { width: 100%; max-height: 520px; object-fit: contain; background: #111; }
.slider-controls { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.slider-controls button, .cal-nav a {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.cal-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.calendar { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.4rem; }
.calendar th, .calendar td { border: 1px solid var(--line); vertical-align: top; padding: 0.35rem; height: 4.5rem; width: 14.28%; }
.calendar th { background: var(--sand); color: var(--olive-deep); font-size: 0.85rem; height: auto; }
.cal-day { font-weight: 700; }
.is-today { background: #e7f4f4; }
.is-empty { background: #fafafa; }
.cal-event { display: block; margin-top: 0.25rem; font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.event-facts { display: grid; grid-template-columns: 9rem 1fr; gap: 0.3rem 0.8rem; }
.event-facts dt { font-weight: 700; color: var(--olive-deep); }
.site-form { margin-top: 0.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }
.span-2 { grid-column: span 2; }
.site-form label { font-weight: 700; }
.amount-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.amount-choice { font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.7rem; }
.form-errors { background: #fff4f2; border: 1px solid #e3b2aa; border-radius: 10px; padding: 0.7rem 1rem; margin-bottom: 1rem; }
.notice { background: var(--sand); padding: 0.8rem 1rem; border-radius: 10px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.site-footer { background: #1d3436; color: #e7f0ef; padding: 2rem 0; margin-top: 1rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.footer-brand { color: #fff; margin-bottom: 0.4rem; }
.footer-heading { font-family: Oswald, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.4rem; color: #b7e0df; }
.modal { border: 0; padding: 0; background: transparent; }
.modal::backdrop { background: rgba(15, 25, 25, 0.62); }
.modal-card {
  background: #fff;
  color: var(--ink);
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: 14px;
  max-width: 28rem;
  box-shadow: var(--shadow);
}
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 12, 0.92);
  z-index: 80;
  display: grid;
  place-items: center;
}
.lightbox-dialog { position: relative; width: min(1100px, calc(100% - 2rem)); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox figcaption { color: #fff; display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.2rem 0; min-height: 1.5rem; }
.lightbox-nav, .lightbox-close {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: #111;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close { top: -0.4rem; right: 0; }
.lightbox-prev { left: 0.4rem; top: 42%; }
.lightbox-next { right: 0.4rem; top: 42%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

@media (max-width: 980px) {
  .home-grid { grid-template-columns: 1fr 1fr; }
  .home-grid .contact-card { grid-column: 1 / -1; }
  .layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega { columns: 2; width: min(560px, 86vw); }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .is-home .nav-toggle { background: rgba(255,255,255,0.95); }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 80px);
    overflow: auto;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .nav-root { flex-direction: column; align-items: stretch; padding: 0.4rem 0 0.8rem; }
  .nav-root > li > a, .is-home .nav-root > li > a, .is-home .nav-root > li:first-child > a {
    color: var(--ink);
    text-shadow: none;
    background: transparent;
    border-radius: 0;
  }
  .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-toggle { display: inline-block; }
  .sub-toggle:after { content: "+"; font-size: 1.3rem; }
  .has-sub.is-open > .sub-toggle:after { content: "–"; }
  .submenu, .mega {
    display: none;
    position: static;
    box-shadow: none;
    width: 100%;
    columns: 1;
    grid-column: 1 / -1;
    border-radius: 0;
  }
  .has-sub.is-open > .submenu, .has-sub.is-open > .mega { display: block; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub:hover > .mega { display: none; }
  .has-sub.is-open > .submenu, .has-sub.is-open > .mega { display: block; }
  .home-grid, .form-grid, .footer-grid, .event-facts { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .hero { min-height: 58vh; }
  .logo img { width: 168px; }
  .calendar th, .calendar td { height: auto; font-size: 0.75rem; }
  .portrait { float: none; width: min(220px, 70%); }
  .lightbox-prev { left: 0.2rem; }
  .lightbox-next { right: 0.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img, .gallery-thumb img { transition: none; }
}
