:root {
  color-scheme: light;
  --navy: #102d3d;
  --navy-deep: #0b2230;
  --blue: #1c5065;
  --gold: #bd9b4a;
  --gold-light: #dfca8f;
  --cream: #f7f4ed;
  --paper: #fffefa;
  --ink: #1c2b30;
  --muted: #657176;
  --serif: "Playfair Display", Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-wrap {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: max(32px, calc((100% - 1280px) / 2));
  background: rgba(255, 254, 250, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 28px rgba(16, 45, 61, 0.07);
  transition: transform 220ms ease;
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.scroll-top {
  position: fixed;
  z-index: 6;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  transform: translateY(12px);
  border: 1px solid rgba(223, 202, 143, 0.5);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(11, 34, 48, 0.2);
  color: white;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  visibility: hidden;
  appearance: none;
}

.scroll-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--blue);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: 140px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.8vw, 38px);
}

.main-nav a {
  color: #45545a;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 140ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
}

.main-nav .nav-contribute {
  padding: 11px 15px;
  border: 1px solid rgba(16, 45, 61, 0.25);
  border-radius: 2px;
  color: var(--navy);
}

.nav-contribute span {
  padding-left: 5px;
  color: var(--gold);
}

.hero {
  padding-top: 30px;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.hero-image-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: rgba(11, 34, 48, 0.82);
  color: white;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-image-label span {
  color: var(--gold-light);
  font-size: 16px;
}

.hero-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 0 67px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-caption .eyebrow {
  margin-bottom: 8px;
}

h1,
h2,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(29px, 4vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.13;
  font-optical-sizing: auto;
}

h1 em,
h2 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}

.social-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(16, 45, 61, 0.2);
  border-radius: 2px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 100ms ease-out;
}

.social-button:active,
.nav-contribute:active,
.shirt-order-button:active,
.scroll-top:active,
.audio-play:active {
  transform: scale(0.97);
  transition-duration: 100ms;
  transition-timing-function: ease-out;
}

.social-button:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.social-button-live {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.social-button-live:hover {
  border-color: var(--blue);
  background: var(--blue);
}

.social-button svg {
  width: 17px;
  height: 17px;
}

.play-icon {
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.has-reveal-motion [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-reveal-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.text-link span {
  color: var(--gold);
  font-size: 17px;
}

.welcome {
  padding-top: 33px;
  padding-bottom: 108px;
  border-top: 1px solid #e7e2d7;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 40px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 8vw, 108px);
}

.welcome-copy {
  max-width: 535px;
}

.welcome-copy p,
.history-copy p,
.shirt-copy > p:not(.eyebrow),
.donation-copy > p:not(.eyebrow) {
  color: #58656a;
  font-size: 14px;
  line-height: 1.85;
}

.welcome-copy .lead {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

.welcome-copy .welcome-blessing {
  margin-top: 25px;
  color: var(--navy);
  font-weight: 600;
}

figure {
  margin: 0;
}

.welcome-photo img {
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
}

.video-section {
  padding-block: 82px 88px;
  background: var(--navy);
}

.video-inner {
  display: grid;
  justify-items: center;
  gap: 76px;
}

.video-entry {
  display: grid;
  width: 100%;
  justify-items: center;
}

.video-heading {
  margin-bottom: 30px;
  text-align: center;
}

.video-heading h2 {
  margin-bottom: 12px;
  color: white;
  font-size: clamp(34px, 4vw, 48px);
}

.video-heading > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.7;
}

.video-frame {
  width: min(100%, 920px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(223, 202, 143, 0.38);
  background: #071923;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.video-frame-reel {
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.video-fallback:hover {
  color: white;
}

.history {
  overflow: hidden;
  background: var(--cream);
}

.history-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 105px);
  padding-block: 100px;
}

.history-copy h2 {
  margin-bottom: 27px;
  font-size: clamp(35px, 4vw, 49px);
}

.history-copy .history-closing {
  margin-top: 22px;
  color: var(--navy);
  font-weight: 600;
}

.history-photos {
  position: relative;
  min-height: 590px;
}

.history-photo-main {
  width: 83%;
}

.history-photo-main img {
  width: 100%;
  aspect-ratio: 0.83;
  object-fit: cover;
}

.history-photo-small {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 47%;
  padding: 8px;
  background: var(--cream);
}

.history-photo-small img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.pastors-section {
  padding-block: 94px;
}

.pastors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pastor-card {
  overflow: hidden;
  border: 1px solid #e8e3d9;
  background: var(--cream);
}

.pastor-card img {
  width: 100%;
  height: clamp(230px, 30vw, 370px);
  object-fit: contain;
  background: #eee9df;
}

.pastor-info {
  padding: 22px 24px 24px;
  background: var(--paper);
}

.pastor-info .eyebrow {
  margin-bottom: 7px;
}

.pastor-info h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.memories {
  padding-top: 104px;
  padding-bottom: 110px;
}

.memories-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 36px;
}

.memories-intro h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.memories-intro > p {
  max-width: 330px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.gallery {
  columns: 3;
  column-gap: 14px;
}

.gallery-item {
  break-inside: avoid;
  margin: 0 0 14px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: var(--cream);
}

.gallery.is-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
  gap: 14px;
  columns: initial;
}

.gallery.is-masonry .gallery-item {
  margin: 0;
}

.devotion-updates {
  padding-block: 84px;
  background: var(--cream);
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.updates-grid .program-card {
  width: min(100%, 760px);
  justify-self: center;
}

.hymn-card,
.program-card {
  padding: clamp(28px, 4vw, 52px);
}

.hymn-card {
  background: var(--navy);
}

.hymn-section {
  padding-block: 72px;
  background: var(--navy);
}

.hymn-section .hymn-card {
  max-width: 760px;
  padding: 0;
  background: transparent;
}

.hymn-lyrics {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.hymn-lyrics p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 14px;
  line-height: 1.9;
}

.hymn-chorus {
  padding: 20px 24px;
  border-left: 2px solid var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
}

.hymn-chorus p {
  color: white;
}

.hymn-audio {
  margin-top: 42px;
  padding: 22px 24px;
  border: 1px solid rgba(223, 202, 143, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.hymn-audio .eyebrow {
  margin-bottom: 12px;
  color: var(--gold-light);
}

.audio-player {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.audio-player audio {
  display: none;
}

.audio-play {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--navy-deep);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.audio-play:hover:not(:disabled) {
  transform: scale(1.06);
  background: white;
}

.audio-play:disabled {
  cursor: wait;
  opacity: 0.6;
}

.audio-play svg {
  width: 22px;
  height: 22px;
}

.audio-icon-pause {
  display: none;
}

.audio-player.is-playing .audio-icon-play {
  display: none;
}

.audio-player.is-playing .audio-icon-pause {
  display: block;
}

.audio-track {
  min-width: 0;
}

.audio-progress {
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.audio-progress:disabled {
  cursor: wait;
  opacity: 0.55;
}

.audio-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--gold-light) var(--audio-progress, 0%),
    rgba(255, 255, 255, 0.25) var(--audio-progress, 0%)
  );
}

.audio-progress::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.audio-progress::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--gold-light);
}

.audio-progress::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  appearance: none;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(223, 202, 143, 0.25);
}

.audio-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(223, 202, 143, 0.25);
}

.audio-times {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.audio-status {
  grid-column: 2;
  min-height: 0;
  margin: -5px 0 0;
  color: #ffd7cf;
  font-size: 12px;
  line-height: 1.5;
}

.audio-status:empty {
  display: none;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hymn-card h2,
.program-card h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 3.4vw, 44px);
}

.hymn-card h2 {
  color: white;
}

.hymn-intro,
.program-card > p:not(.eyebrow) {
  max-width: 530px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.85;
}

.hymn-intro {
  margin-top: 0;
  color: #f5f3ec;
}

.program-card {
  border: 1px solid #e6dfd1;
  background: var(--paper);
}

.program-card > p:not(.eyebrow) {
  color: #58656a;
}

.program-card .coming-soon {
  margin-top: 23px;
  border-color: rgba(189, 155, 74, 0.45);
  color: #96752e;
}

.shirt-section {
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.shirt-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(40px, 9vw, 125px);
  padding-block: 90px;
}

.shirt-copy h2 {
  margin-bottom: 24px;
  color: white;
  font-size: clamp(36px, 4vw, 50px);
}

.shirt-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.shirt-order-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 13px;
  padding: 0 17px;
  border: 1px solid #78bd8c;
  border-radius: 2px;
  background: #187343;
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.shirt-order-button:hover {
  transform: translateY(-1px);
  background: #125d35;
}

.shirt-order-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(223, 202, 143, 0.45);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coming-soon span {
  font-size: 16px;
}

.shirt-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.donation {
  display: grid;
  grid-template-columns: 1fr 270px;
  align-items: center;
  gap: 50px;
  padding-block: 105px;
}

.donation-copy {
  max-width: 590px;
}

.donation-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 52px);
}

.donation-copy > p:not(.eyebrow) {
  max-width: 530px;
}

.pix-key {
  display: grid;
  gap: 6px;
  margin-top: 27px;
  padding-left: 17px;
  border-left: 2px solid var(--gold);
}

.pix-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pix-key strong {
  color: var(--navy);
  font-size: 19px;
  letter-spacing: 0.04em;
}

.donation-copy .donation-note {
  margin-top: 23px;
  font-size: 12px;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 22px;
  border: 1px solid #e7e2d7;
  background: white;
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-card span {
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px max(32px, calc((100% - 1160px) / 2));
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin-bottom: 0;
  font-size: 11px;
}

.site-footer .footer-copyright {
  flex-basis: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  text-align: center;
}

.footer-brand,
.back-to-top {
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.archdiocese-logo {
  display: block;
  width: 155px;
  height: auto;
}

.back-to-top {
  color: var(--gold-light);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header {
    display: block;
    padding: 12px 24px 10px;
  }

  .brand {
    margin-bottom: 8px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 18px;
  }
}

@media (max-width: 760px) {
  :root {
    scroll-padding-top: 118px;
  }

  .section-wrap {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    min-height: auto;
    display: block;
    padding: 12px 20px 0;
  }

  .brand {
    padding-bottom: 9px;
  }

  .brand-logo {
    width: 124px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 16px;
    margin-inline: 0;
    padding: 10px 0 13px;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 11px;
  }

  .main-nav .nav-contribute {
    padding: 8px 11px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-image {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .hero-image-label {
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    font-size: 8px;
  }

  .hero-caption {
    display: block;
    padding: 23px 0 48px;
  }

  .hero-caption .text-link {
    margin-top: 20px;
  }

  .hero-social-links {
    gap: 8px;
  }

  .social-button {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 10px;
  }

  .welcome {
    padding-top: 29px;
    padding-bottom: 74px;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .welcome-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .welcome-photo img {
    aspect-ratio: 1.2;
  }

  .video-section {
    padding-block: 62px;
  }

  .video-inner {
    gap: 54px;
  }

  .video-heading {
    margin-bottom: 22px;
  }

  .history-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 72px;
  }

  .history-photos {
    min-height: auto;
    padding-bottom: 40px;
  }

  .history-photo-main {
    width: 88%;
  }

  .history-photo-main img {
    aspect-ratio: 1.05;
  }

  .history-photo-small {
    bottom: 0;
    width: 48%;
  }

  .memories {
    padding-block: 72px;
  }

  .pastors-section {
    padding-block: 72px;
  }

  .pastors-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pastor-card img {
    height: clamp(230px, 68vw, 330px);
  }

  .memories-intro {
    display: block;
    margin-bottom: 25px;
  }

  .memories-intro > p {
    margin-top: 15px;
  }

  .gallery {
    columns: 2;
    column-gap: 9px;
  }

  .gallery.is-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .shirt-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 68px;
  }

  .devotion-updates {
    padding-block: 58px;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hymn-card,
  .program-card {
    padding: 28px 24px;
  }

  .hymn-audio {
    margin-top: 32px;
    padding: 18px 14px;
  }

  .audio-player {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .audio-play {
    width: 44px;
    height: 44px;
  }

  .shirt-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .donation {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 72px;
  }

  .qr-card {
    width: min(100%, 280px);
    justify-self: center;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 22px 20px;
  }

  .archdiocese-logo {
    width: 135px;
  }
}

@media (max-width: 420px) {
  .site-footer {
    align-items: flex-start;
  }

  .site-footer p {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }

  .hero-image-label {
    background: var(--navy-deep);
  }

  .hymn-chorus {
    background: #173748;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #46545a;
  }

  .site-header {
    border-bottom: 2px solid var(--navy);
    background: var(--paper);
    backdrop-filter: none;
  }

  .main-nav a,
  .welcome-copy p,
  .history-copy p,
  .memories-intro > p {
    color: #34454b;
  }

  .social-button,
  .shirt-order-button,
  .nav-contribute {
    border-width: 2px;
  }
}

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

  .has-reveal-motion [data-reveal],
  .has-reveal-motion [data-reveal].is-revealed {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

/* Heritage-inspired visual direction for the design-test copy. */
:root {
  --navy: #17394a;
  --navy-deep: #102b38;
  --blue: #28596b;
  --gold: #a98236;
  --gold-light: #e5d29c;
  --cream: #f2eee5;
  --paper: #fbf9f4;
  --ink: #203238;
  --muted: #596a6e;
  background: var(--paper);
  scroll-padding-top: 96px;
}

body {
  background:
    radial-gradient(ellipse at 50% 3%, rgba(229, 210, 156, 0.12), transparent 32rem),
    var(--paper);
  font-size: 15px;
}

.section-wrap {
  width: min(1200px, calc(100% - 80px));
}

.site-header {
  min-height: 82px;
  padding-inline: max(40px, calc((100% - 1320px) / 2));
  background: rgba(251, 249, 244, 0.88);
  box-shadow: 0 12px 36px rgba(16, 43, 56, 0.08);
}

.brand-logo {
  width: 150px;
}

.main-nav {
  gap: clamp(14px, 2vw, 27px);
}

.main-nav a {
  font-size: 12px;
  letter-spacing: 0.015em;
}

.main-nav .nav-contribute {
  padding: 12px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  box-shadow: 0 5px 14px rgba(16, 43, 56, 0.15);
}

.main-nav .nav-contribute:hover,
.main-nav .nav-contribute:focus-visible {
  background: var(--blue);
  color: white;
}

.nav-contribute span {
  color: var(--gold-light);
}

.hero {
  width: min(1320px, calc(100% - 48px));
  padding-top: 32px;
}

.hero-image-frame {
  border-radius: 4px;
  box-shadow: 0 28px 70px rgba(16, 43, 56, 0.18);
}

.hero-image-label {
  border: 1px solid rgba(229, 210, 156, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero-caption {
  position: relative;
  z-index: 1;
  width: calc(100% - 80px);
  align-items: center;
  margin: -28px auto 0;
  padding: 26px 32px 27px;
  border: 1px solid rgba(23, 57, 74, 0.08);
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(16, 43, 56, 0.1);
}

.hero-caption .eyebrow {
  font-size: 10px;
}

h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-social-links {
  margin-top: 18px;
}

.social-button {
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 999px;
  font-size: 12px;
}

.text-link {
  font-size: 13px;
}

.welcome {
  padding-top: 76px;
  padding-bottom: 112px;
  border-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading .eyebrow,
.history-copy .eyebrow,
.memories-intro .eyebrow,
.shirt-copy .eyebrow,
.donation-copy .eyebrow {
  color: #8b6c2b;
}

h2 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.045em;
}

.welcome-content {
  gap: clamp(48px, 9vw, 120px);
}

.welcome-copy p,
.history-copy p,
.shirt-copy > p:not(.eyebrow),
.donation-copy > p:not(.eyebrow) {
  color: #526166;
  font-size: 15px;
  line-height: 1.9;
}

.welcome-copy .lead {
  font-size: 23px;
  line-height: 1.55;
}

.welcome-photo img {
  aspect-ratio: 1.08;
  border-radius: 3px;
  box-shadow: 18px 18px 0 var(--cream);
}

.video-section {
  padding-block: 104px 110px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(229, 210, 156, 0.12), transparent 36rem),
    var(--navy-deep);
}

.video-inner {
  gap: 92px;
}

.video-heading h2 {
  font-size: clamp(38px, 4.6vw, 56px);
}

.video-frame {
  border: 6px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.video-frame-reel {
  border-width: 5px;
}

.history {
  background: #f0ece2;
}

.history-inner {
  gap: clamp(58px, 9vw, 120px);
  padding-block: 120px;
}

.history-photo-main img {
  border-radius: 3px;
  box-shadow: 0 20px 55px rgba(16, 43, 56, 0.16);
}

.history-photo-small {
  border-radius: 3px;
  box-shadow: 0 14px 40px rgba(16, 43, 56, 0.14);
}

.pastors-section {
  padding-block: 108px;
}

.pastors-grid {
  gap: 26px;
}

.pastor-card {
  border: 0;
  border-radius: 4px;
  background: var(--cream);
  box-shadow: 0 14px 40px rgba(16, 43, 56, 0.09);
}

.pastor-card img {
  background: #e9e3d6;
}

.pastor-info {
  padding: 24px 26px 27px;
}

.memories {
  padding-block: 112px 120px;
  background: #f3f0e9;
}

.memories-intro {
  margin-bottom: 44px;
}

.gallery.is-masonry {
  gap: 17px;
}

.gallery.is-masonry .gallery-item img {
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(16, 43, 56, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery.is-masonry .gallery-item:hover img {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(16, 43, 56, 0.16);
}

.devotion-updates {
  padding-block: 96px;
}

.program-card {
  border: 1px solid rgba(169, 130, 54, 0.28);
  border-radius: 4px;
  box-shadow: 0 12px 34px rgba(16, 43, 56, 0.06);
}

.shirt-section {
  background:
    radial-gradient(ellipse at 85% 50%, rgba(229, 210, 156, 0.13), transparent 30rem),
    var(--navy);
}

.shirt-inner {
  gap: clamp(44px, 8vw, 112px);
  padding-block: 108px;
}

.shirt-image {
  border: 1px solid rgba(229, 210, 156, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.shirt-order-button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 999px;
  background: #197746;
}

.shirt-copy .eyebrow {
  color: var(--gold-light);
}

.shirt-copy > p:not(.eyebrow) {
  color: #f7f5ef;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.donation {
  padding-block: 120px;
}

.pix-key {
  padding: 16px 0 16px 19px;
  border-left-width: 3px;
}

.qr-card {
  padding: 20px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(16, 43, 56, 0.12);
}

.hymn-section {
  padding-block: 96px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(229, 210, 156, 0.1), transparent 36rem),
    var(--navy-deep);
}

.hymn-chorus {
  padding: 23px 28px;
  border-left-width: 3px;
}

.hymn-audio {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding-block: 32px;
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header {
    padding: 12px 24px 10px;
  }
}

@media (max-width: 760px) {
  :root {
    scroll-padding-top: 120px;
  }

  .section-wrap {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    padding: 10px 20px 0;
    background: rgba(251, 249, 244, 0.94);
  }

  .brand {
    padding-bottom: 4px;
  }

  .main-nav {
    flex-wrap: nowrap;
    gap: 17px;
    overflow-x: auto;
    margin-inline: -20px;
    padding: 10px 20px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    font-size: 12px;
  }

  .main-nav .nav-contribute {
    padding: 9px 14px;
  }

  .hero {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .hero-image-frame {
    border-radius: 3px;
  }

  .hero-caption {
    width: calc(100% - 20px);
    margin-top: -10px;
    padding: 22px 18px 24px;
  }

  .hero-caption .text-link {
    margin-top: 21px;
  }

  .welcome {
    padding-top: 65px;
    padding-bottom: 78px;
  }

  .section-heading {
    margin-bottom: 29px;
  }

  .welcome-content {
    gap: 30px;
  }

  .welcome-copy .lead {
    font-size: 21px;
  }

  .welcome-photo img {
    box-shadow: 10px 10px 0 var(--cream);
  }

  .video-section {
    padding-block: 70px;
  }

  .video-inner {
    gap: 62px;
  }

  .history-inner {
    padding-block: 78px;
  }

  .pastors-section,
  .memories {
    padding-block: 78px;
  }

  .gallery.is-masonry {
    gap: 10px;
  }

  .shirt-inner {
    padding-block: 76px;
  }

  .donation {
    padding-block: 78px;
  }

  .hymn-section {
    padding-block: 70px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-image-label {
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .program-card,
  .pastor-card,
  .qr-card {
    border: 2px solid var(--navy);
  }
}

.festeiros-section {
  padding-block: 88px 96px;
  background: var(--cream);
}

.festeiros-inner .memories-intro {
  margin-bottom: 30px;
}

.festeiros-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.festeiros-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  overflow: hidden;
  border: 1px solid #e6dfd1;
  background: var(--paper);
}

.festeiros-photo img {
  width: 100%;
  height: clamp(260px, 30vw, 390px);
  object-fit: cover;
}

.festeiros-card-leila .festeiros-photo {
  background: var(--cream);
}

.festeiros-card-leila .festeiros-photo img {
  object-fit: contain;
}

.festeiros-info {
  padding: clamp(24px, 5vw, 56px);
}

.festeiros-info h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .festeiros-section {
    padding-block: 72px;
  }

  .festeiros-card {
    grid-template-columns: 1fr;
  }

  .festeiros-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .festeiros-photo img {
    height: auto;
    max-height: 420px;
  }

  .festeiros-card-leila .festeiros-photo img {
    height: min(110vw, 420px);
  }

  .festeiros-info {
    padding: 24px;
  }
}

.schedule-section {
  padding-block: 96px 104px;
}

.schedule-inner {
  max-width: 1000px;
}

.schedule-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.schedule-heading h2 {
  margin-bottom: 16px;
}

.schedule-heading > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.schedule-theme {
  max-width: 620px;
  margin: 27px auto 0;
  padding: 16px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 254, 250, 0.78);
  text-align: left;
}

.schedule-theme-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-theme p {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.schedule-day {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(16, 45, 61, 0.045);
  scroll-margin-top: 120px;
}

.schedule-day > summary {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 15px;
  min-height: 116px;
  padding: 18px;
  background: var(--navy);
  cursor: pointer;
  list-style: none;
}

.schedule-day > summary::-webkit-details-marker,
.schedule-route > summary::-webkit-details-marker {
  display: none;
}

.schedule-day > summary:focus-visible,
.schedule-route > summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.schedule-date {
  display: grid;
  width: 54px;
  min-height: 60px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(223, 202, 143, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  line-height: 1;
}

.schedule-date span:first-child {
  font-family: var(--serif);
  font-size: 25px;
}

.schedule-date span:last-child {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-day-heading {
  display: grid;
  gap: 5px;
}

.schedule-day-count {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-day-theme {
  color: white;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}

.schedule-day-preview {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.5;
}

.schedule-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.schedule-toggle::before,
.schedule-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: white;
  content: "";
  transform: translate(-50%, -50%);
}

.schedule-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.schedule-day[open] .schedule-toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.schedule-content {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.schedule-events {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 5px 0 0;
  list-style: none;
}

.schedule-events li {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 13px;
  line-height: 1.55;
}

.schedule-events time {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.schedule-events small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.55;
}

.schedule-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.7;
}

.schedule-note strong {
  color: var(--gold-light);
}

.schedule-route {
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid #e8e2d6;
  background: var(--cream);
}

.schedule-route > summary {
  color: var(--navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.schedule-route > summary::before {
  display: inline-block;
  width: 17px;
  color: var(--gold);
  content: "+";
}

.schedule-route[open] > summary::before {
  content: "-";
}

.schedule-route p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.schedule-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(16, 45, 61, 0.16);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.schedule-map-link:hover {
  border-color: var(--navy);
  background: rgba(16, 45, 61, 0.06);
}

.schedule-map-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.schedule-map-note {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.schedule-day.schedule-feast {
  grid-column: 1 / -1;
}

.schedule-feast > summary {
  min-height: 126px;
}

@media (max-width: 760px) {
  .schedule-section {
    padding-block: 72px;
  }

  .schedule-heading {
    margin-bottom: 30px;
  }

  .schedule-theme {
    padding: 14px 16px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .schedule-day.schedule-feast {
    grid-column: auto;
  }

  .schedule-day > summary {
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 12px;
    min-height: 108px;
    padding: 15px;
  }

  .schedule-date {
    width: 48px;
    min-height: 56px;
  }

  .schedule-day-theme {
    font-size: 17px;
  }

  .schedule-content {
    padding: 0 15px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .schedule-toggle::after {
    transition: none;
  }
}
