:root {
  --brand: #0e7c66;
  --ink: #33404f;
  --ink-strong: #1a2b33;
  --muted: #6b7785;
  --cream: #fafaf7;
  --cream-deep: #f0efe8;
  --leaf: color-mix(in srgb, var(--brand) 14%, transparent);
  --font: "Poppins", "Segoe UI", sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 18%, var(--leaf), transparent 72%),
    radial-gradient(ellipse 45% 40% at 90% 90%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  animation: wash 16s ease-in-out infinite alternate;
  z-index: -1;
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.25rem, 4vw, 3rem);
}

.brand-plane {
  display: block;
  width: min(100%, 1100px);
  height: auto;
  max-height: min(58vh, 520px);
  object-fit: contain;
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.cta-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

@keyframes wash {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(0, -1.5%, 0);
  }
}

@media (max-width: 640px) {
  .brand-plane {
    max-height: min(42vh, 280px);
  }
}

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