/* Night and violet share one surface after night-story.js moves the layer. */
html[data-concept="stoic"][data-water="night"].has-night-story {
  --story-water-fallback: #cec2f1;
  --story-water-exposure: transparent;
}
html[data-concept="stoic"][data-water="violet"].has-night-story {
  --story-water-fallback: #30205a;
  --story-water-exposure: transparent;
}
html[data-concept="stoic"][data-water="violet"].has-night-story .site-header:not(.is-scrolled) :is(.wordmark, .site-nav) {
  text-shadow: 0 1px 2px #39265fc0, 0 0 1px #39265fe6;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story main {
  position: relative;
  isolation: isolate;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story main > section {
  position: relative;
  z-index: 1;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story main > .hero,
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story main > section.belief {
  background: transparent;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story main > .belief-wave {
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--story-water-fallback, #100b25);
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
  opacity: 1;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .belief::after {
  content: none;
}
/* Both surfaces retain the native water colors. */
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story main > .belief-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--story-water-exposure, #100b2599);
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header,
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header .wrap {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header .wordmark,
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header .site-nav {
  color: #fff;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header .btn {
  background: #f3edfa;
  color: #302736;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header .btn:hover {
  background: #fff;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header.is-scrolled .wrap {
  background: #f3edfa;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header.is-scrolled .wordmark,
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header.is-scrolled .site-nav {
  color: #302736;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header.is-scrolled .btn {
  background: #302736;
  color: #fff;
}
html[data-concept="stoic"]:is([data-water="night"], [data-water="violet"]).has-night-story .site-header.is-scrolled .btn:hover {
  background: #4b3c67;
}
/* The recolored night surface now supports dark navigation directly. */
html[data-concept="stoic"][data-water="night"].has-night-story .site-header:not(.is-scrolled) :is(.wordmark, .site-nav) {
  color: #332b44;
}
