.services-portal {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    height: min(760px, calc(100svh - 56px));
    min-height: 680px;
    overflow: clip;
    background: #02050b;
    color: #fff;
    letter-spacing: 0;
}
.portal-scene {position: absolute; z-index: -2; inset: auto 0 0; height: min(100%, 41.666667vw); pointer-events: none;}
.portal-scene::after {content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #02050b, transparent 16%);}
.portal-poster, .portal-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}
.portal-video {opacity: 0; transition: opacity .45s ease;}
.services-portal.has-portal-video .portal-video {opacity: 1;}
.services-portal::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, #02050b, transparent 24%), linear-gradient(90deg, rgba(2,5,11,.25), transparent 58%);
    pointer-events: none;
}
.portal-layout {width: 90%; margin: 0 auto; padding-top: 72px;}
.portal-copy {width: min(560px, 44%);}
.portal-eyebrow {margin: 0 0 12px; color: #9badc4; font-size: 14px; line-height: 1.4;}
.portal-premise {margin: 0 0 11px; max-width: 510px; color: #bec9da; font-size: 28px; line-height: 1.35; text-wrap: balance;}
.services-portal h1 {
    margin: 0;
    color: #fff;
    font-family: 'Inter 28pt', Inter, Arial, sans-serif;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.09;
    letter-spacing: 0;
    text-wrap: balance;
}
.services-portal h1 > span {display: block;}
.services-portal h1 em {color: #76c5ff; font-style: normal;}
.portal-description {max-width: 465px; margin: 24px 0 0; color: #aebcd0; font-size: 17px; line-height: 1.6;}
.portal-playback {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #6586a8;
    border-radius: 50%;
    background: rgba(2,5,11,.82);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.portal-playback[hidden] {display: none;}
.portal-playback:hover {background: #0d2841; border-color: #9cd7ff;}
.portal-playback:focus-visible {outline: 2px solid #9cd7ff; outline-offset: 4px;}
.services-portal .navbar-scroll:has(.navbar-collapse.show, .navbar-collapse.collapsing) {background: #02050b;}
@media (min-width: 1200px) and (max-width: 1399px) {
    .services-portal h1 {font-size: 50px;}
    .services-portal .logo-navbar {width: 200px;}
    .services-portal .navbar-expand-xl .navbar-nav .nav-link {padding: 8px; font-size: 13px; margin: 0 2px;}
    .services-portal .navbar-collapse {background: transparent; padding: 0; margin: 0; border: 0;}
}
@media (min-width: 1200px) and (max-height: 759px) {
    .services-portal {height: auto; min-height: 620px; padding: 140px 0 100px;}
    .portal-layout {padding-top: 0;}
}
@media (max-width: 1199px) {
    .services-portal {display: block; height: auto; min-height: 0; padding: 148px 24px 370px;}
    .portal-layout {width: 100%; padding: 0;}
    .portal-copy {width: 100%; max-width: 650px; margin: 0 auto; text-align: center;}
    .portal-premise {margin-left: auto; margin-right: auto; font-size: 26px;}
    .services-portal h1 {font-size: 48px;}
    .portal-description {margin-left: auto; margin-right: auto;}
    .portal-scene {inset: auto 0 0; height: 370px;}
    .portal-scene::after {background: linear-gradient(180deg, #02050b, transparent 22%);}
    .portal-poster, .portal-video {object-fit: cover;}
    .services-portal::before {background: linear-gradient(180deg, #02050b 25%, transparent 65%);}
}
@media (max-width: 575px) {
    .services-portal {padding: 124px 20px 290px;}
    .services-portal .navbar-scroll {padding: 16px 12px;}
    .portal-eyebrow {margin-bottom: 9px; font-size: 12px;}
    .portal-premise {font-size: 22px; margin-bottom: 9px;}
    .services-portal h1 {font-size: 38px; line-height: 1.12;}
    .portal-description {font-size: 15px; line-height: 1.5; margin-top: 20px;}
    .portal-scene {height: 290px;}
    .portal-playback {right: 20px; bottom: 20px;}
}
@media (max-width: 359px) {
    .services-portal {padding-top: 112px; padding-bottom: 250px;}
    .services-portal h1 {font-size: 34px;}
    .portal-premise {font-size: 21px;}
    .portal-scene {height: 250px;}
}
@media (prefers-reduced-motion: reduce) {
    .portal-video {display: none; transition: none;}
    .portal-playback {display: none;}
}
