/* ══════════════════════════════════════
   index.html — Home Page Styles
   ══════════════════════════════════════ */

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

.main {
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
  height: fit-content;
}

.intro{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.intro__name{
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--black);
  line-height: 1;
}

.intro__label{
  font-family: 'Geist', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.intro.hidden{
  display: none;
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: var(--space-xl) clamp(var(--space-lg), 6vw, var(--space-2xl));
  width: 100vw;
  margin: 0;
  top: 0;left: 0;
  overflow: hidden;
}

.hero__text {
  flex: 1;
  max-width: 540px;
  text-align: center;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.hero__bio {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark-gray);
  min-height: 114px;
  margin-bottom: var(--space-lg);
}

/* Cursore lampeggiante */
.hero__bio::after {
  content: '|';
  font-weight: 300;
  color: var(--black);
  animation: blink 0.7s step-end infinite;
  margin-left: 1px;
}

.hero__bio.done::after {
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

