/* Thalia's opal lettering — softer, quieter, consistent through every page.
   Applied only to intentional editorial accents and closing invitations. */
:root{
  --tz-opal-blue:#5f88aa;
  --tz-opal-blush:#f4dce3;
  --tz-opal-luminous:#fff;
  --tz-opal-rose:#f7e8e9;
}
h1 em,h1 i,
.philosophy h2 em,
.manifesto-inner h2 em,
.invite-title h2 em,
.form-layout .side h2 em,
.hero h2 em,
section.end h2 em:not(:has(.opal-word)),
.cta-end h2 em,
.closing h2 em,
.cta-inner h2 em,
.cta h2 em,
.final-cta h2 em{
  color:transparent!important;
  background-image:linear-gradient(110deg,#5f88aa 16%,#f4dce3 34%,#fff 47%,#f7e8e9 57%,#5f88aa 77%)!important;
  background-size:230% 100%!important;
  background-position:135% 0;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  animation:opalShimmer 8s ease-in-out infinite!important;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
@keyframes opalShimmer{0%,24%{background-position:135% 0}58%,75%{background-position:-20% 0}100%{background-position:135% 0}}
/* Keep the same original Journal "Wonder" treatment, with much less shine. */
.opal-word{
  color:transparent!important;
  background-image:linear-gradient(110deg,#5f88aa 16%,#f4dce3 34%,#fff 47%,#f7e8e9 57%,#5f88aa 77%)!important;
  background-size:230% 100%!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  animation:opalShimmer 8s ease-in-out infinite!important;
}
@media(prefers-reduced-motion:reduce){
  h1 em,h1 i,.philosophy h2 em,.manifesto-inner h2 em,.invite-title h2 em,.form-layout .side h2 em,.hero h2 em,section.end h2 em,.cta-end h2 em,.closing h2 em,.cta-inner h2 em,.cta h2 em,.final-cta h2 em,.opal-word{
    animation:none!important;
    background-position:50% 0!important;
  }
}
@media(forced-colors:active){
  h1 em,h1 i,.philosophy h2 em,.manifesto-inner h2 em,.invite-title h2 em,.form-layout .side h2 em,.hero h2 em,section.end h2 em,.cta-end h2 em,.closing h2 em,.cta-inner h2 em,.cta h2 em,.final-cta h2 em,.opal-word{
    color:CanvasText!important;
    background-image:none!important;
    -webkit-text-fill-color:CanvasText!important;
  }
}
