body {
  isolation: isolate;
}

/* The supplied images already contain the blur; no sharp site is loaded here. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--background) url("img/site-teaser-light.jpg") center top / cover no-repeat;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgb(231 246 196 / 18%);
  pointer-events: none;
}

:root[data-theme="dark"] body::before {
  background-image: url("img/site-teaser-dark.jpg");
}

:root[data-theme="dark"] body::after {
  background: rgb(18 26 13 / 20%);
}

.site-header {
  margin-inline: 0;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.panel {
  box-shadow: 0 16px 64px rgb(25 43 9 / 12%);
}

.wave-block {
  margin: 0;
}

.art-credit {
  margin-top: 10px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.4;
  text-align: center;
  opacity: .2;
}

@media (max-width: 760px) {
  .wave-block {
    width: 180px;
    align-self: center;
  }

  body::before {
    background-image: url("img/site-teaser-mobile-light.jpg");
  }

  :root[data-theme="dark"] body::before {
    background-image: url("img/site-teaser-mobile-dark.jpg");
  }

  .site-header {
    padding: 12px;
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding: 10px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }
}
