:root {
  --bg: #f8f1e7;
  --bg-soft: #efdfcb;
  --bg-alt: #f2e6d8;
  --white: #fffaf4;
  --text: #2f241c;
  --muted: #756355;
  --brown: #8a6346;
  --brown-dark: #734f37;
  --brown-deep: #5a3d2d;
  --brown-soft: #caa27b;
  --accent-green: #415239;
  --accent-green-dark: #33412d;
  --border: rgba(47, 36, 28, 0.12);
  --shadow: 0 20px 48px rgba(59, 41, 29, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
  --font-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: calc(16px * var(--font-scale));
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
iframe { display: block; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--brown-deep);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(248, 241, 231, 0.88);
  border-bottom: 1px solid rgba(47, 36, 28, 0.08);
}
.header-inner {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.brand-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.97rem;
}
.site-nav a {
  padding: 0.25rem 0;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="true"] { color: var(--brown); }
.nav-cta {
  padding: 0.78rem 1rem !important;
  background: var(--brown);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(59, 41, 29, 0.08);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.95);
}
.hero-overlay {
  background: linear-gradient(to top, rgba(37, 24, 17, 0.8) 0%, rgba(37, 24, 17, 0.42) 42%, rgba(37, 24, 17, 0.18) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: var(--white);
  padding: 7rem 0 5rem;
}
.eyebrow {
  margin: 0 0 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.9;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  font-weight: 600;
}
h1 { font-size: clamp(3.35rem, 8vw, 6.8rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); }

.hero-text,
.section-heading p,
.section-copy p,
.info-card p,
.event-card p,
.timeline-card p,
.note-box p,
.contact-card li,
.cta-banner p,
.footer-inner p,
.footer-bottom,
.a11y-panel-text,
.a11y-font-label {
  font-size: 1.02rem;
}
.hero-text {
  max-width: 680px;
  color: rgba(255, 250, 244, 0.9);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brown);
  color: var(--white);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}
.light-btn {
  background: rgba(255, 250, 244, 0.12);
  border-color: rgba(255, 250, 244, 0.32);
  color: var(--white);
}

.intro-strip {
  position: relative;
  margin-top: -2.1rem;
  z-index: 3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-card {
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(47, 36, 28, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.25rem;
  box-shadow: var(--shadow);
}
.stat-number {
  display: block;
  margin-bottom: 0.15rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
}
.stat-label { color: var(--muted); font-size: 0.95rem; }

.section { padding: 6rem 0; }
.section.compact { padding: 4.6rem 0; }
.section-light { background: var(--bg); }
.section-sand { background: var(--bg-soft); }
.section-olive {
  background: linear-gradient(180deg, var(--brown-dark), var(--brown-deep));
  color: var(--white);
}
.section-dark {
  background: linear-gradient(180deg, #4d3529, #36231b);
  color: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.split-grid.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}
.section-copy p {
  max-width: 64ch;
  color: var(--muted);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}
.section-heading p { color: var(--muted); }
.section-heading.light,
.section-heading.light p,
.section-olive .section-heading p,
.section-dark .section-heading p { color: rgba(255, 250, 244, 0.86); }

.media-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-card img {
  width: 100%;
  aspect-ratio: 4 / 4.75;
  object-fit: cover;
}
.media-card-caption {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.media-card-caption span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.feature-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 244, 0.72);
}
.feature-item strong { display: block; margin-bottom: 0.25rem; }

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.timeline-card,
.info-card,
.event-card,
.contact-card {
  padding: 1.45rem;
  border-radius: var(--radius-sm);
}
.timeline-card {
  background: rgba(255, 250, 244, 0.08);
  border: 1px solid rgba(255, 250, 244, 0.11);
}
.timeline-date {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.12);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.note-box {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--brown-soft);
  background: rgba(255, 250, 244, 0.08);
  border-radius: 0 14px 14px 0;
}

.media-stack {
  display: grid;
  gap: 1rem;
}
.media-stack img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--brown);
  font-weight: 600;
}

.cards-grid { display: grid; gap: 1rem; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-card {
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(47, 36, 28, 0.08);
}
.event-card {
  background: var(--white);
  border: 1px solid rgba(47, 36, 28, 0.08);
  box-shadow: var(--shadow);
}
.pill,
.event-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 0.6rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.pill {
  background: rgba(138, 99, 70, 0.12);
  color: var(--brown-dark);
}
.event-tag {
  margin-bottom: 0.75rem;
  background: rgba(138, 99, 70, 0.1);
  color: var(--brown-dark);
}

.cta-banner,
.promo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: var(--radius);
}
.cta-banner {
  background: rgba(138, 99, 70, 0.08);
  border: 1px solid rgba(138, 99, 70, 0.12);
}
.promo-box {
  background: rgba(255, 250, 244, 0.08);
  border: 1px solid rgba(255, 250, 244, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}
.contact-card {
  background: var(--white);
  border: 1px solid rgba(47, 36, 28, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-card iframe {
  width: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 3;
}

.site-footer {
  background: #2e2018;
  color: rgba(255, 250, 244, 0.9);
  padding-top: 2rem;
}
.footer-inner,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.footer-links a { opacity: 0.94; }
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  margin-top: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(255, 250, 244, 0.08);
  color: rgba(255, 250, 244, 0.66);
  font-size: 0.93rem;
}

:focus-visible {
  outline: 3px solid var(--brown-soft);
  outline-offset: 3px;
}

.a11y-toggle {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.92rem 1.08rem;
  border: 1px solid rgba(65, 82, 57, 0.24);
  border-radius: 999px;
  background: var(--accent-green);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(41, 56, 38, 0.22);
}
.a11y-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
}
.a11y-backdrop {
  position: fixed;
  inset: 0;
  z-index: 122;
  background: rgba(34, 23, 17, 0.3);
}
.a11y-panel {
  position: fixed;
  top: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 125;
  width: min(92vw, 380px);
  max-height: calc(100dvh - 1.8rem);
  overflow: auto;
  padding: 1.15rem;
  background: rgba(255, 250, 244, 0.99);
  color: var(--text);
  border: 1px solid rgba(47, 36, 28, 0.12);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(34, 23, 17, 0.18);
}
.a11y-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.a11y-panel-header h2 {
  margin-bottom: 0;
  font-size: 2rem;
}
.a11y-close,
.a11y-button,
.a11y-reset {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(47, 36, 28, 0.12);
  background: var(--white);
  color: var(--text);
}
.a11y-close { padding: 0.65rem 0.85rem; }
.a11y-group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 36, 28, 0.08);
}
.a11y-group-heading {
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.a11y-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.a11y-actions-stack { grid-template-columns: 1fr; }
.a11y-button,
.a11y-reset { padding: 0.8rem 0.95rem; }
.a11y-button[aria-pressed="true"] {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--white);
}
.a11y-reset {
  width: 100%;
  margin-top: 1rem;
  background: rgba(138, 99, 70, 0.08);
}

body.a11y-contrast {
  --bg: #ffffff;
  --bg-soft: #f6f3ef;
  --bg-alt: #ffffff;
  --white: #ffffff;
  --text: #141414;
  --muted: #232323;
  --brown: #5f3716;
  --brown-dark: #44250f;
  --brown-deep: #291407;
  --brown-soft: #8d6200;
  --border: rgba(0, 0, 0, 0.4);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}
body.a11y-contrast .hero-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.56) 45%, rgba(0, 0, 0, 0.34) 100%);
}
body.a11y-contrast .btn-secondary,
body.a11y-contrast .light-btn {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.56);
}
body.a11y-readable {
  line-height: 1.95;
  letter-spacing: 0.01em;
  word-spacing: 0.05em;
}
body.a11y-readable h1,
body.a11y-readable h2,
body.a11y-readable h3,
body.a11y-readable .brand-title,
body.a11y-readable .footer-brand {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.18;
}
body.a11y-readable .hero-text,
body.a11y-readable .section-heading,
body.a11y-readable .section-copy p,
body.a11y-readable .timeline-card p,
body.a11y-readable .info-card p,
body.a11y-readable .event-card p,
body.a11y-readable .cta-banner p {
  max-width: 72ch;
}
body.a11y-underlined a:not(.btn):not(.brand):not(.a11y-toggle):not(.skip-link) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.12em;
}
body.a11y-reduced-motion *,
body.a11y-reduced-motion *::before,
body.a11y-reduced-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (max-width: 1024px) {
  .stats-grid,
  .timeline,
  .cards-grid.three,
  .gallery-grid,
  .split-grid,
  .split-grid.reverse,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content { padding: 6rem 0 4rem; }
  .promo-box,
  .cta-banner { align-items: flex-start; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid rgba(47, 36, 28, 0.1);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(59, 41, 29, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }
  .site-nav a {
    padding: 0.95rem 1rem;
    border-radius: 16px;
  }
  .nav-cta {
    margin-top: 0.3rem;
    text-align: center;
  }
  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .stats-grid,
  .timeline,
  .gallery-grid,
  .cards-grid.three,
  .split-grid,
  .split-grid.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip { margin-top: -1.2rem; }
  .hero { min-height: 84vh; }
  .hero-content { padding: 5.2rem 0 3.5rem; }
  .section { padding: 5rem 0; }

  .cta-banner,
  .promo-box,
  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .header-inner { min-height: 76px; }
  .brand-title { font-size: 1.72rem; }
  .brand-kicker { font-size: 0.68rem; }
  .hero-content { padding: 4.75rem 0 3rem; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.65rem); }
  h3 { font-size: 1.5rem; }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .contact-actions .btn,
  .cta-banner .btn,
  .promo-box .btn {
    width: 100%;
  }

  .stat-card,
  .timeline-card,
  .info-card,
  .event-card,
  .contact-card,
  .feature-item,
  .cta-banner,
  .promo-box {
    padding: 1.2rem;
  }

  .a11y-toggle {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.88rem 1rem;
  }
  .a11y-panel {
    right: 0.6rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: min(88vw, 340px);
    max-height: calc(100dvh - 1.2rem);
    border-radius: 20px;
  }
  .a11y-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
