:root {
  --red: #e4002b;
  --burgundy: #7c2529;
  --ink: #231f20;
  --muted: #54585a;
  --mist: #f3f1ef;
  --paper: #fff;
  --line: rgba(35, 31, 32, 0.12);
  --accent: var(--red);
  --shadow: 0 12px 32px rgba(35, 31, 32, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.6 "Source Sans 3", "Segoe UI", sans-serif;
}

h1, h2, h3, .brand-name, .nav a, .page-hero h1 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: var(--paper);
  padding: 8px 12px;
  z-index: 30;
}
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 4px solid var(--red);
}

.topbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  width: min(var(--max), calc(100% - 8vw));
  margin: 0 auto;
  padding: 16px 0 10px;
}

.topbar nav { flex: 1 1 100%; }

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.emblem-wrap {
  position: relative;
  flex: 0 0 auto;
  padding: 6px 18px 6px 6px;
}

.emblem-wrap sup {
  position: absolute;
  right: 0;
  bottom: 8px;
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  line-height: 1;
}

.emblem-wrap img,
.emblem-wrap svg {
  display: block;
  height: 78px;
  width: auto;
}

.brand-name {
  display: block;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-tag,
.brand-denom {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  letter-spacing: 0;
}

.brand-tag {
  margin-top: 4px;
  color: var(--muted);
  font-size: 1rem;
}

.brand-denom {
  margin-top: 2px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-contact {
  margin: 0 0 0 auto;
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.4;
}

.header-contact a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.header-contact a:hover { color: var(--red); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 8px 0 4px;
  border-top: 1px solid var(--line);
}

.nav > li { position: relative; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--red); text-decoration: none; }

.nav .menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 240px;
  background: #fff;
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
  margin: 8px 0 0;
  padding: 8px 0;
  list-style: none;
  z-index: 6;
}

.nav li:hover > .menu,
.nav li:focus-within > .menu { display: block; }

.menu a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
}

.hero {
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(35, 31, 32, 0.05), rgba(35, 31, 32, 0.72)),
    url("../images/Congregation Picture.jpg") center center / cover no-repeat;
}

.hero-copy { color: #fff; padding: 64px 0 56px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.identity {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.identity-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 42px 0;
}

.identity .emblem-wrap svg,
.identity .emblem-wrap img { height: 168px; }

.identity h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-transform: uppercase;
}

.identity p:last-child { margin-bottom: 0; max-width: 42rem; }

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 34px 0 30px;
}

.page-hero > h1 {
  margin: 0 auto;
  width: min(var(--max), calc(100% - 8vw));
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  text-transform: uppercase;
}

.wrap {
  width: min(var(--max), calc(100% - 8vw));
  margin: 0 auto;
}

main { padding: 42px 0 72px; }

h2 {
  color: var(--ink);
  font-size: 1.8rem;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.lede { font-size: 1.12rem; }

.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.verse {
  background: var(--mist);
  border-top: 4px solid var(--red);
  padding: 18px 18px 8px;
}

.verse h2 { font-size: 1.15rem; }

.verse p { margin-top: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 32px 0 40px;
}

.card {
  display: block;
  background: var(--mist);
  border-top: 4px solid var(--red);
  padding: 28px 22px;
  text-align: center;
  color: var(--ink);
  text-decoration: none;
}

.card:hover { background: #fff; box-shadow: var(--shadow); text-decoration: none; }

.card strong {
  display: block;
  margin-top: 4px;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.announce {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
  margin: 18px 0 28px;
}

.announce img {
  width: 180px;
}

.people,
.ministry-grid,
.photo-grid {
  display: grid;
  gap: 16px;
}

.people { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.person,
.panel {
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  padding: 16px 18px;
  background: #fff;
}

.person small,
.meta { color: var(--muted); display: block; }

.ministry-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.ministry-grid a {
  display: block;
  padding: 22px 18px;
  background: var(--mist);
  border-top: 4px solid var(--red);
  color: var(--ink);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.ministry-grid a:hover { background: #fff; box-shadow: var(--shadow); }

.events { list-style: none; margin: 0; padding: 0; }

.events li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.when {
  color: var(--red);
  font-weight: 700;
}

.events audio {
  display: block;
  width: min(100%, 480px);
  margin-top: 10px;
}

.events audio + p { margin: 8px 0 0; }

.calendar-frame {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

.history-fig { margin: 8px 0 28px; }

.history-fig img { display: block; }

.photo-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.photo-grid a {
  display: block;
  overflow: hidden;
  background: var(--mist);
}

.photo-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.times {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 28px;
}

.times div {
  background: var(--mist);
  border-radius: 999px;
  padding: 8px 14px;
}

.visit-card {
  display: grid;
  gap: 2px;
  max-width: 360px;
  margin: 4px 0 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: var(--mist);
  font-style: normal;
}

.visit-card span {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visit-card strong {
  font-size: 1.2rem;
  font-weight: 600;
}

.visit-card a { margin-top: 8px; }

.about-main { padding: 28px 0 48px; }

.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.about-photo {
  margin: 0;
  min-height: 560px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  text-transform: uppercase;
}

.about-copy .times { margin-bottom: 16px; }

.about-copy .visit-card {
  max-width: none;
  margin: 0;
}

footer {
  background: var(--mist);
  padding: 40px 0 28px;
  border-top: 4px solid var(--red);
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

footer h2 { font-size: 1.15rem; }

.foot h2 + p + h2 { margin-top: 18px; }

.mark {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.mark .emblem-wrap svg,
.mark .emblem-wrap img { height: 92px; }

.mark p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.fine {
  margin-top: 18px;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .topbar { align-items: center; }
  .header-contact {
    flex: 1 1 100%;
    margin: 0;
    text-align: left;
  }
  .topbar nav { flex: 0 0 auto; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    width: auto;
    background: #fff;
    padding: 12px 16px 16px;
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow);
    min-width: 240px;
  }
  .nav.open {
    display: flex;
    max-height: 70vh;
    overflow: auto;
  }
  .nav .menu {
    position: static;
    display: block;
    box-shadow: none;
    border-top: 0;
    margin: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .identity-inner,
  .split,
  .cards,
  .announce,
  .about-layout,
  .foot,
  .mark,
  .events li { grid-template-columns: 1fr; }
  .about-photo { min-height: 280px; }
  .hero { min-height: 52vh; }
  .announce img { width: auto; }
  .emblem-wrap svg,
  .emblem-wrap img { height: 64px; }
  .identity .emblem-wrap svg,
  .identity .emblem-wrap img { height: 140px; width: auto; }
}
