/* ============================================================================
   howe-motion.css — HOWE on-page motion (approved 30 Sep 2026)
   Load order: after howe-ui.css, before page-family styles. Pairs with howe-motion.js,
   which READS these tokens (getComputedStyle) — edit values here only.
   Page policy: <body data-motion-policy="home|editorial|journal|landing|listing|pdp|functional|utility">.
   Hooks: data-howe-motion="image|copy|tile|product|newsletter" on the component instance;
   data-hc-inward on a lockup section (desktop inward pair); data-hc-intro on the homepage
   stand-first (real-scroll gate); data-motion-row groups siblings for left-to-right ordering.
   Content is visible by default: .hc-pending is added ONLY by the controller after init.
   ============================================================================ */
:root{
  --hc-hero-duration:680ms; --hc-image-duration:880ms; --hc-copy-duration:650ms;
  --hc-product-duration:420ms; --hc-newsletter-duration:760ms; /* R12: bounce-in needs room to settle */
  --hc-stagger-product:80ms; --hc-stagger-tile:90ms; --hc-stagger-image:120ms; --hc-stagger-copy:80ms;
  /* R11 §10 editorial standfirst rise (28–32px brief range) · §9 image sequencer */
  --hc-newsletter-follow:700ms; /* R25f (Guy): 1.2s read as slow; the Sign up control arrives 0.7s after the invitation is in view */
  --hc-standfirst-speed:.8; /* R27 Q5 (Guy): standfirst arrival a fraction quicker than the headline */
    --hc-copy-rise:30px; --hc-copy-rise-mobile:28px; --hc-img-fade:480ms; --hc-img-stagger:60ms; --hc-img-rise:6px; /* R25s (Guy): R25q/r rejected as slow and mechanical; a row now reads as one soft wave: 480ms fade, 6px rise, 60ms apart (four cards in ~0.66s) */ /* R12-5: opacity only, soft (no movement) */
  --hc-ease:cubic-bezier(.22,.61,.36,1); --hc-hero-ease:cubic-bezier(.25,.1,.25,1);
  /* R19 (Guy): homepage hero headline rise + drift (Drift +26%); CTAs follow the headline */
  --hc-hero-text-delay:160ms; --hc-hero-cta-gap:260ms; --hc-hero-cta-stagger:120ms; --hc-intro-delay:700ms; --hc-intro-inset:-40px; /* R27c Q6 (Guy): standfirst starts while its top is still 40px below the fold; hero-to-standfirst gap 0.7s */ --hc-hero-text-fade:300ms; /* R25u (Guy): one continuous unfolding: headline, Antiques +0.26s, Made by HOWE +0.12s, standfirst +0.26s; each starts while the last is still arriving, all landed by ~1.5s */
  --hc-hero-drift-duration:1386ms; --hc-hero-drift-delay:120ms; --hc-hero-drift-ease:cubic-bezier(.16,1,.3,1);
  --hc-hero-blur:7px; --hc-hero-blur-duration:1134ms; --hc-hero-blur-delay:160ms;
  /* R19 (Guy): quote reveal "Still" (attributed quote modules only) */
  --hc-quote-rise:12px; --hc-quote-duration:1000ms; --hc-quote-attr-delay:300ms; --hc-quote-attr-duration:700ms;
}
html.hc-hero-pending .hero.motion-hero{opacity:0;}
html.hc-hero-pending .hero.motion-hero .hero-content > *{opacity:0;}   /* R19 (Guy): hero text held from first paint */
html.hc-intro-pending [data-hc-intro] .lede{opacity:0;}
.hc-pending{opacity:0;}
html.hc-img-boot [data-howe-motion="image"]{opacity:0;} /* R26: hero photographs held from first paint until staged (page head script) */
/* R25r (Guy, 5 Oct): product photographs arrive, they do not switch on: a fade with a small rise (10px) over --hc-img-fade on the
   house ease. The rise is deliberately smaller than the copy rise (30px) so a row of cards settles rather than jumps. */
img.hc-img-wait{opacity:0;transform:translate3d(0,var(--hc-img-rise,10px),0);}
.pdp-band-ix img.hc-img-wait,.pdp-thumbs img.hc-img-wait,.pdp-finishes img.hc-img-wait,.pc-swatches img.hc-img-wait,.subcat-swatches img.hc-img-wait{opacity:1;transform:none;} /* R60 safety net: a thumbnail is never held hidden */
img.hc-img-seq{transition:opacity var(--hc-img-fade) var(--hc-ease),transform var(--hc-img-fade) var(--hc-ease)!important;}
[data-hc-inward]{overflow-x:clip;overflow-y:visible;}
@media (prefers-reduced-motion:reduce){
  html.hc-hero-pending .hero.motion-hero,html.hc-hero-pending .hero.motion-hero .hero-content > *,html.hc-intro-pending [data-hc-intro] .lede,.hc-pending{opacity:1!important;}
  img.hc-img-seq{transition:none!important;}
  img.hc-img-wait{transform:none;}
  html.hc-img-boot [data-howe-motion="image"]{opacity:1!important;}
}
/* R25: on short windows the standfirst travels less, so the hero keeps more height (howe-ui.css reads the same variable) */
@media (min-width:769px) and (max-height:740px){:root{--hc-copy-rise:18px;}}
/* R25f (Guy, 5 Oct): a card reveals as ONE thing. While its photograph is still waiting in the reveal sequence, the Save bookmark on
   that photograph waits too and fades in with it (every rail, listing and card). Reduced motion: the sequence is off, so nothing hides. */
.gg-fig:has(> img.hc-img-wait) .pc-select,.img:has(> img.hc-img-wait) .pc-select,.gg-fig:has(.cg-slide:first-child > img.hc-img-wait) .pc-select{opacity:0;}
.gg-fig .pc-select,.img .pc-select{transition:opacity var(--hc-img-fade,420ms) var(--hc-ease,ease);}
@media (prefers-reduced-motion:reduce){.gg-fig .pc-select,.img .pc-select{transition:none;}}
