/* iPad refinements; the approved phone/laptop compositions retain their rules. */
@media (min-width:601px) and (max-width:1100px), (min-width:601px) and (max-width:1366px) and (any-pointer:coarse){
 html[data-theme=dark] body{background-image:none}
 html[data-theme=dark] .atmos{background:#01203d url(../assets/denim.jpg) center top/1174px 2560px repeat}
 body.theme-eye-preview #about-me.about-portrait-first{min-height:0;display:block;align-items:initial}
 body.theme-eye-preview #about-me.about-portrait-first .about-me__inner{padding-top:64px;padding-bottom:48px;top:auto}
 .work .card[data-project=ysl-perfume] .card-media,.work .card[data-project=nivea] .card-media{aspect-ratio:5/4;isolation:isolate}
 .work .card[data-project=ysl-perfume] .card-media img,.work .card[data-project=nivea] .card-media img{object-fit:contain;object-position:center;transform:none!important;filter:none;will-change:auto}
 .ps.ps-tablet-sticky{height:calc(100svh + var(--ps-distance));overflow:visible}
 .ps.ps-tablet-sticky .ps-pin{position:sticky!important;top:0!important;height:100svh!important;transform:none!important}
 /* Natural placement on the same two-page book, with a larger hanging card. */
 .cr .badge{width:clamp(260px,32vw,300px)}
 .cr .cr-badge-zone{height:680px!important}
 .cr .passport{height:620px}
 .cr .pp-stamps{display:block;padding:0}
 .cr .stamp{position:absolute;place-self:auto;min-width:0;max-width:none;height:auto;align-content:center}
 .cr .st-0{left:32%;top:8%;width:40%;rotate:-8deg!important}
 .cr .st-1{left:12%;top:29%;width:152px;height:152px;rotate:6deg!important}
 .cr .st-3{left:34%;top:54%;width:47%;rotate:7deg!important}
 .cr .st-4{left:10%;top:79%;width:31%;rotate:-6deg!important}
 .cr .st-5{left:64%;top:73%;width:152px;height:152px;rotate:10deg!important}
}
@media(min-width:601px) and (max-width:1100px) and (orientation:portrait){
 body.theme-eye-preview .hero{padding-top:clamp(140px,17svh,200px)}
 body.theme-eye-preview .hero .avatar{--aw:min(220vw,calc((100svh - clamp(500px,66vw,650px))*3.2))}
}
@media (min-width:601px) and (max-width:1100px), (min-width:601px) and (max-width:1366px) and (any-pointer:coarse){
 .cr .cr-pin{grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);align-items:start;gap:28px;min-height:0}
 .cr .cr-badge-zone{order:0;min-width:0;height:650px!important}
 .cr .cr-right{order:1;min-width:0;position:relative;display:block;align-self:start;margin-top:120px}
 .cr .cr-title{position:absolute;left:0;right:0;bottom:calc(100% + 28px)}
 .cr .badge{width:260px}
 .cr .cr-title{font-size:38px}
 .cr .passport{grid-template-columns:1fr 1fr;height:410px}
 .cr .pp-page{min-height:0}
 .cr .pp-l{border-radius:14px 0 0 14px;box-shadow:inset -22px 0 26px -22px rgba(90,45,20,.35)}
 .cr .pp-r{border-radius:0 14px 14px 0;box-shadow:inset 22px 0 26px -22px rgba(90,45,20,.35)}
 .cr .stamp{padding:10px;gap:3px}
 .cr .st-0{left:5%;top:15%;width:40%;rotate:-8deg!important}
 .cr .st-1{left:20%;top:60%;width:110px;height:110px}
 .cr .st-3{left:53%;top:12%;width:43%;rotate:7deg!important}
 .cr .st-4{left:53%;top:65%;width:21%}
 .cr .st-5{left:76%;top:60%;width:110px;height:110px}
 .cr .st-0 .st-a,.cr .st-3 .st-a{font-size:16px}
 .cr .st-b,.cr .st-5 .st-b{font-size:11px}
 .cr .st-c,.cr .st-3 .st-c{font-size:10px;letter-spacing:.08em}
 .cr .st-5 .st-a{font-size:20px}
 .cr .st-4 .st-b{font-size:10px;letter-spacing:.04em}
}
@media(min-width:601px) and (max-width:900px){
 .cr .cr-pin{grid-template-columns:230px minmax(0,1fr);gap:24px;padding-inline:24px}
 .cr .badge{width:230px}
 .cr .cr-title{font-size:32px}
 .cr .st-0 .st-a,.cr .st-3 .st-a{font-size:14px}
 .cr .st-b,.cr .st-5 .st-b{font-size:10px;letter-spacing:.07em}
 .cr .st-c,.cr .st-3 .st-c{font-size:9px;letter-spacing:.04em}
 .cr .st-1,.cr .st-5{width:100px;height:100px}
}
@media(min-width:601px) and (max-width:740px){
 .cr .cr-pin{grid-template-columns:180px minmax(0,1fr);gap:18px;padding-inline:20px}
 .cr .badge{width:180px}
 .cr .cr-title{font-size:28px}
 .cr .st-1,.cr .st-5{width:82px;height:82px}
 .cr .st-a,.cr .st-5 .st-a{font-size:17px}
 .cr .st-0 .st-a,.cr .st-3 .st-a{font-size:12px}
 .cr .stamp{padding:8px}
}
