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

html, body {
  height: 100%;
}

body {
  background-color: #F4F2EE;
  color: #0F0F0F;
  font-family: 'Cutive Mono', monospace;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  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");
  background-repeat: repeat;
  background-size: 256px 256px;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 96px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero {
  font-family: 'Bodoni Moda', serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: 0.035em;
  line-height: 1;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeIn 350ms ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  padding: 0 96px 48px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

footer p {
  font-family: 'Cutive Mono', monospace;
  font-weight: 400;
  font-size: 13px;
  color: #2B2B2B;
}

@media (max-width: 768px) {
  .hero {
    margin-top: 12px;
  }

  main {
    padding: 32px;
  }

  footer {
    padding: 0 32px 32px;
  }
}
