:root {
  --ice: #eaf6ff;
  --sky: #6eb6e0;
  --navy: #0c2a44;
  --ship: #d85a2b;
  --ship-soft: #f3b48f;
  --white: #ffffff;
  --font-display: "Spectral", "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  color: var(--ice);
  font-family: var(--font-sans);
  background: var(--navy);
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.stage__photo {
  position: absolute;
  inset: -2%;
  background: url("media/antarctica-2026-cropped.jpg") center 45% / cover
    no-repeat;
  animation: drift 20s ease-in-out infinite alternate;
}

.stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 32, 54, 0.5) 0%,
      rgba(8, 32, 54, 0.22) 24%,
      rgba(8, 32, 54, 0.3) 58%,
      rgba(8, 32, 54, 0.82) 100%
    );
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3.5rem, 10vh, 6.5rem) 1.25rem clamp(2.5rem, 6vh, 4rem);
}

.title {
  margin: 0;
  width: min(100%, 48rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: rise 0.95s ease both;
}

.title__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  line-height: 1.15;
  color: var(--white);
  text-wrap: balance;
  text-shadow:
    0 0.08rem 0.18rem rgba(5, 20, 35, 0.9),
    0 0.35rem 1.4rem rgba(5, 20, 35, 0.55);
}

.title__sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--ice) 88%, var(--sky));
  text-wrap: balance;
  text-shadow: 0 0.15rem 0.7rem rgba(5, 20, 35, 0.55);
}

.status {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: calc(100% - 2rem);
  padding: 0.65rem 1rem;
  white-space: nowrap;
  text-align: left;
  background: rgba(8, 32, 54, 0.42);
  transform: translate(-50%, -50%);
  animation: rise-center 1.05s ease 0.2s both;
}

.status__icon {
  flex: 0 0 auto;
  width: clamp(2.2rem, 4.5vw, 3.1rem);
  height: auto;
  filter: drop-shadow(0 0.25rem 0.7rem rgba(5, 20, 35, 0.45));
}

.status__icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.status__text {
  font-size: clamp(1.05rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ship-soft);
  text-shadow: 0 0.2rem 0.9rem rgba(5, 20, 35, 0.7);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-center {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 1rem));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(0, -1.1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage__photo,
  .title,
  .status {
    animation: none;
  }

  .stage__photo {
    transform: none;
  }

  .status {
    transform: translate(-50%, -50%);
  }
}
