@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@300;400;500&display=swap');

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

/* ===== BASE ===== */

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: #f2f2f2;
  background: #0b0b0b;
  overflow-x: hidden;
}

.word {
  transition: color 0.4s ease;
  will-change: color;
}

/* ===== BACKGROUND MAGIC ===== */

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.85;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.orb:nth-child(1) {
  background: radial-gradient(circle, rgba(120,180,255,0.9), transparent 40%);
}

.orb:nth-child(2) {
  background: radial-gradient(circle, rgba(200,120,255,0.9), transparent 35%);
}

.orb:nth-child(3) {
  background: radial-gradient(circle, rgba(120,255,200,0.9), transparent 37%);
}

/* subtle grain */

.noise {
  position: fixed;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.05;
  pointer-events: none;
  z-index: 5;
}

/* ===== CONTENT ===== */

.wrapper {
  min-height: 100vh;
  max-width: 880px;
  margin: 0 auto;
  padding: 90px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn 1.5s ease forwards;
}

.hero {
  margin-bottom: 70px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  font-size: clamp(44px, 7vw, 96px);
}

.hero h1 span {
  background: linear-gradient(90deg, #ffffffeb, #e6c4d0, #ead6f6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ===== TEXT ===== */

.content {
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: normal;
}

.content p {
  max-width: 640px;
  font-size: 1rem;           /* 16px */
  line-height: 1.75;
  margin-bottom: 34px;
  opacity: 0;
  animation: slideUp 1s ease forwards;
}

.content p:nth-child(1) { animation-delay: 0.6s; }
.content p:nth-child(2) { animation-delay: 0.9s; }
.content p:nth-child(3) { animation-delay: 1.2s; }

.content em {
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
}

.final {
  margin-top: 60px;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 0.9;
  }
}

/* ===== MOBILE ART DIRECTION ===== */

@media (max-width: 768px) {
  .wrapper {
    padding: 64px 20px;
  }

  .hero {
    margin-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(34px, 7vw, 44px);
    line-height: 1.15;
  }

  .tagline {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .content {
    max-width: 36ch;
  }

  .content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: left;
  }

  .content p + p {
    margin-top: 36px;
  }

  .orb {
    width: 300px;
    height: 300px;
    filter: blur(70px);
    opacity: 0.55;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(32px, 8vw, 40px);
  }

  .content p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .orb {
    width: 240px;
    height: 240px;
    filter: blur(60px);
    opacity: 0.45;
  }
}
