/* LaWash – Coming Soon
   Brand palette: 000000 · 021A32 · 0C2839 · 0B486C · 0D6496 · 00A2FF · 3FBCEC · FEFEFE */

:root {
  --c-black: #000000;
  --c-navy-900: #021a32;
  --c-navy-800: #0c2839;
  --c-blue-700: #0b486c;
  --c-blue-600: #0d6496;
  --c-blue-500: #00a2ff;
  --c-blue-300: #3fbcec;
  --c-white: #fefefe;

  --font-display: "Fredoka", "Baloo 2", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  padding-top: max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-top, 0px));
  padding-bottom: max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-bottom, 0px));
  font-family: var(--font-display);
  color: var(--c-navy-900);
  background: linear-gradient(180deg, var(--c-white) 0%, #e4f5fc 55%, #b7e3f6 100%);
  background: linear-gradient(
    180deg,
    var(--c-white) 0%,
    color-mix(in srgb, var(--c-blue-300) 16%, var(--c-white)) 55%,
    color-mix(in srgb, var(--c-blue-300) 42%, var(--c-white)) 100%
  );
}

/* Deep water glow rising from the bottom edge */
body::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 22vh;
  background: linear-gradient(180deg, transparent, rgba(13, 100, 150, 0.28));
  pointer-events: none;
  z-index: 0;
}

/* ---------- Content ---------- */

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 2.5vh, 1.75rem);
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.logo {
  display: block;
  width: min(560px, 82vw);
  max-height: 52vh;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(2, 26, 50, 0.18));
}

.headline {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.75rem, 10vw, 7rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-blue-700);
  background: linear-gradient(90deg, var(--c-blue-700), var(--c-blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* keeps the gradient text from being clipped on descenders */
  padding-bottom: 0.08em;
}

/* ---------- Bubbles ---------- */

.bubbles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  left: var(--x);
  bottom: calc(var(--size) * -1.5);
  width: var(--size);
  height: var(--size);
  opacity: 0;
  animation: rise var(--dur) linear var(--delay) infinite;
  will-change: transform, opacity;
}

.bubble > span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 162, 255, 0.55);
  background: radial-gradient(
    circle at 32% 30%,
    rgba(254, 254, 254, 0.95) 0 9%,
    rgba(63, 188, 236, 0.22) 38%,
    rgba(0, 162, 255, 0.16) 100%
  );
  box-shadow: inset 0 -6px 12px rgba(13, 100, 150, 0.12);
  animation: sway var(--sway) ease-in-out var(--delay) infinite alternate;
}

/* small highlight */
.bubble > span::after {
  content: "";
  position: absolute;
  top: 16%;
  left: 20%;
  width: 22%;
  height: 12%;
  border-radius: 50%;
  background: rgba(254, 254, 254, 0.9);
  transform: rotate(-35deg);
}

@keyframes rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(0, -115vh, 0);
    opacity: 0;
  }
}

@keyframes sway {
  from {
    transform: translateX(calc(var(--amp) * -1));
  }
  to {
    transform: translateX(var(--amp));
  }
}

/* ---------- Accessibility ---------- */

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

@media (max-height: 520px) and (orientation: landscape) {
  .stage {
    flex-direction: row;
    gap: 2rem;
    text-align: left;
  }
  .logo {
    width: min(320px, 40vw);
    max-height: 80vh;
  }
  .headline {
    font-size: clamp(2.25rem, 7vw, 4.5rem);
  }
}
