/* =======================================================
   DISCOUNT DIAPER DEPOT — Design Tokens & Component Styles
   Art Direction: Warm, family-friendly, trustworthy
   Palette: Teal primary + warm cream/beige surfaces
   ======================================================= */

/* --- Fonts ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Serif+Display&display=swap');

/* --- Type Scale ------------------------------------------- */
:root {
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* --- Spacing -------------------------------------------- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Radius --------------------------------------------- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* --- Transitions ---------------------------------------- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content Widths ------------------------------------- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* --- LIGHT MODE (Default) --------------------------------- */
:root, [data-theme="light"] {
  --color-bg:             #faf9f6;
  --color-surface:        #ffffff;
  --color-surface-2:      #f5f3ef;
  --color-surface-offset: #efecea;
  --color-divider:        #e2dfda;
  --color-border:         #d4d1ca;

  --color-text:           #1a1814;
  --color-text-muted:     #6b6a66;
  --color-text-faint:     #a3a19c;
  --color-text-inverse:   #ffffff;

  /* Teal Primary */
  --color-primary:        #01696f;
  --color-primary-hover:  #0c4e54;
  --color-primary-active: #0f3638;
  --color-primary-light:  #e0f2f3;
  --color-primary-subtle: #cce8ea;

  /* Gold Accent */
  --color-gold:           #d19900;
  --color-gold-light:     #fdf5e0;

  /* Success */
  --color-success:        #437a22;
  --color-success-light:  #eaf5e0;

  /* Error */
  --color-error:          #c0392b;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.12);
  --shadow-xl: 0 20px 48px oklch(0.2 0.01 80 / 0.16);
}

/* --- DARK MODE -------------------------------------------- */
[data-theme="dark"] {
  --color-bg:             #111110;
  --color-surface:        #1a1918;
  --color-surface-2:      #222120;
  --color-surface-offset: #1e1d1c;
  --color-divider:        #2d2c2a;
  --color-border:         #3a3937;

  --color-text:           #e8e7e4;
  --color-text-muted:     #8a8986;
  --color-text-faint:     #5e5d5a;
  --color-text-inverse:   #1a1814;

  --color-primary:        #4f98a3;
  --color-primary-hover:  #6ab3be;
  --color-primary-active: #3a7d87;
  --color-primary-light:  #1e2e30;
  --color-primary-subtle: #253638;

  --color-gold:           #e8af34;
  --color-gold-light:     #2e2a1e;

  --color-success:        #6daa45;
  --color-success-light:  #1e2a18;

  --color-error:          #e57373;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  --shadow-xl: 0 20px 48px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #111110;
    --color-surface:        #1a1918;
    --color-surface-2:      #222120;
    --color-surface-offset: #1e1d1c;
    --color-divider:        #2d2c2a;
    --color-border:         #3a3937;
    --color-text:           #e8e7e4;
    --color-text-muted:     #8a8986;
    --color-text-faint:     #5e5d5a;
    --color-text-inverse:   #1a1814;
    --color-primary:        #4f98a3;
    --color-primary-hover:  #6ab3be;
    --color-primary-active: #3a7d87;
    --color-primary-light:  #1e2e30;
    --color-primary-subtle: #253638;
    --color-gold:           #e8af34;
    --color-gold-light:     #2e2a1e;
    --color-success:        #6daa45;
    --color-success-light:  #1e2a18;
    --color-error:          #e57373;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
    --shadow-xl: 0 20px 48px oklch(0 0 0 / 0.5);
  }
}

/* =======================================================
   COMPONENTS
   ======================================================= */

/* --- Skip Link ------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  z-index: 100;
  font-size: var(--text-sm);
}
.skip-link:focus {
  top: var(--space-2);
}

/* --- Header / Navigation --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}
.logo-link svg {
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding: var(--space-1) 0;
}
.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: background var(--transition-interactive),
              color var(--transition-interactive);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.btn-cta-nav {
  display: none;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive);
}
.btn-cta-nav:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn-cta-nav:active {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .btn-cta-nav { display: inline-flex; }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--color-bg);
  padding: var(--space-16) var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav a:hover {
  color: var(--color-primary);
}
.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}
.mobile-nav .btn-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
}

/* --- Hero Section ---------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(0.15 0.02 200 / 0.82) 0%,
    oklch(0.12 0.01 200 / 0.65) 100%
  );
}
[data-theme="dark"] .hero-bg::after {
  background: linear-gradient(
    135deg,
    oklch(0.08 0.02 200 / 0.88) 0%,
    oklch(0.06 0.01 200 / 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-20) var(--space-4) var(--space-16);
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: oklch(1 0 0 / 0.15);
  border: 1px solid oklch(1 0 0 / 0.25);
  color: #fff;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-4);
  max-width: 14ch;
}
.hero-subtitle {
  font-size: var(--text-lg);
  color: oklch(1 0 0 / 0.85);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary.btn-white {
  background: #fff;
  color: var(--color-primary);
}
.btn-primary.btn-white:hover {
  background: #f0f0f0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: oklch(1 0 0 / 0.12);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid oklch(1 0 0 / 0.25);
  text-decoration: none;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive);
}
.btn-secondary:hover {
  background: oklch(1 0 0 / 0.2);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
}
.hero-stat {
  text-align: left;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  display: block;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* --- Section Defaults ------------------------------------ */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-4);
}
.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.section-narrow {
  max-width: var(--content-default);
  margin: 0 auto;
}
.section-header {
  margin-bottom: var(--space-10);
}
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
}

/* --- Value Props (How It Works) -------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}
.value-card-step {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.value-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.value-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Products Section ------------------------------------ */
.products-bg {
  background: var(--color-surface-2);
}
.product-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .product-showcase {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}
.product-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-list {
  list-style: none;
}
.product-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
}
.product-list li:last-child {
  border-bottom: none;
}
.product-list .product-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-success);
}

/* --- Savings Section ------------------------------------- */
.savings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .savings-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}
.savings-card {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
  background: var(--color-surface);
}
.savings-card.highlight {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}
.savings-card.highlight .savings-label {
  color: oklch(1 0 0 / 0.7);
}
.savings-card.highlight .savings-price {
  color: #fff;
}
.savings-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}
.savings-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.savings-detail {
  font-size: var(--text-sm);
  opacity: 0.85;
  line-height: 1.5;
}

/* --- Mobile Trailer Section ------------------------------ */
.trailer-section {
  position: relative;
  overflow: hidden;
}
.trailer-image-container {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--space-8);
}
.trailer-image-container img {
  width: 100%;
  height: auto;
  display: block;
}
.trailer-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .trailer-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trailer-features { grid-template-columns: repeat(3, 1fr); }
}
.trailer-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
}
.trailer-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.trailer-feature h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.trailer-feature p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* --- About Section --------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}
.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Community Image Break ------------------------------- */
.image-break {
  position: relative;
  height: clamp(280px, 40vw, 480px);
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--color-bg) 0%,
    transparent 15%,
    transparent 85%,
    var(--color-bg) 100%
  );
}

/* --- CTA Section ----------------------------------------- */
.cta-section {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-4);
}
.cta-section .section-title {
  color: #fff;
}
.cta-section .section-desc {
  color: oklch(1 0 0 / 0.8);
  margin: 0 auto var(--space-8);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* --- Contact Section ------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
  text-align: center;
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-4);
}
.contact-card h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.contact-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact-card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.contact-card a:hover {
  text-decoration: underline;
}

/* --- Footer ---------------------------------------------- */
.site-footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-12) var(--space-4) var(--space-6);
}
.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 32ch;
}
.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  gap: var(--space-3);
}
.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-bottom a {
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--color-primary);
}

/* --- Scroll Reveal --------------------------------------- */
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes reveal-fade {
  to { opacity: 1; }
}

/* Fallback for browsers without scroll-driven animation */
@supports not (animation-timeline: scroll()) {
  .fade-in { opacity: 1; }
}

/* --- Utility --------------------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
