/* Cinematic homepage. Text and poster remain available without JavaScript. */
.home-hero.cinematic-hero{position:relative;isolation:isolate;overflow:hidden;background:#17323d;color:#fff;min-height:650px;min-height:max(650px,calc(100svh - 122px));display:flex;flex-direction:column}
.hero-media{position:absolute;inset:0;z-index:-2;background:#324953;pointer-events:none}
.hero-poster,.hero-poster img,#hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
#hero-video{opacity:0;transition:opacity .65s ease}
.has-video-frame #hero-video{opacity:1}
.cinematic-hero::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,19,27,.78) 0%,rgba(5,19,27,.59) 36%,rgba(5,19,27,.13) 80%),linear-gradient(0deg,rgba(5,19,27,.68),transparent 30%);pointer-events:none}
.cinematic-inner{display:flex;align-items:center;flex:1;min-height:0;padding-top:56px;padding-bottom:56px;width:min(100%,var(--max))}
.cinematic-copy{width:100%;max-width:780px;min-width:0}
.cinematic-eyebrow{font-family:var(--mono);font-size:10px;line-height:1.6;text-transform:uppercase;letter-spacing:.12em;color:#edf1f1;display:flex;align-items:center;gap:14px;margin:0 0 28px}
.cinematic-eyebrow::before{content:'';width:30px;height:2px;background:#f28355;flex:none}
h1.cinematic-title{font-size:clamp(70px,7.8vw,112px);font-weight:620;line-height:.93;letter-spacing:-.055em;text-transform:uppercase;color:#fff;margin:0 0 30px;max-width:10ch}
.cinematic-title>span{display:block}
.cinematic-title .cinematic-period{display:inline;color:#f28355}
.cinematic-lead{font-size:18px;line-height:1.65;color:#ecf0f2;max-width:42ch;margin:0 0 30px}
.cinematic-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.cinematic-actions .button{min-height:52px;font-size:13px;padding:14px 22px;gap:32px}
.cinematic-actions .button-outline{border-color:#e4ecec88;background:#0b253233;color:#fff;backdrop-filter:blur(8px)}
.cinematic-actions .button-outline:hover{background:#fff;color:var(--ink);border-color:#fff}
.hero-foot{display:flex;justify-content:space-between;align-items:center;gap:30px;width:min(100%,var(--max));padding-top:20px;padding-bottom:24px;position:relative}
.hero-foot::before{content:'';position:absolute;top:0;left:var(--gutter);right:var(--gutter);height:1px;background:#d9e4e34d}
.hero-foot-left{min-width:0}
.hero-services{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;line-height:1.6;margin:0 0 8px;color:#f3f6f6}
.hero-services span+span::before{content:'/';color:#acbdc5;margin-right:12px}
.hero-foot-note{font:9px/1.5 var(--mono);letter-spacing:.025em;color:#cbd7dc;margin:0}
.hero-foot-right{display:flex;align-items:center;gap:28px;flex:none}
.hero-scroll{display:inline-flex;align-items:center;gap:25px;font-size:11px;text-decoration:none;color:#fff;padding:10px 0}
.hero-scroll>span{font-size:20px;line-height:1}
.hero-video-toggle{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:8px 13px;border:1px solid #c5d2d766;border-radius:2px;background:#0b25323d;color:#fff;backdrop-filter:blur(6px);font-size:10px;line-height:1.5}
.hero-video-toggle:hover{background:#fff;color:var(--ink);border-color:#fff}
.hero-video-toggle svg{width:12px;height:12px;fill:currentColor;flex:none}
.hero-video-toggle .video-pause-icon{display:none}
.hero-video-toggle[data-state=playing] .video-play-icon{display:none}
.hero-video-toggle[data-state=playing] .video-pause-icon{display:block}
.hero-video-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.footage-credit{font-size:9px;color:var(--muted);margin:14px 0 0;line-height:1.7}
.footage-credit a{color:inherit}
@media(min-width:1800px){.cinematic-copy{max-width:840px}h1.cinematic-title{font-size:122px}}
@media(max-width:1100px){
  .home-hero.cinematic-hero{min-height:max(650px,calc(100svh - 112px))}
  .cinematic-inner{padding-top:65px;padding-bottom:55px}
  h1.cinematic-title{font-size:clamp(76px,9.4vw,100px)}
  .cinematic-lead{font-size:17px}
  .hero-foot-right{gap:18px}
  .hero-services{font-size:10px;gap:9px}
  .hero-services span+span::before{margin-right:9px}
}
@media(max-width:800px){
  .cinematic-hero::before{background:linear-gradient(90deg,rgba(5,19,27,.75),rgba(5,19,27,.42) 70%,rgba(5,19,27,.24)),linear-gradient(0deg,rgba(5,19,27,.65),transparent 35%)}
  .hero-scroll{display:none}
  .hero-foot{gap:20px}
  .hero-services{max-width:350px}
}
@media(max-width:700px){
  .home-hero.cinematic-hero{min-height:610px;min-height:max(610px,calc(100svh - 164px - env(safe-area-inset-bottom,0px)))}
  .cinematic-inner{padding-top:44px;padding-bottom:40px}
  .cinematic-copy{max-width:100%}
  .cinematic-eyebrow{font-size:8px;letter-spacing:.09em;gap:10px;line-height:1.7;margin-bottom:27px}
  .cinematic-eyebrow::before{width:22px}
  h1.cinematic-title{font-size:clamp(54px,15.7vw,86px);line-height:.96;letter-spacing:-.055em;max-width:100%;margin-bottom:25px}
  .cinematic-lead{font-size:16px;line-height:1.7;max-width:34ch;margin-bottom:27px}
  .cinematic-actions{gap:10px}
  .cinematic-actions .button{font-size:12px;min-height:49px;gap:24px;padding:13px 17px}
  .cinematic-hero::before{background:linear-gradient(90deg,rgba(5,19,27,.67),rgba(5,19,27,.36)),linear-gradient(0deg,rgba(5,19,27,.72),transparent 40%)}
  .hero-foot{padding-top:17px;padding-bottom:20px;gap:15px;align-items:flex-end}
  .hero-services{font-size:9px;gap:3px 8px;max-width:220px;margin-bottom:8px}
  .hero-services span+span::before{margin-right:8px}
  .hero-foot-note{font-size:8px;max-width:25ch;line-height:1.7}
  .hero-video-toggle{font-size:9px;gap:7px;min-height:40px;padding:8px 10px}
  .hero-foot-right{gap:0}
}
@media(max-width:360px){
  h1.cinematic-title{font-size:51px}
  .cinematic-inner{padding-top:40px;padding-bottom:32px}
  .cinematic-eyebrow{font-size:7px;gap:9px;letter-spacing:.07em}
  .cinematic-lead{font-size:15px}
  .cinematic-actions .button{font-size:11px;gap:15px;padding:12px 14px}
  .hero-services{max-width:175px;font-size:8px}
  .hero-foot-note{font-size:7px}
}
@media(prefers-reduced-motion:reduce){#hero-video{transition:none}}
/* FM and IT positioning, retaining the accepted video composition. */
h1.cinematic-title{font-size:clamp(58px,6vw,86px);text-transform:none;line-height:1.06;letter-spacing:-.045em;max-width:22ch;text-wrap:balance}
.cinematic-copy{max-width:850px}
.cinematic-lead{max-width:53ch;font-size:17px}
@media(max-width:1100px){h1.cinematic-title{font-size:clamp(60px,7.8vw,80px)}}
@media(max-width:700px){h1.cinematic-title{font-size:clamp(39px,10.6vw,70px);line-height:1.04;margin-bottom:23px}.cinematic-lead{font-size:15px;max-width:39ch}.cinematic-eyebrow{margin-bottom:24px}.cinematic-inner{padding-top:40px;padding-bottom:32px}.hero-services{max-width:230px}}
