:root {
  color-scheme: dark;
  --ink: #effaf6;
  --ink-soft: rgba(232, 250, 244, 0.72);
  --white: #ffffff;
  --aqua: #48d2c2;
  --mint: #84e1ad;
  --rose: #c89a78;
  --glass: rgba(14, 31, 34, 0.54);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  background: #071116;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 2.5rem);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 12, 16, 0.94) 0%, rgba(7, 18, 23, 0.82) 37%, rgba(7, 18, 23, 0.34) 70%, rgba(7, 18, 23, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 17, 22, 0.34), rgba(7, 17, 22, 0.82)),
    radial-gradient(circle at 27% 36%, rgba(72, 210, 194, 0.18), transparent 36%),
    radial-gradient(circle at 78% 75%, rgba(200, 154, 120, 0.16), transparent 34%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(132, 225, 173, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 210, 194, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 68%);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.06) brightness(0.9);
  animation: slow-push 18s ease-in-out infinite alternate;
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.aurora {
  position: absolute;
  z-index: 0;
  width: 42vmax;
  aspect-ratio: 1;
  border-radius: 999px;
  opacity: 0.5;
  filter: blur(44px);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.aurora--one {
  top: 4%;
  left: -16%;
  background: radial-gradient(circle, rgba(72, 210, 194, 0.34), transparent 68%);
  animation: drift-one 11s ease-in-out infinite alternate;
}

.aurora--two {
  right: 16%;
  bottom: -24%;
  background: radial-gradient(circle, rgba(200, 154, 120, 0.28), transparent 65%);
  animation: drift-two 13s ease-in-out infinite alternate;
}

.scanline {
  position: absolute;
  inset: -20% 0 auto;
  z-index: 3;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(132, 225, 173, 0.13), transparent);
  transform: translateY(-120%);
  animation: scan 8s cubic-bezier(0.33, 0, 0.18, 1) infinite;
}

.hero__content {
  position: relative;
  z-index: 4;
  grid-row: 1;
  align-self: center;
  width: min(760px, 100%);
  padding-left: clamp(0rem, 4vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(0.95rem, 1.5vw, 1.4rem);
  color: rgba(211, 242, 232, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: reveal-up 700ms ease 120ms both;
}

.eyebrow::before {
  width: 2.8rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--aqua), var(--rose));
}

h1 {
  margin: 0;
  max-width: 9ch;
  color: #f4fff9;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 10.5rem;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 56px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(72, 210, 194, 0.16);
  animation: reveal-up 850ms cubic-bezier(0.2, 0.85, 0.2, 1) 260ms both;
}

.status {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 4.35rem;
  margin: clamp(1.05rem, 2.4vw, 1.75rem) 0 0;
  padding: 0.85rem clamp(1.2rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(90deg, rgba(72, 210, 194, 0.2), rgba(200, 154, 120, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 20px 52px rgba(0, 0, 0, 0.26),
    0 0 42px rgba(72, 210, 194, 0.12);
  color: #ecfff8;
  font-size: 1.36rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(1.28);
  animation: reveal-up 760ms ease 500ms both, pulse-glass 3.5s ease-in-out infinite 1.4s;
}

.status::after {
  position: absolute;
  inset: -80% auto -80% -28%;
  width: 36%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: rotate(16deg);
  animation: shimmer 3.4s ease-in-out infinite;
}

.hero__footer {
  position: relative;
  z-index: 4;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: min(850px, 100%);
  padding-left: clamp(0rem, 4vw, 4rem);
  color: rgba(219, 244, 237, 0.58);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fade-in 700ms ease 760ms both;
}

.hero__footer span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 22, 26, 0.34);
  backdrop-filter: blur(16px);
}

@keyframes slow-push {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(-1.2%, 0.8%, 0);
  }
}

@keyframes drift-one {
  to {
    transform: translate3d(8%, 10%, 0) scale(1.08);
  }
}

@keyframes drift-two {
  to {
    transform: translate3d(-9%, -8%, 0) scale(0.92);
  }
}

@keyframes scan {
  0%,
  18% {
    transform: translateY(-120%);
  }

  52%,
  100% {
    transform: translateY(320%);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse-glass {
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 20px 58px rgba(0, 0, 0, 0.3),
      0 0 52px rgba(72, 210, 194, 0.22);
  }
}

@keyframes shimmer {
  0%,
  36% {
    transform: translateX(0) rotate(16deg);
  }

  76%,
  100% {
    transform: translateX(430%) rotate(16deg);
  }
}

@media (max-width: 820px) {
  body {
    overflow-y: auto;
  }

  .hero {
    grid-template-rows: 1fr;
    min-height: 100svh;
    padding: 1.15rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 12, 16, 0.94) 0%, rgba(7, 18, 23, 0.82) 44%, rgba(7, 18, 23, 0.44) 100%),
      radial-gradient(circle at 44% 22%, rgba(72, 210, 194, 0.14), transparent 36%);
  }

  .hero__background img {
    object-position: 67% center;
  }

  .hero__content {
    align-self: center;
    justify-self: center;
    padding-top: 0;
    padding-left: 0;
    text-align: left;
  }

  .eyebrow {
    justify-content: flex-start;
  }

  h1 {
    max-width: 8ch;
    font-size: 6.15rem;
  }

  .status {
    min-height: 3.7rem;
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .hero__footer {
    position: absolute;
    right: 1.15rem;
    bottom: 1.15rem;
    left: 1.15rem;
    padding-left: 0;
    padding-bottom: 0.2rem;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .hero__content {
    padding-top: 0;
  }

  .eyebrow {
    max-width: 100%;
    letter-spacing: 0.13em;
  }

  .eyebrow::before {
    width: 1.6rem;
  }

  h1 {
    font-size: 4.4rem;
  }

  .hero__footer {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .hero__footer span {
    min-height: 1.95rem;
    padding: 0.5rem 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .particle-field,
  .scanline {
    display: none;
  }
}
