/* The garden and horizontal offers share one fixed photographic plane.
   The duplicate offer-world remains available for the quiet reading mode. */
body[data-motion=full] .handoff-garden{
  top:0;bottom:auto;height:100vh;height:100svh;isolation:isolate;
  mask-image:linear-gradient(to bottom,transparent var(--garden-mask-start,28%),#000 var(--garden-mask-end,82%));
  -webkit-mask-image:linear-gradient(to bottom,transparent var(--garden-mask-start,28%),#000 var(--garden-mask-end,82%));
}
body[data-motion=full] .handoff-landscape{
  inset:auto;left:0;max-width:none;object-fit:fill;filter:none;will-change:transform;
}
body[data-motion=full] .handoff-garden::after{
  z-index:1;
  background:linear-gradient(90deg,rgba(15,29,20,.90),rgba(15,29,20,.70) 31%,rgba(15,29,20,.22) 62%,rgba(15,29,20,.08)),linear-gradient(0deg,rgba(15,29,20,.52),transparent 24%);
}
body[data-motion=full] .handoff-leaves{
  inset:-2%;z-index:2;width:104%;height:104%;max-width:none;opacity:.40;
  mask-image:linear-gradient(to bottom,transparent,#000 24%,#000 82%,transparent);
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 24%,#000 82%,transparent);
}
body[data-motion=full] .offer-stage{background:transparent}
/* The fragment target receives programmatic focus for keyboard continuity.
   Its full-width container does not need the browser's focus ring. */
.offer-track:focus{outline:none}
body[data-motion=full] .offer-world,
body[data-motion=full] .offer-canopy,
body[data-motion=full] .offer-stage::before,
body[data-motion=full] .offer-slide::before{display:none}

/* Light arrives with the following content, rather than covering a readable
   final offer while its stage is still pinned. */
.offer-stage::after{display:none}
.offer-slide{border-top:0}
.offer-after::before{
  content:"";position:absolute;left:0;right:0;bottom:calc(100% - 1px);
  height:clamp(180px,35svh,360px);pointer-events:none;
  background:linear-gradient(to bottom,transparent,rgba(243,239,227,.025) 28%,rgba(243,239,227,.10) 48%,rgba(243,239,227,.32) 67%,rgba(243,239,227,.72) 86%,var(--paper));
}

/* The tonal bridge occupies breathing room after the biography. Both halves
   meet at the same colour; the library text begins on the light paper. */
.library-leaves{display:none}
.about-section{padding-bottom:clamp(190px,24svh,280px)}
.about-section::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;
  height:clamp(140px,18svh,210px);pointer-events:none;
  background:linear-gradient(to bottom,var(--forest),#294437 18%,#4d604d 48%,#74816a 76%,#9da38b);
}
.library-section{
  padding-top:clamp(160px,20svh,230px);
  background:linear-gradient(to bottom,#9da38b,#bec1a8 27%,#d9dac4 58%,var(--cream)) top/100% clamp(145px,18svh,210px) no-repeat,var(--cream);
}
@media(max-width:1100px) and (min-width:761px){
  body[data-motion=full] .handoff-garden::after{background:linear-gradient(90deg,rgba(15,29,20,.92),rgba(15,29,20,.72) 40%,rgba(15,29,20,.18) 82%),linear-gradient(0deg,rgba(15,29,20,.52),transparent 24%)}
}
@media(max-width:760px){
  body[data-motion=full] .offer-track{margin-top:calc(32svh - 20px)}
  body[data-motion=full] .handoff-garden::after{background:linear-gradient(90deg,rgba(15,29,20,.89),rgba(15,29,20,.73) 58%,rgba(15,29,20,.43)),linear-gradient(0deg,rgba(15,29,20,.35),transparent 24%)}
  .offer-after::before{height:clamp(160px,28svh,240px)}
  .about-section{padding-bottom:170px}
  .about-section::after{height:125px}
  .library-section{padding-top:145px;background-size:100% 130px}
}
body[data-motion=reduced] .offer-after::before{height:120px}
