:root {
  --forest: #0f3a2f;
  --forest-light: #1a5244;
  --cream: #f7f2df;
  --sunrise: #f7b267;
  --pink: #f28482;
  --mint: #c3f7d5;
  --text: #0c2c24;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--forest);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(247, 178, 103, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(242, 132, 130, 0.1), transparent);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 100;
}

.hero {
  min-height: 100vh;
  width: min(1080px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 6vw, 64px) 18px 40px;
  gap: 8px;
  position: relative;
  z-index: 1;
  animation: liftIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Logo styles */
.logo-wrap {
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  position: relative;
}

.logo-wrap::after {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(247, 178, 103, 0.3), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.logo-wrap:hover::after {
  opacity: 1;
}

.logo {
  width: clamp(160px, 34vw, 260px);
  border-radius: 22px;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  background: var(--forest);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.logo:hover {
  transform: translateY(-10px) scale(1.03) rotate(-1deg);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(247, 178, 103, 0.15);
}

/* Typography */
.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(247, 242, 223, 0.6);
  margin: 0 0 14px;
  animation: fadeSlideIn 0.8s 0.2s ease both;
}

h1 {
  font-family: "Baloo 2", "Work Sans", system-ui, sans-serif;
  font-size: clamp(3.2rem, 9vw, 5rem);
  color: var(--cream);
  margin: 0 0 12px;
  line-height: 1;
  animation: fadeSlideIn 0.8s 0.3s ease both;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--cream) 0%,
    var(--sunrise) 50%,
    var(--pink) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.tagline {
  margin: 0 auto 24px;
  font-size: 1.1rem;
  max-width: 40ch;
  color: rgba(247, 242, 223, 0.75);
  font-weight: 400;
  animation: fadeSlideIn 0.8s 0.4s ease both;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  animation: fadeSlideIn 0.8s 0.5s ease both;
}

.social-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 242, 223, 0.5);
  transition: all 0.3s ease;
}

.social-row a:hover {
  color: var(--cream);
  transform: translateY(-2px);
}

.social-row svg {
  transition: transform 0.3s ease;
}

.social-row a:hover svg {
  transform: scale(1.15);
}

/* Email link */
.email-link {
  color: rgba(247, 242, 223, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.email-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--sunrise), var(--pink));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.email-link:hover {
  color: var(--cream);
}

.email-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Floating orbs - more refined */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
  will-change: transform;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--sunrise), var(--pink));
  top: -150px;
  left: -100px;
  animation: float1 20s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--pink), #a855f7);
  bottom: 10%;
  right: -50px;
  animation: float2 18s ease-in-out infinite;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--mint), var(--sunrise));
  bottom: -50px;
  left: 10%;
  animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 20px) scale(1.05); }
  66% { transform: translate(-20px, 10px) scale(0.95); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, -15px) scale(0.95); }
  66% { transform: translate(15px, -25px) scale(1.05); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.03); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Mobile responsive */
@media (max-width: 720px) {
  .hero {
    min-height: 100dvh;
    padding: 40px 16px 40px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }

  .orb {
    opacity: 0.25;
  }

  .orb-1 {
    width: 300px;
    height: 300px;
  }

  .orb-2 {
    width: 250px;
    height: 250px;
  }

  .orb-3 {
    width: 200px;
    height: 200px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
