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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(120deg,
    #FAF7E6,
    #F7EBF0,
    #EAF7F3,
    #F0F7EA,
    #F7F4EA,
    #EAF3F7,
    #F3EAF7
  );
  background-size: 1000% 1000%;
  animation: backgroundShift 120s ease-in-out infinite;

  color: #403D39;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@keyframes backgroundShift {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 25% 75%; }
  50%  { background-position: 50% 50%; }
  75%  { background-position: 75% 25%; }
  100% { background-position: 100% 50%; }
}

/* Layout */
.container {
  padding: 5vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

/* Typography + Animation */
.text {
  max-width: 650px;
}

.text h1,
.text p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.text h1 {
  animation-delay: 0.2s;
}

.text p {
  animation-delay: 0.4s;
}

.text p.floating {
  animation: fadeInUp 1.2s ease-out forwards, floatUp 4s ease-in-out infinite alternate;
  animation-delay: 1.4s;
}

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

@keyframes floatUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5px);
  }
}

/* Subtle grain effect */
.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNDAwJyBoZWlnaHQ9JzQwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZmlsdGVyIGlkPSdncmFpbic+PGZlVHVyYnVsZW5jZSB0eXBlPSdmaXJzdCcgbnVtT2N0YXZlcz0nMScgYmFzZUZyZXF1ZW5jeT0nLjUnLz48ZmVDb21wb3NpdGUgb3BlcmF0b3I9JmFtcDtub2RlcycgcmVzdWx0PSdhJj48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPScyJz48L2ZlR2F1c3NpYW5CbHVyPjwvZmVDb21wb3NpdGU+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI2dyYWluKScvPjwvc3ZnPg==");
  opacity: 0.05;
  animation: grainMovement 1.5s steps(2) infinite;
}

@keyframes grainMovement {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1px, 1px);
  }
  50% {
    transform: translate(1px, -0.5px);
  }
  75% {
    transform: translate(0.5px, 1px);
  }
}

/* Typography */
h1 {
  font-size: clamp(26px, 6vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #2E2B28;
  margin-top: -58px;
  margin-bottom: 22px;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

/* Links */
a {
  color: inherit;
  font-weight: 500;
  display: inline-block;
  border-bottom: solid 3px #121212;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover,
a:focus {
  color: #ff1e1ee6;
  border-color: #ff1e1ee6;
}


/* .text {
  transform: scaleX(-1)!important;
} */