/* Shared Zignite content bounds and navigation. */
:root{--pad:clamp(22px,5vw,90px)}
.wrap{width:min(calc(100% - 2 * var(--pad)),clamp(1040px,66.666667vw,1600px));margin-inline:auto;padding-inline:0}
.site-header{position:fixed;inset:0 0 auto;z-index:20;border:0;transition:transform .32s ease,background .25s;will-change:transform}
.site-header .header-inner{height:72px;display:flex;align-items:center;justify-content:flex-end;gap:32px}
.site-header .desktop-nav{display:flex;margin-left:auto;gap:27px;font-size:14px}
.site-header .header-inner>.button{display:inline-flex;border-radius:2px;background:var(--red-action,#f7061e);color:#fff;border:1px solid var(--red-action,#f7061e);font-size:14px;font-weight:700;padding:14px 23px;min-height:48px;line-height:1.3}
.site-header .menu-toggle{display:none}
.site-header.nav-away{transform:translateY(-110%);pointer-events:none}
.floating-brand,.floating-brand-standard{position:fixed;top:0;left:50%;transform:translateX(-50%);height:72px;z-index:22;display:flex;align-items:center;pointer-events:none;transition:opacity .32s ease}
.floating-brand{mix-blend-mode:difference;opacity:0}
.floating-brand-standard{z-index:23;opacity:1}
.floating-brand .wordmark{pointer-events:none;color:#fff}
.floating-brand.brand-active{opacity:1}
.floating-brand.brand-active .wordmark,.floating-brand-standard .wordmark{pointer-events:auto}
.floating-brand-standard.brand-hidden{opacity:0}
.floating-brand-standard.brand-hidden .wordmark{pointer-events:none}
.floating-brand .artwork-wordmark,.floating-brand-standard .artwork-wordmark{display:flex;align-items:center;width:116px;line-height:1}
.artwork-wordmark>svg{display:block;width:116px;height:auto;max-height:48px;fill:currentColor}
.floating-brand .artwork-wordmark svg *{fill:#fff!important}
.case-study-page .site-header{background:#ffffffef;color:#101012;backdrop-filter:blur(14px);box-shadow:0 3px 14px #10101205}
.case-study-page .site-header.on-dark{background:#101012ed;color:#f2f2ef}
.case-study-page .floating-brand-standard{color:#101012}
.case-study-page:has(.site-header.on-dark) .floating-brand-standard{color:#fff}
.case-study-page .floating-brand-standard .wordmark{color:inherit}
.case-study-page .mobile-nav.open{background:#fff;color:#101012}
.case-study-page .site-header.on-dark .mobile-nav.open{background:#101012;color:#fff}
main .conclusion .closing-steps .closing-it{color:#101012}
main .conclusion>.wrap>p{font-size:36px;font-weight:600}
@media(max-width:1279px){.site-header .desktop-nav{gap:16px}.site-header .header-inner>.button{display:none}}
@media(max-width:639px){.site-header .desktop-nav{display:none}.site-header .menu-toggle{display:flex}.site-header .header-inner{height:70px;gap:18px}.floating-brand,.floating-brand-standard{height:70px}main .conclusion>.wrap>p{font-size:28px}}
@media(prefers-reduced-motion:reduce){.site-header,.floating-brand,.floating-brand-standard{transition:none}}

/* Closing alignment and shared button feedback. */
main .conclusion .closing-steps{max-width:none;justify-self:end;margin-left:auto}
main .conclusion>.wrap>p{text-align:center}
main .conclusion .closing-cta-arrow{transition:background-color .25s,color .25s}
main .conclusion .closing-primary-cta:hover .closing-cta-arrow,main .conclusion .closing-primary-cta:focus-visible .closing-cta-arrow{background:var(--red,#d5001c);color:#fff!important}
.site-header .header-inner>.button{transition:background-color .25s,border-color .25s,box-shadow .25s}
.site-header .header-inner>.button:hover,.site-header .header-inner>.button:focus-visible{background:#c60022;border-color:#c60022;color:#fff;box-shadow:0 5px 20px #f7061e35}

/* Match navigation metrics on every page and soften link feedback. */
.site-header .header-inner,.site-header .desktop-nav,.site-header .header-inner>.button{font-family:'Inter Tight',Arial,Helvetica,sans-serif}
.site-header .desktop-nav{font-weight:600;line-height:1.6;align-items:center}
.site-header .desktop-nav a,.site-header .mobile-nav a{font-weight:600;transition:color .28s ease}
.site-header .desktop-nav a:hover,.site-header .desktop-nav a:focus-visible,.site-header .mobile-nav a:hover,.site-header .mobile-nav a:focus-visible{color:#f7061e}
.case-study-page .site-header:not(.on-dark) .header-inner>.button{background:#101012;border-color:#101012;color:#fff;box-shadow:none}
.case-study-page .site-header:not(.on-dark) .header-inner>.button:hover,.case-study-page .site-header:not(.on-dark) .header-inner>.button:focus-visible{background:#f7061e;border-color:#f7061e;color:#fff;box-shadow:none}
@media(prefers-reduced-motion:reduce){.site-header .desktop-nav a,.site-header .mobile-nav a{transition:none}}

/* Layout modes: mobile <=639; tablet 640–1280; desktop >=1281.
   Desktop content remains capped above 1920px. */
html,body{overflow-x:clip}

/* Tablet composition: readable hero copy and fluid editorial headings. */
@media(min-width:640px) and (max-width:1279px){
body:not(.case-study-page) .hero>.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.25) 80%);pointer-events:none;z-index:1}
.case-study-page main .hero .scene-copy h2{font-size:clamp(38px,4.6vw,60px);width:75%;max-width:none}
.case-study-page main [data-chapter="19"]>h2{font-size:clamp(64px,9vw,128px)}
.case-study-page main [data-chapter="21"]>h2{font-size:clamp(64px,9vw,124px)}
.case-study-page main [data-chapter="25"] .copy h2{font-size:clamp(48px,5vw,72px)}
.case-study-page .final-product-pair>h3{font-size:clamp(24px,3.5vw,44px)}
.case-study-page .final-product-pair>.laptop-product-heading{width:55%}
.case-study-page .final-product-pair>.mobile-product-heading{width:40%}
}

main .conclusion>.wrap>p{border-top:0;text-align:left;padding-top:0}

/* Short action dashes; headline fitted to this column's height. */
main .conclusion .closing-steps>p{display:flex;justify-content:flex-end;align-items:center;gap:24px;padding:24px 0;text-align:right}
main .conclusion .closing-action-label{color:#fff;white-space:nowrap}
main .conclusion .closing-action-label .closing-it{color:#101012}
main .conclusion .closing-steps>p:before{position:static;display:block;flex:0 0 64px;width:64px;height:4px;background:linear-gradient(90deg,#ffffff99,#fff,#ffffff99);background-size:200% 100%;animation:closing-dash-flow 6s ease-in-out infinite}
main .conclusion .closing-steps>p:after{display:none}
main .conclusion .closing-steps>p:nth-child(2):before{animation-delay:.65s}
main .conclusion .closing-steps>p:nth-child(3):before{animation-delay:1.3s}
main .conclusion .closing-steps>p:nth-child(4):before{animation-delay:1.95s}
@keyframes closing-dash-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){main .conclusion .closing-steps>p:before{animation:none}}

/* Quote attribution and supporting points stay visually separate. */
main .eye-scene .director-quote>p{margin-top:8px}
@media(min-width:640px) and (max-width:1279px){main .eye-scene .progress-explanation{top:calc(51% + 48px)}}
@media(min-width:1280px){main .eye-scene .progress-explanation{top:calc(51% + 96px)}}

/* Gradual heat-up on light headers; outline feedback on dark headers. */
.site-header .header-inner>.button{transition:background-color .6s ease,border-color .6s ease,color .6s ease,box-shadow .6s ease}
body:not(.case-study-page) .site-header .header-inner>.button:hover,
body:not(.case-study-page) .site-header .header-inner>.button:focus-visible,
.case-study-page .site-header.on-dark .header-inner>.button:hover,
.case-study-page .site-header.on-dark .header-inner>.button:focus-visible{background:transparent;border-color:#f7061e;color:#fff;box-shadow:none}
@media(prefers-reduced-motion:reduce){.site-header .header-inner>.button{transition:none}}

/* Clearer footer brand statement and roomier link rows. */
footer .footer-top>div:first-child>p{color:#fff;font-weight:600;font-size:16px;line-height:1.6}
footer .footer-nav{row-gap:22px;align-content:start}
footer .footer-contact{gap:20px}

/* Use the header's logo artwork at a larger footer size. */
footer .footer-artwork-wordmark{display:inline-flex;width:156px;color:#fff;line-height:1}
footer .footer-artwork-wordmark>svg{display:block;width:100%;height:auto;max-height:none;fill:currentColor}
footer .footer-artwork-wordmark>svg{max-width:none;flex:0 0 100%}

/* Desktop footer lockup: two tagline lines match the logo height. */
@media(min-width:1280px){
footer .footer-top>div:first-child{display:flex;align-items:center;gap:24px}
footer .footer-top>div:first-child>p{margin:0;font-size:16px;line-height:28.89px}
footer .footer-artwork-wordmark{flex:0 0 156px}
}

/* Footer column labels and a compact, optically centered tagline. */
footer .footer-column-title{margin:0;color:#f7061e;font-size:16px;font-weight:700;line-height:1.4;letter-spacing:0}
footer .footer-nav>.footer-column-title{grid-column:1/-1}
@media(min-width:1280px){
footer .footer-top{align-items:flex-start}
footer .footer-top>div:first-child{padding-top:36px}
footer .footer-top>div:first-child>p{font-size:14px;line-height:1.5;margin:0}
footer .footer-nav,footer .footer-contact{padding-top:36px;position:relative}
footer .footer-nav>.footer-column-title,footer .footer-contact>.footer-column-title{position:absolute;top:0;left:0}
}

/* Align column headings with the top of the desktop logo artwork. */
@media(min-width:1280px){
footer .footer-nav,footer .footer-contact{margin-top:36px}
}

@media(min-width:640px) and (max-width:1279px){
.case-study-page main .hero .scene-copy h2{font-size:clamp(52.32px,4.905vw,89.38px);width:51%}
}

/* Narrow tablet navigation keeps the primary action accessible. */
@media(min-width:640px) and (max-width:1279px){
.site-header .desktop-nav{display:none}
.site-header .header-inner{gap:12px}
.site-header .menu-toggle{display:flex;order:1;margin-left:auto;flex:0 0 44px}
.site-header .header-inner>.button{display:inline-flex;order:2;font-size:13px;padding:14px 16px;white-space:nowrap}
}
@media(min-width:640px) and (max-width:1279px){
.case-study-page main .hero .scene-copy h2{font-size:calc(23.65px + 3.06vw);width:51%;line-height:1.04}
}

@media(min-width:640px) and (max-width:1279px){
.site-header .header-inner>.button{order:1;margin-left:auto}
.site-header .menu-toggle{order:2;margin-left:0}
}

@media(min-width:640px) and (max-width:1279px){
.case-study-page main .hero .scene-copy h2{font-size:calc((23.65px + 3.06vw) * 1.15);width:60%}
}

/* Keep full navigation throughout tablet until the user chooses a menu threshold. */
@media(min-width:640px) and (max-width:1279px){
 body .site-header .desktop-nav{display:flex;gap:27px;order:0;margin-left:auto;font-size:14px}
 body .site-header .menu-toggle{display:none}
 body .site-header .header-inner{gap:32px}
 body .site-header .header-inner>.button{display:inline-flex;order:0;margin-left:0;font-size:14px;padding:14px 23px}
}

/* Fit-driven tablet menu: retain full navigation whenever it has room. */
@media(min-width:640px) and (max-width:1279px){
 body .site-header.nav-compact .header-inner,
 body.case-study-page .site-header.nav-compact .header-inner{gap:18px}
 body .site-header.nav-compact .desktop-nav,
 body.case-study-page .site-header.nav-compact .desktop-nav{display:none}
 body .site-header.nav-compact .header-inner>.button,
 body.case-study-page .site-header.nav-compact .header-inner>.button{display:inline-flex;order:1;margin-left:auto;font-size:13px;padding:14px 16px;white-space:nowrap;flex-shrink:0}
 body .site-header.nav-compact .menu-toggle,
 body.case-study-page .site-header.nav-compact .menu-toggle{display:flex;order:2;margin-left:0;flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center}
}

/* In compact tablet navigation, the main CTA belongs inside the menu. */
@media(min-width:640px) and (max-width:1279px){
 body .site-header.nav-compact .header-inner>.button,
 body.case-study-page .site-header.nav-compact .header-inner>.button{display:none}
 body .site-header.nav-compact .menu-toggle,
 body.case-study-page .site-header.nav-compact .menu-toggle{margin-left:auto}
 body .site-header.nav-compact .mobile-nav.open,
 body.case-study-page .site-header.nav-compact .mobile-nav.open{display:grid;padding:24px;gap:20px}
 body .site-header .mobile-nav .tablet-menu-cta{display:none}
 body .site-header.nav-compact .mobile-nav.open .tablet-menu-cta,
 body.case-study-page .site-header.nav-compact .mobile-nav.open .tablet-menu-cta{display:inline-flex;justify-content:center;align-items:center;background:#f7061e;border:1px solid #f7061e;color:#fff;padding:14px 20px;min-height:48px;font-size:14px;font-weight:700;grid-column:1/-1;border-radius:2px}
}

/* The added menu action is activated by compact tablet navigation only. */
body .site-header .mobile-nav .tablet-menu-cta{display:none}
@media(min-width:640px) and (max-width:1279px){body .site-header.nav-compact .mobile-nav.open .tablet-menu-cta{display:inline-flex}}

/* Keep the header calm: the primary action follows the hamburger into its menu. */
@media(max-width:639px){
 body .site-header .header-inner>.button,
 body.case-study-page .site-header .header-inner>.button{display:none}
 body .site-header .menu-toggle{margin-left:auto}
 body .site-header .mobile-nav.open .tablet-menu-cta,
 body.case-study-page .site-header .mobile-nav.open .tablet-menu-cta{display:inline-flex;align-items:center;justify-content:center;grid-column:1/-1;min-height:48px;padding:14px 20px;margin-top:12px;border:1px solid #f7061e;border-radius:2px;background:#f7061e;color:#fff;font-size:16px;font-weight:700;text-align:center;white-space:normal}
 body .site-header .mobile-nav.open .tablet-menu-cta:hover,
 body .site-header .mobile-nav.open .tablet-menu-cta:focus-visible{background:#d5001c;border-color:#d5001c;color:#fff}
}
