:root {
  --ink: #0c1118;
  --slate: #151c27;
  --steel: #8fa3b8;
  --mist: #d7e0ea;
  --foam: #f4f7fa;
  --accent: #3d9aad;
  --accent-soft: rgba(61, 154, 173, 0.35);
  --font-brand: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--ink);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(61, 154, 173, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 15% 85%, rgba(28, 48, 72, 0.9), transparent 50%),
    linear-gradient(165deg, #0a0e14 0%, #121a24 42%, #0d1520 100%);
}

.atmosphere__sheen {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(215, 224, 234, 0.04) 48%,
    rgba(61, 154, 173, 0.12) 50%,
    rgba(215, 224, 234, 0.04) 52%,
    transparent 65%
  );
  animation: sheen-drift 12s ease-in-out infinite;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem);
  max-width: 56rem;
}

.hero__service {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 0.9s ease 0.1s forwards;
}

.hero__brand {
  font-family: var(--font-brand);
  font-size: clamp(3.75rem, 14vw, 8.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--foam);
  text-wrap: balance;
  opacity: 0;
  animation: rise 1s ease 0.25s forwards;
}

.hero__headline {
  margin-top: 1.25rem;
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0;
  animation: rise 1s ease 0.4s forwards;
}

.hero__support {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--mist);
  opacity: 0;
  animation: rise 1s ease 0.55s forwards;
}

.hero__cta {
  margin-top: 2.25rem;
  opacity: 0;
  animation: rise 1s ease 0.7s forwards;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  background: var(--foam);
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.cta:hover {
  background: transparent;
  color: var(--foam);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

@keyframes sheen-drift {
  0%,
  100% {
    transform: translateX(-8%) translateY(2%) rotate(0.5deg);
  }
  50% {
    transform: translateX(8%) translateY(-2%) rotate(-0.5deg);
  }
}

@media (max-width: 640px) {
  .hero {
    justify-content: flex-end;
    padding-bottom: clamp(3rem, 12vh, 5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__sheen,
  .hero__service,
  .hero__brand,
  .hero__headline,
  .hero__support,
  .hero__cta {
    animation: none;
    opacity: 1;
  }

  .cta:hover {
    transform: none;
  }
}
