/* Owner-requested iPhone opening repair. Font sizes stay fixed; the hero can grow to the small viewport. */
@media(max-width:760px) and (orientation:portrait){
 html[data-iphone] .v1181 .hero{padding-block:8px 14px;row-gap:6px;min-height:calc(100svh - 65px - var(--iphone-benefit-height,48px));justify-content:space-between}
 html[data-iphone] .v1181 .hero>.hero-layout{margin-block-start:8px}
 html[data-iphone] .v1181 .hero-eyebrow{margin-bottom:8px}
 html[data-iphone] .v1181 .hero .hero-description{line-height:1.6;margin-bottom:8px}
 html[data-iphone] .v1181 .hero .hero-value .hero-actions{gap:6px}
 html[data-iphone] .v1181 .hero .hero-proof,
 html[data-iphone] .v1181 .hero .brand-signature{margin-top:6px}
 /* Reserve the three-row still summary without pushing it below the viewport. */
 html[data-iphone] .v1181.motion-paused .hero{--iphone-benefit-height:99px}
 html[data-iphone] .v1181:has(.v1181-benefit-marquee:focus-within) .hero{--iphone-benefit-height:108px}
 /* Small viewport stays stable as Safari's toolbars expand and collapse. */
 html[data-iphone] .v1181 .hero .v1181-hero-art{width:min(100%,clamp(240px,calc(120svh - 560px - env(safe-area-inset-bottom,0px)),360px))}
 html[data-iphone] .v1181.motion-paused .hero .v1181-hero-art,
 html[data-iphone] .v1181:has(.v1181-benefit-marquee:focus-within) .hero .v1181-hero-art{width:min(100%,clamp(200px,calc(120svh - 640px - env(safe-area-inset-bottom,0px)),280px))}
}
@media(max-width:760px) and (orientation:portrait) and (prefers-reduced-motion:reduce){
 html[data-iphone] .v1181 .hero{--iphone-benefit-height:108px}
 html[data-iphone] .v1181 .hero .v1181-hero-art{width:min(100%,clamp(200px,calc(120svh - 640px - env(safe-area-inset-bottom,0px)),280px))}
}
/* 3% beyond each side, clipped by the existing figure, without layout changes. */
/* Preserve the original 7%/92% visible vertical feather after the 1.06 overscan. */
@media(max-width:760px){.v1181 #knowledge .knowledge-art img{transform:scale(1.06);mask-image:linear-gradient(to bottom,transparent 2.831%,#000 9.434%,#000 89.623%,transparent 97.169%),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent)}}
