/* Critical above-the-fold styles */
:root {
  color-scheme: light dark;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}
.dark body {
  background: #0c1222;
  color: #f1f5f9;
}
.font-display {
  font-family: "Playfair Display", Georgia, serif;
}
.chrono-menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.carousel-section {
  position: relative;
  max-width: 1320px;
  margin-inline: auto;
}
.carousel-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem 1rem 2.5rem;
  pointer-events: none;
  text-align: center;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.55) 72%, rgba(15, 23, 42, 0.82) 100%);
}
.carousel-hero__title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.carousel-hero__title span {
  color: #fbbf24;
}
.carousel-hero__subtitle {
  margin: 0.5rem 0 0;
  max-width: 42rem;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: #e2e8f0;
}
.section-intro {
  max-width: 48rem;
  margin: 0.75rem auto 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
}
.dark .section-intro {
  color: #cbd5e1;
}
.icon-lucide {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
