:root {
  --cardinal: #8c1515;
  --cardinal-dark: #6b0f0f;
  --text: #212121;
  --muted: #555;
  --rule: #ddd;
  --bg: #fff;
  --bg-alt: #f7f5f2;
  --header-h: 64px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a { color: var(--cardinal); }
a:hover { color: var(--cardinal-dark); }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
}

h2 {
  color: var(--cardinal);
  font-size: 1.9rem;
  text-align: center;
  margin: 0 0 1.25rem;
}

/* Event titles and people's names: bold sans in cardinal, as on the old site */
h3 {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 700;
  color: var(--cardinal);
  font-size: 1.15rem;
  margin: 0 0 .5rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.site-header .inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; }

.nav-toggle { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--cardinal);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 48px 16px;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(70, 10, 10, .55);
}
.hero h1 {
  position: relative;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  padding: .6em 1.2em;
  border: 3px solid #fff;
}
.hero--home { min-height: 420px; }
.hero--home h1 {
  width: min(880px, 100%);
  padding: .8em 1em;
}

/* ---------- Sections ---------- */

main > section,
main > .block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
}
main > * + * { border-top: 1px solid var(--rule); }

.lead {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
}

.center { text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.two-col ul { padding-left: 1.1rem; }
.two-col li { margin-bottom: .75rem; }

.banner-photo {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

/* ---------- Events ---------- */

.calendar {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 12px;
  aspect-ratio: 4 / 3;
  min-height: 420px;
  border: 1px solid var(--rule);
}
.calendar iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.event {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding: 32px 0;
}
.event + .event { border-top: 1px solid var(--rule); }
.event p { margin: .25rem 0; }
.event img {
  width: 100%;
  border-radius: 4px;
}
.event--text { grid-template-columns: 1fr; text-align: center; }

/* ---------- People ---------- */

.people {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 32px;
  margin-top: 32px;
}
.person { flex: 0 1 calc((100% - 64px) / 3); text-align: center; }
.people--four .person { flex-basis: calc((100% - 96px) / 4); }
.person img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto 12px;
}
.person h3 { font-size: 1.15rem; margin: 0; }
.person p { margin: .25rem 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }
.faq dt {
  font-weight: 700;
  margin-top: 1.5rem;
}
.faq dd { margin: .25rem 0 0; }

/* ---------- CTA + footer ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  background: var(--cardinal);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--cardinal-dark); color: #fff; }

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}
.site-footer .cta { margin-bottom: 20px; }

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  .site-header .inner { padding: 0 12px 0 16px; }
  .brand { font-size: 1rem; gap: 8px; min-width: 0; white-space: normal; line-height: 1.2; }
  .brand img { flex-shrink: 0; }
  .brand img { width: 32px; height: 32px; }

  .nav-toggle {
    display: block;
    background: none;
    border: 0;
    font-size: 1.6rem;
    line-height: 1;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--rule);
  }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); border-left: 3px solid var(--cardinal); }

  main > section,
  main > .block { padding: 40px 16px; }
  .lead { font-size: 1.3rem; }
  .two-col { grid-template-columns: 1fr; }
  .people { gap: 28px 16px; }
  .person,
  .people--four .person { flex-basis: calc(50% - 8px); }
  .person h3 { font-size: 1.05rem; }
  .person p { font-size: .9rem; line-height: 1.4; }
  .event { grid-template-columns: 1fr 1fr; gap: 12px; text-align: center; }
  .event > div { grid-column: 1 / -1; }
}
