/* --- SECTION --- */
.section {
  padding: var(--section-spacing) 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-subtitle {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* --- DIVIDER --- */
.divider {
  width: 100%;
  overflow: hidden;
}

.divider-line {
  height: 2px;
  border-top: 2px solid var(--border);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s ease;
}

.divider-line.revealed {
  transform: scaleX(1);
}

/* --- FOOTER --- */
.footer {
  border-top: 2px solid var(--border);
  margin-top: var(--section-spacing);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
  }
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-link {
  color: var(--muted);
  /* transition: color var(--duration-slow); */
}

.footer-social-link:hover {
  animation: rotate-bounce var(--duration-slow);
  color: var(--primary);
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0, 1),
              transform 0.3s cubic-bezier(0.25, 0.1, 0, 1),
			  box-shadow var(--duration-fast);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0, 1),
              transform 0.6s cubic-bezier(0.25, 0.1, 0, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  :root {
    --section-spacing: 4rem;
    --gutter: 1.25rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-spacing: 3rem;
    --gutter: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
