@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #10141b;
  --panel: #181e27;
  --ivory: #f8f1e4;
  --light: #faf0de;
  --muted: #c7c5c7;
  --gold: #eac087;
  --rule: #eac08749;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--light); background: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #c08846; outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h2 { font-size: clamp(3rem, 5.8vw, 5.55rem); line-height: .9; letter-spacing: -.035em; text-wrap: balance; }
.frame { width: min(100% - 6.5rem, 80rem); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 3; padding: .75rem; background: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: #10141b; border-bottom: 1px solid #eac08722; }
.header-inner {
  min-height: 5.2rem;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "brand navigation language";
  gap: .65rem clamp(1rem, 3vw, 3rem);
}
.header-inner .wordmark { grid-area: brand; justify-self: start; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 700 1.7rem/1 var(--serif); white-space: nowrap; }
.cross {
  color: var(--gold);
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
}
.cross::before, .cross::after { content: ""; grid-area: 1 / 1; background: currentColor; }
.cross::before { width: 1.5px; height: 1.15rem; }
.cross::after { width: .75rem; height: 1.5px; transform: translateY(-.16rem); }
.header-inner nav { grid-area: navigation; display: flex; align-items: center; gap: clamp(.75rem, 2.6vw, 2.3rem); }
.header-inner nav a, .footer-links a { color: var(--muted); font-size: .9375rem; }
.header-inner nav a:hover, .footer-links a:hover { color: var(--gold); }
.languages { grid-area: language; position: relative; justify-self: end; }
.languages summary {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .8rem;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  cursor: pointer;
  font-size: .875rem;
  list-style: none;
}
.languages summary::-webkit-details-marker { display: none; }
.languages summary::after {
  content: "";
  width: .36rem;
  height: .36rem;
  margin-top: -.24rem;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
}
.languages[open] summary { border-color: var(--gold); }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--rule);
  min-width: 10rem;
  border-radius: .5rem;
  margin: 0;
  padding: .3rem;
  box-shadow: 0 .7rem 2rem #0008;
  list-style: none;
}
.language-menu a { display: flex; align-items: center; gap: .6rem; padding: .42rem .7rem; border-radius: .28rem; }
.language-flag { width: 1.3rem; height: .94rem; object-fit: contain; flex: 0 0 auto; }
.header-inner nav .facebook-nav { color: var(--gold); }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: #eac0871c; color: var(--gold); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(37rem, 54vw, 48rem); }
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #1b232f url("assets/chapel-dawn.webp") 65% 50% / cover no-repeat;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#0b1018df,#0b101893 36%,#0b101824 65%,transparent 100%),
              linear-gradient(0deg,#0c1019dc,transparent 35%);
}
.hero-inner { padding-block: 4.4rem 5.3rem; }
.hero-copy { max-width: 44rem; }
.kicker { display: flex; align-items: center; gap: .75rem; color: var(--gold); font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kicker span { width: 1.65rem; height: 1px; flex: 0 0 auto; background: currentColor; }
h1 { font-size: clamp(5.8rem, 9.9vw, 10rem); line-height: .77; letter-spacing: -.052em; margin: 1.35rem 0 1.55rem; }
h1 em { color: var(--gold); font-weight: inherit; }
.lead { max-width: 28rem; color: #e4ddd5; font-size: clamp(1rem, 1.45vw, 1.19rem); }
.sample { margin: 1.65rem 0 1.05rem; display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.preview, .chip { display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; border-radius: 2rem; }
.preview { gap: .75rem; padding: .78rem 1.3rem; border: 1px solid transparent; background: var(--gold); color: #22170e; cursor: pointer; font: 700 .9375rem/1.4 var(--sans); }
.preview:hover { background: #ffdaaa; }
.play-symbol { width: .75rem; height: .8rem; flex: 0 0 auto; clip-path: polygon(0 0, 100% 50%, 0 100%); background: currentColor; }
.preview[data-playing="true"] .play-symbol { clip-path: polygon(0 0,34% 0,34% 100%,0 100%,0 0,66% 0,100% 0,100% 100%,66% 100%,66% 0); }
.preview-meter { width: min(7rem, 18vw); height: 3px; background: #ffffff32; border-radius: 1rem; overflow: hidden; }
.preview-meter span { display: block; height: 100%; width: 0; background: var(--gold); }
.player-error { width: 100%; color: var(--muted); }
.platforms { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .9rem; border: 1px solid var(--rule); background: #151b24a8; font: 600 .875rem/1.35 var(--sans); text-align: center; }
.chip:hover { background: #eac0871c; border-color: var(--gold); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: .95rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.05rem;
}
.section-heading .kicker { margin-bottom: .8rem; }
.text-link { color: var(--gold); text-decoration: underline; text-underline-offset: .26em; font-size: .9375rem; }
.text-link:hover { color: var(--light); }
.psalms { color-scheme: light; padding-block: clamp(3rem, 6vw, 6rem); color: #211e1c; background: var(--ivory); }
.psalms-heading .kicker { color: #74512b; }
.psalms-heading > p { max-width: 23rem; color: #5f5246; }
.verses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.bible-art {
  width: 100%;
  height: 100%;
  min-height: 19rem;
  max-height: 25rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 56%;
  border-radius: .65rem;
  background: #241e1c;
}
.verse {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1.1rem, 2.8vw, 2.6rem);
  border: 1px solid #c2a68381;
  border-radius: .65rem;
  background: #fffaf2;
}
.bible-art + .verse {
  background: linear-gradient(145deg,#19212d,#111722);
  border-color: #263141;
  color: #faf0de;
  justify-content: center;
  padding: clamp(1.7rem, 4.2vw, 4rem);
}
.verse blockquote {
  color: inherit;
  font: 600 clamp(1.85rem, 3.15vw, 2.8rem)/1.02 var(--serif);
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.bible-art + .verse blockquote { font-size: clamp(2.45rem, 4.2vw, 4rem); }
.verse figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .8rem; font-size: .875rem; }
.verse-reference { font-weight: 700; color: #416078; }
.verse-edition { color: #5f5246; }
.verse-link {
  flex-basis: 100%;
  text-decoration: underline;
  text-underline-offset: .23em;
  margin-top: .22rem;
  color: #724723;
}
.bible-art + .verse .verse-reference, .bible-art + .verse .verse-link { color: var(--gold); }
.bible-art + .verse .verse-edition { color: var(--muted); }

.season { padding-block: clamp(3rem, 6.5vw, 6rem); }
.season-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 3.6rem);
  gap: clamp(1.75rem, 6vw, 6rem);
  border: 1px solid var(--rule);
  border-radius: .8rem;
  background: radial-gradient(ellipse at 10% 30%,#4b321f70,transparent 70%), linear-gradient(120deg,#242735,#141924);
}
.season img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .27rem; box-shadow: 0 .8rem 2.5rem #0007; }
.season-copy h2 { margin-block: .85rem 1.05rem; text-wrap: unset; font-size: clamp(2.7rem, 5.2vw, 5.2rem); }
.season-copy > p:not(.kicker) { color: var(--muted); max-width: 30rem; margin-bottom: 1.35rem; }

.catalog { padding-bottom: clamp(3rem, 6.5vw, 6rem); }
.albums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .95rem; }
.album { min-width: 0; padding: .6rem .6rem 1.05rem; border: 1px solid #eac08726; border-radius: .6rem; background: var(--panel); }
.album img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .28rem; }
.album h3 { margin: .8rem .2rem .65rem; font-size: 1rem; line-height: 1.24; font-weight: 700; }
.album-links { display: flex; gap: .16rem .7rem; flex-wrap: wrap; margin-inline: .2rem; }
.album-links a { font-size: .875rem; color: var(--gold); text-underline-offset: .21em; }
.album-links a:hover { text-decoration: underline; }
.support { border-block: 1px solid var(--rule); background: linear-gradient(120deg,#242630,#151a23 56%); }
.support-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); padding-block: clamp(3rem, 5vw, 5rem); }
.support-copy > * + * { margin-top: .75rem; }
.support-copy h2 { font-size: clamp(2.9rem, 5vw, 4.5rem); text-wrap: unset; }
.support-copy p { max-width: 34rem; color: var(--muted); }
.support-copy .text-link { display: inline-block; }
.transfer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  position: relative;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--rule);
  border-radius: .6rem;
  background: #10141b99;
}
.transfer-label { display: block; color: var(--gold); font-size: .875rem; letter-spacing: .1em; }
.transfer-account strong { font-size: clamp(1rem, 2vw, 1.16rem); font-variant-numeric: tabular-nums; }
.copy-iban { color: var(--light); cursor: pointer; }
.copy-status { color: var(--muted); position: absolute; top: calc(100% + .25rem); left: 0; font-size: .875rem; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.5rem; }
.footer .wordmark { font-size: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.35rem; }

@media (max-width: 66rem) {
  .frame { width: calc(100% - 4rem); }
  .albums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .header-inner { grid-template-columns: 1fr auto; grid-template-areas: "brand language" "navigation navigation"; padding-block: .62rem; }
  .header-inner nav { flex-wrap: wrap; gap: .28rem 1rem; }
}
@media (max-width: 43rem) {
  .frame { width: calc(100% - 2.35rem); }
  .wordmark { font-size: 1.36rem; gap: .48rem; }
  .header-inner nav a { font-size: .875rem; }
  .hero { align-items: end; min-height: 0; }
  .hero-art {
    inset: 0 0 auto;
    height: clamp(19rem, 76vw, 28rem);
    background-position: 77% 43%;
  }
  .hero-art::after { background: linear-gradient(0deg,var(--ink),#10141b3b 40%,#10141b0a 68%); }
  .hero-inner { padding-block: clamp(16rem, 64vw, 24rem) 2.8rem; }
  h1 { font-size: clamp(3.75rem, 14.4vw, 6.4rem); margin-block: .95rem 1.1rem; }
  .kicker { letter-spacing: .1em; }
  .section-heading { margin-bottom: 1.4rem; }
  .verses, .season-inner, .support-inner { grid-template-columns: 1fr; }
  .bible-art { min-height: 0; max-height: 20rem; }
  .bible-art + .verse, .verse { padding: 1.25rem; }
  .season-inner { max-width: 33rem; margin-inline: auto; gap: 1.25rem; }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .album { padding: .45rem .45rem .8rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 23rem) {
  .header-inner nav { gap: .15rem .66rem; }
  .chip { padding-inline: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
