:root {
  --ink: #0c1f2e;
  --ink-soft: #2a4558;
  --foam: #f2f7f9;
  --sea: #1a6b7a;
  --sea-deep: #0e4a56;
  --glow: rgba(90, 180, 196, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
}

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

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 20%, var(--glow), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(14, 74, 86, 0.12), transparent 50%),
    linear-gradient(165deg, #e8f4f6 0%, #f2f7f9 40%, #dcecf0 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  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.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.04) translate(-1%, 1%);
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 52rem;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 16vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tagline {
  margin: 1.25rem 0 0;
  max-width: 22rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-soft);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--foam);
  background: var(--sea);
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.cta:hover {
  background: var(--sea-deep);
  transform: translateY(-1px);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .brand,
  .tagline,
  .cta {
    animation: none;
  }
}
