/* Shared wave identity for every public project document. */
html {
  min-height: 100%;
  background: #080910;
}

body {
  min-height: 100vh;
  background-color: #080910 !important;
  background-image:
    linear-gradient(180deg, rgba(5, 7, 16, 0.44), rgba(5, 7, 16, 0.64)),
    url("/docs/ello-wave-background.webp") !important;
  background-position: center, center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat;
}

main {
  position: relative;
  isolation: isolate;
  background: rgba(5, 8, 17, 0.42);
  border-inline: 1px solid rgba(119, 154, 255, 0.12);
  border-radius: 0 0 22px 22px;
  backdrop-filter: blur(2px);
}

nav.docs,
nav.pub,
header.site {
  background: rgba(5, 8, 17, 0.76);
  backdrop-filter: blur(12px);
}

.ello-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
}

.ello-title-mark {
  display: grid;
  flex: 0 0 clamp(48px, 8vw, 68px);
  width: clamp(48px, 8vw, 68px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(91, 210, 255, 0.48);
  border-radius: 19px;
  background:
    radial-gradient(circle at 32% 28%, rgba(73, 204, 255, 0.22), transparent 58%),
    rgba(6, 13, 28, 0.8);
  box-shadow: 0 0 28px rgba(32, 117, 255, 0.24), inset 0 0 20px rgba(213, 64, 255, 0.1);
}

.ello-title-mark svg {
  width: 72%;
  height: 72%;
  overflow: visible;
}

.ello-title-mark .ring {
  fill: none;
  stroke: rgba(87, 186, 255, 0.45);
  stroke-width: 1;
}

.ello-title-mark .wave {
  fill: none;
  stroke: url(#ello-wave-gradient);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
  filter: drop-shadow(0 0 3px rgba(56, 202, 255, 0.82));
}

.ello-doc .eyebrow {
  color: #a6f4ee;
  text-shadow: 0 0 16px rgba(40, 212, 223, 0.45);
}

.ello-doc h1 {
  text-wrap: balance;
}

.ello-doc h2 {
  scroll-margin-top: 24px;
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll, scroll;
  }

  main {
    border-radius: 0 0 16px 16px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  main {
    background: rgba(5, 8, 17, 0.82);
  }
}
