/* Type and scene share the viewport, with a separate reading area for each. */
.hero-story.company-hero{grid-template-columns:minmax(0,.92fr) minmax(0,1.48fr)}
.hero-story .film-masthead{grid-area:1/1;align-self:center;z-index:1;min-width:0;margin:0 0 0 var(--portal-gutter);padding-block:14px}
.hero-story .film-title{position:static;clip-path:none;overflow:visible;margin:0;width:auto;height:auto;white-space:normal;color:#173346;font-size:clamp(28px,3.35vw,62px);font-weight:670;letter-spacing:-.05em;line-height:1.22}
.film-title>span{display:block}.film-title>span+span{color:#49677c}
.hero-story .film-subtitle{color:#455f72;margin:1.1em 0 0;font-size:clamp(15px,1.13vw,19px);line-height:1.65;font-weight:440}
.hero-business-links{display:flex;flex-wrap:wrap;align-items:center;gap:9px 20px;margin-top:23px}
.hero-business-links .action-link{font-size:.94rem;font-weight:590;line-height:1.3;padding:10px 16px}
.hero-short-label{display:none}
.hero-story .hero-screen{grid-area:1/2}.hero-story .case-rail,.hero-story .film-deck{grid-column:1/-1}
html:lang(en) .hero-story .film-title{font-size:clamp(29px,3.35vw,60px);line-height:1.08;letter-spacing:-.045em}
@media(min-width:1101px){.hero-story .film-deck{grid-template:"controls status" auto / minmax(0,1.2fr) minmax(0,1fr)}.hero-story[data-chapter="0"] .film-controls{width:min(860px,100%)}}
@media(max-width:820px) and (min-height:501px), (min-width:821px) and (max-width:1024px) and (max-aspect-ratio:1/1){.hero-story.company-hero,.hero-story.company-hero:has(.case-rail:not(:empty)){grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto}.hero-story .film-masthead{margin:0 var(--portal-gutter);padding:clamp(14px,2.5vh,28px) 0 0}.hero-story .hero-screen{grid-area:2/1}.hero-story .film-title{font-size:clamp(24px,5.75vw,39px);line-height:1.18}.hero-story .film-subtitle{font-size:15px;margin-top:6px}.hero-business-links{margin-top:9px;gap:6px 14px}.hero-business-links .action-link{min-height:40px;font-size:.875rem}.hero-business-links .hero-primary{padding:7px 12px}html:lang(en) .hero-story .film-title{font-size:clamp(24px,5.2vw,35px)}}
@media(max-height:500px){.hero-story .film-title,html:lang(en) .hero-story .film-title{font-size:clamp(21px,3.5vw,32px)}.hero-story .film-subtitle{font-size:.87rem;margin-top:5px}.hero-business-links{gap:1px 12px;margin-top:5px}.hero-business-links .action-link{min-height:32px;font-size:.82rem;padding-block:4px}}
@media(min-width:1000px){.hero-story[data-chapter="0"] .case-choice{max-width:21%}}

.home-business{background:var(--site-wash);color:#1b3547;padding:clamp(18px,2.1vw,30px) var(--portal-gutter) clamp(28px,3vw,52px)}
.business-wrap{max-width:1380px;margin:0 auto}.business-wrap h2,.business-wrap h3,.business-wrap h4,.business-wrap p{margin:0}.business-wrap h2{font-size:clamp(1.65rem,2.85vw,3rem);line-height:1.18;letter-spacing:-.04em;font-weight:650}
.home-branches {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,2vw,30px);
  margin-top:clamp(18px,2vw,28px);
}
.home-branches > section {
  min-width:0;
  padding:clamp(18px,2.1vw,32px);
  border:1px solid #d6e1e8;
  border-radius:22px;
  background:var(--product-surface);
}
.home-branches h3 {
  margin-bottom:clamp(14px,1.4vw,22px);
  font-size:clamp(1.25rem,1.85vw,1.8rem);
  font-weight:630;
  line-height:1.32;
  letter-spacing:-.025em;
}
.service-branch .brand-unit { display:inline-block; }
.hardware-branch { display:grid; grid-template-rows:auto repeat(3,1fr); }
.home-machine.product-card {
  display:grid;
  grid-template-columns:clamp(90px,11vw,164px) minmax(0,1fr) 8px;
  align-items:center;
  gap:clamp(12px,1.5vw,22px);
  min-height:96px;
  padding:10px 4px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.home-machine.product-card + .home-machine { border-top:1px solid #e0e8ed; }
.home-machine.product-card > img {
  display:block;
  width:100%;
  height:clamp(78px,6.5vw,108px);
  margin:0;
  object-fit:contain;
  mix-blend-mode:multiply;
}
.home-chevron { flex:none; width:7px; height:7px; border:solid #617d92; border-width:1.5px 1.5px 0 0; transform:rotate(45deg); }
.home-branches h4,.home-role h3,.home-benefits h3 { color:#20394a; font-size:clamp(1rem,1.18vw,1.16rem); line-height:1.4; font-weight:610; }
.business-wrap p { font-size:1rem; color:#536978; line-height:1.65; }
.home-branches p { font-size:clamp(.9rem,1.02vw,1rem); line-height:1.55; color:#506777; }
.home-branches h4+p,.home-roles h3+p,.home-benefits h3+p { margin-top:5px; }
.service-branch { display:flex; flex-direction:column; container:services / inline-size; }
.service-intro { display:grid; grid-template-columns:minmax(0,1fr) 33%; align-items:center; gap:clamp(14px,1.6vw,24px); }
.service-intro img { display:block; width:100%; height:auto; border-radius:10px; }
.service-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(16px,2vw,32px);
  margin-top:16px;
}
.home-service {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:9px;
  min-height:72px;
  padding:13px 3px;
  border-top:1px solid #dce6ec;
}
.home-service .home-chevron { align-self:flex-start; margin:8px 2px 0 0; }
.home-machine.product-card:is(:hover,:focus-visible),.home-service:is(:hover,:focus-visible),.home-role:is(:hover,:focus-visible) { background:#f0f5f8; }
.home-action-group {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  gap:10px;
  width:max-content;
  max-width:100%;
}
.home-action-group .action-link {
  min-height:46px;
  padding:9px 16px;
  font-size:.9375rem;
  font-weight:600;
  line-height:1.4;
  text-wrap:balance;
}
.platform-footnote { margin-top:auto; padding-top:16px; }
.platform-footnote .home-action-group { width:100%; }
.platform-footnote .action-link { padding-inline:6px; }
@container services (max-width:410px) {
  .service-list { grid-template-columns:1fr; gap:0; }
  .home-service { min-height:62px; padding-block:10px; }
}
@container services (max-width:440px) {
  html:lang(en) .platform-footnote .home-action-group { grid-auto-flow:row; }
}
@container services (max-width:370px) {
  .platform-footnote .home-action-group { gap:6px; }
  .platform-footnote .action-link { padding-inline:3px; font-size:.875rem; }
}
@container services (max-width:285px) {
  .platform-footnote .home-action-group { grid-auto-flow:row; }
}
.about-copy { container-type:inline-size; }
@container (max-width:435px) {
  .about-copy .home-action-group { grid-auto-flow:row; width:100%; }
}
.business-section{margin-top:clamp(42px,5.7vw,90px);scroll-margin-top:12px}.home-roles,.home-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.8vw,32px);margin-top:clamp(18px,2vw,30px)}
.home-role{position:relative;border-top:1px solid #b7c9d5;display:block;padding:16px 14px 18px 0}.home-role>h3{padding-right:12px}.home-role .home-chevron{position:absolute;right:5px;top:25px}.home-benefits article{padding-left:14px;border-left:2px solid #adc4d4}.home-inquiry{display:grid;grid-template-columns:.85fr 1.55fr;gap:clamp(20px,4vw,70px);background:#edf3f7;border:1px solid #d2dfe8;border-radius:22px;padding:clamp(18px,2.7vw,38px)}.home-inquiry h2+p{margin-top:12px}
@media(max-width:1050px){.home-roles,.home-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px) {
  .home-branches { grid-template-columns:minmax(0,1fr); }
}
@media(min-width:610px) and (max-width:900px) {
  .hardware-branch {
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:auto 1fr;
    column-gap:18px;
  }
  .hardware-branch > h3 { grid-column:1/-1; }
  .hardware-branch .home-machine {
    grid-template: auto 1fr / minmax(0,1fr) 8px;
    align-items:start;
    gap:12px 6px;
    padding-block:0 8px;
    border-top:0;
  }
  .hardware-branch .home-machine > img { grid-column:1/-1; height:clamp(92px,13vw,118px); }
  .hardware-branch .home-chevron { margin-top:8px; }
}
@media(max-width:720px) {
  .home-inquiry { grid-template-columns:1fr; gap:15px; }
  .home-machine.product-card { min-height:90px; }
  .home-machine.product-card>img { height:76px; }
  .business-wrap p { font-size:.94rem; }
}
@media(max-width:420px){.home-roles{grid-template-columns:1fr;gap:0}.home-benefits{gap:16px 11px}.home-benefits article{padding-left:10px}.home-roles .home-role{padding-block:12px}}


/* On short screens one readable brief leaves the central area for the robot. */
@media(max-height:665px) and (max-width:800px), (max-height:485px) {
  .hero-story[data-chapter="0"] .case-choice {display:flex;flex:0 0 auto;align-items:center;min-height:38px;padding:4px 10px;}
  .hero-story[data-chapter="0"] .case-choice img,.hero-story[data-chapter="0"] .case-request {display:none;}
  .hero-story[data-chapter="0"] .case-rail {padding-block:2px;justify-content:flex-start;}
  .hero-story[data-chapter="0"] .film-line {position:static;width:auto;height:auto;overflow:visible;clip-path:none;}
  .hero-story[data-chapter="0"] .film-line .film-chapter {display:none;}
  .hero-story .film-line .film-scene {font-size:.81rem;margin:0;line-height:1.35;}
  .hero-story[data-chapter="0"] .film-deck,.hero-story .film-deck {grid-template:"status" auto "controls" auto / minmax(0,1fr);padding:4px var(--portal-gutter);gap:0;}
  .hero-story .film-controls,.hero-story[data-chapter="0"] .film-controls {display:flex;grid-area:controls;width:calc(100% - 50px);min-height:42px;gap:6px;}
  .hero-story .film-chapters {width:auto;flex:1;gap:3px;}
  .hero-story .film-step {min-height:42px;}
  .hero-story .step-full {display:none;}
  .hero-story .step-short {display:inline;}
}
@media(max-height:485px) and (min-width:630px) {
  .hero-story[data-chapter="0"] .film-deck,.hero-story .film-deck {grid-template:"status controls" auto / minmax(110px,.7fr) minmax(0,1fr);gap:12px;padding-right:68px;}
  .hero-story .film-controls,.hero-story[data-chapter="0"] .film-controls {width:100%;}
  .hero-story .film-controls {grid-column:2;}
}

@media(max-width:1380px){.hero-full-label{display:none}.hero-short-label{display:inline}.hero-business-links{gap:10px}}
@media(max-width:480px){.hero-business-links .action-link{min-height:40px;padding:7px 13px;font-size:.88rem}html:lang(en) .hero-story .film-title{font-size:clamp(21px,5.4vw,28px)}}
@media(max-height:500px){.hero-business-links .action-link{min-height:34px;padding:5px 10px;font-size:.8rem}}
