/* Two page-specific spatial scenes, in the site's Rain palette. */
html .hero.engineering-hero { padding: 54px 0 62px; border-bottom: 1px solid #435664; }
.engineering-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.engineering-hero__copy { min-width: 0; }
html .engineering-hero h1 { font-size: clamp(40px, 4vw, 57px); line-height: 1.13; margin-bottom: 28px; }
html .page--about .engineering-hero h1 { font-size: clamp(36px, 3.4vw, 49px); }
html .engineering-hero .hero__lead { max-width: 550px; font-size: 17px; line-height: 1.7; margin-bottom: 0; }
.engineering-hero__link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 26px; border-bottom: 1px solid #758E9F; color: #C4D6E2; font-size: 14px; }
.engineering-hero__link:hover { color: #E7F2FA; border-color: #C3D8E6; }
.engineering-scene { position: relative; min-width: 0; width: 100%; margin: 0; align-self: center; }
.engineering-scene::before { content: ''; position: absolute; inset: 0 -10%; pointer-events: none; background: radial-gradient(ellipse at 50% 48%, #2B3D49 0, transparent 65%); }
.engineering-scene__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #ABC0CF; font: 11px/1.4 Consolas, monospace; }
.engineering-scene__head > span::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #C0D6E5; margin-right: 10px; vertical-align: 1px; }
.engineering-scene__pause { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #526D7D; border-radius: 2px; background: transparent; color: #BED3E2; cursor: pointer; }
.engineering-scene__pause:hover { background: #344A58; border-color: #A7C0D1; }
.engineering-scene__pause:disabled { visibility: hidden; }
.engineering-scene__pause svg { width: 14px; height: 14px; }
.engineering-scene__play { display: none; }
.engineering-scene__pause[aria-pressed="true"] .engineering-scene__play { display: block; }
.engineering-scene__pause[aria-pressed="true"] .engineering-scene__stop { display: none; }
.engineering-scene__viewport { position: relative; width: 100%; margin-block: 8px 16px; aspect-ratio: 1.38; }
.engineering-scene canvas, .engineering-scene__fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.engineering-scene canvas { opacity: 0; transition: opacity .5s; }
.engineering-scene[data-ready="true"] canvas { opacity: 1; }
.engineering-scene[data-ready="true"] .engineering-scene__fallback { opacity: 0; }
.engineering-scene__caption { position: relative; display: flex; justify-content: space-between; gap: 16px; padding-top: 15px; border-top: 1px solid #465D6C; color: #AFC2CF; font: 11px/1.5 var(--font-sans); }
html .page--services .svc-catalog { background: #272F34; }
html .page--services .svc-catalog .svc-card { background: #222C33; }
@media (max-width: 1000px) {
    .engineering-hero__inner { gap: 24px; }
    html .engineering-hero .hero__lead { font-size: 16px; }
    .engineering-scene__head { font-size: 10px; }
    .engineering-scene__caption { font-size: 10px; }
}
@media (max-width: 760px) {
    html .hero.engineering-hero { padding-block: 32px 40px; }
    .engineering-hero__inner { grid-template-columns: 1fr; gap: 0; }
    .engineering-hero__copy { display: contents; }
    .engineering-hero__copy > .eyebrow { order: 0; }
    html .engineering-hero h1, html .page--about .engineering-hero h1 { order: 1; font-size: clamp(35px, 8.5vw, 49px); margin-bottom: 25px; }
    .engineering-scene { order: 2; max-width: 560px; justify-self: center; margin-bottom: 26px; }
    .engineering-scene__viewport { aspect-ratio: 1.18; margin-block: 6px 12px; }
    html .engineering-hero .hero__lead { order: 3; font-size: 15px; }
    .engineering-hero__link { order: 4; justify-self: start; margin-top: 20px; }
    .engineering-scene__caption { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .engineering-scene canvas { transition: none; } }
