/* THE SECTION BACKGROUND LOOPS' OWN STYLESHEET (owner 2026-11-14 / 2026-11-15, phone speed). Not part of the home's
   render-blocking CSS: components/lumiere/common/section-video.tsx renders it as a React stylesheet resource inside the four
   sections that draw a loop (arrivals, stories, layaway, loyalty), so only those sections wait for it, never the first paint.
   Change it → update SECTION_VIDEO_CSS's ?v= (the test says the new value). The contrast ledger
   (scripts/check-contrast.mjs) reads the scrims here. */

/* ===== SECTION BACKGROUND LOOPS (owner 2026-11-14; components/lumiere/common/section-video.tsx) =====
   Full-bleed behind the whole section, under everything in it. The poster is the still until the loop's first frame plays,
   then the video fades in over it. Each section sets its own scrim (`--secvid-scrim`) for its text's contrast: the scrim is
   measured against the brightest part of its loop where the text sits (docs in each block below). */
.lm-secvid {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}
.lm-secvid__poster,
.lm-secvid__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lm-secvid__video { opacity: 0; transition: opacity 0.6s ease; }
.lm-secvid__video.is-on { opacity: 1; }
.lm-secvid__scrim { position: absolute; inset: 0; background: var(--secvid-scrim, rgb(0 0 0 / 0.6)); }
@media (prefers-reduced-motion: reduce) {
  .lm-secvid__video { display: none; }
}

/* NEW ON THE BENCH over Koi Temple Ruins (a dark loop, mean luma 60/255): the section turns dark, its type light. The scrim
   holds 0.72 behind the heading, 0.5 behind the cards (each card carries its own photograph and shade), and 0.8 behind the
   dock and the hint, so white type at 0.86 stays above 4.5:1 over the loop's brightest fish. */
.spotlight--video {
  --content: var(--raw-color-white);
  --content-inverse: var(--raw-color-black);
  --border-muted: rgb(255 255 255 / 0.42);
  background: var(--raw-color-black);
  color: var(--raw-color-white);
}
.lm-secvid--arrivals {
  --secvid-scrim: linear-gradient(to bottom, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.6) 18%, rgb(0 0 0 / 0.5) 34%, rgb(0 0 0 / 0.5) 58%, rgb(0 0 0 / 0.8) 72%, rgb(0 0 0 / 0.84) 100%);
}
.spotlight--video .spotlight__hint,
.spotlight--video .spotlight__dock {
  position: relative;
  z-index: 2;
}
.spotlight--video .spotlight__eyebrow,
.spotlight--video .spotlight__hint,
.spotlight--video .spotlight__count,
.spotlight--video .spotlight__sub { color: rgb(255 255 255 / 0.86); }
.spotlight--video .spotlight__ghost { color: rgb(255 255 255 / 0.06); }
.spotlight--video .spotlight__floor { background: radial-gradient(60% 60% at 50% 50%, rgb(0 0 0 / 0.4), rgb(0 0 0 / 0) 70%); }
.spotlight--video .spotlight__navbtn { background: rgb(0 0 0 / 0.4); }
/* The origin chip's gold-deep is for paper; on black it is gold-pale on a gold rule (DESIGN-LUMIERE: gold text only on black). */
.spotlight--video .spotlight__origin > span { border-color: var(--raw-color-gold); color: var(--raw-color-gold-pale); }

/* CUSTOMER STORIES over Liquid Glass (already a dark band; the loop's mean luma is 50/255 with bright glass highlights): 0.7
   behind the heading, lead and rating, 0.58 behind the belt (its cards carry their own dark plates), 0.78 at the foot where
   "Drag to explore" sits. */
.lm-secvid--stories {
  --secvid-scrim: linear-gradient(to bottom, rgb(10 10 12 / 0.74) 0%, rgb(10 10 12 / 0.66) 30%, rgb(10 10 12 / 0.58) 50%, rgb(10 10 12 / 0.58) 74%, rgb(10 10 12 / 0.78) 92%);
}
.slip--video > :not(.lm-secvid):not(.sr-only):not(.slip__intro) {
  position: relative;
  z-index: 1;
}

/* THE LAYAWAY BAND over Clock Hills (owner 2026-11-14; replaces the Halcyon Gate). A mid-tone loop with a bright sky (mean
   luma 95/255): the scrim is 0.8 behind the copy column (heading, lead, steps) and 0.6 on the calculator's side, where the
   card is solid white; stacked on a phone it is 0.78 throughout. */
.lw--video::before { display: none; }
.lm-secvid--layaway {
  --secvid-scrim: linear-gradient(to right, rgb(0 0 0 / 0.8) 0%, rgb(0 0 0 / 0.76) 45%, rgb(0 0 0 / 0.6) 100%);
}
@media (max-width: 1023.98px) {
  .lm-secvid--layaway { --secvid-scrim: rgb(0 0 0 / 0.78); }
}
.lw--video .lw__grid { z-index: 1; }
.lw--video .lw__visual { background: rgb(13 11 8 / 0.88); }

/* THE LOYALTY BAND over Orange Light Threads (owner 2026-11-14). It stays a black band: the scrim holds 0.74 everywhere, so
   the threads read as warm light behind the type, and the ledger and the four tier cells keep their rules on a darker plate
   of their own (0.55) so their small labels never sit directly on a bright thread. */
.loyalty--video {
  isolation: isolate;
  overflow: hidden;
}
.lm-secvid--loyalty { --secvid-scrim: rgb(0 0 0 / 0.74); }
.loyalty--video > .loyalty__copy,
.loyalty--video > .loyalty__panel {
  position: relative;
  z-index: 1;
}
.loyalty--video .loyalty__ledger,
.loyalty--video .loyalty__tier {
  background: rgb(0 0 0 / 0.55);
}

/* The belt's band and stage were opaque (the section colour and a radial of it): over the loop they are clear, so the video
   runs behind the belt too, not only behind the heading. The cards keep their own dark plates. */
.slip--video .slip__band,
.slip--video .slip__stage { background: transparent; }
