:root {
  --bg: #1a1f1c;
  --fg: #e8ebe4;
  --muted: #9aa394;
  --accent: #c4a574;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.5;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 1.5rem;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196, 165, 116, 0.12), transparent), var(--bg);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.name {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}

.tagline {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.disco {
  position: relative;
  width: 64px;
  height: 72px;
  margin-bottom: 0.75rem;
}

.disco-string {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 8px;
  background: var(--muted);
  transform: translateX(-50%);
}

.disco-ball {
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(196, 165, 116, 0.35));
  animation: sway 6s ease-in-out infinite;
  transform-origin: 50% 8%;
}

.disco-spin {
  animation: tile-drift 12s linear infinite;
  transform-origin: 32px 34px;
}

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: twinkle 3.5s ease-in-out infinite;
}

.spark.s1 {
  top: 18%;
  left: 8%;
  animation-delay: 0s;
}

.spark.s2 {
  top: 12%;
  right: 6%;
  animation-delay: 1.1s;
}

.spark.s3 {
  bottom: 22%;
  left: 0%;
  animation-delay: 2s;
}

.spark.s4 {
  bottom: 28%;
  right: 2%;
  animation-delay: 2.8s;
}

@keyframes sway {
  0%, 100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}
@keyframes tile-drift {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.6);
  }
  40% {
    opacity: 0.9;
    transform: scale(1.2);
  }
  60% {
    opacity: 0.35;
  }
}
.cats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3.5rem;
  pointer-events: none;
  z-index: 0;
}

.cat {
  position: absolute;
  bottom: 0;
  opacity: 0.72;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.cat-left {
  left: clamp(0.5rem, 4vw, 2.5rem);
}

.cat-right {
  right: clamp(0.5rem, 4vw, 2.5rem);
}

.cat .eye {
  animation: blink 7s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.cat-right .eye {
  animation-delay: 2.4s;
}

.cat-left .tail {
  transform-origin: 58px 44px;
  animation: tail-sway 4.5s ease-in-out infinite;
}

.cat-right .tail-curl {
  transform-origin: 20px 36px;
  animation: tail-flick 5.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 92%, 100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
@keyframes tail-sway {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(12deg);
  }
}
@keyframes tail-flick {
  0%, 100% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(-8deg);
  }
  55% {
    transform: rotate(6deg);
  }
}
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .page {
    padding: 2rem 1.25rem;
  }
  .disco-ball {
    width: 48px;
    height: 48px;
  }
  .cat {
    opacity: 0.55;
    transform: scale(0.85);
    transform-origin: bottom center;
  }
  .cats {
    bottom: 3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .disco-ball,
  .disco-spin,
  .spark,
  .cat .eye,
  .cat-left .tail,
  .cat-right .tail-curl {
    animation: none;
  }
}
