/* Dust & Stardust site v25 (2026-11-15): home section 1 = the day garden theatre (N4re: a rose-trellis arch on two topiary columns,
   a white pierrot playing the mandolin on a stone bench, a harlequin leaning on a garden urn, three stands) on peach paper with a faded
   Regency stripe printed on the paper OUTSIDE the arch only (R2; the stripes run exactly up to the drawing, no blank band, no halo).
   A real Dust & Stardust shoe (owner colour-corrected photo, warm-light grade "A") sits on the centre stand: heel on the top tier, toe over the edge.
   The stripes fade out from just under the drawing and carry on into the paper at the top of section 2, where they stop (css/v22-s2.css + js/home-motion.js).
   Loaded after css/v21.css on the home page. Art: img/home/v22/web-1.jpg (1882x941) and mob-1.jpg (941x1546), built by _review/v25/build-v25.py;
   layers: img/home/v22/layers.json -> _review/v22-hotspots.cjs -> layers.site.json. No motion layers and no fairy dust on section 1.
   Earlier: the night garden theatre (v24) is in _archive/sec1-night-2026-11-15, the plain day theatre (v23) in _archive/sec1-garden-day-2026-11-14,
   the swan music box in _archive/sec1-musicbox-2026-11-14.

   Edges of the art: the picture is on its own peach paper, top and bottom.
   - Top: the paper starts right under the header (no fade, no band).
   - Bottom: section 1 ends on its own paper; section 2 starts on exactly that paper (1 px overlap, no mist band) and turns into the sky.
   --s1-paper = mean of the bottom rows of the art: web #FAD7BC (250,215,188), phone #F8D5B8 (248,213,184). */
.home-sections { --s1-paper: #FAD7BC; position: relative; }
@media (max-width: 768px) { .home-sections { --s1-paper: #F8D5B8; } }
.home-sections .scene[data-sec="1"] { background: var(--s1-paper); }
.home-sections .scene[data-sec="1"] picture img, .home-sections .scene[data-sec="1"] .hm { -webkit-mask-image: none; mask-image: none; }

/* the whole scene is one link to the shop: no box on hover, the hand cursor is enough */
.scene[data-sec="1"] .hs-stage:hover:not(:focus-visible) { background: none; box-shadow: none; }

/* ---------------- the first screen shows the whole theatre (desktop) ----------------
   web-1.jpg is a wide 2:1 version of the art (the 1672 px picture in the middle, 105 px of the same striped paper on each side).
   The section is as tall as the screen under the header (--s1-top-offset, measured by js/home-motion.js; 124 px = language line + header),
   kept between 50vw (the art never gets cut at the top or bottom) and 56.28vw (941/1672: the picture itself never gets cut at the sides).
   object-fit: cover then only trims paper at the sides. 1440x900: 776 px tall; 1920x1080: 960 px (50vw). */
@media (min-width: 769px) {
  .home-sections {
    --s1h: clamp(50vw, calc(100vh - var(--s1-top-offset, 124px)), 56.28vw);
    --s1h: clamp(50vw, calc(100svh - var(--s1-top-offset, 124px)), 56.28vw); }
  .home-sections .scene[data-sec="1"] { --s1a: 2; height: var(--s1h); overflow: hidden; }
  .home-sections .scene[data-sec="1"] picture { display: block; height: 100%; }
  .home-sections .scene[data-sec="1"] picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* 2026-11-15: the pieces on the stands (shoe, two Heaven Can Wait bags) click to their pages. The desktop art is 2:1 and shown with
   object-fit: cover, so its width on screen is 2 x the section height, centred: --fx / --fw are fractions of the art width. */
.home-sections .scene[data-sec="1"] .hs-web.hs-piece { left: calc(50% + (var(--fx) - .5) * var(--s1h) * 2) !important; width: calc(var(--fw) * var(--s1h) * 2) !important; z-index: 3; }
.home-sections .scene[data-sec="1"] .hs-mob.hs-piece { z-index: 3; }
}

/* ---------------- v25: the Locket Bag and Theatre Bag home sections are closed for now (crowdfunding first) ----------------
   The gilt frame holds a closed stage curtain (img/coming-soon/curtain.webp) with "Coming soon" written over it; no price, no button. */
.home-feat .hf-soon { position: relative; display: block; }
.home-feat .hf-soon img { display: block; width: 100%; height: auto; }
.home-feat .hf-soon .hf-soon-word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; pointer-events: none;
  font-family: "Princess Sofia", "Cormorant Garamond", serif; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; color: #FFF6E6;
  text-shadow: 0 1px 2px rgba(92, 44, 60, .55), 0 0 18px rgba(92, 44, 60, .35); letter-spacing: .01em; }
.home-feat.is-soon .hf-gilt { max-width: 400px; margin: 0 auto; }
.home-feat.is-soon .hf-art { cursor: default; }
.home-feat.is-soon .hf-art:hover { transform: none; }
.home-feat.is-soon .hf-copy .hf-line { margin-bottom: 0; }
@media (max-width: 768px) { .home-feat.is-soon .hf-gilt { max-width: 300px; } .home-feat .hf-soon .hf-soon-word { font-size: 36px; } }