* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  background: #061b3a;
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background: #061b3a;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: #061b3a;
}

.artwork {
  position: relative;
  width: min(100vw, 177.683vw, 177.683svh);
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  isolation: isolate;
  background: #071d3b;
}

.artwork__image,
.water {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.artwork__image {
  object-fit: fill;
}

.water {
  pointer-events: none;
  opacity: 0;
  transition: opacity 700ms ease;
}

.water.is-ready {
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-aspect-ratio: 1672 / 941) {
  .artwork {
    width: min(100vw, 177.683svh);
  }
}

@media (max-width: 600px) {
  .landing {
    min-height: 100svh;
    background: #061b3a;
  }

  .artwork {
    position: relative;
    top: auto;
    left: auto;
    width: 100vw;
    max-width: 100vw;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .water {
    display: none;
    transition: none;
  }
}
