/* One horizontal grid, based on the company page's original content frame. */
:root{--layout-max:1520px;--layout-gutter:4.2vw;--layout-edge:max(var(--layout-gutter),calc((100% - var(--layout-max))/2 + var(--layout-gutter)));--layout-content:calc(min(100%,var(--layout-max)) - var(--layout-gutter)*2)}
body .container,body .page-container,body.home-renewed .container{box-sizing:border-box;width:min(100%,var(--layout-max));max-width:var(--layout-max);margin-inline:auto;padding-inline:var(--layout-gutter)}
body .page-nav{padding-inline:var(--layout-edge)}

/* Standalone media follows the same frame as the adjacent copy. */
body .company-gallery{width:var(--layout-content);max-width:none;margin-inline:auto}
.company-gallery-track{padding-inline:0}
body .education-photo-grid,body .company-field-photo{box-sizing:border-box;width:min(100%,var(--layout-max));max-width:var(--layout-max);padding-inline:var(--layout-gutter);margin-inline:auto}
body .dark-section>.page-container>.editorial-image{max-width:none;width:100%;margin-inline:0}
body .performance-feature{max-width:none;width:100%;margin-inline:0}

/* Business overview cards align with the header and section navigation. */
body .business-feature{box-sizing:border-box;width:var(--layout-content);margin:24px auto}
body .business-text{padding-inline:clamp(24px,3vw,46px)}

/* Full-width section backgrounds share a single inset for their content. */
body.home-renewed .mission-panel,body.home-renewed .business-intro,body.home-renewed .join-panel,body.home-renewed .contact-panel{padding-inline:var(--layout-edge)}
body.home-renewed .business-sheet{padding-inline:var(--layout-edge)}
body.home-renewed .sheet-interior{transform:none!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
body.home-renewed .join-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
body.home-renewed .join-grid figure{width:100%;max-width:100%;min-width:0}
body.home-renewed .sheet-visual h3{font-size:clamp(48px,5.2vw,82px)}
body.home-renewed .sheet-copy h4{font-size:clamp(27px,2.6vw,40px)}

/* Keep hero text and controls on the grid even on ultrawide displays. */
body.home-renewed .cinematic-opening{width:100%;max-width:none;margin-inline:0}
body.home-renewed .cinematic-opening .opening-inner{clip-path:none!important}
body.home-renewed .cinematic-opening .giant{left:var(--layout-edge);right:var(--layout-edge);font-size:clamp(100px,12vw,185px)}
body.home-renewed .cinematic-opening .stage-copy{left:var(--layout-edge)}
body.home-renewed .cinematic-opening .opening-bottom{left:var(--layout-edge);right:var(--layout-edge)}
body.home-renewed .hero-controls{right:var(--layout-edge)}
body.home-renewed .cinematic-opening .stage-grid{left:var(--layout-edge);right:var(--layout-edge)}
body.home-renewed .join-grid figure{transform:translateY(var(--join-y,0px))}

/* Compact image-and-copy business cards: approximately two thirds of the
   previous 620–820px home cards and 630px overview cards. */
body.home-renewed .sheet-interior{height:auto;min-height:clamp(414px,calc((100svh - 84px)*.6667),547px);max-height:none}
body.home-renewed .sheet-copy{padding:26px 32px;gap:0}
body.home-renewed .sheet-copy .brand-caption{margin-bottom:12px}
body.home-renewed .sheet-copy h4{font-size:clamp(27px,2.6vw,36px)}
body.home-renewed .sheet-line{font-size:18px;margin-top:20px}
body.home-renewed .sheet-description{font-size:15px;line-height:1.7;margin-top:12px}
body.home-renewed .sheet-copy .square-link{margin-top:24px}
body.home-renewed .sheet-visual h3{font-size:clamp(40px,4.4vw,66px);left:26px;bottom:24px}
body.home-renewed .sheet-visual img{position:absolute;inset:0;width:100%;height:100%;transform:scale(1.025);object-fit:cover}
body.home-renewed .sheet-visual:hover img{transform:scale(1.06)}
body.home-renewed .sheet-visual h3{transform:none}
body .business-feature{min-height:420px}
body .business-text{padding-block:28px 32px}
body .business-text .section-index{margin-bottom:28px}
body .business-text h2{font-size:clamp(28px,2.7vw,38px);margin-bottom:20px}
body .business-text h3{font-size:20px;margin-bottom:14px}
body .business-text>p{font-size:15px;line-height:1.7}
body .business-text>.action-link{margin-top:24px}

@media(max-width:1050px) and (min-width:768px){
 body.home-renewed .sheet-copy{padding-inline:25px}
 body.home-renewed .sheet-visual h3{font-size:clamp(48px,5.8vw,62px)}
}
@media(max-width:767px){
 :root{--layout-gutter:20px}
 body .business-feature{margin-block:20px}
 body .business-text{padding-inline:20px}
 body.home-renewed .sheet-interior{display:flex;flex-direction:column}
 body.home-renewed .sheet-interior{min-height:0;height:auto}
 body.home-renewed .sheet-visual{height:234px;flex:none}
 body.home-renewed .sheet-copy{padding:24px 20px 28px}
 body.home-renewed .sheet-visual h3{font-size:clamp(36px,10.5vw,52px);left:20px;bottom:20px}
 body .business-feature{min-height:0}
 body .business-photo{height:234px}
 body.business-page #b04 .business-photo{height:294px}
 body .business-text{padding-block:24px 32px}
 body.home-renewed .join-grid figure{width:100%}
 body.home-renewed .cinematic-opening .giant{font-size:15vw}
 body.home-renewed .hero-controls{width:calc(100% - var(--layout-gutter)*2)}
}

.home-renewed .sheet-04 .sheet-visual img{object-position:50% 48%}

/* Keep hero typography in document flow, including short and ultrawide viewports. */
body.home-renewed .cinematic-opening .opening-inner{display:flex;flex-direction:column;box-sizing:border-box;height:auto;min-height:calc(100svh - 76px);padding-top:clamp(28px,5svh,64px)}
body.home-renewed .cinematic-opening .hero-content{position:relative;z-index:5;display:flex;flex:1;flex-direction:column;justify-content:center;gap:clamp(24px,4svh,40px);margin-inline:var(--layout-edge);min-width:0}
body.home-renewed .cinematic-opening .giant{position:static;margin:0;font-size:clamp(64px,min(12vw,20svh),185px);line-height:.94}
body.home-renewed .cinematic-opening .stage-copy{position:static;max-width:100%;min-width:0}
body.home-renewed .cinematic-opening .stage-copy p{margin-bottom:20px;overflow-wrap:break-word}
body.home-renewed .hero-controls{position:relative;right:auto;bottom:auto;align-self:flex-end;margin:18px var(--layout-edge) 16px;flex:none}
body.home-renewed .cinematic-opening .opening-bottom{position:relative;left:auto;right:auto;bottom:auto;margin-inline:var(--layout-edge);flex:none}
@media(max-width:767px){
 body.home-renewed .cinematic-opening .opening-inner{min-height:calc(100svh - 64px);padding-top:44px}
 body.home-renewed .cinematic-opening .giant{font-size:15vw;line-height:.98}
 body.home-renewed .cinematic-opening .hero-content{gap:30px}
 body.home-renewed .hero-controls{margin-top:30px;margin-bottom:22px}
 body.home-renewed .cinematic-opening .opening-bottom{gap:16px}
}

/* Overseas business follows the light treatment of the Modern K card. */
body.home-renewed .sheet-03 .sheet-interior,body.home-renewed .sheet-03 .sheet-copy{background:#fff;color:#101011}
body.home-renewed .sheet-03 .brand-caption{color:#666}
body.home-renewed .sheet-03 .sheet-line{color:#101011}
body.home-renewed .sheet-03 .sheet-description{color:#62625f}
body.home-renewed .sheet-03 .sheet-copy .square-link{background:#101011;color:#fff;border-color:#101011}
body.home-renewed .sheet-03 .sheet-copy .square-link:hover{background:#f24462;color:#101011;border-color:#f24462}
/* Keep the left-edge participants outside the EnterJob home image frame. */
body.home-renewed .sheet-02 .sheet-visual{overflow:hidden}
body.home-renewed .sheet-02 .sheet-visual img{transform-origin:100% 50%;transform:scale(1.16)}
body.home-renewed .sheet-02 .sheet-visual:hover img{transform:scale(1.18)}

/* Keep the approved headline on two lines, sized against its actual text area. */
body.home-renewed .cinematic-opening .hero-content{container-type:inline-size}
body.home-renewed .cinematic-opening #hero-title{font-size:clamp(19.2px,8vw,115.2px);line-height:1.04;letter-spacing:-.028em}
body.home-renewed #hero-title .headline-line{white-space:nowrap}
@supports(font-size:1cqi){body.home-renewed .cinematic-opening #hero-title{font-size:clamp(19.2px,min(9.6cqi,14.4svh),121.6px)}}
/* Start the band at page load, independently of scroll/visibility callbacks. */
body.home-renewed .kinetic-track{animation:brand-band-roll 28s linear infinite}
body.home-renewed .kinetic-track>span{flex:none}
body.home-renewed.motion-paused .kinetic-track{animation-play-state:paused}
@keyframes brand-band-roll{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* Both lines of the approved hero headline use solid white lettering. */
body.home-renewed .cinematic-opening #hero-title .headline-line{color:#fff;-webkit-text-stroke:0}

/* English hero copy: two deliberate lines on desktop, one fitted line on mobile. */
html[lang="en"] .stage-copy .hero-description-line{display:block}
@media(max-width:767px){
 html[lang="en"] body.home-renewed .cinematic-opening .stage-copy p[data-i18n="renew.hero"]{font-size:min(20px,calc(4vw - 1.6px));white-space:nowrap;overflow-wrap:normal;line-height:1.5}
 html[lang="en"] .stage-copy .hero-description-line{display:inline}
 @supports(font-size:1cqi){html[lang="en"] body.home-renewed .cinematic-opening .stage-copy p[data-i18n="renew.hero"]{font-size:min(20px,4cqi)}}
}
