/* ── Palette (from Coolors) ───────────────────────────── */
:root {
  --shadow-grey: #29292f;
  --ivory: #f8fff0;
  --cool-sky: #71b9f0;
  --seagrass: #5d9e93;
  --dark-slate: #294946;
  --lavender: #78739e;

  --bg: var(--shadow-grey);
  --text: var(--ivory);
}

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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  overflow: hidden;
  position: relative;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 120% at 50% 0%, var(--dark-slate) 0%, var(--shadow-grey) 60%);
}

/* ── Ambient blurred orbs ─────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.orb--sky {
  width: 42vmax;
  height: 42vmax;
  background: var(--cool-sky);
  top: -12vmax;
  left: -10vmax;
  animation: drift1 22s ease-in-out infinite;
}

.orb--sea {
  width: 38vmax;
  height: 38vmax;
  background: var(--seagrass);
  bottom: -14vmax;
  right: -8vmax;
  animation: drift2 26s ease-in-out infinite;
}

.orb--lav {
  width: 30vmax;
  height: 30vmax;
  background: var(--lavender);
  bottom: 10vmax;
  left: 20vmax;
  opacity: 0.4;
  animation: drift3 30s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6vmax, 4vmax); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5vmax, -6vmax); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4vmax, -3vmax); }
}

/* ── Content ──────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cool-sky);
  opacity: 0.8;
  margin-bottom: 1rem;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3.5rem, 16vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, var(--cool-sky), var(--seagrass) 45%, var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--ivory);
  opacity: 0.7;
}

/* ── Links ────────────────────────────────────────────── */
.links {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.links a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(248, 255, 240, 0.25);
  border-radius: 999px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.links a:hover {
  border-color: var(--seagrass);
  background: rgba(93, 158, 147, 0.15);
  transform: translateY(-2px);
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--ivory);
  opacity: 0.4;
}

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

@media (prefers-reduced-motion: reduce) {
  .orb, main { animation: none; }
}
