/* PdT Motion System — modern, restrained interactions for Home and Pre Order.
   Keeps existing brand palette and imagery. No external fonts or libraries. */
body:is([data-page="home"],[data-page="preorder"]) {
  --pdt-motion-ease: cubic-bezier(.22,1,.36,1);
  --pdt-motion-gold: rgba(245,179,53,.55);
}
body:is([data-page="home"],[data-page="preorder"]) .site-header {
  background: linear-gradient(110deg,rgba(11,47,88,.98),rgba(18,63,111,.98) 58%,rgba(11,47,88,.98));
  transition: box-shadow .35s ease, background .35s ease;
}
body:is([data-page="home"],[data-page="preorder"]).pdt-has-scrolled .site-header {
  box-shadow: 0 12px 32px rgba(7,26,52,.2);
}
/* The homepage header uses the same brand blue as all interior pages. */
body[data-page="home"] .site-header {background:rgba(18,63,111,.97)}
body:is([data-page="home"],[data-page="preorder"]) .nav-links a::after {
  height: 2px; border-radius: 4px;
  background: linear-gradient(90deg,var(--gold),var(--gold-soft));
}
body:is([data-page="home"],[data-page="preorder"]) .brand-logo {
  transition: transform .45s var(--pdt-motion-ease);
}
@media (hover:hover) and (pointer:fine) {
  body:is([data-page="home"],[data-page="preorder"]) .brand:hover .brand-logo { transform: scale(1.045); }
}
.pdt-reading-progress {
  position:fixed; z-index:2001; top:0; left:0; width:100%; height:3px;
  pointer-events:none; background:linear-gradient(90deg,var(--gold-dark),var(--gold),var(--gold-soft));
  box-shadow:0 1px 8px rgba(245,179,53,.24);
  transform:scaleX(0); transform-origin:left center; will-change:transform;
}

/* Graceful enhancement: visibility is changed only after JS initialises the observer. */
body.pdt-motion-enabled .pdt-motion-target {
  opacity:0; transform:translate3d(0,30px,0);
  transition:opacity .75s var(--pdt-motion-ease),transform .75s var(--pdt-motion-ease);
}
body.pdt-motion-enabled .pdt-motion-target.pdt-is-visible {
  opacity:1; transform:translate3d(0,0,0);
}
body.pdt-motion-enabled .pdt-h-facts article:nth-child(2),
body.pdt-motion-enabled .pdt-h-edition:nth-child(2),
body.pdt-motion-enabled .pdt-tier-card:nth-child(2) { transition-delay:90ms; }
body.pdt-motion-enabled .pdt-h-facts article:nth-child(3),
body.pdt-motion-enabled .pdt-h-edition:nth-child(3),
body.pdt-motion-enabled .pdt-tier-card:nth-child(3) { transition-delay:160ms; }

/* Product-first homepage: animated ambient color, light, depth. */
body[data-page="home"] .pdt-h-hero {
  position:relative; isolation:isolate; overflow:hidden;
  background:
    radial-gradient(ellipse at 86% 7%,rgba(245,179,53,.16),transparent 42%),
    radial-gradient(ellipse at 9% 85%,rgba(35,95,150,.3),transparent 49%),
    linear-gradient(135deg,var(--blue-800),var(--blue-950));
}
body[data-page="home"] .pdt-h-hero::before,
body[data-page="home"] .pdt-h-hero::after {
  content:""; position:absolute; z-index:0; pointer-events:none; border-radius:50%;
  aspect-ratio:1; transform:translate3d(0,0,0);
}
body[data-page="home"] .pdt-h-hero::before {
  width:min(52vw,650px); right:-14%; top:-46%;
  background:radial-gradient(circle,rgba(245,179,53,.19),rgba(245,179,53,0) 68%);
  animation:pdtAmbientGold 13s ease-in-out infinite alternate;
}
body[data-page="home"] .pdt-h-hero::after {
  width:min(50vw,560px); left:-23%; bottom:-50%;
  background:radial-gradient(circle,rgba(35,95,150,.13),transparent 70%);
  animation:pdtAmbientBlue 16s ease-in-out infinite alternate;
}
body[data-page="home"] .pdt-h-hero-grid { position:relative; z-index:1; }
body[data-page="home"] .pdt-h-hero-copy > * {
  animation:pdtEnter .8s var(--pdt-motion-ease) both;
}
body[data-page="home"] .pdt-h-hero-copy > :nth-child(2) { animation-delay:.08s; }
body[data-page="home"] .pdt-h-hero-copy > :nth-child(3) { animation-delay:.16s; }
body[data-page="home"] .pdt-h-hero-copy > :nth-child(4) { animation-delay:.24s; }
body[data-page="home"] .pdt-h-hero-copy > :nth-child(5) { animation-delay:.3s; }
body[data-page="home"] .pdt-h-hero-figure {
  position:relative;
  border-color:rgba(7,12,20,.82);
  background:transparent;
  box-shadow:0 28px 75px rgba(0,0,0,.23),0 2px 8px rgba(0,0,0,.1);
  animation:pdtEnterVisual 1s .16s var(--pdt-motion-ease) both,pdtHoverFloat 8s 1.16s ease-in-out infinite;
  transition:box-shadow .5s var(--pdt-motion-ease),border-color .4s ease;
}
body[data-page="home"] .pdt-h-hero-figure img {
  transition:transform .8s var(--pdt-motion-ease);
}
body[data-page="home"] .pdt-h-kicker { display:flex; align-items:center; gap:12px; }
body[data-page="home"] .pdt-h-kicker::before {
  content:""; flex:none; width:29px; height:2px; border-radius:4px;
  background:linear-gradient(90deg,var(--gold-dark),var(--gold));
}
body[data-page="home"] .pdt-h-kit {
  background:radial-gradient(ellipse at 7% 8%,rgba(245,179,53,.06),transparent 40%),var(--cream-light);
}
body[data-page="home"] .pdt-h-facts article {
  position:relative; overflow:hidden;
  background:linear-gradient(145deg,var(--cream-light),var(--cream));
  transition:opacity .75s var(--pdt-motion-ease),transform .75s var(--pdt-motion-ease),box-shadow .35s var(--pdt-motion-ease),border-color .35s ease;
}
body[data-page="home"] .pdt-h-facts article::before {
  content:""; position:absolute; top:0; left:0; width:100%; height:3px;
  background:linear-gradient(90deg,var(--blue-700),var(--gold)); opacity:.7;
  transform:scaleX(.2); transform-origin:left;
  transition:transform .5s var(--pdt-motion-ease);
}
body[data-page="home"] .pdt-h-collection {
  background:radial-gradient(ellipse at 93% 15%,rgba(245,179,53,.11),transparent 39%),var(--cream);
}
body[data-page="home"] .pdt-h-edition {
  position:relative; border-color:rgba(23,75,127,.14);
  box-shadow:0 10px 35px rgba(11,47,88,.06);
  transition:opacity .75s var(--pdt-motion-ease),transform .75s var(--pdt-motion-ease),box-shadow .42s var(--pdt-motion-ease),border-color .4s ease;
}
body[data-page="home"] .pdt-h-edition picture { overflow:hidden; }
body[data-page="home"] .pdt-h-edition img {
  transition:transform .8s var(--pdt-motion-ease);
}
body[data-page="home"] .pdt-h-edition a { text-decoration-thickness:1px; }
body[data-page="home"] .pdt-h-method li { transition:padding-left .3s ease,color .3s ease; }
body[data-page="home"] .pdt-h-cta {
  position:relative; isolation:isolate; overflow:hidden;
  background:
    radial-gradient(ellipse at 90% -10%,rgba(245,179,53,.14),transparent 45%),
    radial-gradient(ellipse at 5% 105%,rgba(35,95,150,.37),transparent 45%),
    linear-gradient(112deg,var(--blue-900),var(--blue-950));
}
body[data-page="home"] .pdt-h-btn-primary,
body[data-page="home"] .pdt-h-btn-gold,
body[data-page="preorder"] .preorder-btn--primary {
  position:relative; isolation:isolate; overflow:hidden;
  box-shadow:0 11px 30px rgba(11,47,88,.12);
}
body[data-page="home"] .pdt-h-btn-primary::after,
body[data-page="home"] .pdt-h-btn-gold::after,
body[data-page="preorder"] .preorder-btn--primary::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(105deg,transparent 22%,rgba(255,255,255,.25) 50%,transparent 78%);
  transform:translateX(-150%); transition:transform .7s var(--pdt-motion-ease);
}
@media (hover:hover) and (pointer:fine) {
  body[data-page="home"] .pdt-h-hero-figure:hover {
    box-shadow:0 36px 85px rgba(0,0,0,.25);
    border-color:rgba(7,12,20,.82);
  }
  body[data-page="home"] .pdt-h-hero-figure:hover img { transform:none; }
  body[data-page="home"] .pdt-h-facts article:hover {
    transform:translateY(-6px); box-shadow:0 22px 48px rgba(11,47,88,.1);
    border-color:rgba(245,179,53,.6);
  }
  body[data-page="home"] .pdt-h-facts article:hover::before { transform:scaleX(1); }
  body[data-page="home"] .pdt-h-edition:hover {
    transform:translateY(-8px); box-shadow:0 26px 56px rgba(11,47,88,.14);
    border-color:rgba(245,179,53,.65);
  }
  body[data-page="home"] .pdt-h-edition:hover img { transform:scale(1.045); }
  body[data-page="home"] .pdt-h-method li:hover { padding-left:12px; color:var(--blue-700); }
  body[data-page="home"] .pdt-h-btn-primary:hover::after,
  body[data-page="home"] .pdt-h-btn-gold:hover::after,
  body[data-page="preorder"] .preorder-btn--primary:hover::after { transform:translateX(150%); }
}

/* Pre Order: coherent color gradients, showcase lighting and card micro-interactions. */
body[data-page="preorder"] .preorder-hero {
  position:relative; isolation:isolate; overflow:hidden;
  background:
    radial-gradient(ellipse at 90% 7%,rgba(245,179,53,.19),transparent 43%),
    radial-gradient(ellipse at 0 96%,rgba(35,95,150,.5),transparent 45%),
    linear-gradient(126deg,var(--blue-800),var(--blue-950) 81%);
}
body[data-page="preorder"] .preorder-hero::before {
  content:""; position:absolute; z-index:0; pointer-events:none; border-radius:50%;
  width:min(55vw,680px); aspect-ratio:1; top:-45%; right:-14%;
  background:radial-gradient(circle,rgba(245,179,53,.12),transparent 68%);
  animation:pdtAmbientGold 13s ease-in-out infinite alternate;
}
body[data-page="preorder"] .preorder-hero-grid { position:relative; z-index:1; }
body[data-page="preorder"] .preorder-hero-grid > div > * { animation:pdtEnter .85s var(--pdt-motion-ease) both; }
body[data-page="preorder"] .preorder-hero-grid > div > :nth-child(2) { animation-delay:.09s; }
body[data-page="preorder"] .preorder-hero-grid > div > :nth-child(3) { animation-delay:.17s; }
body[data-page="preorder"] .preorder-hero-grid > div > :nth-child(4) { animation-delay:.25s; }
body[data-page="preorder"] .preorder-hero-product {
  animation:pdtEnterVisual .9s .16s var(--pdt-motion-ease) both,pdtHoverFloat 8s 1.06s ease-in-out infinite;
}
body[data-page="preorder"] .pdt-tier-card {
  transition:opacity .75s var(--pdt-motion-ease),transform .75s var(--pdt-motion-ease),box-shadow .38s var(--pdt-motion-ease),border-color .38s ease;
}
body[data-page="preorder"] .pdt-tier-card:nth-child(2) {
  box-shadow:0 15px 38px rgba(11,47,88,.11);
}
body[data-page="preorder"] .preorder-gallery-card {
  transition:opacity .75s var(--pdt-motion-ease),transform .75s var(--pdt-motion-ease),filter .35s ease;
}
body[data-page="preorder"] .preorder-gallery-image img {
  transition:transform .65s var(--pdt-motion-ease);
}
body[data-page="preorder"] .pdt-digital-section {
  background:
    radial-gradient(ellipse at 85% 0,rgba(245,179,53,.1),transparent 44%),
    linear-gradient(126deg,var(--blue-800),var(--blue-950));
}
@media (hover:hover) and (pointer:fine) {
  body[data-page="preorder"] .pdt-tier-card:hover {
    transform:translateY(-7px); box-shadow:0 25px 55px rgba(11,47,88,.16);
    border-color:rgba(245,179,53,.66);
  }
  body[data-page="preorder"] .preorder-gallery-card:hover { transform:translateY(-4px); }
  body[data-page="preorder"] .preorder-gallery-card:hover img { transform:scale(1.045); }
}
@keyframes pdtEnter {
  from { opacity:0; transform:translate3d(0,20px,0); }
  to   { opacity:1; transform:translate3d(0,0,0); }
}
@keyframes pdtEnterVisual {
  from { opacity:0; transform:translate3d(0,28px,0) scale(.98); }
  to   { opacity:1; transform:translate3d(0,0,0) scale(1); }
}
@keyframes pdtHoverFloat {
  0%,100% { transform:translate3d(0,0,0); }
  50% { transform:translate3d(0,-8px,0); }
}
@keyframes pdtAmbientGold {
  from { transform:translate3d(-3%,1%,0); }
  to { transform:translate3d(6%,8%,0); }
}
@keyframes pdtAmbientBlue {
  from { transform:translate3d(0,-4%,0); }
  to { transform:translate3d(9%,7%,0); }
}
/* All content remains available on slower devices and to motion-sensitive visitors. */
@media (max-width:760px) {
  body[data-page="home"] .pdt-h-hero-figure,
  body[data-page="preorder"] .preorder-hero-product {
    animation:pdtEnterVisual .7s .1s var(--pdt-motion-ease) both;
  }
  body.pdt-motion-enabled .pdt-motion-target {
    transition-duration:.55s; transform:translate3d(0,18px,0);
  }
  body.pdt-motion-enabled .pdt-motion-target.pdt-is-visible { transform:none; }
}
@media (prefers-reduced-motion:reduce) {
  body:is([data-page="home"],[data-page="preorder"]) .pdt-h-hero *,
  body:is([data-page="home"],[data-page="preorder"]) .pdt-h-hero::before,
  body:is([data-page="home"],[data-page="preorder"]) .pdt-h-hero::after,
  body[data-page="preorder"] .preorder-hero-product,
  body[data-page="preorder"] .preorder-hero-grid > div > *,
  body[data-page="preorder"] .preorder-hero::before {
    animation:none !important;
  }
  body.pdt-motion-enabled .pdt-motion-target,
  body.pdt-motion-enabled .pdt-motion-target.pdt-is-visible {
    opacity:1 !important; transform:none !important; transition:none !important;
  }
  body:is([data-page="home"],[data-page="preorder"]) .pdt-h-edition,
  body:is([data-page="home"],[data-page="preorder"]) .pdt-h-facts article,
  body:is([data-page="home"],[data-page="preorder"]) .pdt-tier-card,
  body:is([data-page="home"],[data-page="preorder"]) .preorder-gallery-card {
    transition:none !important;
  }
  .pdt-reading-progress { transition:none !important; }
}

/* Fluid, intentional navigation and product reveals — v4.
   Motion is progressive, GPU-friendly and never required to read content. */
body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo{
  opacity:0;
  transform:translate3d(0,22px,0) scale(.965);
  clip-path:inset(6% 2% 6% 2% round 12px);
  transition:
    opacity .82s var(--pdt-motion-ease),
    transform 1s var(--pdt-motion-ease),
    clip-path 1s var(--pdt-motion-ease);
}
body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo.pdt-is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  clip-path:inset(0 round 0);
}
body.pdt-motion-enabled .pdt-h-edition:nth-child(2) picture.pdt-reveal-photo,
body.pdt-motion-enabled .pdt-tier-card:nth-child(2) picture.pdt-reveal-photo{
  transition-delay:.07s;
}
body.pdt-motion-enabled .pdt-shop-flow-step:nth-child(2){transition-delay:90ms}
body.pdt-motion-enabled .pdt-shop-flow-step:nth-child(3){transition-delay:170ms}

/* A lightweight lift and responsive tactile feedback for every action. */
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-btn,.pdt-shop-home-cta,.pdt-tier-link,
  .preorder-btn,.pdt-shop-flow-cta a
){
  transition:transform .26s var(--pdt-motion-ease),
             box-shadow .26s ease,
             background-color .26s ease,
             border-color .26s ease,
             color .26s ease,
             filter .26s ease;
}
@media (hover:hover) and (pointer:fine){
  body:is([data-page="home"],[data-page="preorder"]) :is(
    .pdt-h-btn,.pdt-shop-home-cta,.pdt-tier-link,
    .preorder-btn,.pdt-shop-flow-cta a
  ):hover{
    transform:translate3d(0,-3px,0);
    box-shadow:0 13px 30px rgba(11,47,88,.18);
  }
  body:is([data-page="home"],[data-page="preorder"]) :is(
    .pdt-first-action-answer a,.pdt-h-edition a:not(.pdt-shop-home-cta),
    .preorder-gallery-caption a,.nav-links a
  ){
    transition:color .25s ease,text-decoration-color .25s ease;
    text-decoration-thickness:1px;
    text-underline-offset:4px;
  }
  body:is([data-page="home"],[data-page="preorder"]) :is(
    .pdt-first-action-answer a,.preorder-gallery-caption a
  ):hover{text-decoration-color:var(--gold-dark)}
}
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-btn,.pdt-shop-home-cta,.pdt-tier-link,.preorder-btn,.pdt-shop-flow-cta a
):active{transform:translate3d(0,0,0) scale(.975);box-shadow:none}
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-btn,.pdt-shop-home-cta,.pdt-tier-link,
  .preorder-btn,.pdt-shop-flow-cta a,
  .pdt-edition-preview,.pdt-shop-copy,.pdt-first-action-option summary
):focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:790px){html{scroll-padding-top:78px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo,
  body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo.pdt-is-visible{
    opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important
  }
  body:is([data-page="home"],[data-page="preorder"]) :is(
    .pdt-h-btn,.pdt-shop-home-cta,.pdt-tier-link,.preorder-btn,.pdt-shop-flow-cta a
  ){transition:none!important}
}

/* PdT Motion v5 — a more cinematic, scroll-responsive product story.
   Progressive enhancement: content and links work without animations/JS. */
html:has(body[data-page="home"]),
html:has(body[data-page="preorder"]){
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}
body:is([data-page="home"],[data-page="preorder"]) :is(
  #editions,#interest,#kit,#digital-access,.pdt-h-collection
){scroll-margin-top:90px}

/* More readable entrance choreography: distance and timing are noticeable,
   while fade and transform never affect layout geometry. */
body.pdt-motion-enabled .pdt-motion-target:not(.pdt-reveal-photo) {
  opacity:0;
  transform:translate3d(0,48px,0) scale(.984);
  transition:
    opacity 1s cubic-bezier(.16,1,.3,1),
    transform 1.05s cubic-bezier(.16,1,.3,1),
    box-shadow .35s ease,
    border-color .35s ease;
}
body.pdt-motion-enabled .pdt-motion-target:not(.pdt-reveal-photo).pdt-is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo{
  opacity:0;
  transform:translate3d(0,38px,0) scale(.94);
  clip-path:inset(12% 3% 12% 3% round 18px);
  transition:
    opacity .9s cubic-bezier(.16,1,.3,1),
    transform 1.15s cubic-bezier(.16,1,.3,1),
    clip-path 1.1s cubic-bezier(.16,1,.3,1);
}
body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo.pdt-is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  clip-path:inset(0 round 0);
}

/* Section headlines receive a gold baseline as the section arrives. */
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-heading,.preorder-section-heading
)::after{
  content:"";
  display:block;
  height:3px;
  width:72px;
  margin-top:18px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--gold-dark),var(--gold),rgba(245,179,53,.25));
  transform-origin:left center;
  transform:scaleX(.12);
  transition:transform 1.1s .23s cubic-bezier(.16,1,.3,1);
}
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-heading,.preorder-section-heading
).pdt-is-visible::after{transform:scaleX(1)}

/* Move the ENTIRE closed cofanetto, not its contents; its edges remain visible. */
body[data-page="home"] .pdt-h-hero-figure,
body[data-page="preorder"] .preorder-hero-product{
  translate:0 var(--pdt-hero-shift,0px);
}

/* Scroll-responsive depth on cover-grid imagery. The full hero is exempt. */
body[data-page="home"] .pdt-h-edition picture img,
body[data-page="preorder"] .pdt-edition-preview picture img,
body[data-page="preorder"] .preorder-gallery-card img {
  transform:translate3d(0,var(--pdt-image-shift,0px),0) scale(1.075);
  transition:transform .28s ease-out;
}
@media(hover:hover) and (pointer:fine){
  body[data-page="home"] .pdt-h-edition:hover picture img,
  body[data-page="preorder"] .pdt-tier-card:hover .pdt-edition-preview picture img,
  body[data-page="preorder"] .preorder-gallery-card:hover img{
    transform:translate3d(0,var(--pdt-image-shift,0px),0) scale(1.11);
  }
}

/* Responsive gilded highlight follows the pointer on real hover devices. */
body:is([data-page="home"],[data-page="preorder"]) .pdt-spotlight-card{
  position:relative;
  isolation:isolate;
}
body:is([data-page="home"],[data-page="preorder"]) .pdt-spotlight-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  z-index:2;
  pointer-events:none;
  opacity:0;
  background:radial-gradient(
    circle 180px at var(--pdt-pointer-x,50%) var(--pdt-pointer-y,50%),
    rgba(245,179,53,.18),transparent 78%
  );
  transition:opacity .32s ease;
}
@media(hover:hover) and (pointer:fine){
  body:is([data-page="home"],[data-page="preorder"]) .pdt-spotlight-card:hover::after{opacity:1}
  body.pdt-motion-enabled .pdt-h-edition.pdt-is-visible:hover,
  body.pdt-motion-enabled .pdt-tier-card.pdt-is-visible:hover{
    transform:translate3d(0,-8px,0) scale(1.012);
  }
}

/* Polished micro-feedback on the commercial call to action. */
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-shop-home-cta,.pdt-tier-link,.pdt-shop-flow-cta a
){
  position:relative;
  isolation:isolate;
  overflow:hidden;
  transition:
    transform .36s cubic-bezier(.16,1,.3,1),
    box-shadow .36s ease,
    background-color .28s ease,
    color .28s ease;
}
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-shop-home-cta,.pdt-tier-link,.pdt-shop-flow-cta a
)::after{
  content:"";position:absolute;pointer-events:none;inset:-40% 0;
  background:linear-gradient(110deg,transparent 28%,rgba(255,255,255,.2) 50%,transparent 72%);
  transform:translateX(-150%) skewX(-15deg);
  transition:transform .75s cubic-bezier(.16,1,.3,1);
}
@media(hover:hover) and (pointer:fine){
  body:is([data-page="home"],[data-page="preorder"]) :is(
    .pdt-shop-home-cta,.pdt-tier-link,.pdt-shop-flow-cta a
  ):hover::after{transform:translateX(150%) skewX(-15deg)}
}

/* Native cross-document transition where available (between Home and Pre Order).
   Unsupported browsers simply navigate instantly as before. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:.22s ease-in both pdtPageFadeOut}
::view-transition-new(root){animation:.42s cubic-bezier(.16,1,.3,1) both pdtPageFadeIn}
@keyframes pdtPageFadeOut{
  from{opacity:1;filter:blur(0)}
  to{opacity:.72;filter:blur(2px)}
}
@keyframes pdtPageFadeIn{
  from{opacity:.65;filter:blur(2px);transform:translate3d(0,9px,0)}
  to{opacity:1;filter:blur(0);transform:translate3d(0,0,0)}
}
@media(max-width:760px){
  body.pdt-motion-enabled .pdt-motion-target:not(.pdt-reveal-photo){
    transform:translate3d(0,27px,0) scale(.99);
    transition-duration:.78s;
  }
  body.pdt-motion-enabled .pdt-motion-target:not(.pdt-reveal-photo).pdt-is-visible{
    transform:none;
  }
  body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo{
    transform:translate3d(0,20px,0) scale(.97);
    transition-duration:.85s;
  }
  body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo.pdt-is-visible{
    transform:none;
  }
}
@media(prefers-reduced-motion:reduce){
  html:has(body[data-page="home"]),html:has(body[data-page="preorder"]){
    scroll-behavior:auto!important;
  }
  body[data-page="home"] .pdt-h-hero-figure,
  body[data-page="preorder"] .preorder-hero-product{translate:none!important}
  body[data-page="home"] .pdt-h-edition picture img,
  body[data-page="preorder"] .pdt-edition-preview picture img,
  body[data-page="preorder"] .preorder-gallery-card img{
    transform:none!important;
    transition:none!important;
  }
  body.pdt-motion-enabled .pdt-motion-target,
  body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo,
  body.pdt-motion-enabled .pdt-motion-target.pdt-is-visible{
    opacity:1!important;
    transform:none!important;
    clip-path:none!important;
    transition:none!important;
  }
  body:is([data-page="home"],[data-page="preorder"]) :is(
    .pdt-h-heading,.preorder-section-heading
  )::after{transform:none!important;transition:none!important}
  body:is([data-page="home"],[data-page="preorder"]) :is(
    .pdt-shop-home-cta,.pdt-tier-link,.pdt-shop-flow-cta a
  )::after{display:none!important}
  ::view-transition-old(root),::view-transition-new(root){animation:none!important}
}

/* Final v5 pacing: readable during entry, more expressive from side to side. */
body.pdt-motion-enabled .pdt-motion-target:not(.pdt-reveal-photo):not(.pdt-is-visible){
  opacity:.34;
}
body.pdt-motion-enabled :is(.pdt-h-edition,.pdt-tier-card).pdt-motion-target:not(.pdt-is-visible){
  opacity:.72;
}
body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo:not(.pdt-is-visible){
  opacity:.58;
}
body.pdt-motion-enabled .pdt-motion-target:not(.pdt-reveal-photo){
  transition-duration:.78s,.95s,.35s,.35s;
}
body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo{
  transition-duration:.75s,.96s,.96s;
}
@media(min-width:791px){
  body.pdt-motion-enabled :is(.pdt-h-edition,.pdt-tier-card):first-child.pdt-motion-target:not(.pdt-is-visible){
    transform:translate3d(-38px,22px,0) scale(.978);
  }
  body.pdt-motion-enabled :is(.pdt-h-edition,.pdt-tier-card):nth-child(2).pdt-motion-target:not(.pdt-is-visible){
    transform:translate3d(38px,22px,0) scale(.978);
  }
}
@media(prefers-reduced-motion:reduce){
  body.pdt-motion-enabled .pdt-motion-target:not(.pdt-is-visible),
  body.pdt-motion-enabled :is(.pdt-h-edition,.pdt-tier-card).pdt-motion-target:not(.pdt-is-visible),
  body.pdt-motion-enabled .pdt-motion-target.pdt-reveal-photo:not(.pdt-is-visible){
    opacity:1!important;
    transform:none!important;
  }
}

/* PdT Motion v6: the environment moves with the story.
   Purely decorative radial light, anchored to each section. No canvas,
   third-party libraries, fixed-background repainting or layout shifts. */

/* Preserve the existing hero animations while scrolling its gold/blue glow. */
body[data-page="home"] .pdt-h-hero::before,
body[data-page="home"] .pdt-h-hero::after,
body[data-page="preorder"] .preorder-hero::before {
  translate:0 var(--pdt-hero-bg-shift,0px);
}
body[data-page="home"] .pdt-h-hero::before{
  background:radial-gradient(circle,rgba(245,179,53,.26),rgba(245,179,53,0) 71%);
}
body[data-page="home"] .pdt-h-hero::after{
  background:radial-gradient(circle,rgba(77,134,183,.24),transparent 72%);
}
body[data-page="preorder"] .preorder-hero::before{
  background:radial-gradient(circle,rgba(245,179,53,.22),transparent 69%);
}

/* Alternating warm and cool pools of light on the cream product sections. */
body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::before{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  inset:-24% -18%;
  background:
    radial-gradient(ellipse 42% 40% at var(--pdt-scene-anchor,78%) 34%,
      rgba(245,179,53,.17),rgba(245,179,53,.065) 48%,transparent 80%),
    radial-gradient(ellipse 37% 35% at 18% 80%,
      rgba(35,95,150,.11),transparent 78%);
  transform:translate3d(var(--pdt-scene-x,0px),var(--pdt-scene-y,0px),0);
  transition:transform .16s linear;
}
body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene > .container{
  position:relative;
  z-index:1;
}
/* Dark sections keep a glimmer instead of another solid rectangle. */
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-cta,.pdt-digital-section
).pdt-scroll-scene::before{
  background:
    radial-gradient(ellipse 44% 41% at var(--pdt-scene-anchor,78%) 30%,
      rgba(245,179,53,.14),transparent 76%),
    radial-gradient(ellipse 39% 38% at 13% 82%,
      rgba(80,148,204,.24),transparent 76%);
}
/* On touch devices this becomes a light decorative wash, not heavy motion. */
@media(max-width:760px){
  body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::before{
    inset:-12% -12%;
    opacity:.7;
  }
  body[data-page="home"] .pdt-h-hero::before,
  body[data-page="home"] .pdt-h-hero::after,
  body[data-page="preorder"] .preorder-hero::before{
    opacity:.75;
  }
}
/* On low-motion systems nothing moves and all original backgrounds remain. */
@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .pdt-h-hero::before,
  body[data-page="home"] .pdt-h-hero::after,
  body[data-page="preorder"] .preorder-hero::before{
    translate:none!important;
  }
  body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::before{
    transform:none!important;
    transition:none!important;
  }
}

/* Motion v7: visible cinematic chapters (rather than barely perceptible glows).
   Backgrounds are decorative layers. Actual cards, text and links never move. */

/* Richer hero lighting makes the first scroll visibly change the backdrop. */
body[data-page="home"] .pdt-h-hero::before{
  width:min(78vw,1050px);
  right:-15%;top:-32%;
  background:radial-gradient(circle,rgba(245,179,53,.38) 0%,rgba(245,179,53,.17) 37%,transparent 72%);
}
body[data-page="home"] .pdt-h-hero::after{
  width:min(60vw,800px);
  left:-20%;bottom:-31%;
  background:radial-gradient(circle,rgba(77,150,211,.30),rgba(35,95,150,.08) 48%,transparent 72%);
}
body[data-page="preorder"] .preorder-hero::before{
  width:min(78vw,1050px);
  right:-14%;top:-36%;
  background:radial-gradient(circle,rgba(245,179,53,.33),rgba(245,179,53,.10) 44%,transparent 73%);
}

/* The story unfolds through different large-scale washes and gentle ribbons. */
body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::before{
  inset:-18% -20%;
  opacity:1;
  background:
    radial-gradient(ellipse 48% 55% at var(--pdt-scene-anchor,78%) 39%,
      rgba(245,179,53,.32) 0%,rgba(245,179,53,.15) 45%,transparent 77%),
    linear-gradient(118deg,
      transparent 13%,rgba(35,95,150,.10) 36%,
      rgba(245,179,53,.15) 51%,transparent 72%),
    radial-gradient(ellipse 38% 44% at 18% 79%,
      rgba(35,95,150,.17),transparent 80%);
  transform:translate3d(var(--pdt-scene-x,0px),var(--pdt-scene-y,0px),0);
  transition:transform .12s linear;
}
body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::after{
  content:attr(data-pdt-chapter);
  position:absolute;
  z-index:0;
  right:clamp(14px,5vw,90px);
  top:clamp(30px,11%,110px);
  font:500 clamp(150px,25vw,380px)/.86 var(--font-brand);
  letter-spacing:-.075em;
  color:rgba(23,75,127,.115);
  pointer-events:none;
  user-select:none;
  transform:translate3d(var(--pdt-scene-x,0px),var(--pdt-scene-y,0px),0);
  transition:transform .16s linear;
}
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-cta,.pdt-digital-section
).pdt-scroll-scene::before{
  background:
    radial-gradient(ellipse 45% 55% at var(--pdt-scene-anchor,78%) 43%,
      rgba(245,179,53,.24),rgba(245,179,53,.06) 48%,transparent 79%),
    linear-gradient(120deg,transparent 16%,rgba(96,161,212,.14) 47%,transparent 75%),
    radial-gradient(ellipse 42% 44% at 14% 82%,rgba(96,161,212,.3),transparent 79%);
}
body:is([data-page="home"],[data-page="preorder"]) :is(
  .pdt-h-cta,.pdt-digital-section
).pdt-scroll-scene::after{color:rgba(255,215,120,.17)}

/* An understated but unmistakably changing journey marker on large screens. */
.pdt-journey{
  position:fixed;
  z-index:950;
  top:50%;
  right:12px;
  transform:translate3d(12px,-50%,0);
  width:63px;
  min-height:194px;
  padding:14px 8px;
  display:none;
  align-items:center;
  flex-direction:column;
  gap:12px;
  color:var(--cream-light);
  border:1px solid rgba(245,179,53,.55);
  border-radius:999px;
  background:rgba(11,47,88,.94);
  box-shadow:0 16px 36px rgba(11,47,88,.19);
  pointer-events:none;
  opacity:0;
  transition:opacity .45s ease,transform .55s cubic-bezier(.16,1,.3,1);
}
.pdt-journey-count{
  font:800 9px/1.2 var(--font-ui);
  letter-spacing:.015em;
  white-space:nowrap;
  color:var(--gold-soft);
}
.pdt-journey-track{
  position:relative;
  width:3px;height:72px;
  flex:none;
  border-radius:999px;
  background:rgba(255,250,243,.24);
  overflow:hidden;
}
.pdt-journey-fill{
  position:absolute;
  inset:0;
  background:var(--gold);
  transform:scaleY(0);
  transform-origin:top;
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
.pdt-journey-name{
  max-height:85px;
  overflow:hidden;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font:700 10px/1.2 var(--font-ui);
  letter-spacing:.04em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media(min-width:1320px){
  .pdt-journey{display:flex}
  body.pdt-show-journey .pdt-journey{
    opacity:1;
    transform:translate3d(0,-50%,0);
  }
}
@media(max-width:760px){
  body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::before{
    inset:-20% -24%;
    opacity:.82;
  }
  body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::after{
    top:32px;right:12px;
    font-size:clamp(120px,31vw,220px);
    color:rgba(23,75,127,.085);
  }
  body[data-page="home"] .pdt-h-hero::before,
  body[data-page="home"] .pdt-h-hero::after,
  body[data-page="preorder"] .preorder-hero::before{opacity:.68}
}
@media(prefers-reduced-motion:reduce){
  .pdt-journey{display:none!important}
  body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::before,
  body:is([data-page="home"],[data-page="preorder"]) section.pdt-scroll-scene::after{
    transform:none!important;
    transition:none!important;
  }
}

/* PdT cinematic scroll v8
   A clearly visible, scroll-driven visual rhythm. All ornamental layers stay
   behind content, buttons and gallery images. No scroll hijacking or libraries. */
body.pdt-cinema-enabled section.pdt-cinema-scene {
  position:relative;
  isolation:isolate;
  overflow:clip;
}
body.pdt-cinema-enabled .pdt-cinema-sweep{
  position:absolute;
  z-index:0;
  pointer-events:none;
  display:block;
  left:-19%;
  top:22%;
  width:138%;
  height:clamp(190px,29vw,390px);
  border-radius:42% 12% 38% 16% / 48% 23% 40% 22%;
  background:linear-gradient(95deg,
    rgba(23,75,127,.04) 4%,
    rgba(23,75,127,.18) 29%,
    rgba(245,179,53,.31) 55%,
    rgba(245,179,53,.11) 76%,
    transparent 98%);
  transform:translate3d(-40%,0,0) rotate(-9deg);
  transform-origin:center;
  opacity:.88;
  will-change:transform;
}
body.pdt-cinema-enabled :is(
  .pdt-h-cta,.pdt-digital-section
).pdt-cinema-scene .pdt-cinema-sweep{
  background:linear-gradient(95deg,
    transparent 4%,
    rgba(65,145,206,.23) 28%,
    rgba(245,179,53,.24) 56%,
    rgba(245,179,53,.07) 82%,
    transparent 98%);
  opacity:1;
}
body.pdt-cinema-enabled .pdt-cinema-edge{
  position:absolute;
  z-index:0;
  left:0;
  top:0;
  width:100%;
  height:5px;
  pointer-events:none;
  background:linear-gradient(90deg,
    var(--blue-800),var(--gold-dark) 42%,var(--gold) 72%,transparent);
  box-shadow:0 0 18px rgba(245,179,53,.2);
  transform:scaleX(.08);
  transform-origin:left;
  will-change:transform;
}
body.pdt-cinema-enabled .pdt-cinema-scene:nth-of-type(even) .pdt-cinema-edge{
  transform-origin:right;
  background:linear-gradient(270deg,
    var(--blue-800),var(--gold-dark) 42%,var(--gold) 72%,transparent);
}
body.pdt-cinema-enabled :is(
  .pdt-h-cta,.pdt-digital-section
).pdt-cinema-scene .pdt-cinema-edge{
  background:linear-gradient(90deg,transparent,var(--gold),var(--gold-soft));
}

/* Scroll-focus is independent of the transform used by entrance animations.
   Product images never open full-screen and the closed hero box is not cropped. */
body.pdt-cinema-enabled .pdt-cinema-card{
  scale:var(--pdt-cinema-zoom,1);
  transition:
    scale .16s linear,
    box-shadow .3s ease,
    border-color .3s ease,
    opacity .75s var(--pdt-motion-ease),
    transform .82s var(--pdt-motion-ease);
}
body.pdt-cinema-enabled .pdt-h-heading.pdt-motion-target:not(.pdt-is-visible),
body.pdt-cinema-enabled .preorder-section-heading.pdt-motion-target:not(.pdt-is-visible){
  opacity:.25;
  transform:translate3d(-65px,22px,0);
}
body.pdt-cinema-enabled :is(
  .pdt-h-heading,.preorder-section-heading
).pdt-is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}
body.pdt-cinema-enabled .pdt-cinema-card.pdt-motion-target:not(.pdt-is-visible){
  opacity:.58;
}

/* The photography opens more decisively when it arrives in view. */
body.pdt-cinema-enabled .pdt-motion-target.pdt-reveal-photo:not(.pdt-is-visible){
  opacity:.5;
  clip-path:inset(15% 5% 15% 5% round 20px);
  transform:translate3d(0,42px,0) scale(.925);
}
body.pdt-cinema-enabled .pdt-motion-target.pdt-reveal-photo.pdt-is-visible{
  opacity:1;
  clip-path:inset(0 round 0);
  transform:translate3d(0,0,0) scale(1);
}

/* Mobile: significant visual change, smaller transforms and less compositing. */
@media(max-width:760px){
  body.pdt-cinema-enabled .pdt-cinema-sweep{
    left:-28%;
    top:17%;
    width:156%;
    height:clamp(170px,52vw,250px);
    opacity:.76;
    will-change:auto;
  }
  body.pdt-cinema-enabled .pdt-cinema-edge{height:3px;will-change:auto}
  body.pdt-cinema-enabled :is(.pdt-h-heading,.preorder-section-heading).pdt-motion-target:not(.pdt-is-visible){
    transform:translate3d(-29px,14px,0);
    opacity:.45;
  }
  body.pdt-cinema-enabled .pdt-motion-target.pdt-reveal-photo:not(.pdt-is-visible){
    transform:translate3d(0,22px,0) scale(.97);
    clip-path:inset(7% 2% 7% 2% round 14px);
  }
}
@media(prefers-reduced-motion:reduce){
  body.pdt-cinema-enabled .pdt-cinema-sweep,
  body.pdt-cinema-enabled .pdt-cinema-edge{display:none!important}
  body.pdt-cinema-enabled .pdt-cinema-card{scale:1!important;transition:none!important}
  body.pdt-cinema-enabled .pdt-motion-target.pdt-reveal-photo,
  body.pdt-cinema-enabled .pdt-motion-target.pdt-reveal-photo.pdt-is-visible{
    opacity:1!important;transform:none!important;clip-path:none!important;
  }
  body.pdt-cinema-enabled .pdt-h-heading,
  body.pdt-cinema-enabled .preorder-section-heading{opacity:1!important;transform:none!important}
}
