@import url("https://fonts.googleapis.com/css2?family=Boldonse&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Inter:wght@100..900&display=swap");

:root {
  /* Colors */
  --color-primary: #0a0a0a;
  --color-secondary: #161616;
  --color-accent: #ff2c2c;
  --color-text: #f5f5f5;
  --color-text-muted: rgba(245, 245, 245, 0.7);
  --color-border: rgba(255, 255, 255, 0.05);
  --color-overlay: rgba(0, 0, 0, 0.5);
  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-display: "Boldonse", serif;
  --font-serif: "EB Garamond", serif;
  --text-xs: 0.7rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.2rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 3rem;
  --text-mega: clamp(7rem, 15vw, 12rem);
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  /* Layout */
  --panel-padding: 5%;
  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-primary);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Canvas styling */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* Allow clicks to pass through to content */
}

/* Content positioned above canvas */
.content {
  position: relative;
  z-index: 2;
}

.section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.section-inner {
  width: 100%;
  padding: 0 var(--panel-padding);
  max-width: 1600px;
  margin: 0 auto;
  pointer-events: auto; /* Ensure clickable */
}

.title {
  font-family: var(--font-display);
  font-size: var(--text-mega);
  line-height: 1.2;
  margin-bottom: var(--space-6);
  font-weight: 700;
  opacity: 0; /* For GSAP animation */
  transform: translateY(50px); /* Initial state for animation */
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.description {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  max-width: 600px;
  margin-bottom: var(--space-8);
  opacity: 0; /* For GSAP animation */
  transform: translateY(30px); /* Initial state for animation */
  color: var(--color-text-muted);
  font-weight: 300;
}

.footer {
  position: fixed;
  bottom: var(--space-4);
  left: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  z-index: 100003;
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 768px) {
  .title {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .description {
    font-size: var(--text-lg);
  }

  .footer {
    width: 100%;
    text-align: center;
    left: 0;
  }
}