:root {
  --ink: #121510;
  --ink-soft: #2a3228;
  --mist: #e6ebe3;
  --fog: #d4ddd0;
  --sage: #6b8f71;
  --teal: #1f5c57;
  --teal-deep: #0e3a36;
  --glow: #c8e6c0;
  --champagne: #f0e6d2;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--mist);
  overflow-x: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 10% -10%, var(--fog) 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 100%, #c5d4c8 0%, transparent 50%),
    linear-gradient(165deg, #eef2eb 0%, var(--mist) 45%, #d9e2d6 100%);
}

.orb-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transition: transform 0.4s ease-out;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}

.orb-a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  animation: drift-a 18s ease-in-out infinite alternate;
}

.orb-b {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  bottom: 5%;
  left: -10%;
  background: radial-gradient(circle, rgba(31, 92, 87, 0.35) 0%, transparent 70%);
  animation: drift-b 22s ease-in-out infinite alternate;
}

.orb-c {
  width: min(30vw, 280px);
  height: min(30vw, 280px);
  top: 42%;
  left: 48%;
  background: radial-gradient(circle, rgba(240, 230, 210, 0.7) 0%, transparent 70%);
  animation: drift-c 14s ease-in-out infinite alternate;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  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)'/%3E%3C/svg%3E");
  background-size: 180px;
}

@keyframes drift-a {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-40px, 50px) scale(1.08);
  }
}

@keyframes drift-b {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(50px, -30px) scale(1.12);
  }
}

@keyframes drift-c {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-60px, 40px);
  }
}

/* Layout layers */
.top,
.hero,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(31, 92, 87, 0.45);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 92, 87, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(31, 92, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 92, 87, 0);
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 3rem)
    clamp(3rem, 8vh, 5rem);
  max-width: 1100px;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.15s;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.brand .line {
  display: block;
  overflow: hidden;
}

.brand .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: reveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand .line:nth-child(1) .word {
  animation-delay: 0.25s;
}

.brand .line:nth-child(2) .word {
  animation-delay: 0.42s;
  color: var(--teal-deep);
}

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

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

.lede {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.7s;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.9s;
}

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

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

.field {
  min-width: min(100%, 220px);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 21, 16, 0.12);
  backdrop-filter: blur(8px);
}

.field::placeholder {
  color: rgba(42, 50, 40, 0.55);
}

.field:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.8);
}

.btn {
  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.02em;
  text-decoration: none;
  color: var(--champagne);
  background: var(--teal-deep);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

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

.meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(18, 21, 16, 0.08);
}

.foot-note {
  opacity: 0.7;
}

@media (max-width: 520px) {
  .brand {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .pulse,
  .eyebrow,
  .brand .word,
  .lede,
  .cta {
    animation: none !important;
  }

  .brand .word,
  .eyebrow,
  .lede,
  .cta {
    opacity: 1;
    transform: none;
  }
}
