/* joy-layer.css — added 2026-06-03 (Yousef directive)
   Tone shift: the site should feel JOY, HAPPINESS, LOVE of the Word —
   not suffocating, not overly formal. Warm light, gentle motion,
   celebration of the Lord.
   This layer rides on top of main.css + tech-visuals.css.
*/

:root {
  /* Joyful palette — warm sunrise extensions to the existing brand */
  --joy-sunrise:  #f4b69e;   /* soft peach */
  --joy-light:    #fff3d0;   /* warm cream highlight */
  --joy-life:     #a4c394;   /* gentle life green */
  --joy-glow:     #fde7a8;   /* candle glow */
  --joy-gold:     #f0c14b;   /* sunlit gold (warmer than D4A843) */
}

/* ---------------------------------------------------------------- *
 * 1. Hero — sunrise warmth wash over the existing image
 * ---------------------------------------------------------------- */
.cinematic-hero {
  position: relative;
}

.cinematic-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at 70% 18%,
    rgba(244, 182, 158, 0.32) 0%,
    rgba(253, 231, 168, 0.18) 35%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}

.cinematic-hero__inner {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------------- *
 * 2. Joyful sunrise overlay on H1 — adds peach + light into the gold
 * ---------------------------------------------------------------- */
.cinematic-hero__h1 {
  background: linear-gradient(
    100deg,
    var(--joy-gold) 0%,
    var(--joy-sunrise) 25%,
    var(--joy-light) 50%,
    var(--joy-sunrise) 75%,
    var(--joy-gold) 100%
  ) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* ---------------------------------------------------------------- *
 * 3. Verse band — warm glow, candle-light feel
 * ---------------------------------------------------------------- */
.verse-band {
  background: linear-gradient(
    180deg,
    rgba(255, 243, 208, 0.0)  0%,
    rgba(255, 243, 208, 0.22) 50%,
    rgba(255, 243, 208, 0.0)  100%
  );
}

.verse-band__line {
  color: #6a4d1c;            /* warm parchment ink, not stark black */
  text-shadow: 0 0 18px rgba(253, 231, 168, 0.45);
}

/* ---------------------------------------------------------------- *
 * 4. Floating joy notes — small ✦ marks that drift and twinkle
 * ---------------------------------------------------------------- */
@keyframes joy-twinkle {
  0%, 100% { opacity: 0.0; transform: translateY(0)   scale(0.6); }
  20%      { opacity: 0.8; transform: translateY(-6px) scale(1.0); }
  80%      { opacity: 0.8; transform: translateY(-18px) scale(1.1); }
}

.cinematic-hero::after {
  content: '✦  ✧  ✦  ✧';
  position: absolute;
  top: 24%;
  left: 8%;
  font-size: 1.1rem;
  color: var(--joy-light);
  letter-spacing: 3rem;
  opacity: 0;
  animation: joy-twinkle 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ---------------------------------------------------------------- *
 * 5. Buttons — gentle warm glow on hover
 * ---------------------------------------------------------------- */
.btn--gold {
  box-shadow: 0 0 0 rgba(244, 182, 158, 0);
  transition: box-shadow 0.5s ease-out, transform 0.3s ease-out;
}

.btn--gold:hover {
  box-shadow: 0 6px 22px rgba(244, 182, 158, 0.55);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------- *
 * 6. Cards — soft cream tone over the existing surface
 * ---------------------------------------------------------------- */
.media-card,
.foundations__card {
  background-image: linear-gradient(
    180deg,
    rgba(255, 243, 208, 0.18) 0%,
    rgba(255, 255, 255, 0) 60%
  );
}

/* ---------------------------------------------------------------- *
 * 7. Section dividers — warm cross instead of dark
 * ---------------------------------------------------------------- */
.section-divider__mark svg line {
  stroke: var(--joy-gold) !important;
  filter: drop-shadow(0 0 8px rgba(253, 231, 168, 0.6));
}

/* ---------------------------------------------------------------- *
 * 8. Reveal animation — soft scale-in instead of just translate
 * ---------------------------------------------------------------- */
[data-reveal] {
  transition:
    opacity 0.9s ease-out,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease-out !important;
}

[data-reveal].is-revealed {
  transform: translateY(0) scale(1) !important;
}

[data-reveal]:not(.is-revealed) {
  transform: translateY(20px) scale(0.985) !important;
}

/* ---------------------------------------------------------------- *
 * 9. Headings — warm parchment ink option
 * ---------------------------------------------------------------- */
.tech-character__h2,
.section-title,
.foundations__h2,
.media-card__title {
  color: #4a3920;            /* warm ink, not cold black */
}

.tech-character__h2 em,
.section-title em,
.foundations__h2 em {
  color: var(--joy-gold);
  font-style: italic;
}

/* ---------------------------------------------------------------- *
 * 10. Body copy — slightly warmer ink
 * ---------------------------------------------------------------- */
.cinematic-hero__lede,
.tech-character__copy,
.media-card__copy {
  color: #3a2e18;
}

/* ---------------------------------------------------------------- *
 * Respect motion preferences
 * ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cinematic-hero::after,
  .btn--gold {
    animation: none !important;
    transition: none !important;
  }
}
