:root {
  --bg: #000000;
  --text: #f5f5f5;
  --dim: #777788;
  --transition: all 0.8s cubic-bezier(0.23,1,0.32,1);
  --footer-text: rgba(255,255,255,0.3)
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

#canvas {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(#555, #333); 
    border-radius: 10px; 
}

.content-container {
  min-height: 100dvh;
  padding-top: 50dvh;
  padding-bottom: 12dvh;
  padding-left: 5vw;
  padding-right: 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phrase {
  font-size: clamp(1.7rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 20vh 0;
  opacity: 0;
  transform: translateY(70px);
  transition: all 1.3s cubic-bezier(0.23,1,0.32,1);
  text-align: center;
  will-change: opacity, transform;
  filter: blur(10px);
  transition: all 1.3s cubic-bezier(0.23,1,0.32,1);
}

.phrase.visible {
  opacity: 0.9;
  transform: translateY(0);
  filter: blur(0);
}

.phrase:first-child {
  margin-top: 0;
}

.phrase.smaller  { font-size: clamp(1.4rem, 4.8vw, 3.1rem); opacity: 0.78; }
.phrase.even-smaller { font-size: clamp(1.2rem, 4vw, 2.6rem); opacity: 0.65; }

footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.copyright { font-size: 0.8rem; color: var(--footer-text); text-transform: uppercase}
.footer-email { color: var(--footer-text); text-decoration: none; font-size: 0.85rem; transition: 0.3s; }
.footer-email:hover { color: white; }

@media (max-width: 850px) {
  .content-container {
    padding-top: 45dvh;
    padding-bottom: 15dvh;
  }
  
  .phrase {
    margin: 14vh 0;
    font-size: clamp(1.5rem, 7.2vw, 3.4rem);
  }
  
  .phrase.smaller  { font-size: clamp(1.3rem, 5.8vw, 2.8rem); }
  .phrase.even-smaller { font-size: clamp(1.1rem, 5vw, 2.4rem); }
}
