/* AD21: one document layout and one scene controller at every desktop section. */
:root{--header-height:78px;--dock-height:64px;--scene-height:calc(100svh - var(--header-height) - var(--dock-height))}
html{scroll-padding-top:var(--header-height);overflow-anchor:none}
main{padding-top:var(--header-height);padding-bottom:var(--dock-height)}
main .story,main .stage,main .artboard{position:relative!important;inset:auto!important;height:auto!important;min-height:0;width:100%;overflow:visible;display:block;transform:none!important}
main .stage,main .artboard{perspective:none}
main .panel{position:relative;inset:auto;width:100%;height:auto;min-height:var(--scene-height);will-change:auto;overflow:hidden;transform-origin:50% 50%}
main .panel:not(.is-turning-page),main .panel:not(:first-child):not(.is-turning-page){opacity:1!important;transform:none!important}
main .panel .reveal{opacity:1!important;transform:none!important}
main .paged-scene:not(.panel):not(.picker-scene):not(.site-footer){min-height:var(--scene-height);padding:40px 0;display:flex;align-items:center}
main #shop.paged-scene{min-height:var(--scene-height);padding:40px 0;display:flex;align-items:center}
.logo .brand-logo,.menu-header .logo .brand-logo{height:44px;width:auto}
.footer-logo .brand-logo{height:60px}
/* Compose the hero in normal flow so its controls always fit below the copy. */
main .hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto auto;gap:18px;padding:40px max(5%,calc((100% - 1440px)/2)) 28px;background:#fff;isolation:isolate}
main .hero .hero-copy,.reduce-motion main .hero .hero-copy{position:relative;inset:auto;width:49%;max-width:690px;min-width:0;padding:0;margin:0 0 28px;align-self:center;gap:16px}
main .hero .hero-copy h1{font-size:clamp(42px,4vw,68px);line-height:1.07}
main .hero .hero-copy .lead{font-size:18px;line-height:28px;max-width:560px}
main .panel.hero .essentials{position:relative;inset:auto;margin:0;width:auto;max-width:calc(100% - 150px);display:flex;flex-wrap:wrap;gap:14px 26px;font-size:16px;line-height:26px;z-index:1}
main .hero .essentials>span{white-space:nowrap;gap:10px}
main .hero .essentials .icon{width:30px;height:30px;flex-basis:30px}
main .hero .search-dock{position:relative;inset:auto;width:100%;max-width:none;margin:0;padding:18px 22px;min-height:88px;z-index:1}
main .hero .film-toggle{position:absolute;inset:auto max(5%,calc((100% - 1440px)/2)) 140px auto;z-index:2;min-height:44px}
main .hero .hero-media{position:absolute;inset:0;width:100%;height:100%;z-index:-2;background-color:white;mask-image:linear-gradient(to bottom,#000 0%,#000 50%,#000e8 62%,#000b5 74%,#00060 86%,#00016 95%,transparent 100%)}
main .hero .hero-media-shade{background:linear-gradient(90deg,#fff 0%,#fffffff8 27%,#ffffffe0 38%,#ffffff70 52%,#ffffff10 67%,transparent 82%),linear-gradient(to top,#fff 0%,#fffffff5 6%,#ffffffc4 16%,#ffffff6e 27%,#ffffff22 40%,transparent 58%)}
main .hero .scrim{z-index:-1;pointer-events:none;background:linear-gradient(90deg,#fffffff0 0%,#ffffffb0 32%,#ffffff14 62%,transparent 82%)}
/* Six normal-height cards: two rows on desktop, three on tablet, one column on phones. */
main .offers{display:flex;align-items:center;padding:40px 0;background:#f3f5f3}
main .offers-content,.reduce-motion main .offers-content{position:relative;inset:auto;display:block;width:90%;max-width:1440px;margin:auto;padding:0}
main .offers .catalog-heading{margin:8px 0 20px;display:flex;align-items:center;gap:20px}
main .offers .catalog-heading h2{font-size:clamp(32px,3.3vw,52px);line-height:1.12;margin:0}
main .offers .brand-strip{display:flex;min-height:68px;padding:8px 0;margin-bottom:20px;gap:18px}
main .offers .brand-strip>a{gap:10px}
main .offers .brand-strip span{font-size:16px;line-height:24px}
main .offers .product-grid,.reduce-motion main .offers .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:440px;gap:24px;flex:none;height:auto;min-height:0}
main .offers .product,.reduce-motion main .offers .product{height:440px;min-height:0;max-width:none;width:100%;margin:0;perspective:1000px}
main .offers .product-turn{height:100%;padding:0;transform:none!important}
main .offers .product-front{height:100%;display:flex;flex-direction:column}
main .offers .product .product-stage{flex:1;min-height:0}
main .offers .product .product-stage img{inset:30px 0 34px;height:calc(100% - 64px);padding:0 24px;object-fit:contain}
main .offers .product-info{padding:14px 20px}
main .offers .product-title h3{font-size:34px;line-height:40px;margin:0}
main .offers .product-title .eyebrow{font-size:13px;line-height:20px;letter-spacing:.4px}
main .offers .product-specs{font-size:14px;line-height:22px;margin-top:9px}
main .offers .product-purchase{display:flex;gap:12px;justify-content:space-between;padding:15px 20px;min-height:88px}
main .offers .product strong{font-size:28px;line-height:34px;white-space:nowrap}
main .offers .product small{font-size:13px;line-height:21px}
main .offers .product-cta{font-size:15px;line-height:22px;padding:11px 14px;min-height:46px}
main .offers .catalog-note{max-width:none;width:auto;font-size:14px;line-height:22px;margin-top:18px}
main .offers .stage-code{font-size:clamp(52px,5.5vw,86px);letter-spacing:-4px}
main .offers .new-label{background:#ffffffbb;top:12px;right:12px;padding:5px 8px;font-size:12px;line-height:18px}
/* Heading and comparison form a single centered scene, including on short screens. */
main .configurations,.reduce-motion main .configurations{padding:40px max(5%,calc((100% - 1440px)/2));display:flex;flex-direction:column;justify-content:center}
main .configurations .section-heading{position:relative;inset:auto;width:100%;max-width:none;gap:14px}
main .configurations .comparison{position:relative;inset:auto;width:100%;height:auto;min-height:500px;margin-top:28px;grid-template-columns:42% minmax(0,1fr);gap:6%}
main .configurations .config-visual{min-height:500px;height:100%!important}
main .configurations .config-workspace{min-width:0}
main .configurations .config-tabs{margin-bottom:16px}
main .configurations .config-tabs button{font-size:15px;padding:11px 12px}
main .configurations .config-visual figcaption strong{font-size:22px}
main .configurations .config-copy{font-size:18px;line-height:28px}
main .picker-scene{min-height:var(--scene-height);background:white}
main .picker-scene .codes-section{padding:32px 0;border:0}
main .picker-scene .finder{padding:40px 0}
main .site-footer{padding-bottom:40px}
/* Keep all content within the page width; the dock switches to a section picker when space is limited. */
.header-inner,.wrap,.offers-content,.finder-grid>*{min-width:0}
.page-navigation .chapter-nav{gap:12px}
.page-navigation .chapter-nav button{font-size:13px}
.page-nav-toggle span{max-width:45vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1440px){
 .page-navigation{--page-nav-height:56px}
 .page-nav-toggle{display:flex;gap:8px;align-items:center;min-height:44px;font-size:14px;white-space:nowrap;color:var(--ink)}
 .page-nav-toggle .icon{width:18px;height:18px;transition:rotate .2s}
 .page-nav-toggle[aria-expanded="true"] .icon{rotate:180deg}
 .page-navigation .chapter-nav{position:absolute;left:0;right:0;bottom:calc(100% + 8px);display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;padding:12px 22px;background:white;border:1px solid #dce3e2;box-shadow:0 12px 36px #1b35451a}
 .page-navigation.is-expanded .chapter-nav{display:grid}
 .page-navigation .chapter-nav button{font-size:14px;text-align:left;padding:22px 0 11px;white-space:normal;line-height:22px}
 .page-navigation .chapter-nav button::before,.page-navigation .chapter-nav button::after{top:9px}
 .page-navigation .page-controls{margin-left:auto;gap:16px}
 main .hero .hero-copy{width:52%}
 main .panel.hero .essentials{gap:12px 18px;font-size:15px}
 main .hero .search-dock label{min-width:215px;font-size:16px}
 main .offers .product-grid{gap:20px;grid-auto-rows:430px}
 main .offers .product{height:430px}
 main .offers .product-purchase{padding-inline:16px}
 main .offers .product-info{padding-inline:16px}
 main .offers .product strong{font-size:26px}
 main .offers .product-cta{padding-inline:12px;font-size:14px}
}
@media(min-width:761px) and (max-width:1100px){
 .logo .brand-logo,.menu-header .logo .brand-logo{height:42px}
 main .hero .hero-copy{width:60%}
 main .hero .hero-copy h1{font-size:48px}
 main .panel.hero .essentials{max-width:none;gap:10px 20px;font-size:14px}
 main .hero .film-toggle{inset:18px 5% auto auto}
 main .hero .search-dock{gap:14px;padding:16px}
 main .hero .search-dock label{min-width:0;font-size:15px}
 main .hero .search-dock label .icon{display:none}
 main .hero .search-dock .button{padding-inline:16px;font-size:15px}
 main .offers .product-grid,.reduce-motion main .offers .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:440px}
 main .offers .product,.reduce-motion main .offers .product{height:440px}
 main .offers .brand-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px}
 main .configurations .comparison{gap:30px;grid-template-columns:40% minmax(0,1fr);min-height:470px}
 main .configurations .config-visual{min-height:470px}
 main .configurations .config-visual figcaption{grid-template-columns:1fr;gap:4px;height:116px;padding:14px 18px}
 main .configurations .config-images{bottom:116px}
 .finder-grid,.delivery-grid,.faq-grid{gap:32px}
 .shop-brands{grid-template-columns:repeat(3,minmax(0,1fr))}
 .shop-routes{grid-template-columns:1fr}
}
@media(max-width:760px){
 :root{--header-height:66px;--dock-height:56px}
 .logo .brand-logo,.menu-header .logo .brand-logo{height:39px}
 .footer-logo .brand-logo{height:56px}
 main .panel,main .paged-scene:not(.panel):not(.picker-scene):not(.site-footer),main #shop.paged-scene{min-height:0;padding-block:40px}
 main .hero{padding-top:32px;gap:18px}
 main .hero .hero-copy,.reduce-motion main .hero .hero-copy{width:100%;margin-bottom:10px;padding:0;gap:18px}
 main .hero .hero-copy h1{font-size:clamp(34px,6.1vw,43px);line-height:1.09;letter-spacing:-1.2px}
 main .hero .hero-copy .lead{font-size:17px;line-height:27px;max-width:530px}
 main .panel.hero .essentials{display:grid;max-width:none;gap:12px;font-size:15px;line-height:24px;margin:0}
 main .hero .essentials>span{white-space:normal}
 main .hero .search-dock{display:grid;padding:18px;gap:14px;width:100%;margin:0}
 main .hero .search-dock label{min-width:0;font-size:16px}
 main .hero .search-dock input,main .hero .search-dock .button{width:100%}
 main .hero .film-toggle{position:relative;inset:auto;grid-row:2;justify-self:end;min-height:40px;margin-top:0;min-width:116px;font-size:13px}
 main .hero .hero-media-shade{background:linear-gradient(90deg,#fffffff7 0%,#ffffffed 48%,#ffffffbf 100%),linear-gradient(to top,#fff 0%,#fffffff2 24%,transparent 75%)}
 main .hero .hero-media{height:100%;mask-image:linear-gradient(to bottom,#000 0%,#000 35%,#000c4 50%,#00070 65%,#00012 82%,transparent 95%)}
 main .offers .catalog-heading{align-items:start;flex-direction:column;gap:10px;margin-bottom:20px}
 main .offers .catalog-heading h2{font-size:32px}
 main .offers .brand-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px 0}
 main .offers .brand-strip span{font-size:14px;line-height:22px}
 main .offers .brand-strip>a{gap:6px}
 main .offers .product-grid,.reduce-motion main .offers .product-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:460px;height:auto;gap:20px}
 main .offers .product,.reduce-motion main .offers .product{height:460px;max-width:520px;margin:auto}
 main .offers .product-info{padding:16px 20px}
 main .offers .product-purchase{padding:15px 20px}
 main .offers .product-title h3{font-size:32px}
 main .offers .product strong{font-size:27px}
 main .offers .product-cta{font-size:15px}
 main .configurations .section-heading h2{font-size:32px;line-height:1.15}
 main .configurations .comparison{grid-template-columns:1fr;gap:26px;margin-top:24px;min-height:0}
 main .configurations .config-visual{height:390px!important;min-height:390px}
 main .configurations .config-visual figcaption{grid-template-columns:1fr;height:118px;gap:5px}
 main .configurations .config-images{bottom:118px}
 main .configurations .config-title{font-size:28px}
 main .configurations .config-copy{font-size:17px;line-height:27px}
 main .picker-scene{min-height:0}
 main .picker-scene .codes-section{padding:32px 0}
 main .picker-scene .finder{padding:40px 0}
 .page-navigation .chapter-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 18px;gap:0 16px}
 .page-nav-toggle{gap:6px;font-size:12px}
 .page-nav-toggle span{max-width:43vw}
 .page-navigation .page-controls{font-size:12px;gap:10px}
 .page-navigation .block-counter{font-size:11px}
 .page-navigation-inner{gap:8px}
 .shop-brands{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shop-routes{grid-template-columns:1fr}
 .finder-tabs{gap:0;justify-content:space-between}
 .finder-tabs button{font-size:14px}
 .finder-tool{padding:22px}
 .b2b-action .button{white-space:normal;text-align:center}
 .support-section .b2b .button{font-size:15px}
}
@media(min-width:600px) and (max-width:760px){
 main .offers .product-grid,.reduce-motion main .offers .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:425px}
 main .offers .product,.reduce-motion main .offers .product{height:425px}
 main .offers .product-purchase{padding:12px;gap:6px}
 main .offers .product-info{padding-inline:14px}
 main .offers .product strong{font-size:23px}
 main .offers .product-cta{padding:10px;font-size:13px}
 main .offers .product small{font-size:12px}
}
@media(max-width:360px){
 .header-inner{gap:8px}.brand-row{gap:10px}
 .logo .brand-logo{height:37px}
 main .hero .hero-copy h1{font-size:33px}
 main .offers .product-purchase{padding-inline:14px;gap:8px}
 main .offers .product strong{font-size:25px}
 main .offers .product-cta{font-size:14px;padding-inline:10px}
 main .offers .product small{font-size:12px}
 .page-nav-toggle span{max-width:39vw}.page-navigation .page-controls{gap:8px}
 .footer-columns{grid-template-columns:1fr}
}
@media(max-height:520px){
 .page-navigation .chapter-nav{grid-template-columns:repeat(3,minmax(0,1fr));padding:6px 14px;gap:0 16px}
 .page-navigation .chapter-nav button{font-size:12px;line-height:20px;padding:17px 0 6px}
 .page-navigation .chapter-nav button::before,.page-navigation .chapter-nav button::after{top:6px}
 .menu-header .logo .brand-logo{height:34px}
}
@media(prefers-reduced-motion:reduce){main .panel{min-height:0}.page-navigation .page-controls{display:flex}}
