/* Light stays inside the type. The underlying lettering is always readable. */
.hero h1>span.headline-line{display:inline-block;--type-base:#f6edf4;--type-glow:#e6486e66}
.hero h1>span.headline-top{font-size:1em;color:#f6edf4;letter-spacing:inherit}
.hero h1>span.headline-hit{--type-base:#e64b6d;color:#e64b6d}
.hero[data-mood=dream] h1>span.headline-hit{--type-base:#a2e6ec;--type-glow:#9ee8ee66}

.mood-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.mood-toolbar>.eyebrow{color:#e6becf;font-size:7px;letter-spacing:1.6px}
.effects-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;
  min-height:28px;padding:4px 8px;border:1px solid #c36a8059;border-radius:3px;
  background:#140c13bb;color:#ead6de;font-size:8px;line-height:1.4;letter-spacing:.3px;
}
.effects-toggle[hidden]{display:none}
.effects-toggle svg{width:12px;height:12px;color:#f294aa}
.effects-toggle:hover,.effects-toggle:focus-visible{border-color:#f294aa;background:#3a1220;color:#fff}
.effects-toggle[aria-pressed=false]{border-color:#796773;color:#c0afb8}
.effects-toggle[aria-pressed=false] svg{color:#b2a3ac}

@supports(-webkit-background-clip:text){
  .hero h1>span.headline-line{
    background-image:
      linear-gradient(112deg,transparent 40%,#ffffff35 46%,#fff 50%,#ffffff35 54%,transparent 60%),
      linear-gradient(var(--type-base),var(--type-base));
    background-size:280% 100%,100% 100%;background-position:140% 0,0 0;background-repeat:no-repeat;
    -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  }
  html[data-motion=on] #hero-title.is-in-view>.headline-line{
    animation:headline-sheen 7.5s ease-in-out infinite;
  }
  html[data-motion=on] #hero-title.is-in-view>.headline-hit{
    animation:headline-sheen 7.5s ease-in-out .65s infinite,headline-neon 7.5s ease-in-out .65s infinite;
  }

  .brand-title>span{
    background-image:
      linear-gradient(112deg,transparent 40%,#fff9 48%,#fff 50%,transparent 60%),
      linear-gradient(180deg,#fff 10%,#d5dce5 40%,#858b98 52%,#f5f4f7 78%);
    background-size:280% 100%,100% 100%;background-position:140% 0,0 0;background-repeat:no-repeat;
  }
  .brand-title>.brand-title-accent{
    background-image:
      linear-gradient(112deg,transparent 40%,#fff9 48%,#fff 50%,transparent 60%),
      linear-gradient(180deg,#f5a9b8 4%,#df4a69 40%,#9d2140 54%,#ed718c 90%);
  }
  html[data-motion=on] .brand-title.is-in-view>span{animation:headline-sheen 10s ease-in-out 1.5s infinite}
  html[data-motion=on] .brand-title.is-in-view>.brand-title-accent{animation-delay:1.8s}

  .type-shine{
    --type-base:#eccad1;
    background-image:
      linear-gradient(112deg,transparent 40%,#fff9 47%,#fff 50%,#fff9 53%,transparent 60%),
      linear-gradient(var(--type-base),var(--type-base));
    background-size:280% 100%,100% 100%;background-position:140% 0,0 0;background-repeat:no-repeat;
    -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  }
  .about-copy h2>.type-shine{--type-base:#e7738b}
  html[data-motion=on] .type-shine.is-in-view{animation:section-sheen 2.6s ease-in-out both}
}

@keyframes headline-sheen{
  0%,8%{background-position:140% 0,0 0}
  43%,100%{background-position:-40% 0,0 0}
}
@keyframes headline-neon{
  0%,8%,55%,100%{text-shadow:3px 4px 0 #6c184b44}
  27%,35%{text-shadow:0 0 10px var(--type-glow),0 0 28px var(--type-glow),0 0 55px #b61d3c33}
}
@keyframes section-sheen{
  0%{background-position:140% 0,0 0}
  100%{background-position:-40% 0,0 0}
}

/* One control pauses CSS animation throughout the page, including the social glow. */
html[data-motion=off] *,html[data-motion=off] *::before,html[data-motion=off] *::after{animation:none!important}
html[data-motion=off] .headline-line,html[data-motion=off] .brand-title>span,html[data-motion=off] .type-shine{background-position:140% 0,0 0}
@media(max-width:760px){
  .mood-toolbar{gap:12px;margin-bottom:9px}
  .mood-toolbar>.eyebrow{font-size:6px;letter-spacing:1.3px}
  .effects-toggle{min-height:30px;font-size:8px}
}
@media(prefers-reduced-motion:reduce){
  .hero h1>span.headline-line,.brand-title>span,.type-shine{animation:none!important;background-position:140% 0,0 0}
}
@media(forced-colors:active){
  .hero h1>span.headline-line,.brand-title>span,.type-shine{
    background:none;color:CanvasText;-webkit-text-fill-color:CanvasText;text-shadow:none;animation:none!important;
  }
}
