/* Visible chapter boundaries; content remains readable while scrolling. */
.explanation, .models, .accessories, .other-products {
  position: relative;
}
.explanation::before, .models::before,
.accessories::before, .other-products::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--edge);
  right: var(--edge);
  height: 1px;
  background: rgba(21, 32, 23, .25);
  pointer-events: none;
}
/* The opening video still fades gently; slide two starts on solid paper. */
.has-flow .explanation { background: var(--paper); }
/* Alternate warm beige and milk tones; nested photo/table surfaces inherit. */
.explanation, .accessories {
  --paper: #f3f1ea;
  background: var(--paper);
}
.models, .other-products {
  --paper: #faf8f2;
  background: var(--paper);
}
.accessories { background: var(--paper); }

/* Same scroll-driven easing at every chapter boundary: darken, then lighten.
   Header and controls remain interactive; native reduced-motion disables it. */
.page-transition-veil {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgb(23, 39, 25);
  opacity: 0;
  pointer-events: none;
}
.has-flow .page-transition-veil {
  display: block;
  opacity: var(--boundary-veil, 0);
}
@media (prefers-reduced-motion: reduce) {
  .has-flow .page-transition-veil { display: none; }
}

/* One consistent next-section control at the end of each chapter. */
.section-next {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0;
  color: var(--ink); background: transparent;
  border: 1px solid rgba(21,32,23,.35); border-radius: 50%;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.section-next svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.section-next:hover { background: rgba(21,32,23,.07); border-color: rgba(21,32,23,.6); }
.section-next:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.hero__controls { align-items: center; }
.hero .section-next { color: var(--white); border-color: rgba(255,255,255,.65); background: transparent; }
.hero .section-next:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.chapter-navigation { display: flex; max-width: 1240px; margin: 28px auto 0; }
.explanation { padding-bottom: 88px; }
.explanation > .chapter-navigation { position: absolute; left: var(--edge); right: var(--edge); bottom: 20px; margin: 0 auto; }
#site-footer { scroll-margin-top: 88px; }
@media (max-width: 760px) { .chapter-navigation { margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { .section-next { transition: none; } }
