/* Dust & Stardust site v25 (2026-11-15): section 1 -> 2 seam under the striped day theatre. Loaded after css/v22.css on the home page.
   (Earlier seams: v22c-e tan mist, v23 paper mist, v24 night -> dawn; those files are in _archive/sec1-garden-day-2026-11-14 and
   _archive/sec1-night-2026-11-15.)

   Section 2 art: img/home/v22/web-2.jpg (1800x1225) and mob-2.jpg (1101x2472), both the day sky with the sleeping sun (v22c art).
   On desktop the top 135 rows of dawn mist were cut and the paper colour re-blended over the first 44 rows (_review/v25/build-v25.py),
   because the user found the gap between the drawing and the sky too big on PC ("모바일 그라데이션 위치 굿, 피씨는 갭이 너무 커").
   Plate and card layers are cut the same way; geometry: img/home/v22/layers.sec2.json -> _review/v22-hotspots.cjs.

   The seam (approved in _review/pattern-bg/?p=P2R2SA):
   - section 2 starts 1 px over the bottom of section 1 (no hairline from sub-pixel section heights) on exactly the paper colour;
   - desktop: the art itself starts on that paper, so no fade at the top; phone: the art fades in over its first 9vw (as before);
   - the Regency stripes of section 1 carry on into this paper and stop where the sky starts: .s2-stripes (built by js/home-motion.js)
     uses the same tile, the same scale and phase as the rendered section-1 picture and the same smoothstep fade (multiply). */
.home-sections .scene[data-sec="2"] {
  margin-top: -1px;
  /* the paper behind the top of the art (the phone fade-in shows it; it is also what the stripes multiply over) */
  background: linear-gradient(180deg, var(--s1-paper) 0, var(--s1-paper) 12%, rgba(250, 215, 188, 0) 22%);
  /* the 1 px over section 1: let clicks there fall through; section 2's own links stay clickable */
  pointer-events: none;
}
.home-sections .scene[data-sec="2"] a { pointer-events: auto; }
.home-sections .scene[data-sec="2"]::before { display: none; }
/* desktop: no fade at the top; the v20 bottom fade into the Locket section stays */
.home-sections .scene[data-sec="2"] picture img, .home-sections .scene[data-sec="2"] .hm {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--seep2b)), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--seep2b)), transparent 100%);
}
/* the stripes carried over from section 1 (size, position, height and fade are set by js/home-motion.js) */
.home-sections .scene[data-sec="2"] .s2-stripes { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 2; pointer-events: none;
  background-image: url(../img/home/v22/stripe-ov-pc.png); background-repeat: repeat; mix-blend-mode: multiply; }
@media (max-width: 768px) {
  .home-sections .scene[data-sec="2"] picture img, .home-sections .scene[data-sec="2"] .hm {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.08) 2.25vw, rgba(0,0,0,.3) 4.5vw, rgba(0,0,0,.7) 7.02vw, #000 9vw, #000 calc(100% - var(--seep2b)), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.08) 2.25vw, rgba(0,0,0,.3) 4.5vw, rgba(0,0,0,.7) 7.02vw, #000 9vw, #000 calc(100% - var(--seep2b)), transparent 100%); }
  .home-sections .scene[data-sec="2"] .s2-stripes { background-image: url(../img/home/v22/stripe-ov-ph.png); }
  /* phone: the cards sit low in the tall sky, so the button sits at the very bottom, clear of the second card's label */
  .home-sections .scene[data-sec="2"] .scene-cta { bottom: 0 !important; }
}