:root {
  --navy: #1e2c4d;
  --cream: #faf3e6;
  --cream-deep: #f3e8d4;
  --coral: #e8875f;
  --peach: #f2ab7d;
  --gold: #d4a24c;
  --teal: #3a7d78;
  --purple: #8a6ba8;
  --ink: #2a2a2a;
  /* Matched to rebekahlyons.com. Body is the exact family (EB Garamond, Google). The other three are free stand-ins
     for paid Adobe fonts: headings/logo = ivypresto-display (light Garalde display), nav = montag (extended rounded sans),
     buttons = aktiv-grotesk-extended. If Carrie gets Creative Cloud, add her Typekit <link> and swap the names below. */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'EB Garamond', serif;
  --font-ui: 'Comfortaa', sans-serif;
  --font-btn: 'Syne', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
}

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

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* Header */
.site-head {
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
  padding: 18px 0;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.brand span { color: var(--coral); font-weight: 700; font-size: 1.9rem; }
.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links a {
  font-family: var(--font-ui);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.nav-links a.active { color: var(--coral); }

/* Hero */
.hero-shell {
  background-size: cover;
  background-position: center 40%;
}
.hero-shell .site-head {
  background: transparent;
  border-bottom: none;
}
.hero {
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.art-frame {
  display: inline-block;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.hero img.album-art {
  display: block;
  width: 560px;
  max-width: 80vw;
}
.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 10px;
}
.hero .lede {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ink);
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-btn);
  font-weight: 400;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover { background: var(--peach); text-decoration: none; }
.btn-ghost {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: #fff; text-decoration: none; }

/* Sections */
.section {
  padding: 40px 0;
}
.section.tint {
  background: var(--cream-deep);
}
.section h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.section .sub {
  font-size: 1.05rem;
}

/* Placeholder callout */
.placeholder-note {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.92rem;
  color: #6b5c3f;
  margin: 18px 0;
}

/* Song list */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.song-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  border-top: 4px solid var(--teal);
}
.song-card:nth-child(3n+2) { border-top-color: var(--coral); }
.song-card:nth-child(3n+3) { border-top-color: var(--gold); }
.song-card .num {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--purple);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.song-card h3 {
  font-size: 1.1rem;
  margin: 4px 0 6px;
}
.song-card .scripture {
  font-size: 0.9rem;
  font-style: italic;
  color: #6b6b6b;
}

/* Footer */
.site-foot {
  background: var(--navy);
  color: #e6e1d3;
  padding: 28px 0;
  margin-top: 20px;
  font-size: 0.88rem;
  text-align: center;
}
.site-foot a { color: var(--peach); }

/* Scroll-in reveal (after rebekahlyons.com's Squarespace Site Animations: slide + fade, 0.6s, staggered) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.section h1::after,
.section h2::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(30, 44, 77, 0.18);
  margin: 12px 0 4px;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .site-head .wrap { flex-direction: column; align-items: stretch; text-align: center; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 10px 16px; font-size: 0.88rem; }
}

/* Photos (Carrie's family session, Oct 2026) */
.photo-band {
  margin: 0;
}
.photo-band img {
  display: block;
  width: 100%;
  height: clamp(260px, 50vw, 560px);
  object-fit: cover;
  object-position: center 60%;
}
.split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}
.wrap.split {
  grid-template-columns: 2fr 3fr;
  align-items: center;
}
.split-img {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(30, 44, 77, 0.18);
}
.signoff {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-top: -6px;
}

/* Crossfading slideshow, driven by assets/slideshow.js */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 2 / 3;
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(30, 44, 77, 0.18);
}
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slideshow img.is-active {
  opacity: 1;
}

@media (max-width: 760px) {
  .split,
  .wrap.split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .split-img {
    max-width: 440px;
    margin: 0 auto;
  }
}

/* Home hero: badge and buttons sit on the painting under the cover */
.hero {
  flex-direction: column;
  gap: 22px;
}
.hero .badge {
  margin-bottom: 0;
}
.btn-light {
  background: var(--cream);
  color: var(--navy);
}
.btn-light:hover { background: #fff; text-decoration: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Inner-page header carries the same painting as the home hero */
.site-head.painted {
  background: url('img/shine-background-art.jpg') center 30% / cover;
  border-bottom: none;
}
/* Coral disappears into the painting's peach sky, so text on the painting uses a deeper terracotta from the same palette */
.site-head.painted .brand span,
.site-head.painted .nav-links a.active,
.hero-shell .site-head .brand span,
.hero-shell .site-head .nav-links a.active {
  color: #a8432a;
}

/* Pull-quote band */
.quote-band {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 72px 0;
}
.quote-band blockquote {
  margin: 0 auto 18px;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.25;
  text-wrap: balance;
}
.quote-band .signoff {
  color: var(--peach);
  margin: 0;
}

/* Photo tiles linking to each page */
.photo-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(30, 44, 77, 0.18);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.tile:hover img { transform: scale(1.04); }
.tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 16px 18px;
  background: linear-gradient(to top, rgba(30, 44, 77, 0.78), rgba(30, 44, 77, 0));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  text-align: center;
}
.tile:hover { text-decoration: none; }

@media (max-width: 760px) {
  .photo-tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .tile img { transition: none; }
  .tile:hover img { transform: none; }
}
@media (max-width: 640px) {
  /* The stacked mobile header is tall enough to reach the dark hills on the square painting, so zoom in and pin the strip to the sky */
  .site-head.painted { background-size: 170% auto; background-position: center 0%; }
}

/* Song lyrics: tap to open under each song card */
.song-grid { align-items: start; }
.lyrics { margin-top: 10px; border-top: 1px solid rgba(30, 44, 77, 0.12); padding-top: 8px; }
.lyrics summary {
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  list-style: none;
}
.lyrics summary::-webkit-details-marker { display: none; }
.lyrics summary::after { content: " +"; }
.lyrics[open] summary::after { content: " \2212"; }
.lyrics-body { font-size: 0.98rem; line-height: 1.6; }
.lyrics-body p { margin: 10px 0; }
.lyrics-body .lyric-label {
  margin: 14px 0 -6px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple);
}
.more-songs {
  margin-top: 22px;
  font-style: italic;
  color: #6b6b6b;
  text-align: center;
}

/* Launch event card on Home */
.section.event { padding: 48px 0; }
.event-card {
  background: #fff;
  border-top: 4px solid var(--coral);
  border-radius: 12px;
  padding: 28px 30px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(30, 44, 77, 0.12);
  max-width: 720px;
  margin: 0 auto;
}
.event-card h2 { margin: 6px 0 10px; }
.event-card h2::after { margin: 12px auto 4px; max-width: 120px; }
.event-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--coral);
}
.event-when {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.5;
  margin: 0 0 6px;
}
.event-card .cta-row { margin-top: 18px; }


/* Lyrics pizazz (Oct 16): open card spans the full row; lyrics set like a song sheet in the album palette */
.song-grid { grid-template-columns: 1fr; gap: 14px; }
.song-card { position: relative; padding: 20px 24px; transition: box-shadow 0.4s ease; }
.song-card h3 { font-size: 1.3rem; margin: 2px 0 2px; padding-right: 210px; }
.song-card .scripture { margin: 0; }
.song-card:has(details[open]) { box-shadow: 0 18px 40px rgba(30, 44, 77, 0.14); }
.lyrics summary {
  position: absolute;
  top: 26px;
  right: 24px;
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
  transition: background 0.3s ease, color 0.3s ease;
}
.lyrics summary:hover, .lyrics[open] summary { background: var(--teal); color: #fff; }
.lyrics summary::after { content: none; }
.lyrics .lyrics-close { display: none; }
.lyrics[open] .lyrics-open { display: none; }
.lyrics[open] .lyrics-close { display: inline; }
.lyrics { border-top: none; padding-top: 0; }
.lyrics-body {
  margin-top: 18px;
  padding: 26px 28px;
  border-radius: 10px;
  background:
    linear-gradient(rgba(250, 243, 230, 0.90), rgba(250, 243, 230, 0.94)),
    url('img/shine-background-art.jpg') center 35% / cover;
  column-count: 2;
  column-gap: 40px;
  font-size: 1.08rem;
  line-height: 1.7;
  animation: lyrics-in 0.5s ease;
}
@keyframes lyrics-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.stanza { break-inside: avoid; margin: 0 0 18px; }
.stanza p { margin: 0; }
.stanza-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 12px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: var(--purple);
  color: #fff;
}
.stanza.chorus {
  background: #fff;
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 6px 16px rgba(232, 135, 95, 0.15);
}
.stanza.chorus .stanza-label { background: var(--coral); }
.stanza.chorus p {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}
.stanza-repeat {
  break-inside: avoid;
  margin: -6px 0 18px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--coral);
}
.stanza-repeat::before { content: "\21BB  "; }
.echo { color: var(--teal); font-style: italic; }
.tag-together, .tag-repeat {
  display: inline-block;
  padding: 0 9px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  vertical-align: 2px;
  background: var(--gold);
  color: #fff;
}
.tag-repeat { background: var(--teal); }
@media (max-width: 640px) {
  .lyrics-body { column-count: 1; padding: 20px 18px; }
  .song-card h3 { padding-right: 0; }
  .lyrics summary { position: static; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lyrics-body { animation: none; }
}
