:root {
  --navy: #0d1e34;
  --blue: #213a5b;
  --white: #fffdf7;
  --cream: #f8f3e8;
  --gold: #f0cc82;
  --red: #f17570;
  --rule: #d7c8aa;
  --gold-ink: #765321;
  --serif: "Instrument Serif", Georgia, serif;
  --hero-serif: "STIX Two Text", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(1.25rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 1.25rem/1.55 var(--sans); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(3rem, 5.2vw, 5rem); line-height: 1; }
h3 { font-size: clamp(2.25rem, 3.1vw, 3rem); line-height: 1.05; }
a { color: inherit; text-underline-offset: .22em; }
button, select { font: inherit; }
button { cursor: pointer; }
a, button, select { touch-action: manipulation; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: .4rem; background: var(--gold); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; }
[tabindex="-1"]:focus-visible { outline-offset: -4px; }
section, #music { scroll-margin-block-start: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }
.dark { --gold-ink: var(--gold); background-color: var(--navy); color: var(--white); }
.section-pad { padding-block: clamp(4rem, 8vw, 7rem); }
.section-title { text-wrap: balance; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { display: block; flex: none; width: 1.3em; height: 1.3em; }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #dfc28942;
}

.header-row {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: .6rem 1.5rem;
  width: min(100% - 2 * clamp(1rem, 2.6vw, 2.5rem), 94rem);
  min-height: clamp(4.75rem, 7.7vw, 5.625rem);
  margin-inline: auto;
  padding-block: .55rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .68rem;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1.15;
  text-decoration: none;
}

.seal {
  display: block;
  flex: none;
  width: 3.15rem;
  aspect-ratio: 1;
  background: url("img/cross.svg") center / contain no-repeat;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(.55rem, 2.3vw, 2.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .25rem;
  font-size: 1.125rem;
  text-decoration: none;
}

.site-nav a[aria-current]::after {
  position: absolute;
  inset: auto .25rem -.08rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
}

.language { position: relative; justify-self: end; }

.language::after {
  position: absolute;
  right: .82rem;
  top: calc(50% - .29rem);
  width: .46rem;
  height: .46rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  color: var(--white);
  transform: rotate(45deg);
  pointer-events: none;
  content: "";
}

.language select, .menu-toggle {
  min-height: 2.75rem;
  border: 1px solid #9aabbc;
  border-radius: .55rem;
  color: var(--white);
  background: var(--navy);
}

.language select {
  appearance: none;
  color-scheme: dark;
  padding: .25rem 1.95rem .25rem .8rem;
  font-size: 1.05rem;
  cursor: pointer;
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 63% 28%, #705845, transparent 45%), #10243c;
}

.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 88%;
}

.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right top; }

.hero-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #10243c 0%, #10243cf5 7%, #10243c64 22%, transparent 38%),
    linear-gradient(90deg, #0d2138 1%, #0d2138f2 24%, #0d2138d9 39%, #0d2138b0 51%, #0d21381f 65%, transparent 76%);
  content: "";
}

.hero-content {
  width: min(100% - 2 * var(--gutter), 81rem);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 4.35vw, 3.65rem) 2.4rem;
}

.hero-copy {
  max-width: min(45rem, 56vw);
  font-size: clamp(1.3rem, 2.55vw, 1.9375rem);
  line-height: 1.25;
}

.hero h1 {
  font: 400 clamp(2.85rem, 6.7vw, 5.5rem)/.98 var(--hero-serif);
  letter-spacing: -.037em;
  margin-bottom: .27em;
}

.hero h1 span { color: var(--red); }
.hero-longing { max-width: 35rem; margin-bottom: .56em; }

.hero-verse {
  max-width: 33.5rem;
  margin-block: .95em .76em;
  padding-inline-start: .88em;
  border-inline-start: 2px solid var(--gold);
}

.hero-verse blockquote { font: italic 1.22em/1.2 var(--hero-serif); }
.hero-verse figcaption { margin-top: .38em; color: var(--gold); font-size: .78em; font-weight: 600; }

.song {
  width: min(100%, 53rem);
  margin-top: clamp(1.65rem, 2.75vw, 2.25rem);
}

.song-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .55rem clamp(.65rem, 1.4vw, 1.15rem);
  min-height: 5.75rem;
  padding: .58rem clamp(.65rem, 1.5vw, 1.05rem);
  border: 1px solid #899caf;
  border-radius: 1rem;
  background: #0d2138f5;
  box-shadow: 0 .35rem 1.15rem #08172538;
}

.song[data-enhanced] .song-card { grid-template-columns: auto auto max-content minmax(3rem, 1fr) max-content auto; }
.song-art {
  position: relative;
  overflow: hidden;
  width: clamp(3rem, 7.3vw, 5.3rem);
  aspect-ratio: 1;
  border-radius: .6rem;
  background:
    radial-gradient(ellipse at 49% 64%, #fff1b4 0 6%, #eabd76 12%, #d5874c66 28%, transparent 55%),
    linear-gradient(166deg, #172c47 5%, #48657e 29%, #e5b079 49%, #473e3d 85%);
}

.song-art::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(152deg, #80603b, #101e2c 71%);
  clip-path: polygon(0 88%, 14% 85%, 26% 76%, 38% 74%, 49% 64%, 62% 76%, 77% 81%, 100% 91%, 100% 100%, 0 100%);
  content: "";
}

.song-art::after {
  position: absolute;
  width: 31%;
  height: 48%;
  top: 17%;
  left: 34.5%;
  background:
    linear-gradient(#241c18, #241c18) center / 14% 100% no-repeat,
    linear-gradient(#241c18, #241c18) center 31% / 100% 11% no-repeat;
  content: "";
}

.song-label h2 { font: 650 clamp(1.15rem, 2.15vw, 1.6rem)/1.08 var(--sans); }
.song-label p { margin-top: .23rem; font-size: clamp(.875rem, 1.4vw, 1.065rem); line-height: 1.2; }
.song:not([data-enhanced]) :is(.song-wave, .song-time) { display: none; }
.song-card audio { grid-column: 1 / -1; width: 100%; }
.song-wave { display: block; width: 100%; height: clamp(1.8rem, 4vw, 3rem); }
#full-wave, [data-full] #clip-wave { display: none; }
[data-full] #full-wave { display: initial; }
.song-time { font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.player-control {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  color: var(--gold);
  background: transparent;
}

.player-control svg { width: 1.92rem; height: 1.92rem; }
.song-play {
  width: clamp(2.75rem, 5vw, 3.6rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(#f7da96, #e9b65d);
}

.song-mute { border-radius: .45rem; }
.player-control :is(.pause-icon, .volume-off),
[data-playing] .play-icon, [data-muted] .volume-on { display: none; }
[data-playing] .pause-icon, [data-muted] .volume-off { display: block; }

.song-switch {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 .15rem;
  border: 0;
  border-radius: .125rem;
  color: var(--gold);
  background: transparent;
  font-size: 1.05rem;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .43rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
}

.button-outline { border-color: currentColor; background: transparent; color: inherit; }
.button-navy { background: var(--navy); color: var(--white); }
:is(.button, .player-control) { transition: transform 140ms var(--ease-out); }
:is(.button, .player-control):active:not(:focus-visible) { transform: scale(.98); }

.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(.8rem, 2.7vw, 2rem);
  margin: .18rem .55rem 0;
}

.hero-actions .button {
  min-height: clamp(3.5rem, 7.1vw, 5.25rem);
  padding: .65rem .7rem;
  border-radius: 1rem;
  background: linear-gradient(#f7d99d, #e9b865);
  font-size: clamp(1.3rem, 2.7vw, 2.12rem);
}

.hero-actions .button:first-child .icon { width: .73em; height: .73em; }
.hero-actions .button-outline { border: 2px solid #f2d697; background: #0d2138e8; }

.hero-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .48em;
  margin-top: .66em;
  color: var(--gold);
  font: italic clamp(1.28rem, 2.75vw, 2.05rem)/1.24 var(--hero-serif);
  text-align: center;
}

.hero-note .icon { width: 1.3em; height: 1.3em; }

.topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100% - 2 * clamp(.8rem, 3.55vw, 3.5rem), 86rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.25vw, 2.6rem) 0 clamp(1.75rem, 4.7vw, 4rem);
  list-style: none;
  text-align: center;
}

.topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 .75rem;
  font-size: clamp(1.05rem, 2.05vw, 1.45rem);
  line-height: 1.16;
}

.topic + .topic { border-inline-start: 1px solid var(--rule); }
.topic a { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.topic .icon { width: clamp(2.25rem, 5vw, 4.1rem); height: auto; aspect-ratio: 1; color: #5a401a; }
.topic-title { margin-block: .24em .16em; font: 400 1.45em/1.1 var(--hero-serif); }
.topic-title + span { max-width: 19ch; }
.topic small { margin-top: .65rem; color: var(--gold-ink); font-size: .875rem; }
.topic a:focus-visible .topic-title { text-decoration: underline; }

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover, .song-mute:hover { color: var(--gold); }
  .song-mute:hover { background: #ffffff13; }
  .button:hover { background: #f8dfaa; }
  .button-outline:hover { background: #76532116; }
  .dark .button-outline:hover { background: #dfc28920; }
  .button-navy:hover { background: var(--blue); }
  .hero-actions .button:first-child:hover, .song-play:hover { background: #f9dda5; }
  .hero-actions .button-outline:hover { background: #223956; }
  .song-switch:hover { color: #fff0c6; }
  .topic a:hover .topic-title { text-decoration: underline; }
}

.message { background: var(--white); }
.message-grid, .prayer-grid, .request-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6.5rem);
}
.message-grid { margin-top: clamp(1.9rem, 4vw, 3.6rem); }
.points {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style-type: none;
  counter-reset: point;
}
.points li {
  position: relative;
  padding: 1.05rem 0 1.05rem 2.55rem;
  border-bottom: 1px solid var(--rule);
  counter-increment: point;
}
.points li::before {
  content: counter(point) '.';
  position: absolute;
  top: 1.2rem;
  left: 0;
  color: var(--gold-ink);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.message-aside {
  align-self: start;
  padding: clamp(1.5rem, 3.2vw, 3rem);
  border-top: 2px solid var(--rule);
  background: var(--cream);
}
.message-aside h3 { margin-bottom: .85rem; }
.message-aside h3:not(:first-child) { margin-top: 1.6rem; padding-top: 1.45rem; border-top: 1px solid var(--rule); }
.message-aside p + p { margin-top: .9rem; }

.prayer {
  background-image: radial-gradient(ellipse at 75% 32%, var(--blue), transparent 72%);
  border-block: 1px solid #dfc28960;
}
.prayer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.prayer-intro .seal { margin-bottom: 1.35rem; }
.prayer-intro p { margin-top: .8rem; color: var(--gold); }
.prayer-text {
  padding-left: clamp(1.25rem, 3vw, 2.75rem);
  border-left: 1px solid #dfc289a8;
}
.prayer-text blockquote { font: 400 clamp(1.9rem, 3.15vw, 2.75rem)/1.2 var(--serif); }
.prayer-text .button { margin-top: 1.65rem; }

.request-grid { align-items: start; }
.request-intro > p { margin-top: 1.15rem; }
.scripture { color: var(--gold-ink); font-weight: 650; }
.request-intro .actions { margin-top: 1.5rem; }
.request-intro .service-note { font-size: 1.0625rem; }
.promises {
  padding: clamp(1.45rem, 3.2vw, 3rem);
  border: 1px solid var(--rule);
  background: var(--white);
}
.promises ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.promises li { padding-top: .85rem; border-bottom: 1px solid var(--rule); }
.promises h4 { margin: 0 0 .35rem; font: 650 1em/1.25 var(--sans); }
.promises a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2.8rem;
  padding-block: .4rem;
}
.promises a::after {
  content: "";
  flex: none;
  width: .45rem;
  height: .45rem;
  border: solid var(--gold-ink);
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}

.contact { border-top: 1px solid var(--rule); background: var(--white); }
.contact-grid { align-items: center; }
.closing-title { margin-bottom: .7rem; }
.closing-copy { max-width: 33ch; }
.contact-details { padding-left: clamp(1.25rem, 4vw, 3rem); border-left: 1px solid var(--rule); }
.contact-details p { margin-top: .7rem; }
.contact-details address { margin-top: 1rem; font-style: normal; }
.contact-details address a { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.contact-details address a + a { margin-top: .5rem; }

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 2rem;
  min-height: 5rem;
  padding-block: 1.15rem;
  font-size: 1rem;
}
.footer-row .seal { width: 1.85rem; }
.footer-row .wordmark { font-size: .9375rem; }
.mobile-chat { display: none; }

@media (max-width: 51rem) {
  html { scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .header-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .55rem;
    min-height: 4.3rem;
  }
  .header-row .wordmark { grid-area: 1 / 1; font-size: .84rem; gap: .45rem; }
  .header-row .seal { width: 2.15rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; }
  .language { grid-area: 1 / 3; }
  .language select { padding-inline: .63rem 1.62rem; font-size: .96rem; }
  .language::after { right: .63rem; }
  .menu-toggle:not([hidden]) {
    grid-area: 1 / 2;
    display: grid;
    place-items: center;
    width: 2.75rem;
    padding: 0;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 1.1rem; height: 1.5px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
  .menu-icon::before { top: -.34rem; }
  .menu-icon::after { top: .34rem; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .header-row[data-menu] .site-nav {
    position: absolute;
    top: calc(100% + .38rem);
    right: 1rem;
    width: min(17rem, 100% - 2rem);
    max-height: calc(100dvh - 10rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: .4rem;
    border: 1px solid #9aabbd;
    border-radius: .65rem;
    background: var(--navy);
    box-shadow: 0 .75rem 2rem #0a142c50;
  }
  .header-row[data-menu] .site-nav ul { display: block; }
  .header-row[data-menu] .site-nav a { padding-inline: .7rem; }
  .header-row[data-menu] .site-nav a[aria-current]::after { right: auto; left: .7rem; bottom: .25rem; width: 1.3rem; }
  .header-row[data-menu] .site-nav a:focus-visible { outline-offset: -2px; }
  .header-row[data-menu] .menu-toggle[aria-expanded="false"] + .site-nav { display: none; }
  .hero-photo { height: clamp(19rem, 66vw, 34rem); }
  .hero-photo img { object-position: right 12%; }
  .hero-photo::after {
    background:
      linear-gradient(0deg, #10243c 0%, #10243cf0 15%, #10243c2b 61%, transparent 82%),
      linear-gradient(90deg, #10243cb5 0, #10243c50 40%, transparent 83%);
  }
  .hero-content { padding-block: clamp(12.2rem, 45vw, 22rem) 2rem; }
  .hero-copy { max-width: 42rem; font-size: clamp(1.27rem, 3.5vw, 1.75rem); }
  .hero h1 { font-size: clamp(2.2rem, 10.55vw, 5rem); margin-bottom: .3em; }
  .hero-verse { margin-block: .95em .85em; }
  .hero-actions { margin-inline: 0; }
  .hero-actions .button { border-radius: .72rem; }
  .hero-note { margin-top: .82em; }
  .message-grid, .prayer-grid, .request-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .points li { padding-block: .95rem; }
  .prayer-grid { gap: 1.5rem; }
  .contact-details { padding: 1.6rem 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .mobile-chat {
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    display: block;
    padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom));
    border-top: 1px solid #dfc28960;
    box-shadow: 0 -.3rem 1.2rem #101f3626;
  }
  .mobile-chat .button { width: 100%; }
}

@media (max-width: 36rem) {
  .song-card { gap: .35rem .55rem; border-radius: .85rem; }
  .song[data-enhanced] .song-card { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .song-wave { grid-column: 1 / 4; grid-row: 2; height: 1.5rem; }
  .song-time { grid-column: 4; grid-row: 2; justify-self: end; font-size: .81rem; }
  .song-mute { grid-column: 4; grid-row: 1; justify-self: end; }
  .song-mute svg { width: 1.55rem; height: 1.55rem; }
  .song-play svg { width: 1.5rem; height: 1.5rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 1.25rem 1.65rem; }
  .topic { padding: .8rem .45rem 1rem; }
  .topic:nth-child(3) { border-inline-start: 0; }
  .topic:nth-child(n + 3) { border-top: 1px solid var(--rule); padding-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.button, .player-control) { transition: none; }
  :is(.button, .player-control):active { transform: none; }
}
