/* ── Cover: a clothesline of large photo cards pegged to a thin cord strung across the wall; the headline sits centred behind the two figures. Scroll pulls the line along, hovering a print dresses the matching figure. ── */
.hero{position:relative;height:calc(var(--X) + 200svh)}
.stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:var(--paper)}
.light{position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(120% 90% at 18% -10%,rgba(255,255,255,.9),rgba(255,255,255,0) 55%),
  radial-gradient(90% 70% at 50% 110%,rgba(170,150,120,.16),rgba(170,150,120,0) 60%),
  linear-gradient(180deg,rgba(255,255,255,0) 60%,rgba(120,100,70,.06) 100%)}
.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(80% 80% at 50% 45%,rgba(0,0,0,0) 60%,rgba(60,44,24,.07) 100%)}
.stage-in{position:absolute;inset:0;transform-origin:50% 38%;will-change:transform}
.dim{position:absolute;inset:0;z-index:950;background:#fff;opacity:0;pointer-events:none}
.glow{position:absolute;left:50%;bottom:-14svh;width:min(92vw,1180px);height:80svh;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(50% 50% at 50% 60%,rgba(223,200,150,.3),rgba(223,200,150,0) 70%);transition:opacity 1.4s ease}
/* the floor: a seamless backdrop curving into the floor (a barely-there tonal step ~9svh up), one soft pool of shadow under the pair */
.floor{position:absolute;left:0;right:0;bottom:0;height:24svh;pointer-events:none;background:
  radial-gradient(min(36vw,520px) 9svh at 50% 100%,rgba(60,44,24,.14),rgba(60,44,24,0) 72%),
  linear-gradient(180deg,rgba(60,44,24,0) 0%,rgba(60,44,24,0) 54%,rgba(60,44,24,.025) 63%,rgba(60,44,24,.05) 100%)}

/* corner markers: the folio number and the volume, in caption style, on a thin row at the foot of the stage (the cord and its prints own the top edge) */

/* headline: centred directly under the masthead (top ≈ 11svh), above the cord; the couple stands in front of the cord and the prints, the headline in front of everything (z 450) */
.cover-line{position:absolute;z-index:450;left:50%;top:11svh;bottom:auto;right:auto;transform:translateX(-50%);width:max-content;max-width:min(92vw,1180px);text-align:center;pointer-events:none;
  text-shadow:0 0 34px var(--paper),0 0 14px color-mix(in srgb,var(--paper) 90%,transparent),0 0 4px color-mix(in srgb,var(--paper) 90%,transparent)}
.cover-line h1{margin:0 auto;font-size:clamp(27px,3.4vw,58px);font-style:normal;line-height:1.1;letter-spacing:-.005em;text-wrap:balance}
.cover-line h1 em,.cover-line h1 i{font-style:normal}
.cover-line .cap{display:block;text-wrap:balance;margin-top:clamp(12px,1.6svh,20px);opacity:0;transition:opacity 1.2s .7s ease}
.cover-line.show .cap{opacity:1}
.look-tag{position:absolute;z-index:450;right:var(--pad-r);bottom:clamp(40px,9svh,96px);width:min(26vw,340px);text-align:right;pointer-events:none;display:grid;gap:10px;justify-items:end;
  text-shadow:0 0 24px var(--paper),0 0 10px color-mix(in srgb,var(--paper) 90%,transparent)}
.look-tag .ln{padding-bottom:.18em;margin-bottom:-.18em}
.look-tag .name{display:block;font-family:var(--serif);font-style:normal;font-size:clamp(26px,2.4vw,42px);line-height:1;color:var(--ink);transition:opacity .55s ease,transform .9s var(--ease),filter .55s ease}
.look-tag.out .name{opacity:0;transform:translateY(110%);filter:blur(8px);transition-duration:.45s,.45s,.45s}
.look-tag .bar{width:100%;height:1px;background:var(--rule);position:relative;overflow:hidden}
.look-tag .bar i{position:absolute;inset:0;background:rgba(179,147,97,.7);transform-origin:left;transform:scaleX(0);transition:transform 1.1s var(--ease)}
.look-tag .cap{opacity:0;transition:opacity 1.2s 1s ease}
.ready .look-tag .cap{opacity:1}

/* the cord: one thin light-grey line with a gentle sag (the other three paths of the SVG stay unused) */
.line-svg{position:absolute;inset:0;width:100%;height:100%;z-index:200;pointer-events:none;overflow:visible;will-change:transform}
.line-svg path{stroke-linejoin:round;stroke-linecap:round}
.line-svg .rope-shadow{display:none}
.line-svg .rope-base{fill:none;stroke:#cfcdc9;stroke-width:1.5}
.line-svg .rope-dark{display:none}
.line-svg .rope-hi{display:none}

/* the cards: all the same size (--cw wide, 4:5), the photo filling the whole card, 12px corners, one soft even shadow; each turned only by the cord's tangent at its peg (cover.js).
   The card's top edge hangs 12px below the cord; the peg (22×60) straddles the cord above the card's centre and bites 14px into the top of the photo. */
.boards{position:absolute;inset:0;z-index:300;pointer-events:none}
.card{position:absolute;left:0;top:0;width:var(--cw);margin:0;transform-origin:50% -12px;pointer-events:auto}
.card .peg{position:absolute;z-index:3;left:50%;top:-29px;width:14px;height:38px;margin-left:-7px;pointer-events:none;filter:drop-shadow(1px 2px 1.5px rgba(30,20,10,.28)) drop-shadow(2px 6px 6px rgba(30,20,10,.12))}
.card .peg svg{display:block;width:100%;height:100%;overflow:visible}
.card .photo{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;border-radius:0;background:var(--paper-2);transform:translateZ(0);
  box-shadow:0 18px 40px rgba(0,0,0,.12);transition:transform .55s var(--ease),box-shadow .55s var(--ease)}
.card img{display:block;width:100%;height:100%;object-fit:cover}
.card .sheen{position:absolute;inset:0;z-index:2;background:linear-gradient(112deg,rgba(255,255,255,0) 30%,rgba(255,248,235,.4) 50%,rgba(255,255,255,0) 70%);background-size:300% 100%;background-position:var(--sx,100%) 0;opacity:0;pointer-events:none}
/* hover: the card lifts 6px and its shadow deepens — nothing else */
.card:hover .photo{transform:translateZ(0) translateY(-6px);box-shadow:0 26px 56px rgba(0,0,0,.2)}

@media (prefers-reduced-motion:reduce){
  .card .photo{transition:none}
}

/* the hint that the prints can be tried on: a pulsing gold point and one line, gone after the first try */
.cover-line .try{display:inline-flex;align-items:center;gap:10px;margin-top:clamp(10px,1.4svh,16px);color:var(--ink-70);opacity:0;transition:opacity 1s ease}
.ready .cover-line .try{opacity:1;transition-delay:1.6s}
.cover-line .try.gone{opacity:0!important;transition-delay:0s}
.cover-line .try i{position:relative;width:6px;height:6px;background:var(--champ);flex:none}
.cover-line .try i::after{content:"";position:absolute;inset:-5px;border:1px solid var(--champ);opacity:0;animation:tryPulse 2s ease-out infinite}
@keyframes tryPulse{0%{transform:scale(.4);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.cover-line .try .t-m{display:none}
@media (hover:none),(pointer:coarse){ .cover-line .try .t-d{display:none} .cover-line .try .t-m{display:inline} }
/* the invitation: once, the prints lift one after another like a ripple along the line */
.card.nudge .photo{animation:nudge 1.1s cubic-bezier(.22,1,.36,1) var(--nd,0s) 1 both}
@keyframes nudge{0%,100%{transform:translateZ(0)}40%{transform:translateZ(0) translateY(-12px);box-shadow:0 30px 60px rgba(0,0,0,.2)}}
.card.on .photo{transform:translateZ(0) translateY(-6px);box-shadow:0 26px 56px rgba(0,0,0,.2)}
@media (prefers-reduced-motion:reduce){ .card.nudge .photo{animation:none} .cover-line .try i::after{animation:none} }

/* the look being worn, described in one light line at the bottom left */
.look-line{position:absolute;z-index:450;left:var(--pad-l);bottom:clamp(28px,5svh,52px);pointer-events:none;font-family:var(--serif);font-size:clamp(15px,1.15vw,19px);letter-spacing:.005em;color:var(--ink-45);opacity:0;transform:translate3d(0,8px,0);transition:opacity .7s ease,transform .9s var(--ease);text-shadow:0 0 14px var(--paper),0 0 6px var(--paper)}
.look-line.on{opacity:1;transform:none}
@media (max-width:860px){ .look-line{right:auto;left:50%;bottom:auto;font-size:15px;top:calc(env(safe-area-inset-top,0px) + 19.5svh);transform:translate3d(-50%,6px,0);white-space:nowrap} .look-line.on{transform:translate3d(-50%,0,0)} }
