/* Daylight architecture fills the stage; text holds at five distinct reading points. */
.film-wash{position:absolute;inset:0;z-index:4;background:#fff;opacity:var(--film-wash,0);pointer-events:none}
.business-film{display:none;overflow:hidden;background:#f5f3ef;pointer-events:none}
.business-film img,.business-film video,.night-film img,.night-film video{display:block;width:100%;height:100%;object-fit:cover}
.business-film video,.night-film video{position:absolute;inset:0;opacity:0;pointer-events:none}
.business-film video.has-frame,.night-film video.has-frame{opacity:1}
.si-home .gallery-enabled{background:#fff;isolation:isolate;scroll-margin-top:var(--gallery-top)}
.gallery-stage{position:relative}
.gallery-enabled>.gallery-stage{position:sticky;top:var(--gallery-top);height:var(--gallery-stage);overflow:hidden;isolation:isolate}
.gallery-enabled .business-film{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.gallery-enabled .business-film img,.gallery-enabled .business-film video{object-position:center}
.gallery-enabled .gallery-stage:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#fffefaf2 0%,#fffefaeb 30%,#fffefaa1 52%,#fffefa24 80%),linear-gradient(180deg,#fffefaaa,transparent 24%,transparent 82%,#fffefac9)}
.gallery-enabled .gallery-stage>.wrap{height:100%;padding-block:34px 22px;display:flex;flex-direction:column;justify-content:flex-start}
.si-home .gallery-enabled .section-heading{margin:0;align-items:start}
.si-home .gallery-enabled .section-heading h2{font-size:clamp(28px,2.8vw,43px);line-height:1.5;margin-top:14px}
.gallery-enabled .section-heading h2 br{display:none}
.si-home .gallery-enabled .section-heading>p{font-size:12px;line-height:2;padding:0;color:#574d4b}
.gallery-enabled .gallery-viewport{overflow:clip;margin-top:auto;padding-block:30px 38px;flex:none}
.ai-link .gallery-enabled .gallery-track{display:flex;gap:64px;border:0;will-change:transform}
.gallery-enabled .si-service-row{flex:0 0 100%;min-width:0;border:0!important}
.gallery-enabled .si-service-row>a{display:grid;grid-template-columns:46px minmax(0,560px);grid-template-rows:auto auto;gap:16px 15px;align-items:start;padding:0;color:#30292a}
.gallery-enabled .si-service-number{grid-column:1;grid-row:1;align-self:start;padding-top:9px;color:#a32b3a;font-size:13px}
.gallery-enabled .si-service-title{grid-column:2;grid-row:1}
.gallery-enabled .si-service-title>span{font-size:10px;letter-spacing:.18em;color:#8b6769}
.gallery-enabled .si-service-title h3{font-size:clamp(35px,4vw,58px);font-weight:500;line-height:1.35;margin:12px 0 5px;color:#9e2434}
.gallery-enabled .si-service-image{display:none}
.gallery-enabled .si-service-description{grid-column:2;grid-row:2;display:block;padding:0;font-size:15px;line-height:2.1;min-height:0;color:#403937;max-width:560px}
.gallery-enabled .si-service-more{margin-top:25px;padding-bottom:10px;font-size:12px;display:flex;justify-content:space-between;width:180px;border-bottom:1px solid #b79291}
.gallery-enabled .gallery-controls{display:flex;flex:none;margin:0;padding-top:16px;border-color:#bcaeab90;position:relative}
.gallery-enabled .gallery-controls:before{content:'';position:absolute;height:1px;background:#a32b3a;top:-1px;left:0;width:100%;transform:scaleX(var(--chapter-progress,.2));transform-origin:left;transition:transform .25s}
.gallery-enabled .gallery-count,.gallery-enabled .gallery-controls>p{color:#605355}
.gallery-enabled .gallery-controls button,.gallery-enabled .section-label{color:#9e2434}
/* The existing channel film and its dark editorial layout remain unchanged. */
.night-film{position:relative;aspect-ratio:16/9;background:#141b28}
.si-media-art .night-film img{aspect-ratio:16/9}
.si-media{padding-top:100px}
/* The company policy is text-led. */
.si-home .founder-policy-text{grid-template-columns:1fr 1.2fr;column-gap:9%;padding-block:64px 100px}
.si-home .founder-policy-text .founder-heading{grid-column:1;grid-row:2}
.si-home .founder-policy-text .about-main{grid-column:2;grid-row:2;padding-top:6px}
.founder-message-image.founder-executive{max-width:560px;margin:64px auto 0}
.founder-executive img{aspect-ratio:4/5;object-fit:cover}
@media(max-width:800px){
 .gallery-enabled .gallery-stage>.wrap{padding-block:22px 18px}
 .gallery-enabled .gallery-stage:after{background:linear-gradient(180deg,#fffefaeb 0%,#fffefa66 23%,#fffefa0d 35%,#fffefabf 50%,#fffefaf7 67%,#fffefa 100%)}
 .si-home .gallery-enabled .section-heading h2{font-size:25px;line-height:1.45;margin-top:9px}
 .gallery-enabled .section-heading h2 br{display:block}
 .si-home .gallery-enabled .section-heading>p{display:none}
 .gallery-enabled .gallery-viewport{padding-block:24px 25px}
 .ai-link .gallery-enabled .gallery-track{gap:40px}
 .gallery-enabled .si-service-row>a{grid-template-columns:22px minmax(0,1fr);gap:12px 9px}
 .gallery-enabled .si-service-number{font-size:11px;padding-top:5px}
 .gallery-enabled .si-service-title>span{font-size:8px}
 .gallery-enabled .si-service-title h3{font-size:34px;line-height:1.35;margin:8px 0 0}
 .gallery-enabled .si-service-description{grid-column:1/-1;font-size:14px;line-height:1.95}
 .gallery-enabled .si-service-more{margin-top:17px;font-size:12px;width:150px;padding-bottom:8px}
 .gallery-enabled .gallery-controls{padding-top:12px}
 .si-media{padding-top:65px}
 .si-home .founder-policy-text{grid-template-columns:1fr;gap:26px;padding-block:36px 75px}
 .si-home .founder-policy-text .founder-heading,.si-home .founder-policy-text .about-main{grid-column:1;grid-row:auto}
 .founder-message-image.founder-executive{margin-top:38px}
}
@media(prefers-reduced-motion:reduce){.film-wash{display:none}.business-film video,.night-film video{display:none}.gallery-controls:before{transition:none}}

/* The sky wash hands directly into the policy without an extra blank screen. */
.si-home .native-film-ready + .founder-policy-text{margin-top:calc(clamp(100px,18svh,200px) - var(--policy-film-height,100svh));z-index:5;background:transparent}
.si-home .site-header:not(.is-scrolled):not(.menu-open){background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none}
@media(max-width:800px){.gallery-enabled .business-film img{height:78%;object-position:center 65%}}

/* Every service is reachable without waiting through the gallery. */
.service-quicklinks{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:24px;position:relative;z-index:1}
.service-quicklinks a{display:inline-flex;align-items:center;gap:10px;min-height:36px;border-bottom:1px solid #c2a4a6;font-size:12px;color:#763841;text-decoration:none}
.service-quicklinks a:hover,.service-quicklinks a:focus-visible{color:#b22437;border-color:currentColor}
.gallery-enabled .service-quicklinks{flex:none;margin-top:14px}
.gallery-enabled .gallery-viewport{margin-top:clamp(50px,12svh,140px)}
.gallery-enabled .gallery-controls{margin-top:auto}
@media(max-width:800px){
 .service-quicklinks{display:grid;grid-template-columns:repeat(3,max-content);gap:4px 20px}
 .service-quicklinks a{font-size:11px;min-height:32px;gap:6px}
 .gallery-enabled .gallery-viewport{margin-top:clamp(45px,10svh,90px);padding-block:20px}
 .gallery-enabled .gallery-stage:after{background:linear-gradient(180deg,#fffefaec 0%,#fffefa66 23%,#fffefa35 35%,#fffefacb 52%,#fffefaf2 74%,#fffefa 100%)}
}

/* Only the words dissolve; the architecture stays behind the incoming policy. */
.native-film-ready .film-copy{opacity:var(--film-copy-opacity,1)}
.native-film-ready :is(.film-footer,.film-count,.film-progress){opacity:var(--film-chrome-opacity,1)}

/* Short portrait viewports retain the same five horizontal chapters. Compress
   whitespace, not the body copy; JS keeps the readable static layout if it overflows. */
@media(max-width:800px){
 .gallery-enabled.gallery-compact .gallery-stage>.wrap{padding-block:14px 12px}
 .si-home .gallery-enabled.gallery-compact .section-heading h2{font-size:24px;line-height:1.35;margin-top:7px}
 .gallery-enabled.gallery-compact .service-quicklinks{margin-top:9px;gap:2px 18px}
 .gallery-enabled.gallery-compact .service-quicklinks a{min-height:28px}
 .gallery-enabled.gallery-compact .gallery-viewport{margin-top:18px;padding-block:12px 14px}
 .gallery-enabled.gallery-compact .si-service-row>a{gap:10px 9px}
 .gallery-enabled.gallery-compact .si-service-title h3{font-size:30px;margin-top:6px}
 .gallery-enabled.gallery-compact .si-service-more{margin-top:12px}
 .gallery-enabled.gallery-compact .gallery-controls{padding-top:8px}
}

/* Keep the desktop links; mobile has one clear route to the business overview. */
.service-quicklinks .business-overview-link{display:none}
@media(max-width:800px){
 .si-home .service-quicklinks{display:flex;gap:0;align-items:flex-start}
 .si-home .service-quicklinks>a:not(.business-overview-link){display:none}
 .si-home .service-gallery .service-quicklinks .business-overview-link{display:inline-flex;justify-content:space-between;gap:26px;min-height:44px;border:0;font-size:12px;letter-spacing:.06em;color:#763841}
 .business-overview-link>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #c2a4a6;border-radius:50%;font:16px/1 Arial,sans-serif}
 .business-overview-link:hover>span,.business-overview-link:focus-visible>span{border-color:currentColor}
 .gallery-enabled .gallery-viewport{margin-top:clamp(60px,12svh,110px)}
 .gallery-enabled.gallery-compact .gallery-viewport{margin-top:clamp(28px,6svh,48px)}
 .gallery-enabled .gallery-count{white-space:nowrap}
 .gallery-enabled .gallery-controls>div{flex-shrink:0}
 /* Render the progress rail once, instead of stacking a border and a pseudo-element. */
 .gallery-enabled .gallery-controls{border-top:0;background:linear-gradient(to right,#a32b3a calc(var(--chapter-progress,.2)*100%),#bcaeab90 0) left top/100% 1px no-repeat}
 .gallery-enabled .gallery-controls:before{content:none}
 /* The static fallback also needs only one divider at the start of the list. */
 .si-home .service-gallery:not(.gallery-enabled) .gallery-track{border-top:0}
 .si-home .service-gallery:not(.gallery-enabled) .si-service-row:first-child{border-top:0}
}

@media(max-width:800px) and (max-height:640px){
 .gallery-enabled.gallery-compact .gallery-viewport{margin-top:18px}
}
