:root {
  --ink: #eaf4f1;
  --ink-dim: #86a6a1;
  --bg-0: #071627;
  --bg-1: #0c2740;
  --coral: #ff8f66;
  --coral-dim: #9a5940;
  --teal-glow: rgba(74, 140, 214, 0.18);
  --line: rgba(234, 244, 241, 0.14);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(120% 90% at 18% 4%, #123458 0%, transparent 55%),
    radial-gradient(140% 120% at 88% 100%, #0d2c48 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.noise {
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.current {
  position: absolute;
  width: 50rem;
  height: 50rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle at 35% 30%, var(--teal-glow), transparent 60%);
  filter: blur(10px);
  animation: drift 16s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(-50%, -55%) scale(1); }
  50% { transform: translate(-47%, -50%) scale(1.08); }
}

.fish {
  position: absolute;
  background: var(--ink-dim);
  clip-path: polygon(0% 50%, 18% 22%, 58% 18%, 68% 38%, 100% 15%, 82% 50%, 100% 85%, 68% 62%, 58% 82%, 18% 78%);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.fish-1 {
  top: 24%;
  width: 4.5rem;
  height: 1.9rem;
  opacity: 0.14;
  animation-name: swim;
  animation-duration: 26s;
}

.fish-2 {
  top: 60%;
  width: 3rem;
  height: 1.3rem;
  opacity: 0.1;
  animation-name: swim;
  animation-duration: 34s;
  animation-delay: -12s;
}

.fish-3 {
  top: 76%;
  width: 5.5rem;
  height: 2.3rem;
  opacity: 0.18;
  animation-name: swim;
  animation-duration: 30s;
  animation-delay: -6s;
}

@keyframes swim {
  0%   { transform: translate(115vw, 0); }
  25%  { transform: translate(65vw, -1.1rem); }
  50%  { transform: translate(15vw, 0.6rem); }
  75%  { transform: translate(-15vw, -0.6rem); }
  100% { transform: translate(-40vw, 0); }
}

.bubbles span {
  position: absolute;
  bottom: -2rem;
  border-radius: 50%;
  background: rgba(234, 244, 241, 0.12);
  border: 1px solid rgba(234, 244, 241, 0.16);
  animation: rise-bubble linear infinite;
}

.bubbles span:nth-child(1) { left: 8%;  width: 0.5rem; height: 0.5rem; animation-duration: 9s;  animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 22%; width: 0.3rem; height: 0.3rem; animation-duration: 7s;  animation-delay: 1.5s; }
.bubbles span:nth-child(3) { left: 41%; width: 0.7rem; height: 0.7rem; animation-duration: 11s; animation-delay: 3s; }
.bubbles span:nth-child(4) { left: 63%; width: 0.4rem; height: 0.4rem; animation-duration: 8s;  animation-delay: 0.8s; }
.bubbles span:nth-child(5) { left: 78%; width: 0.55rem; height: 0.55rem; animation-duration: 10s; animation-delay: 4.2s; }
.bubbles span:nth-child(6) { left: 92%; width: 0.35rem; height: 0.35rem; animation-duration: 7.5s; animation-delay: 2.2s; }

@keyframes rise-bubble {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  50%  { transform: translateY(-52vh) translateX(0.6rem); }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-104vh) translateX(-0.4rem); opacity: 0; }
}

.stage {
  position: relative;
  z-index: 3;
  max-width: 42rem;
  padding: 3rem 1.75rem;
  text-align: left;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: rise 0.7s ease forwards;
  animation-delay: 0.05s;
}

.mark-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 143, 102, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.headline {
  margin: 0 0 1.5rem;
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.headline .line {
  display: block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline .line:nth-child(1) { animation-delay: 0.15s; }
.headline .line.accent {
  font-style: italic;
  color: var(--coral);
  animation-delay: 0.3s;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .stage { padding: 2.25rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .current,
  .fish,
  .bubbles span,
  .mark-dot,
  .mark,
  .headline .line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
