
/* Product chapters retain the central square and the five-part presentation. */
.quadrant-study{height:1280svh}
.study-product-story{z-index:1}
.study-product-story .study-copy-eyebrow{margin-bottom:18px}
.study-product-preview{position:relative;margin:20px 0 0;width:100%;height:clamp(120px,24svh,250px);overflow:hidden;background:#f6f7f6}
.study-product-preview>canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.study-product-preview figcaption{position:absolute;left:10px;bottom:10px;padding:3px 6px;background:#ffffffd9;font-size:8px;line-height:1.3;color:#778078}
.study-paper-preview{background:transparent}
.study-paper-preview>canvas{mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}
.study-product-story .study-products-link{margin-top:12px}
@media(max-width:650px){
 .study-copy.study-product-story{top:clamp(102px,14svh,150px);max-width:none}
 .study-product-story .study-copy-eyebrow{font-size:8px;margin-bottom:12px}
 .study-product-story h2{font-size:clamp(27px,7.8vw,32px)}
 .study-product-story>p:not(.study-copy-eyebrow){max-width:350px}
 .study-product-preview{height:180px;margin-top:18px}
 .study-product-story .study-products-link{margin-top:8px;padding-block:6px}
 .quadrant-study[data-phase="1"] .study-guidance,.quadrant-study[data-phase="2"] .study-guidance{bottom:108px}
 .quadrant-study[data-phase="1"] .study-step-label,.quadrant-study[data-phase="2"] .study-step-label{display:none}
}
@media(max-height:700px){
 .study-product-story .study-copy-eyebrow{margin-bottom:10px}
 .study-product-story>p:not(.study-copy-eyebrow){margin-top:12px}
}

@media(min-width:651px) and (max-width:1000px) and (max-height:740px){
 .study-copy.study-product-story{top:108px;transform:none}
 .study-product-story h2{font-size:26px;line-height:1.12}
 .study-product-story .study-copy-eyebrow{font-size:8px;margin-bottom:10px}
 .study-product-story>p:not(.study-copy-eyebrow){font-size:12px;line-height:1.5;margin-top:12px}
 .study-product-preview{height:100px;margin-top:12px}
 .study-product-story .study-products-link{margin-top:8px;padding-block:6px;font-size:10px}
}

/* Give the warehouse demonstration more room without moving the shared square. */
@media(min-width:651px){
 .study-warehouse-preview{width:min(560px,calc(50vw - clamp(24px,5.2vw,88px) - 72px));height:clamp(160px,36svh,380px)}
}
@media(min-width:651px) and (max-height:740px){
 .study-warehouse-preview{height:clamp(150px,30svh,210px)}
}

/* Center the warehouse message over its preview and include its product name in the copy. */
.study-copy[data-story="1"]{text-align:center}
.study-copy[data-story="1"]>p:not(.study-copy-eyebrow){color:#000;max-width:480px;margin-inline:auto}
@media(min-width:651px){
 .study-copy.study-product-story[data-story="1"]{width:min(560px,calc(50vw - clamp(24px,5.2vw,88px) - 72px))}
 .study-copy[data-story="1"] .study-warehouse-preview{width:100%}
}

/* Match the centered, black copy in the other product chapter. */
.study-copy[data-story="2"]{text-align:center}
.study-copy[data-story="2"] h2,.study-copy[data-story="2"]>p:not(.study-copy-eyebrow){color:#000}
.study-copy[data-story="2"]>p:not(.study-copy-eyebrow){margin-inline:auto}

/* Custom development follows the same centered copy treatment. */
.study-copy[data-story="3"]{text-align:center}
.study-copy[data-story="3"] h2,.study-copy[data-story="3"]>p:not(.study-copy-eyebrow){color:#000}
.study-copy[data-story="3"]>p:not(.study-copy-eyebrow){margin-inline:auto}

.study-copy[data-story="3"]{container-type:inline-size}
.study-copy[data-story="3"] h2{font-size:clamp(20px,9.5cqw,49px);white-space:nowrap}
@media(max-width:650px){.study-copy[data-story="3"] h2{font-size:clamp(20px,9.5cqw,32px)}}

/* Final invitation sits below the mark without moving its square docking target. */
.study-final-products{position:absolute;top:calc(100% + 28px);left:44.539474%;transform:translateX(-50%);margin:0;padding:10px 2px 11px;border:0;background:none;color:#000;font:400 13px/1.5 var(--body);white-space:nowrap;pointer-events:auto;cursor:pointer}
.study-final-products::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#ff5900;pointer-events:none;animation:study-products-line-blink 1.2s steps(1,end) infinite}
@keyframes study-products-line-blink{0%,100%{opacity:1}50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.study-final-products::after{animation:study-products-line-blink 1.2s steps(1,end) infinite!important}}
.study-final-products:focus-visible{outline:2px solid #ff5900;outline-offset:5px}
@media(max-width:560px){.study-final-products{top:calc(100% + 22px);font-size:12px}}

/* Keep the custom-development chapter on the viewport axis on tablets too. */
@media(max-width:650px){
 .study-copy[data-story="3"]{max-width:none}
}
/* Short landscape screens put text and previews side by side, around the square. */
@media(min-width:561px) and (max-height:500px){
 body:not(.about-open):has(.quadrant-study:not([data-phase="0"])) .site-header,
 body[data-view="about"] .site-header{height:48px}
 .quadrant-study:not([data-phase="0"]) .study-copy{
   left:24px;right:auto;top:64px;width:calc(50% - 82px);max-width:none;transform:none
 }
 .quadrant-study:not([data-phase="0"]) .study-copy h2{font-size:22px;line-height:1.1}
 .quadrant-study .study-copy[data-story="3"] h2{font-size:clamp(18px,9.5cqw,22px)}
 .quadrant-study:not([data-phase="0"]) .study-copy>p:not(.study-copy-eyebrow){
   font-size:11px;line-height:1.4;margin-top:10px;max-width:none
 }
 .study-copy.study-product-story .study-product-preview{
   position:absolute;left:calc(100% + 116px);top:0;width:100%;
   height:calc(100svh - 150px);margin:0
 }
 .study-copy.study-product-story .study-paper-preview,.study-copy.study-product-story .study-warehouse-preview{height:calc(100svh - 174px)}
 .study-product-story .study-products-link{
   position:absolute;left:calc(100% + 116px);top:calc(100svh - 158px);
   width:100%;justify-content:space-between;margin:0;padding:4px 0;font-size:10px;gap:8px
 }
 .quadrant-study:not([data-phase="0"]) .study-guidance{left:24px;bottom:12px}
 .quadrant-study:not([data-phase="0"]) .study-step-label{display:none}
 body:not(.about-open):has(.quadrant-study:not([data-phase="0"])) .site-copyright,
 body[data-view="about"] .site-copyright{padding-block:8px;font-size:10px}
 .study-wordmark{width:min(260px,40vw);top:46%}
 .study-final-products{top:calc(100% + 14px);padding-block:6px;font-size:12px}
 .about-copy{width:min(480px,calc(100vw - 48px));top:calc(var(--square-anchor-top) - 20px)}
 .about-signature .about-origin{font-size:12px;line-height:1.4}
}
/* The mobile menu shares the site's white, black and orange palette. */
@media(max-width:560px){
 .js .site-nav{background:#fff;border-color:#e7e9e4;box-shadow:0 12px 30px #161b150c;max-height:calc(100svh - 100px);overflow-y:auto}
 .site-nav .nav-view{font-size:14px;min-height:44px}
 .language-control{border-top-color:#e7e9e4}
}
