/* ac-home-hero-build:3 (cover centring: pre-centred crop, contain, no zoom or pan) */
/* ac-home-hero-build:2 (layout fix: every chapter fits one viewport inside the chapters deck) */
/* ac-home-hero-build:1 */

/* Chapter I: column stack, headline block on top, pano fills what is left. */
.ac-ch.ac-hc-1{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:calc(var(--ac-header-clearance) + 32px) 120px calc(64px + env(safe-area-inset-bottom,0px));text-align:center;overflow:hidden;background:var(--ac-bg)}
.ac-hc-1 .ac-hc-eye{display:flex;justify-content:center;flex:0 0 auto}
.ac-hc-dot{margin:0 12px}
.ac-hc-1 h1{flex:0 0 auto;font-family:var(--ac-font-display);font-weight:400;font-size:clamp(42px,min(5.85vw,9.2vh),84px);line-height:.98;letter-spacing:-.025em;max-width:1120px;margin:clamp(14px,2.4vh,24px) auto clamp(18px,3vh,30px)}
.ac-hc-1 h1 em{font-style:italic}
.ac-hc-cta{flex:0 0 auto;display:flex;justify-content:center;align-items:center;gap:26px}
.ac-hc-tlink{font-family:var(--ac-font-label);font-size:13px;font-weight:500;border-bottom:1px solid currentColor;padding-bottom:3px;color:var(--ac-ink)}
/* Cover (build 3): the image file is pre-cropped so the full printed block (wordmark, subjects, Winter 2026)
   sits at its exact centre. The photo is shown whole (contain), never zoomed or panned, so nothing is clipped
   at any screen shape. The photo box takes the image's own aspect ratio and the largest size that fits the area
   left under the buttons; any spare room is plain chapter background. --ac-hc-ar = image width / height. */
.ac-hc-pano{--ac-hc-ar:2.844;position:relative;flex:1 1 0;min-height:160px;margin-top:clamp(20px,3.6vh,34px);overflow:hidden;background:transparent}
.ac-hc-pano picture{display:block;position:absolute;inset:0}
.ac-hc-pano img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%;transform:none;animation:none}
.ac-hc-tag{position:absolute;left:22px;bottom:18px;font:600 11px var(--ac-font-label);letter-spacing:.16em;text-transform:uppercase;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.5)}
@supports (container-type:size){
 .ac-hc-pano{container-type:size}
 .ac-hc-pano picture{inset:auto;left:50%;top:50%;width:min(100cqw,calc(100cqh * var(--ac-hc-ar)));height:min(100cqh,calc(100cqw / var(--ac-hc-ar)));transform:translate(-50%,-50%);background:var(--wash,#faf9f7)}
 .ac-hc-tag{left:calc((100cqw - min(100cqw,calc(100cqh * var(--ac-hc-ar)))) / 2 + 22px);bottom:calc((100cqh - min(100cqh,calc(100cqw / var(--ac-hc-ar)))) / 2 + 18px)}
}

/* Chapter II: one row exactly the chapter height; panel centred; columns clipped. */
.ac-ch.ac-hc-2{position:relative;display:grid;grid-template-columns:clamp(380px,30vw,440px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:clamp(40px,4vw,80px);align-items:stretch;padding:var(--ac-header-clearance) 200px 0 64px;background:var(--wash,#faf9f7);overflow:hidden}
.ac-hc-panel{align-self:center;text-align:left;padding-bottom:40px}
.ac-hc-panel h2{font-family:var(--ac-font-display);font-weight:400;font-size:clamp(40px,6vh,58px);line-height:1;letter-spacing:-.02em;margin:18px 0 clamp(18px,3vh,30px);text-transform:none}
.ac-hc-panel h2 i{display:block;font-family:var(--ac-font-display);font-style:italic;font-size:clamp(22px,3.2vh,30px);line-height:1.2;margin-top:12px;color:#3a3a3a}
.ac-hc-list{list-style:none;margin:0 0 clamp(18px,3vh,30px);padding:0;border-top:1px solid var(--rule)}
.ac-hc-list li{display:flex;gap:16px;align-items:baseline;padding:clamp(9px,1.5vh,14px) 0;border-bottom:1px solid var(--rule);font-family:var(--ac-font-display);font-size:19px}
.ac-hc-list li span{font-size:13px;color:var(--muted);min-width:22px}
.ac-hc-price{display:flex;align-items:baseline;gap:12px;margin-bottom:clamp(16px,2.8vh,26px)}
.ac-hc-price b{font-family:var(--ac-font-display);font-weight:300;font-size:clamp(42px,6vh,54px)}
.ac-hc-price i{font-family:var(--ac-font-display);font-size:17px;color:var(--muted)}
.ac-hc-cols{min-height:0;height:100%;overflow:hidden;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:start}
.ac-hc-col{display:flex;flex-direction:column;gap:18px;will-change:transform}
.ac-hc-col picture{display:contents}
.ac-hc-col img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;display:block;flex:0 0 auto}
.ac-hc-c1{margin-top:-60px}.ac-hc-c2{margin-top:-220px}.ac-hc-c3{margin-top:-10px}

/* Deck: fixed full-viewport chapters, no inner scrolling. */
html.is-chapters .ac-ch.ac-hc{height:100%;min-height:0;overflow:hidden}

@media (max-width:767px){
 .ac-ch.ac-hc-1{padding:calc(var(--ac-header-clearance) + 14px) calc(46px + env(safe-area-inset-right,0px)) calc(70px + env(safe-area-inset-bottom,0px)) calc(20px + env(safe-area-inset-left,0px))}
 .ac-hc-sw{display:none}
 .ac-hc-1 h1{font-size:clamp(30px,4.6vh,38px);margin:10px auto 16px}
 .ac-hc-cta{flex-direction:column;align-items:stretch;gap:12px}
 .ac-hc-cta .ac-ch-pillbtn{justify-content:center}
 .ac-hc-tlink{align-self:center}
 .ac-hc-pano{--ac-hc-ar:1;margin:18px 0 0;min-height:180px}
 .ac-ch.ac-hc-2{display:flex;flex-direction:column-reverse;gap:0;padding:calc(var(--ac-header-clearance) + 8px) calc(46px + env(safe-area-inset-right,0px)) calc(70px + env(safe-area-inset-bottom,0px)) calc(20px + env(safe-area-inset-left,0px))}
 .ac-hc-panel{flex:0 0 auto;padding:16px 0 0}
 .ac-hc-panel .ac-ch-eye{display:none}
 .ac-hc-panel h2{font-size:28px;margin:0 0 12px}.ac-hc-panel h2 i{font-size:20px;margin-top:6px}
 .ac-hc-list{margin-bottom:14px}
 .ac-hc-list li{font-size:15px;padding:7px 0;gap:12px}
 .ac-hc-price{margin-bottom:12px}.ac-hc-price b{font-size:36px}
 .ac-hc-panel .ac-ch-pillbtn{display:flex;justify-content:center}
 .ac-hc-cols{flex:1 1 0;height:auto;min-height:120px;grid-template-columns:repeat(2,1fr);gap:10px;padding:0}
 .ac-hc-col{gap:10px}.ac-hc-c1{margin-top:0}.ac-hc-c2{margin-top:-50px}.ac-hc-c3{display:none}
}
@media (prefers-reduced-motion:reduce){
 .ac-hc-pano img,.ac-hc-col{animation:none!important;transition:none!important;transform:none!important}
}
