:root {
  --bg: #f5efe7;
  --bg-deep: #eadbc8;
  --card: rgba(255, 252, 247, 0.92);
  --text: #2d241e;
  --muted: #65584c;
  --accent: #7c533d;
  --accent-soft: #b78d72;
  --accent-light: #efe4da;
  --success: #47694f;
  --success-soft: #e7f1e5;
  --danger: #904745;
  --border: #e7d8ca;
  --shadow: 0 12px 30px rgba(61, 41, 24, 0.08);
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-border: #d8c4b2;
  --ghost-bg: rgba(255, 251, 246, 0.65);
  --card-light: rgba(255, 255, 255, 0.7);
  --request-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(252, 245, 238, 0.9));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: #1b120f;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 14, 10, 0.48), rgba(22, 14, 10, 0.72)),
    url("/home-hero-reference.png") center / cover no-repeat;
  filter: blur(12px);
  transform: scale(1.08);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(247, 187, 103, 0.12), rgba(247, 187, 103, 0) 30%);
  z-index: -1;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  margin-top: 0;
}

body.page-inner {
  padding-bottom: 6.5rem;
}

body.page-home {
  padding-bottom: 6.5rem;
}



a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(245, 235, 223, 0.95));
  border-bottom: 1px solid rgba(208, 183, 154, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
}

.site-header a {
  color: var(--text);
}

.site-header a:hover {
  color: var(--accent);
}

.site-header .container {
  padding: 1rem 0;
}

.page-home .site-header {
  display: none;
}

.page-home .site-footer {
  display: none;
}

.page-home main.container {
  position: relative;
  z-index: 1;
  width: min(1280px, 94vw);
  padding: 1rem 0 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.logo-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(61, 41, 24, 0.12));
}

.logo-text {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: inherit;
  transition: 0.2s;
}

main {
  padding: 2rem 0 4rem;
}

.hero {
  margin: 1rem 0 1.5rem;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.page-hero,
.hero-copy,
.verse-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 0.4rem 0 0.8rem;
}

.hero.small h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hero-text {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 42rem;
}

.home-marquee {
  position: relative;
  min-height: 420px;
  margin: 1rem 0 1rem;
  overflow: hidden;
  background: #2e211a;
}

.home-marquee::before {
  content: none;
}

.home-marquee::after {
  content: none;
}

.home-marquee-image {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-stage {
  padding-top: 1rem;
}

.home-page-grid {
  display: block;
}

.home-showcase {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(225, 206, 185, 0.65);
  background: rgba(255, 249, 241, 0.96);
  box-shadow: 0 24px 54px rgba(15, 9, 7, 0.28);
}

.home-showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(245, 235, 223, 0.95));
  border-bottom: 1px solid rgba(208, 183, 154, 0.5);
}

.home-showcase-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.home-showcase-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.home-showcase-brand-name {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #5d3a24;
  font-family: Georgia, "Times New Roman", serif;
}

.home-showcase-brand-tag {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  color: #8b6d56;
}

.home-showcase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-showcase-nav a {
  color: #4c3426;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

.home-showcase-strip {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #86644c;
  background: rgba(252, 244, 235, 0.95);
  border-bottom: 1px solid rgba(208, 183, 154, 0.35);
}

.home-showcase-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, rgba(78, 47, 29, 0.98), rgba(49, 29, 20, 0.98));
  border-top: 1px solid rgba(226, 192, 144, 0.16);
  color: rgba(255, 238, 219, 0.88);
}

.home-showcase-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.home-showcase-bottom-links a {
  color: rgba(255, 238, 219, 0.88);
  text-decoration: none;
}

.home-donation-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9ab5a, #ba7a2b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 18px rgba(20, 11, 8, 0.28);
  color: #fff8ef;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-showcase-bottom-copy {
  margin: 0;
  font-size: 0.88rem;
  text-align: right;
}

.home-cafe-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.home-cafe-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 227, 180, 0.08), rgba(255, 227, 180, 0) 26%),
    linear-gradient(90deg, rgba(27, 16, 10, 0.45) 0%, rgba(27, 16, 10, 0.14) 28%, rgba(27, 16, 10, 0.14) 72%, rgba(27, 16, 10, 0.42) 100%),
    linear-gradient(180deg, rgba(27, 16, 10, 0.1), rgba(27, 16, 10, 0.36));
}

.home-cafe-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

.home-cafe-hero-copy {
  position: absolute;
  left: 50%;
  bottom: 11rem;
  z-index: 1;
  width: min(720px, 82%);
  max-width: 720px;
  transform: translateX(-50%);
  text-align: center;
  color: #fff6eb;
}

.home-cafe-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.04;
  color: #fffaf4;
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.home-cafe-hero-subtitle {
  margin: 0.65rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  color: rgba(255, 244, 232, 0.92);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.home-cafe-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  margin-top: -54px;
  padding: 1.15rem 1rem 1rem;
  background: rgba(255, 248, 240, 0.92);
}

.home-feature-grid::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 246, 236, 0.94));
  border-top-left-radius: 140px 50px;
  border-top-right-radius: 140px 50px;
}

.home-feature-card {
  overflow: hidden;
  position: relative;
  z-index: 1;
  transform: translateY(-88px);
  border-radius: 18px;
  border: 1px solid rgba(171, 128, 85, 0.72);
  background: linear-gradient(180deg, #50311f, #2a1811);
  box-shadow:
    0 24px 42px rgba(38, 22, 15, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-feature-card::before,
.home-feature-card::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 229, 170, 0.95), rgba(255, 182, 81, 0.32) 56%, rgba(255, 182, 81, 0));
  box-shadow: 0 0 18px rgba(255, 192, 104, 0.35);
  pointer-events: none;
}

.home-feature-card::before {
  left: -4px;
}

.home-feature-card::after {
  right: -4px;
}

.home-feature-title {
  padding: 1rem 1.1rem 0.9rem;
  text-align: center;
  color: #fff7ea;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(121, 78, 43, 0.9), rgba(83, 52, 31, 0.92));
  border-bottom: 1px solid rgba(227, 187, 138, 0.28);
}

.home-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1rem;
}

.home-feature-music .home-feature-body {
  color: #fff5ea;
  background: linear-gradient(180deg, #4a2e20, #231411);
}

.home-feature-prayer,
.home-feature-burn {
  display: flex;
  flex-direction: column;
}

.home-feature-prayer .home-feature-body {
  background: linear-gradient(180deg, #fff8ef, #e9d1b6);
}

.home-feature-burn .home-feature-body {
  color: #fff2e1;
  background: linear-gradient(180deg, #231411, #382219 65%, #231411);
}

.home-feature-page-link {
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.18s ease, filter 0.18s ease;
}

/* Prayer + Paid in Full: image grows to fill card; minimal padding */
.home-feature-prayer .home-feature-page-link,
.home-feature-burn .home-feature-page-link {
  display: grid;
  padding: 0.35rem 0 0.55rem;
  gap: 0.35rem;
}

.home-feature-prayer .home-feature-page-link {
  grid-template-rows: 180px auto auto;
  position: relative;
}

.home-feature-burn .home-feature-page-link {
  grid-template-rows: auto minmax(200px, 1fr) auto;
}

.home-feature-prayer .home-feature-lead,
.home-feature-prayer .home-feature-link-hint,
.home-feature-burn .home-feature-lead,
.home-feature-burn .home-feature-link-hint {
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

.home-feature-page-link:hover {
  filter: brightness(1.03);
}

.home-feature-page-link:focus-visible {
  outline: 2px solid rgba(214, 168, 98, 0.95);
  outline-offset: 2px;
}

.home-feature-link-hint {
  margin-top: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #5c3d2a;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-feature-link-hint-light {
  color: rgba(255, 236, 210, 0.92);
}

.home-feature-lead {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  color: #3b2b20;
}

/* Prayer card lead: white text over the dark image gradient */
.home-feature-prayer .home-feature-lead {
  color: #fff5eb;
  font-size: 0.98rem;
  padding: 0.6rem 0.75rem 0.2rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.home-feature-prayer .home-feature-link-hint {
  position: relative;
  z-index: 1;
  color: rgba(255, 226, 190, 0.95);
  font-size: 0.85rem;
  padding-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.home-feature-lead-light {
  color: #fff1dd;
}

.home-music-player {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.08), rgba(255, 248, 239, 0.03));
  border: 1px solid rgba(255, 224, 193, 0.12);
}

.home-album-art {
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 185, 100, 0.25), rgba(86, 47, 31, 0.28)),
    url("/logo-accent.png") center / 70% no-repeat;
  border: 1px solid rgba(255, 223, 194, 0.14);
  min-height: 98px;
}

.home-music-copy h3 {
  margin: 0.25rem 0;
  font-size: 1.35rem;
  color: #fff8f0;
}

.home-player-description {
  margin: 0.35rem 0 0;
  line-height: 1.45;
  color: rgba(255, 232, 210, 0.82);
}

.home-waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.24rem;
  height: 58px;
  width: 100%;
  margin: 0.35rem 0 0.55rem;
  padding: 0.35rem 0.5rem;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.05), rgba(255, 248, 239, 0.02));
  border: 1px solid rgba(255, 224, 193, 0.12);
}

.home-waveform span {
  width: 6px;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe4ae, #d28a3c 54%, #845121);
  box-shadow: 0 0 10px rgba(242, 183, 99, 0.2);
  animation: none;
  transform-origin: center bottom;
}

.home-feature-music.is-playing .home-waveform span {
  animation: homeWavePulse 1.6s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes homeWavePulse {
  0%, 100% {
    transform: scaleY(0.68);
    opacity: 0.75;
  }

  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

.home-playlist .playlist-item {
  background: rgba(255, 251, 246, 0.08);
  border-color: rgba(255, 229, 198, 0.14);
  color: #fff6eb;
}

.home-playlist .playlist-item.active {
  background: rgba(255, 214, 167, 0.2);
  border-color: rgba(255, 221, 181, 0.42);
}

.home-feature-button {
  display: block;
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.home-prayer-card-image {
  display: block;
  width: 100%;
  height: 180px;
  min-height: 0;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0;
  border: none;
  position: relative;
}

/* Dark gradient overlay so text is always readable */
.home-feature-prayer .home-feature-page-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 12, 8, 0) 40%,
    rgba(20, 12, 8, 0.72) 80%,
    rgba(20, 12, 8, 0.88) 100%
  );
  pointer-events: none;
  border-radius: 0;
}

.home-form-preview {
  display: grid;
  gap: 0.45rem;
}

.home-form-preview label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #4a3628;
}

.home-form-line,
.home-form-box,
.home-burn-input {
  border-radius: 10px;
  border: 1px solid rgba(202, 174, 144, 0.8);
  background: #fffefa;
  color: #5a4636;
}

.home-form-line {
  padding: 0.65rem 0.8rem;
}

.home-form-box {
  min-height: 84px;
  padding: 0.7rem 0.8rem;
  line-height: 1.4;
}

.home-burn-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 183, 92, 0.16), rgba(255, 183, 92, 0) 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.4));
}

.home-burn-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 8, 5, 0.08), rgba(15, 8, 5, 0.54)),
    radial-gradient(circle at 72% 26%, rgba(246, 195, 127, 0.1), rgba(246, 195, 127, 0) 16%);
}

.home-burn-visual-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-burn-cross {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 42px;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 220, 153, 0.98), rgba(255, 186, 87, 0.78));
  clip-path: polygon(40% 0%, 60% 0%, 60% 28%, 100% 28%, 100% 43%, 60% 43%, 60% 100%, 40% 100%, 40% 43%, 0% 43%, 0% 28%, 40% 28%);
  filter: drop-shadow(0 0 16px rgba(255, 195, 102, 0.62));
}

.home-burn-form-preview {
  margin: 0;
}

.home-feature-burn .home-burn-form-preview {
  padding: 0.45rem;
  border-radius: 14px;
  background: rgba(255, 247, 237, 0.08);
  border: 1px solid rgba(255, 224, 193, 0.12);
}

.home-burn-input {
  padding: 0.8rem 0.95rem;
  font-size: 0.96rem;
  font-weight: 500;
}

.home-burn-countdown {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 247, 237, 0.06);
  border: 1px solid rgba(255, 224, 193, 0.1);
}

.home-burn-countdown .countdown {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff7ee;
}

.home-feature-burn .home-feature-button {
  background: linear-gradient(180deg, #ddb362, #b8792f);
  color: #fff8ef;
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 24px rgba(26, 15, 10, 0.22);
}

.page-home .button.small {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.home-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-panel {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(92, 58, 37, 0.96), rgba(54, 34, 24, 0.98));
  color: #fff6eb;
  border: 1px solid rgba(143, 106, 71, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 32px rgba(61, 41, 24, 0.16);
}

.home-panel .eyebrow,
.home-panel .meta,
.home-panel .panel-description,
.home-panel .ritual-verse {
  color: rgba(255, 235, 214, 0.86);
}

.home-panel h2 {
  margin: 0.35rem 0 0.8rem;
  color: #fff8f0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.music-panel-player,
.prayer-panel-preview {
  margin-bottom: 1rem;
}

.music-panel-player {
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.16), rgba(255, 248, 239, 0.08));
  border: 1px solid rgba(255, 219, 184, 0.14);
}

.panel-now-playing {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 224, 194, 0.85);
}

.music-panel-player h3 {
  margin: 0.3rem 0 0.25rem;
}

.panel-description {
  line-height: 1.5;
}

.panel-playlist .playlist-item {
  background: rgba(255, 251, 246, 0.1);
  border-color: rgba(255, 229, 198, 0.14);
  color: #fff7ef;
}

.panel-playlist .playlist-item.active {
  background: rgba(255, 214, 167, 0.18);
  border-color: rgba(255, 221, 181, 0.38);
}

.panel-playlist .playlist-item small {
  color: rgba(255, 233, 211, 0.72);
}

.prayer-panel-preview {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.16), rgba(255, 248, 239, 0.08));
  border: 1px solid rgba(255, 219, 184, 0.14);
}

.prayer-preview-line,
.prayer-preview-box {
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.92);
}

.prayer-preview-line {
  height: 2.5rem;
}

.prayer-preview-line.short {
  width: 72%;
}

.prayer-preview-box {
  height: 5.5rem;
}

.home-fire-altar {
  margin-bottom: 1rem;
}

.prayer-panel .button,
.ritual-panel .button {
  align-self: flex-start;
  margin-top: auto;
}

.home-bottom-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.home-bottom-card {
  min-height: 100%;
}

.home-bottom-verse {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
}

.home-closing h2 {
  margin: 0.35rem auto 0.85rem;
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.06;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.verse-card {
  display: grid;
  align-content: center;
}

.brand-card {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 1rem;
}

.hero-logo {
  width: min(100%, 280px);
  display: block;
  filter: drop-shadow(0 16px 28px rgba(61, 41, 24, 0.14));
}

.verse-card blockquote {
  margin: 0.75rem 0;
  font-size: 1.35rem;
  line-height: 1.4;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Homepage-specific cards need to override generic card styling. */
.card.home-marquee {
  padding: 0;
  border-radius: 26px;
  border: 1px solid rgba(143, 106, 71, 0.28);
  background:
    linear-gradient(180deg, rgba(34, 22, 16, 0.12), rgba(34, 22, 16, 0.42)),
    radial-gradient(circle at 50% 30%, rgba(246, 195, 127, 0.18), rgba(246, 195, 127, 0) 22%),
    linear-gradient(180deg, #6d4a34 0%, #503625 52%, #2e2019 100%);
  box-shadow: 0 18px 44px rgba(61, 41, 24, 0.18);
}

.card.home-panel {
  position: relative;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(92, 58, 37, 0.96), rgba(54, 34, 24, 0.98));
  color: #fff6eb;
  border: 1px solid rgba(143, 106, 71, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 32px rgba(61, 41, 24, 0.16);
}

.card.home-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(236, 207, 169, 0.12);
  pointer-events: none;
}

.card.home-bottom-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 239, 228, 0.96));
  border: 1px solid rgba(231, 216, 202, 0.95);
}

.grid,
.stats-grid,
.note-grid {
  display: grid;
  gap: 1rem;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.stat-card {
  background: rgba(255, 251, 246, 0.95);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.stat-number,
.stat-inline {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.section-heading,
.item-topline,
.badge-row,
.inline-form,
.footer-grid {
  display: flex;
  gap: 0.75rem;
}

.section-heading,
.item-topline,
.footer-grid {
  justify-content: space-between;
  align-items: flex-start;
}

.badge-row {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.now-playing {
  margin: 1rem 0 1.25rem;
}

.player {
  width: 100%;
  margin-top: 0.75rem;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.playlist {
  display: grid;
  gap: 0.7rem;
}

.playlist-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
}

.playlist-item.active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 12px 24px rgba(124, 83, 61, 0.08);
}

.playlist-item span,
.mini-list-title,
.footer-title,
.strong {
  font-weight: 700;
}

.playlist-item small,
.meta {
  color: var(--muted);
}

.button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #5a3b2b);
  color: #fff;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}

.button.secondary {
  background: linear-gradient(135deg, var(--accent-soft), #93694f);
}

.button.danger {
  background: linear-gradient(135deg, var(--danger), #6f2f30);
}

.button.ghost {
  color: var(--accent);
  background: var(--ghost-bg);
  border: 1px solid var(--border);
}

.form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 0.98rem;
  background: var(--input-bg);
  color: var(--text);
}

textarea {
  resize: vertical;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
}

.checkbox input {
  width: auto;
  margin-top: 0.22rem;
}

.list,
.mini-list {
  display: grid;
  gap: 0.8rem;
}

.list-item,
.mini-list-item,
.note-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: var(--card-light);
}

.request-card {
  background: var(--request-bg);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill-success {
  background: var(--success-soft);
  color: var(--success);
}

.pill-pending {
  background: #f5ead7;
  color: #8e5f24;
}

.inline-form {
  margin-top: 0.75rem;
  align-items: center;
}

.note-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.note-card {
  position: relative;
  background: linear-gradient(180deg, #fff8ed, #f7efe2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(124, 83, 61, 0.15);
}

.note-text {
  min-height: 4.5rem;
  white-space: pre-wrap;
}

.cross-experience {
  padding-bottom: 1.5rem;
}

.cross-scene {
  position: relative;
  min-height: 920px;
  margin: 1rem 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 248, 230, 0.95), rgba(255, 248, 230, 0.18) 30%, transparent 54%),
    linear-gradient(180deg, #f8f0e4 0%, #ead9c4 50%, #ddc6ab 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.cross-scene.immersive {
  box-shadow:
    inset 0 60px 120px rgba(255, 255, 255, 0.28),
    inset 0 -30px 90px rgba(74, 43, 26, 0.08),
    0 22px 48px rgba(61, 41, 24, 0.12);
}

.cross-light {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 4rem;
  width: 540px;
  height: 720px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 246, 215, 0.85), rgba(255, 246, 215, 0.08) 60%, transparent 72%);
  filter: blur(6px);
}

.cross-image {
  position: absolute;
  left: 50%;
  top: 2.8rem;
  width: min(520px, 62vw);
  transform: translateX(-50%);
  filter:
    drop-shadow(0 24px 34px rgba(45, 24, 12, 0.2))
    drop-shadow(0 6px 10px rgba(45, 24, 12, 0.14));
}

.burn-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 85%, rgba(255, 171, 75, 0.2), rgba(255, 171, 75, 0) 26%),
    linear-gradient(180deg, rgba(58, 31, 18, 0.04), rgba(58, 31, 18, 0.18));
  transition: opacity 500ms ease;
}

.burn-message {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(77, 46, 31, 0.76);
  color: #fff6ea;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(38, 20, 12, 0.16);
}

.burn-flame,
.burn-smoke {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.burn-flame {
  bottom: 4rem;
  width: 180px;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 172, 88, 0.5), rgba(255, 172, 88, 0) 68%);
  filter: blur(10px);
  opacity: 0;
}

.burn-flame-left {
  margin-left: -120px;
}

.burn-flame-right {
  margin-left: 120px;
}

.burn-flame-center {
  width: 260px;
  height: 120px;
  bottom: 3.6rem;
}

.burn-smoke {
  width: 210px;
  height: 210px;
  top: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(82, 72, 67, 0.18), rgba(82, 72, 67, 0));
  opacity: 0;
}

.burn-smoke-one {
  margin-left: -68px;
}

.burn-smoke-two {
  margin-left: 68px;
}

.cross-empty {
  position: absolute;
  inset: auto 1.5rem 2.2rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

.cross-note {
  position: absolute;
  width: 122px;
  min-height: 92px;
  padding: 0.95rem 0.75rem 0.6rem;
  border-radius: 2px 4px 3px 5px;
  transform: rotate(-3deg);
  transform-origin: center top;
  transition: filter 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
  z-index: 1;
}

.antique-note {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(to bottom right, #fdfaf3, #f5ebd2 60%, #e8d0a1);
  border: 1px solid rgba(181, 149, 108, 0.7);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -2px 10px rgba(133, 98, 55, 0.15),
    0 4px 8px rgba(40, 25, 15, 0.25),
    0 12px 24px rgba(40, 25, 15, 0.15);
}

.antique-note::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 5%;
  right: 5%;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 12px 16px rgba(30, 20, 10, 0.4);
  z-index: -1;
  pointer-events: none;
}

.antique-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(135, 102, 60, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 80% 60%, rgba(135, 102, 60, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 50% 90%, rgba(135, 102, 60, 0.06) 0%, transparent 30%);
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: inherit;
}

.cross-note-text {
  margin: 0.25rem 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.3;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #382a1d;
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.note-preview-wrap {
  display: grid;
  gap: 0.6rem;
}

.preview-note {
  width: min(260px, 100%);
  min-height: 170px;
  margin-top: 0.2rem;
  padding: 1.4rem 1rem 0.9rem;
  transform: rotate(-2deg);
}

.preview-note-text {
  min-height: 5.5rem;
  margin: 0.35rem 0 1rem;
  white-space: pre-wrap;
  color: #4a3928;
  font-family: Georgia, "Times New Roman", serif;
}

.preview-note-author {
  font-weight: 700;
}

.preview-nail {
  top: -9px;
}

.cross-nail {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #8b8f94 0%, #4a4d52 40%, #1f2022 85%);
  box-shadow: 
    inset -1px -1px 2px rgba(0, 0, 0, 0.9),
    inset 1px 1px 2px rgba(255, 255, 255, 0.4),
    0 6px 10px rgba(0, 0, 0, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.6);
  border: 1px solid #0a0a0a;
}

.note-position-0 {
  top: 7rem;
  left: calc(50% - 61px);
  transform: rotate(-4deg);
}

.note-position-1 {
  top: 13rem;
  left: calc(50% - 205px);
  transform: rotate(-7deg);
}

.note-position-2 {
  top: 13rem;
  right: calc(50% - 205px);
  transform: rotate(6deg);
}

.note-position-3 {
  top: 26rem;
  left: calc(50% - 61px);
  transform: rotate(3deg);
}

.note-position-4 {
  top: 41rem;
  left: calc(50% - 170px);
  transform: rotate(-5deg);
}

.note-position-5 {
  top: 41rem;
  right: calc(50% - 170px);
  transform: rotate(2deg);
}

.note-position-6 {
  top: 56rem;
  left: calc(50% - 61px);
  transform: rotate(-2deg);
}

.note-position-7 {
  top: 20rem;
  left: calc(50% - 61px);
  transform: rotate(5deg);
}

.altar-card {
  overflow: hidden;
}

.experience-copy {
  max-width: 60rem;
}

.ceremony-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(245, 236, 223, 0.98));
  box-shadow: 0 20px 40px rgba(61, 41, 24, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

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

.ceremony-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
}

.ceremony-number {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
}

.ceremony-verse {
  font-size: 1.05rem;
  line-height: 1.5;
}

.ritual-card p {
  max-width: 40rem;
}

.ritual-steps {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.ritual-step {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.note-gallery {
  align-items: start;
}

.gallery-note {
  padding-top: 1.2rem;
}

.gallery-note:nth-child(odd) {
  transform: rotate(-2deg);
}

.gallery-note:nth-child(even) {
  transform: rotate(2deg);
}

.gallery-nail {
  top: -7px;
}

.cross-scene.is-burning .burn-overlay {
  opacity: 1;
}

.cross-scene.is-burning .burn-flame {
  animation: emberPulse 1.8s ease-in-out infinite alternate;
  opacity: 1;
}

.cross-scene.is-burning .burn-smoke {
  animation: smokeLift 2.8s ease-out infinite;
  opacity: 0.95;
}

.cross-scene.is-burning [data-burn-note] {
  animation: noteBurnFloat 3.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: var(--burn-delay, 0s);
}

.fire-altar {
  position: relative;
  height: 200px;
  margin: 1rem 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 76%, rgba(214, 144, 70, 0.12), rgba(214, 144, 70, 0) 30%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(241, 233, 224, 0.92));
  overflow: hidden;
}

.fire-altar.large {
  height: 230px;
}

.fire-halo {
  position: absolute;
  left: 50%;
  bottom: 2.3rem;
  width: 220px;
  height: 120px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(188, 112, 56, 0.18), rgba(188, 112, 56, 0) 70%);
  filter: blur(6px);
}

.fire-glow {
  position: absolute;
  left: 50%;
  bottom: 2.65rem;
  width: 150px;
  height: 74px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(222, 126, 52, 0.34), rgba(222, 126, 52, 0));
}

.ember-bed {
  position: absolute;
  left: 50%;
  bottom: 2.85rem;
  width: 120px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 50%, rgba(215, 150, 78, 0.92), rgba(215, 150, 78, 0) 34%),
    radial-gradient(circle at 50% 50%, rgba(186, 91, 43, 0.9), rgba(186, 91, 43, 0) 38%),
    radial-gradient(circle at 80% 50%, rgba(215, 150, 78, 0.92), rgba(215, 150, 78, 0) 34%);
  filter: blur(1.5px);
  opacity: 0.82;
  animation: emberFlicker 3.8s ease-in-out infinite;
}

.ember {
  position: absolute;
  bottom: 2.95rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217, 170, 95, 0.86), rgba(166, 82, 37, 0.08));
  box-shadow: 0 0 14px rgba(186, 91, 43, 0.18);
  animation: emberFloat 4.8s ease-out infinite;
}

.ember-one {
  left: calc(50% - 42px);
}

.ember-two {
  left: calc(50% - 5px);
  animation-delay: 0.8s;
}

.ember-three {
  left: calc(50% + 28px);
  animation-delay: 1.4s;
}

.flame-core {
  position: absolute;
  bottom: 3.65rem;
  width: 30px;
  height: 56px;
  border-radius: 50% 50% 42% 42%;
  clip-path: polygon(50% 0%, 68% 14%, 83% 35%, 78% 64%, 58% 100%, 42% 100%, 22% 64%, 17% 35%, 32% 14%);
  background: linear-gradient(180deg, rgba(255, 245, 203, 0.95), rgba(249, 191, 105, 0.88), rgba(225, 115, 55, 0.55));
  filter: none;
  opacity: 0.92;
  animation: flameInner 3.2s ease-in-out infinite alternate;
}

.flame-core-left {
  left: calc(50% - 38px);
}

.flame-core-center {
  left: calc(50% - 18px);
  width: 36px;
  height: 68px;
  animation-delay: 0.35s;
}

.flame-core-right {
  left: calc(50% + 8px);
  animation-delay: 0.5s;
}

.flame {
  position: absolute;
  bottom: 3.35rem;
  width: 42px;
  height: 82px;
  clip-path: polygon(50% 0%, 70% 12%, 86% 36%, 82% 62%, 60% 100%, 40% 100%, 18% 62%, 14% 36%, 30% 12%);
  background: linear-gradient(180deg, rgba(255, 220, 138, 0.92), rgba(232, 138, 67, 0.82), rgba(156, 72, 34, 0.35));
  filter: none;
  opacity: 0.9;
  animation: flameOuter 3.4s ease-in-out infinite;
}

.flame-one {
  left: calc(50% - 36px);
}

.flame-two {
  left: calc(50% - 60px);
  transform: scale(0.76);
  animation-delay: 0.55s;
}

.flame-three {
  left: calc(50% + 10px);
  transform: scale(0.8);
  animation-delay: 1s;
}

.altar-base {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  width: 180px;
  height: 46px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #76503d, #4c3024);
  box-shadow:
    inset 0 10px 20px rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(67, 40, 27, 0.14);
}

.countdown {
  font-weight: 700;
  color: var(--accent);
}

.banner {
  margin-bottom: 1rem;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
}

.banner.success {
  background: var(--success-soft);
  color: var(--success);
}

.site-footer {
  border-top: 1px solid rgba(231, 216, 202, 0.8);
  padding: 1.4rem 0 2.2rem;
  color: var(--muted);
}

.global-player-shell {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 12;
}

.global-player-shell .container {
  width: auto;
  margin: 0;
}

.global-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: min(420px, calc(100vw - 2rem));
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(231, 216, 202, 0.92);
  border-radius: 16px;
  background: rgba(255, 251, 246, 0.94);
  box-shadow: 0 18px 42px rgba(61, 41, 24, 0.16);
  backdrop-filter: blur(12px);
}

.global-player-copy {
  min-width: 0;
}

.global-player-title {
  margin: 0.12rem 0;
  font-size: 0.98rem;
}

.global-player-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
}

.global-player .button {
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
}

.player-icon-button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.9);
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.global-player.is-minimized {
  width: min(270px, calc(100vw - 2rem));
  padding: 0.65rem 0.75rem;
}

.global-player.is-minimized .global-player-copy .eyebrow,
.global-player.is-minimized [data-mini-player-artist],
.global-player.is-minimized [data-mini-player-progress] {
  display: none;
}

.global-player.is-minimized .global-player-title {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.global-player.is-minimized .global-player-controls {
  margin-left: auto;
  flex-wrap: nowrap;
}

.footer-title {
  margin-bottom: 0.35rem;
  color: var(--accent);
}

@keyframes sway {
  0%,
  100% {
    transform: translateY(0) scale(0.95);
  }
  50% {
    transform: translateY(-8px) scale(1);
  }
}

@keyframes flameOuter {
  0%,
  100% {
    transform: translateY(0) scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: translateY(-5px) scale(1.03);
    opacity: 0.92;
  }
}

@keyframes flameInner {
  0%,
  100% {
    transform: translateY(0) scale(0.96);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-6px) scale(1.05);
    opacity: 0.94;
  }
}

@keyframes emberFlicker {
  0%,
  100% {
    opacity: 0.62;
    transform: translateX(-50%) scale(0.97);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1.03);
  }
}

@keyframes emberFloat {
  0% {
    transform: translateY(0) scale(0.92);
    opacity: 0;
  }
  25% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-18px) scale(1.04);
    opacity: 0;
  }
}

@keyframes emberPulse {
  0% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.45;
  }
  100% {
    transform: translateX(-50%) scale(1.06);
    opacity: 0.9;
  }
}

@keyframes smokeLift {
  0% {
    transform: translateX(-50%) translateY(12px) scale(0.82);
    opacity: 0;
  }
  20% {
    opacity: 0.32;
  }
  100% {
    transform: translateX(-50%) translateY(-120px) scale(1.28);
    opacity: 0;
  }
}

@keyframes noteBurnFloat {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  15% {
    transform: translateY(-4px) scale(1.02) rotate(2deg);
  }
  40% {
    transform: translateY(-20px) scale(0.95) rotate(-3deg);
  }
  70% {
    opacity: 0.85;
    transform: translateY(-55px) scale(0.85) rotate(5deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-120px) scale(0.6) rotate(-4deg);
  }
}

@media (max-width: 860px) {
  .row,
  .section-heading,
  .item-topline,
  .footer-grid,
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-home,
  .home-hero,
  .home-bento,
  .music-feature-grid,
  .home-feature-grid,
  .two-column,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlight-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 0.75rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-main {
    padding: 1.35rem;
  }

  .home-hero-main h1 {
    max-width: none;
  }

  .home-hero-split {
    grid-template-columns: 1fr;
  }

  .home-hero-verse blockquote {
    max-width: none;
  }

  .player-actions,
  .global-player-controls {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .global-player-shell {
    left: 1rem;
    right: 1rem;
  }

  .global-player,
  .global-player.is-minimized {
    width: 100%;
  }

  .global-player {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-inner {
    padding-bottom: 8.5rem;
  }

  .cross-scene {
    min-height: 780px;
  }

  .cross-light {
    width: 320px;
    height: 540px;
  }

  .cross-image {
    width: min(320px, 68vw);
  }

  .burn-message {
    width: calc(100% - 2rem);
    text-align: center;
  }

  .cross-note {
    width: 108px;
    left: auto;
    right: auto;
    min-height: 82px;
  }

  .note-position-0 {
    top: 5rem;
    left: calc(50% - 54px);
  }

  .note-position-1 {
    top: 10.5rem;
    left: calc(50% - 126px);
  }

  .note-position-2 {
    top: 10.5rem;
    left: calc(50% + 18px);
  }

  .note-position-3 {
    top: 20.5rem;
    left: calc(50% - 54px);
  }

  .note-position-4 {
    top: 31rem;
    left: calc(50% - 120px);
  }

  .note-position-5 {
    top: 31rem;
    left: calc(50% + 12px);
  }

  .note-position-6 {
    top: 42rem;
    left: calc(50% - 54px);
  }

  .note-position-7 {
    top: 15.5rem;
    left: calc(50% - 54px);
  }

  .preview-note {
    width: 100%;
  }

  .ceremony-grid {
    grid-template-columns: 1fr;
  }

  .field-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-image {
    width: 60px;
    height: 60px;
  }

  .logo-text {
    font-size: 1rem;
  }
}

@media (max-width: 1100px) {
  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -42px;
    padding-top: 1rem;
  }

  .home-feature-burn {
    grid-column: 1 / -1;
  }

  .home-feature-card {
    transform: translateY(-66px);
  }
}

@media (max-width: 900px) {
  .home-showcase-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
    margin-top: -18px;
    padding-top: 0.75rem;
  }

  .home-cafe-hero-copy {
    width: min(88%, 34rem);
  }

  .home-feature-card {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .page-home main.container {
    width: min(96vw, 96vw);
  }

  .home-showcase-top,
  .home-feature-grid,
  .home-showcase-bottom {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-showcase-nav,
  .home-showcase-strip,
  .home-cafe-actions,
  .home-burn-countdown {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-cafe-hero,
  .home-cafe-hero-image {
    min-height: 340px;
  }

  .home-cafe-hero-copy {
    width: min(90%, 26rem);
  }

  .home-music-player {
    grid-template-columns: 1fr;
  }

  .home-feature-grid {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .home-feature-grid::before {
    height: 66px;
    border-top-left-radius: 76px 24px;
    border-top-right-radius: 76px 24px;
  }

  .home-feature-card {
    transform: translateY(0);
  }

  .home-feature-title,
  .home-cafe-hero-copy h1 {
    font-size: 1.6rem;
  }

  .home-cafe-hero-subtitle {
    font-size: 0.96rem;
  }

  .home-showcase-bottom {
    flex-direction: column;
    align-items: flex-start;
  }


  .home-showcase-bottom-copy {
    text-align: left;
  }
}

/* ============================================================
   HAMBURGER / MOBILE NAV TOGGLE
   ============================================================ */

/* Hidden on desktop */
.mobile-nav-toggle {
  display: none;
}

/* ============================================================
   MOBILE RESPONSIVENESS — Comprehensive Overhaul
   Breakpoints: 768px (tablet/large phone), 480px (phone)
   ============================================================ */

/* ---------- 768px: Tablet / Small Desktop ---------- */
@media (max-width: 768px) {

  /* --- Full-bleed body --- */
  body { padding-bottom: 9rem; }

  .container,
  .page-home main.container { width: 100%; padding-left: 0.75rem; padding-right: 0.75rem; }

  /* --- Global showcase wrapper: true app feel --- */
  .home-showcase {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }

  /* --- Header: logo left, hamburger right (single row) --- */
  .home-showcase-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0.75rem 1rem;
    position: relative;
  }

  .home-showcase-logo { width: 40px; height: 40px; }
  .home-showcase-brand-name { font-size: 1.05rem; }
  .home-showcase-brand-tag { display: none; }

  /* --- Hamburger button: visible on mobile --- */
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    flex-shrink: 0;
    z-index: 20;
  }

  .mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #5d3a24;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  /* Animate to X when open */
  .mobile-nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .mobile-nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobile-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* --- Nav: hidden by default, drops down when .is-open --- */
  .home-showcase-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 15;
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.99), rgba(245, 235, 222, 0.98));
    border-bottom: 1px solid rgba(208, 183, 154, 0.5);
    box-shadow: 0 8px 24px rgba(61, 41, 24, 0.12);
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .home-showcase-nav.is-open {
    max-height: 320px;
    padding: 0.5rem 0;
  }

  .home-showcase-nav a {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #4c3426;
    border-bottom: 1px solid rgba(208, 183, 154, 0.25);
    text-decoration: none;
  }

  .home-showcase-nav a:last-child { border-bottom: none; }
  .home-showcase-nav a:hover { background: rgba(124, 83, 61, 0.06); }

  /* --- Strip: hide on mobile --- */
  .home-showcase-strip { display: none; }

  .home-showcase-bottom { flex-direction: column; align-items: flex-start; gap: 0.65rem; padding: 0.85rem 1rem; }
  .home-showcase-bottom-copy { text-align: left; font-size: 0.82rem; }

  /* --- Hero: flex-centered layout so text never clips ---
     Image fills the container as a true bg layer.
     Text stack sits naturally in the middle. */
  .home-cafe-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
  }

  .home-cafe-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 30%;
  }

  /* Darken overlay so text always pops */
  .home-cafe-hero::after {
    background:
      linear-gradient(180deg, rgba(10,6,3,0.25) 0%, rgba(10,6,3,0.68) 100%);
  }

  /* Copy: flow naturally inside the flex hero, no absolute positioning */
  .home-cafe-hero-copy {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 92%;
    max-width: 28rem;
    z-index: 1;
    padding: 1.5rem 0;
  }

  /* --- Feature grid: single column, no negative transforms --- */
  .home-feature-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 0.5rem;
    gap: 0.75rem;
  }

  .home-feature-card { transform: translateY(0) !important; }
  .home-feature-burn { grid-column: auto; }

  .home-feature-grid::before {
    height: 52px;
    border-top-left-radius: 60px 20px;
    border-top-right-radius: 60px 20px;
  }

  /* --- Home music player: narrower art --- */
  .home-music-player { grid-template-columns: 72px 1fr; gap: 0.75rem; }
  .home-album-art { min-height: 72px; }

  /* --- Stats grid: 2-up --- */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* --- Two-col grids collapse --- */
  .two-column, .hero-home { grid-template-columns: 1fr; }

  /* --- Section headings stack --- */
  .section-heading { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* --- Global Player: full-width bottom bar (dock) --- */
  .global-player-shell { left: 0; right: 0; bottom: 0; padding: 0; }

  .global-player,
  .global-player.is-minimized {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0.7rem 1rem;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .global-player-copy { flex: 1; min-width: 0; }

  .global-player-title {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
  }

  .global-player-controls {
    flex-wrap: nowrap;
    gap: 0.4rem;
    flex-direction: row;
    justify-content: flex-end;
  }

  /* Hide volume slider to save horizontal space */
  .global-player-controls input[type="range"] { display: none; }

  /* --- Inner page card/padding adjustments --- */
  .card { padding: 1rem; border-radius: 16px; }
  .page-hero { padding: 1.5rem 1rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  /* --- Footer --- */
  .footer-grid { flex-direction: column; gap: 0.75rem; }

  /* --- Cross / Paid In Full --- */
  .cross-scene { min-height: 580px; }
  .cross-image { width: min(280px, 70vw); top: 2rem; }
  .cross-light { width: 260px; height: 380px; }
}

/* ---------- 480px: Small Phone ---------- */
@media (max-width: 480px) {

  /* --- Showcase header: even tighter --- */
  .home-showcase-top { padding: 0.65rem 0.75rem; }

  .home-showcase-nav { grid-template-columns: repeat(2, 1fr); }

  /* --- Hero --- */
  .home-cafe-hero { min-height: 280px; }
  .home-cafe-hero-copy { padding: 1rem 0; }
  .home-cafe-hero-copy h1 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .home-cafe-hero-subtitle { font-size: 0.9rem; }

  .home-cafe-actions { flex-direction: column; align-items: stretch; }
  .home-cafe-actions .button { text-align: center; }

  /* --- Feature card title bar: let dropdown wrap below title --- */
  .home-feature-title { flex-wrap: wrap; gap: 0.5rem; font-size: 1.2rem; padding: 0.7rem 0.9rem; }
  #home-genre-filter { width: 100%; margin-top: 0.2rem; }

  /* --- Feature body: tighter --- */
  .home-feature-body { padding: 0.75rem; gap: 0.6rem; }

  /* --- Music player: fully stacked --- */
  .home-music-player { grid-template-columns: 1fr; }
  .home-album-art { height: 72px; min-height: 72px; }
  .home-waveform { height: 42px; }

  /* --- Stats: single column on tiny screens --- */
  .stats-grid { grid-template-columns: 1fr; }

  /* --- Cards --- */
  .card { border-radius: 12px; padding: 0.85rem; }

  /* --- Page hero --- */
  .page-hero h1 { font-size: clamp(1.5rem, 8vw, 2.1rem); }

  /* --- Buttons --- */
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; justify-content: center; }

  /* --- Global player: ultra compact --- */
  .global-player,
  .global-player.is-minimized { padding: 0.55rem 0.75rem; gap: 0.45rem; }

  .global-player-title { font-size: 0.8rem; max-width: 100px; }
  .player-icon-button { width: 1.75rem; height: 1.75rem; font-size: 0.82rem; }
  .global-player .eyebrow { display: none; }
  [data-mini-player-artist] { display: none; }

  /* --- Showcase donate pill: full width --- */
  .home-donation-pill { width: 100%; justify-content: center; }

  /* --- Note grid: single column --- */
  .note-grid { grid-template-columns: 1fr; }

  /* --- Paid In Full scene: compact --- */
  .cross-scene { min-height: 440px; }
  .cross-image { width: min(210px, 72vw); top: 1.25rem; }
  .cross-light { width: 190px; height: 280px; }

  /* --- Inner page spacings --- */
  main { padding: 1rem 0 2.5rem; }
  body.page-inner { padding-bottom: 7rem; }

  /* --- Eyebrow / misc typography --- */
  .eyebrow { font-size: 0.71rem; }
  .playlist-item { padding: 0.6rem 0.7rem; }
}

/* ============================================================
   PAID IN FULL — Mobile Nail-Only Cross View
   On mobile: show only the nail dot on the cross, hide card body
   ============================================================ */
@media (max-width: 768px) {

  /* Shrink each cross-note to just the nail — no paper, no text */
  .mobile-nail-only {
    width: 20px !important;
    min-height: 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .mobile-nail-only::before,
  .mobile-nail-only::after {
    display: none !important;
  }

  /* Hide the note text and author label */
  .mobile-nail-only .cross-note-text,
  .mobile-nail-only .meta {
    display: none !important;
  }

  /* Make the nail itself slightly larger so it's visible */
  .mobile-nail-only .cross-nail {
    position: static;
    display: block;
    transform: none;
    width: 18px;
    height: 18px;
    margin: 0 auto;
  }

  /* Nail cluster: shift positions to sit tighter around the cross beam */
  .mobile-nail-only.note-position-0  { top: 5rem;  left: calc(50% - 9px); }
  .mobile-nail-only.note-position-1  { top: 9rem;  left: calc(50% - 60px); }
  .mobile-nail-only.note-position-2  { top: 9rem;  left: calc(50% + 42px); }
  .mobile-nail-only.note-position-3  { top: 13rem; left: calc(50% - 9px); }
  .mobile-nail-only.note-position-4  { top: 17rem; left: calc(50% - 52px); }
  .mobile-nail-only.note-position-5  { top: 17rem; left: calc(50% + 34px); }
  .mobile-nail-only.note-position-6  { top: 21rem; left: calc(50% - 9px); }
  .mobile-nail-only.note-position-7  { top: 25rem; left: calc(50% - 9px); }

  /* Tighten the cross-scene height on mobile since no cards */
  .cross-scene { min-height: 380px; }

  /* Reveal button styling */
  .notes-reveal-toggle {
    font-size: 0.98rem;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
  }
}
