/* ================================================================
   SAITH2026 — WEDDING PROGRAM PAGE STYLES
   Extends styles.css — uses same design tokens & utilities.
   ================================================================ */

/* ----------------------------------------------------------------
   BODY OVERRIDE — allow normal scrolling on this page
   ---------------------------------------------------------------- */
.program-body {
  overflow: visible !important;
}

.program-body html {
  overflow: visible !important;
}

.program-main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
}

/* ----------------------------------------------------------------
   BACK BUTTON — fixed top-left
   ---------------------------------------------------------------- */
.program-back {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: rgba(128, 0, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.30);
  color: var(--gold-500);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform  0.3s var(--ease-spring),
    box-shadow 0.3s ease;
  box-shadow: var(--shadow-gold)
  pointer-events: auto;
}

.program-back:hover {
  background: rgba(128, 0, 32, 0.98);
  transform: translateX(-3px) scale(1.04);
  box-shadow: var(--shadow-gold-lg);
}

.program-back i {
  font-size: 0.65rem;
}

/* ----------------------------------------------------------------
   SHARED ORNAMENT
   ---------------------------------------------------------------- */
.prog-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 1rem 0;
}

.prog-ornament--sm { margin: 0.5rem 0; }

.prog-ornament__line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--burgundy-400), transparent);
}

.prog-ornament__diamond {
  width: 7px;
  height: 7px;
  background: var(--burgundy-800);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------------- */
.prog-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prog-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
}

.prog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(128, 0, 32, 0.40) 0%,
    rgba(61, 10, 26, 0.65) 50%,
    rgba(0, 0, 0, 0.80) 100%
  );
  z-index: 1;
}

.prog-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
}

.prog-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}

.prog-hero__names {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.prog-hero__amp {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-500);
  margin: 0 0.2em;
  opacity: 0.8;
}

.prog-hero__date {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1.5rem;
}

.prog-hero__date i {
  color: var(--gold-500);
}

.prog-hero__scripture {
  margin-top: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.prog-hero__scripture blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.7;
}

.prog-hero__scripture cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 0.5rem;
}

.prog-hero__hashtag {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-top: 2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.60);
}

/* Scroll hint */
.prog-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.prog-scroll-hint span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}

.prog-scroll-hint__track {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.30);
  border-radius: 11px;
  display: flex;
  justify-content: center;
}

.prog-scroll-hint__dot {
  width: 4px;
  height: 4px;
  background: var(--gold-500);
  border-radius: 50%;
  margin-top: 5px;
  animation: scrollDot 2.2s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   SECTION BASE
   ---------------------------------------------------------------- */
.prog-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.prog-section--cream {
  background: var(--cream-50);
}

.prog-section--burgundy {
  background: var(--burgundy-900);
}

.prog-section__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section heading */
.prog-section__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.prog-section__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
}

.prog-section__icon-wrap--burgundy {
  background: rgba(128, 0, 32, 0.10);
  color: var(--burgundy-800);
}

.prog-section__icon-wrap--gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-500);
}

.prog-section__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.prog-section__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--burgundy-800);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* ----------------------------------------------------------------
   KINGDOM HALL — NUMBERED LIST
   ---------------------------------------------------------------- */
.prog-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prog-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: background 0.3s ease;
}

.prog-list__item:last-child {
  border-bottom: none;
}

.prog-list__item:hover {
  background: rgba(212, 175, 55, 0.05);
}

.prog-list__item--highlight {
  background: rgba(128, 0, 32, 0.04);
  border-left: 3px solid var(--burgundy-800);
  border-radius: 0.5rem;
}

.prog-list__item--highlight:hover {
  background: rgba(128, 0, 32, 0.07);
}

.prog-list__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--burgundy-800);
  color: var(--gold-500);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.prog-list__content {
  flex: 1;
}

.prog-list__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy-800);
  margin-bottom: 0.2rem;
}

.prog-list__detail {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #666;
}

.prog-list__ref {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--gold-600);
  letter-spacing: 0.05em;
}

.prog-list__theme {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--burgundy-700);
  margin-top: 0.35rem;
}

.prog-list__theme i {
  font-size: 0.7rem;
  color: var(--gold-500);
}

/* ----------------------------------------------------------------
   RECEPTION — VENUE CARD
   ---------------------------------------------------------------- */
.prog-venue-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.prog-venue-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-size: 1rem;
  flex-shrink: 0;
}

.prog-venue-card__label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.3rem;
}

.prog-venue-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.prog-venue-card__addr {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   RECEPTION — TABLE
   ---------------------------------------------------------------- */
.prog-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.prog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.prog-table thead {
  background: rgba(212, 175, 55, 0.12);
}

.prog-table th {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(212, 175, 55, 0.20);
}

.prog-table td {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.prog-table tbody tr {
  transition: background 0.3s ease;
}

.prog-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.06);
}

.prog-table tbody tr:last-child td {
  border-bottom: none;
}

.prog-table__highlight {
  background: rgba(212, 175, 55, 0.08) !important;
}

.prog-table__highlight td {
  font-weight: 500;
  color: var(--gold-400);
}

/* ----------------------------------------------------------------
   PHOTOGRAPHS — GRID
   ---------------------------------------------------------------- */
.prog-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.prog-photo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(128, 0, 32, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 0.75rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
}

.prog-photo-item:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.prog-photo-item--full {
  grid-column: 1 / -1;
  background: rgba(128, 0, 32, 0.06);
  border-color: var(--burgundy-800);
}

.prog-photo-item__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--burgundy-800);
  color: var(--gold-500);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prog-photo-item__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #555;
}

/* ----------------------------------------------------------------
   THANK YOU CARD
   ---------------------------------------------------------------- */
.prog-thankyou-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
}

.prog-thankyou-card__text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.prog-thankyou-card__text:last-of-type {
  margin-bottom: 0;
}

.prog-thankyou-card__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.75rem;
}

.prog-thankyou-card__sig {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  margin-bottom: 2rem;
}

.prog-thankyou-card__scripture {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.prog-thankyou-card__scripture blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.prog-thankyou-card__scripture cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-top: 0.5rem;
}

/* ----------------------------------------------------------------
   ARRANGEMENTS CARDS
   ---------------------------------------------------------------- */
.prog-arrange-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .prog-arrange-cards {
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.prog-arrange-card {
  flex: 1;
  max-width: 400px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,249,232,0.96));
  border: 2px solid var(--gold-500);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.prog-arrange-card:hover {
  box-shadow: 0 12px 40px rgba(128, 0, 32, 0.15);
  transform: translateY(-4px);
}

.prog-arrange-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(128, 0, 32, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.3rem;
  color: var(--burgundy-800);
}

.prog-arrange-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--burgundy-800);
  margin-bottom: 1.5rem;
}

.prog-arrange-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 1rem;
}

.prog-arrange-card__row > i {
  color: var(--gold-600);
  font-size: 0.9rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.prog-arrange-card__row p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #555;
}

.prog-arrange-card__venue {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  color: var(--burgundy-800) !important;
  margin-bottom: 0.15rem;
}

.prog-arrange-card__addr {
  font-family: var(--font-body);
  font-size: 0.85rem !important;
  color: #777 !important;
  line-height: 1.5;
}

.prog-arrange-card__link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--burgundy-800);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
  word-break: break-all;
}

.prog-arrange-card__link:hover {
  color: var(--gold-600);
}

.prog-arrange-card__id {
  font-family: var(--font-sans) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em;
  color: var(--burgundy-800) !important;
}

.prog-arrange-card__copy-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prog-arrange-card__copy-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--burgundy-900);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.prog-arrange-card__copy-btn:hover {
  transform: scale(1.15);
  background: var(--gold-400);
}

.prog-arrange-card__btn {
  margin-top: 1.5rem;
}

/* Divider between cards */
.prog-arrange-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .prog-arrange-divider {
    flex-direction: column;
    padding: 0 0.5rem;
  }
}

.prog-arrange-divider__line {
  width: 40px;
  height: 1px;
  background: rgba(212, 175, 55, 0.30);
}

@media (min-width: 768px) {
  .prog-arrange-divider__line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold-500), transparent);
  }
}

.prog-arrange-divider__text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.prog-footer {
  background: var(--burgundy-950);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.prog-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600));
}

.prog-footer__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.prog-footer__monogram {
  margin-top: 1rem;
}

.prog-footer__ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prog-footer__initials {
  font-size: 1.6rem;
}

.prog-footer__hashtag {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 400;
}

.prog-footer__date {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.35);
}

.prog-footer__back-btn {
  margin-top: 0.5rem;
}

.prog-footer__bottom {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.prog-footer__bottom p {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.20);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 640px) {
  .prog-section {
    padding: 3.5rem 0;
  }

  .prog-list__item {
    padding: 1rem;
    gap: 1rem;
  }

  .prog-photo-grid {
    grid-template-columns: 1fr;
  }

  .prog-thankyou-card {
    padding: 2rem 1.5rem;
  }

  .prog-arrange-card {
    padding: 1.5rem;
  }

  .prog-hero__content {
    padding: 3rem 1.5rem;
  }

  .program-back span {
    display: none;
  }

  .program-back {
    padding: 0.65rem 0.85rem;
  }
}

/* ----------------------------------------------------------------
   SONG LINK — clickable song references
   ---------------------------------------------------------------- */
.prog-song-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--burgundy-800);
  text-decoration: none;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.50);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.prog-song-link:hover {
  color: var(--gold-600);
  border-color: var(--gold-500);
}

.prog-song-link__icon {
  font-size: 0.7rem;
  color: var(--gold-500);
  transition: transform 0.3s var(--ease-spring);
}

.prog-song-link:hover .prog-song-link__icon {
  transform: scale(1.3) rotate(10deg);
}

/* ----------------------------------------------------------------
   TABLE ROLE LABEL
   ---------------------------------------------------------------- */
.prog-table__role {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-style: italic;
  color: var(--gold-600);
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------
   SONG LYRICS MODAL
   ---------------------------------------------------------------- */

/* Backdrop */
.song-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(61, 10, 26, 0.50);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.song-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* Modal container */
.song-modal {
  position: fixed;
  z-index: 510;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 90vw;
  max-width: 520px;
  max-height: 85vh;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 249, 232, 0.98)
  );
  border: 2px solid var(--gold-500);
  border-radius: 1.25rem;
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.30),
    0 0 30px rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity   0.35s ease,
    transform 0.35s var(--ease-spring);
}

.song-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.song-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--burgundy-800);
  color: var(--gold-500);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 2;
  transition:
    transform  0.3s var(--ease-spring),
    background 0.3s ease;
}

.song-modal__close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--burgundy-700);
}

/* Scrollable body */
.song-modal__body {
  padding: 2.5rem 2rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  text-align: center;
}

/* Custom scrollbar for modal */
.song-modal__body::-webkit-scrollbar {
  width: 4px;
}

.song-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.song-modal__body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.40);
  border-radius: 9999px;
}

/* ----------------------------------------------------------------
   MODAL CONTENT STYLING
   ---------------------------------------------------------------- */

/* Header */
.song-modal__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.song-modal__number {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.song-modal__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--burgundy-800);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.song-modal__scripture {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold-600);
}

/* Lyrics area */
.song-modal__lyrics {
  text-align: center;
}

/* Individual verse block */
.song-modal__verse {
  margin-bottom: 1.75rem;
}

.song-modal__verse:last-child {
  margin-bottom: 0.5rem;
}

/* Verse label */
.song-modal__verse-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--burgundy-600);
  margin-bottom: 0.75rem;
}

/* Chorus styling */
.song-modal__verse--chorus {
  background: rgba(128, 0, 32, 0.04);
  border-left: 3px solid var(--burgundy-800);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.song-modal__verse--chorus .song-modal__verse-label {
  color: var(--burgundy-800);
  font-weight: 600;
}

/* Pre-chorus styling */
.song-modal__verse--prechorus {
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.song-modal__verse--prechorus .song-modal__verse-label {
  color: var(--gold-600);
  font-weight: 600;
}

/* Lyric lines */
.song-modal__line {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #444;
  line-height: 1.9;
}

/* See-also reference */
.song-modal__see-also {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-style: italic;
  color: var(--gold-600);
  letter-spacing: 0.05em;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

/* ----------------------------------------------------------------
   MODAL — RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .song-modal {
    width: 95vw;
    max-height: 90vh;
    border-radius: 1rem;
  }

  .song-modal__body {
    padding: 2rem 1.25rem 1.5rem;
  }

  .song-modal__verse--chorus,
  .song-modal__verse--prechorus {
    padding: 1rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .song-modal__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}
/* ----------------------------------------------------------------
   HERO — JOIN CONF (inline, blended with hero text)
   ---------------------------------------------------------------- */
.prog-hero__conf {
  margin-top: 1.75rem;
  text-align: center;
}

.prog-hero__conf-label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255);
  margin-bottom: 0.5rem;
}

.prog-hero__conf-label i {
  color: var(--gold-500);
  font-size: 0.6rem;
}

.prog-hero__conf-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: rgba(255, 255, 255);
  text-decoration: none;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.40);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
  word-break: break-all;
}

.prog-hero__conf-link:hover {
  color: var(--gold-300);
  border-color: var(--gold-300);
}

.prog-hero__conf-id {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.prog-hero__conf-id-num {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255);
}

.prog-hero__conf-copy {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.30);
  color: var(--gold-500);
  font-size: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform  0.3s var(--ease-spring),
    background 0.3s ease,
    border-color 0.3s ease;
}

.prog-hero__conf-copy:hover {
  transform: scale(1.2);
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-500);
}

.prog-hero__conf-copy:active {
  transform: scale(0.9);
}

.prog-hero__img {
  max-width: 55%; /* Ensures it doesn't overflow on mobile */
  height: auto;    /* Maintains aspect ratio */
  display: block;  /* Removes bottom spacing */
  margin: 0 auto;  /* Centers the image if the container is wide */
}