/* V7 — scoped corrections: original red calligraphy, measured scroll entry, and
   new galleries that use the graphic project's density and left-to-right entrances. */
:root {--hand:'Marck Script','Segoe Script','Snell Roundhand',cursive;}
.hero-signature .handtype {
 font-family:var(--hand)!important;
 font-size:clamp(29px,5vw,78px)!important;
 font-weight:400!important;font-style:normal!important;
 line-height:1.28!important;letter-spacing:-.03em;
 min-height:1.55em;padding:.06em .23em .20em;
 background:var(--paper)!important;
}
.hero-signature .handtype:empty {background:transparent!important}
.hero-red-1 {transform:translateX(-19%) rotate(0deg)}
.hero-red-2 {transform:translateX(20%) rotate(0deg)}
/* Spread the three solid, separately revealed statements across enough scroll
   to breathe while keeping the following ribbon near the content. */
.manifesto {height:184svh!important}
.manifesto-sticky {padding-top:clamp(34px,5vh,63px)!important;}
.manifesto-line{filter:none!important;opacity:1!important;transition:none!important}
.manifesto-quote {font-family:var(--hand)!important}
/* All image galleries now behave and read like the graphic-design covers.
   Absolute columns are precisely laid out from the original pixel aspect ratios. */
.portfolio-unified {padding-top:0!important;padding-bottom:clamp(25px,4vw,54px)!important;min-height:0!important;}
.unified-gallery {display:block!important;position:relative!important;
 width:100%!important;max-width:1520px!important;
 margin:0 auto!important;padding:0!important;
 gap:0!important;grid-auto-flow:initial!important;
}
.portfolio-unified .unified-chapter{top:0!important;bottom:0!important;left:-7vw!important;
 display:block!important;}
.unified-title-line{height:1.15em!important;min-height:0!important;line-height:1.08!important}
.unified-title-line:nth-child(1){top:1%!important}
.unified-title-line:nth-child(2){top:25%!important}
.unified-title-line:nth-child(3){top:50%!important}
.unified-title-line:nth-child(4){top:74%!important}
.gallery-item:nth-child(n){position:absolute!important;display:block!important;
 grid-column:auto!important;grid-row:auto!important;margin:0!important;
 padding:0!important;min-width:0!important;align-self:auto!important;justify-self:auto!important;
 transform-origin:50% 50%;}
.gallery-item.reveal{opacity:0!important;
 transform:translate3d(-155px,15px,0) rotate(var(--rotation,0deg))!important;
 transition:opacity .9s ease,transform 1.15s cubic-bezier(.16,.9,.2,1)!important;
 transition-delay:var(--delay,0ms)!important;}
.gallery-item.reveal.is-visible{opacity:1!important;
 transform:translate3d(0,0,0) rotate(var(--rotation,0deg))!important;}
.gallery-item.reveal.is-visible:hover,.gallery-item.reveal.is-visible:focus-visible{
 z-index:15!important;
 transform:translate3d(0,-10px,0) rotate(0deg) scale(1.06)!important;
 transition-delay:0ms!important;}
.gallery-art{display:block;width:100%;background:transparent;box-shadow:0 13px 28px rgba(0,0,0,.15)}
.gallery-art img{display:block;width:100%!important;height:auto!important;
 max-width:100%!important;max-height:none!important;object-fit:contain!important;
 object-position:center!important;aspect-ratio:auto!important;}
/* Clearer delayed entrance of graphic projects; preserve their original order/size/layout. */
.section-graphic .project-item.reveal{opacity:0!important;
 transform:translate3d(-185px,28px,0) rotate(var(--rotation))!important;
 transition:opacity .9s ease,transform 1.15s cubic-bezier(.16,.9,.2,1)!important;
 transition-delay:var(--delay,0ms)!important;}
.section-graphic .project-item.reveal.is-visible{opacity:1!important;
 transform:translate3d(0,0,0) rotate(var(--rotation))!important;}
.section-graphic .project-item.reveal.is-visible:hover,
.section-graphic .project-item.reveal.is-visible:focus-visible{
 transform:translate3d(0,-10px,0) rotate(0deg) scale(1.065)!important;
 transition-delay:0ms!important;}
@media(max-width:700px){
 .hero-signature .handtype{font-size:clamp(27px,7.1vw,47px)!important;min-height:1.55em;}
 .manifesto{height:176svh!important}
 .portfolio-unified{padding-top:0!important;padding-bottom:25px!important}
 .unified-chapter{top:0!important}
 .gallery-item.reveal{transform:translate3d(-60px,12px,0) rotate(var(--rotation,0deg))!important}
 .gallery-item.reveal.is-visible{transform:translate3d(0,0,0) rotate(var(--rotation,0deg))!important}
 .section-graphic .project-item.reveal{transform:translate3d(-80px,10px,0) rotate(var(--rotation))!important}
 .section-graphic .project-item.reveal.is-visible{transform:translate3d(0,0,0) rotate(var(--rotation))!important}
}
@media(prefers-reduced-motion:reduce){
 .gallery-item.reveal,.gallery-item.reveal.is-visible,
 .section-graphic .project-item.reveal,.section-graphic .project-item.reveal.is-visible {
 opacity:1!important;transform:rotate(var(--rotation,0deg))!important;transition:none!important;}
}
