/* ============================================
   Walk Through Time — Landing Page
   Brand colors from app theme
   ============================================ */

:root {
  --primary: #C84B31;
  --primary-dark: #A33D28;
  --secondary: #2D4059;
  --secondary-dark: #1A3A52;
  --background: #F7F5F0;
  --surface: #FFFFFF;
  --warm-cream: #F4E4D7;
  --soft-gold: #D4A574;
  --text-primary: #2D2D2D;
  --text-secondary: #666666;
  --text-light: #999999;
  --border: #E0E0E0;
}

/* ---- Reset & Base ---- */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  color: var(--secondary);
  line-height: 1.2;
  font-weight: 700;
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ---- Layout ---- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--surface);
  transition: color 0.3s;
}

.nav.scrolled .nav-logo {
  color: var(--secondary);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s;
}

.nav.scrolled .nav-toggle span {
  background: var(--secondary);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--secondary);
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/deventer-1899.webp');
  background-position: center top;
  /* De plattegrond is een onregelmatig gevormde tekening op transparante
     achtergrond. Door op HOOGTE te schalen (i.p.v. een vaste breedte) valt de
     schuine onderrand — net als op een groot scherm — altijd nét onder de
     zichtbare banner, óók op smalle/mobiele schermen. Zo is er nergens een
     harde afgeknipte rand. */
  background-size: auto 120%;
  background-repeat: no-repeat;
  opacity: 1;
  /* Bovenrand van de kaart wegvloeien in het blauw. */
  mask-image: linear-gradient(to bottom, transparent 0%, black 60%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 60%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 58, 82, 1) 0%,
    rgba(26, 58, 82, 0.9) 35%,
    rgba(45, 64, 89, 0.65) 65%,
    rgba(45, 64, 89, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 75, 49, 0.2);
  border: 1px solid rgba(200, 75, 49, 0.4);
  color: var(--soft-gold);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--soft-gold);
}

.hero-text {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 75, 49, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 25px rgba(200, 75, 49, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================
   Features
   ============================================ */

.features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--background);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-icon.audio   { background: rgba(200, 75, 49, 0.1); color: var(--primary); }
.feature-icon.photo   { background: rgba(212, 165, 116, 0.2); color: var(--soft-gold); }
.feature-icon.map     { background: rgba(45, 64, 89, 0.1); color: var(--secondary); }
.feature-icon.routes  { background: rgba(95, 167, 119, 0.12); color: #5FA777; }
.feature-icon.arrival { background: rgba(200, 75, 49, 0.1); color: var(--primary); }
.feature-icon.badge   { background: rgba(212, 165, 116, 0.2); color: var(--soft-gold); }

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   Image Comparison (Teaser)
   ============================================ */

.comparison {
  background: var(--secondary);
  color: #fff;
  overflow: hidden;
}

.comparison .section-title {
  color: #fff;
}

.comparison .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.comparison-wrapper {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4/3;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.comparison-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-img-before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.comparison-img-after {
  z-index: 0;
}

.comparison-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.comparison-handle svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

.comparison-label {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-label.before { left: 1rem; }
.comparison-label.after  { right: 1rem; }

.comparison-caption {
  text-align: center;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Twee sliders naast elkaar (schets- én foto-reconstructie) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.comparison-item {
  margin: 0;
}

/* Binnen het raster vult elke slider zijn eigen kolom */
.comparison-item .comparison-wrapper {
  max-width: none;
  margin: 0;
}

/* ============================================
   App Screenshots (phone gallery)
   ============================================ */

.screenshots {
  background: var(--background);
  overflow: hidden;
}

/* Horizontale galerij die op mobiel scrollt en op desktop centreert */
.screens-scroller {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.5rem 1.5rem 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--soft-gold) transparent;
}

.screens-scroller::-webkit-scrollbar { height: 8px; }
.screens-scroller::-webkit-scrollbar-thumb {
  background: var(--soft-gold);
  border-radius: 4px;
}

.phone {
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: center;
  text-align: center;
}

.phone-frame {
  background: #1A1A1A;
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 14px 40px rgba(26, 58, 82, 0.18);
}

.phone-frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.phone figcaption {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
  background: var(--background);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   Locations Teaser
   ============================================ */

.locations {
  background: var(--surface);
}

.locations-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.location-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: default;
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.location-card:hover img {
  transform: scale(1.05);
}

.location-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 58, 82, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.location-card h3 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.location-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
}

.locations-more {
  text-align: center;
}

.locations-more p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.locations-more span {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   CTA / Download
   ============================================ */

.cta {
  background: var(--secondary);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(200, 75, 49, 0.08);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.9375rem;
  transition: background 0.2s, transform 0.2s;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #fff;
}

.store-btn svg {
  width: 28px;
  height: 28px;
}

.store-btn .store-label {
  text-align: left;
  line-height: 1.2;
}

.store-btn .store-label small {
  font-size: 0.6875rem;
  opacity: 0.7;
  display: block;
}

.store-btn .store-label strong {
  font-size: 1rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--secondary-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9375rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--soft-gold);
}

/* ============================================
   Animations (on scroll)
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-primary) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps::before {
    display: none;
  }

  .locations-preview {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .comparison-wrapper {
    border-radius: 12px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 90vh;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   Language switch (nav)
   ============================================ */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.lang-btn:hover { color: #fff; }
.lang-btn.is-active { color: var(--soft-gold); }

.lang-sep { color: rgba(255, 255, 255, 0.3); }

/* Scrolled nav uses the light background, so flip to dark text */
.nav.scrolled .lang-btn { color: var(--text-light); }
.nav.scrolled .lang-btn:hover,
.nav.scrolled .lang-btn.is-active { color: var(--primary); }
.nav.scrolled .lang-sep { color: var(--border); }

/* ============================================
   Multi-city line (locations)
   ============================================ */

.locations-multicity {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================
   Signup form (CTA)
   ============================================ */

.signup-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.signup-input {
  flex: 1 1 240px;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.signup-input::placeholder { color: rgba(255, 255, 255, 0.5); }

.signup-input:focus {
  outline: none;
  border-color: var(--soft-gold);
  background: rgba(255, 255, 255, 0.15);
}

/* Honeypot field — hidden from real users, catches bots */
.signup-hp { display: none; }

.signup-message {
  max-width: 480px;
  margin: 0 auto 1rem;
  color: var(--soft-gold);
  font-weight: 600;
}

.signup-message.is-error { color: #FFB4A6; }

.signup-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  max-width: 420px;
  margin: 0 auto 2.5rem;
}

/* ============================================
   Newsletter block (under the store buttons)
   ============================================ */

.newsletter {
  max-width: 520px;
  margin: 3.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.newsletter h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Higher specificity than `.cta p` so these overrides win */
.cta .newsletter-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto 1.5rem;
}

.newsletter .signup-note {
  margin-bottom: 0;
}

/* ============================================
   Responsive overrides for new components
   ============================================ */

@media (max-width: 768px) {
  /* Inside the mobile dropdown the background is light — flip text dark */
  .nav-links .lang-switch {
    justify-content: center;
    padding: 0.75rem 0;
    gap: 0.6rem;
  }

  .nav-links .lang-btn { color: var(--text-secondary); }
  .nav-links .lang-btn.is-active { color: var(--primary); }
  .nav-links .lang-sep { color: var(--border); }

  .signup-form { flex-direction: column; }
  .signup-form .btn { justify-content: center; }
}

/* ============================================
   Focus visibility (keyboard navigation)
   ============================================ */

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.store-btn:focus-visible,
.lang-btn:focus-visible,
.nav-toggle:focus-visible,
.signup-input:focus-visible,
.comparison-handle:focus-visible {
  outline: 3px solid var(--soft-gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ============================================
   Reduced motion — respect the user's setting
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  /* Scroll-reveal content must be visible even without its animation */
  .fade-up { opacity: 1 !important; transform: none !important; }
  .scroll-dot { animation: none !important; }
}
