html:has(.motion-page) { background: #101c2a; }

.motion-page {
  color-scheme: dark;
  --bg: #101c2a;
  --ink: #eef4fa;
  --muted: #bbcbd9;
  --line: #35475e;
  --accent: #9cd6ff;
  --action: #9cd6ff;
  background: var(--bg);
  color: var(--ink);
}

.motion-page .shell { width: min(100% - 5.5rem, 1392px); }
.motion-page .header { min-height: 71px; gap: 1.25rem; }
.motion-page .brand { gap: .6rem; font-size: 1.12rem; letter-spacing: .045em; }
.motion-page .header nav { gap: clamp(1rem, 3.2vw, 3rem); }
.motion-page .header nav a { font-weight: 550; }
.motion-page .button { min-height: 49px; border-radius: .18rem; padding-inline: 1rem; }
.motion-page .button.primary { color: #112337; background: var(--action); }
.motion-page .button.primary:hover { background: #c6e8ff; }
.motion-page .button.outline { border-color: #687c93; }
.motion-page .button.outline:hover { border-color: var(--accent); color: var(--accent); }
.motion-page .text-link { color: #d3e6f5; }
.motion-page .text-link:hover { color: var(--accent); }

.film-hero { position: relative; min-height: clamp(540px, 78svh, 765px); isolation: isolate; color: #fcfcf7; background: #192e43; overflow: clip; --focus: #ffd491; }
.film-hero :focus-visible { outline-color: var(--focus); }
.film-background, .film-shot { position: absolute; inset: 0; }
.film-background { z-index: -1; }
.film-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#101c2af2 0%,#101c2aba 31%,#101c2a37 64%,#101c2a12), linear-gradient(0deg,#101c2af0 0%,#101c2a1f 27%,#101c2a00 82%,#101c2a36); }
.film-shot { opacity: 0; transition: opacity .7s cubic-bezier(.2,.62,.35,1); }
.film-shot.is-active { opacity: 1; }
.film-shot img, .film-shot video { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 52% 51%; }
.film-shot[data-shot="files"] img, .film-shot[data-shot="files"] video { object-position: 58% 58%; }
.film-shot video { opacity: 0; transition: opacity .35s ease; }
.film-shot video.is-playing { opacity: 1; }
.film-inner { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: inherit; }
.film-copy { align-self: center; padding: clamp(2.6rem, 7vw, 5.5rem) 0 2.6rem; }
.film-kicker { color: #f3dcb6; font-size: .8rem; font-weight: 630; letter-spacing: .022em; }
.film-copy h1 { margin: .9rem 0 1.2rem; font-size: clamp(4.25rem, 7.8vw, 8.15rem); line-height: .89; letter-spacing: -.078em; font-weight: 730; }
.film-copy h1 span { color: #ffcb81; }
.film-copy .intro { max-width: 34ch; color: #f0f1f3; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.film-copy .actions { margin-top: 1.55rem; gap: .95rem 1.35rem; }
.film-copy .actions a { white-space: nowrap; }
.motion-page .film-copy .button.primary { color: #17202c; background: #ffcb81; }
.motion-page .film-copy .button.primary:hover { background: #ffe0ac; }
.motion-page .film-copy .text-link { color: #f6f4f0; }
.motion-page .film-copy .text-link:hover { color: #ffcb81; }
.film-navigation { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.35rem; }
.film-scenes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .3rem; width: min(100%, 650px); }
.film-scenes button, .film-toggle { min-height: 44px; background: transparent; color: #e1e7ed; border: 0; cursor: pointer; font-weight: 560; }
.film-scenes button { position: relative; text-align: left; padding: .6rem .55rem .4rem 0; border-top: 1px solid #eef2f46b; }
.film-scenes button[aria-pressed="true"] { color: #ffd491; font-weight: 700; }
.film-scenes button[aria-pressed="true"]::before { content: ""; position: absolute; inset: -1px auto auto 0; height: 2px; width: max(14%, var(--film-progress, 0%)); background: #ffd491; transition: width .18s linear; }
.film-toggle { padding: .4rem .72rem; border: 1px solid #e5eaf27a; font-size: .8rem; white-space: nowrap; }
.film-toggle:hover, .film-scenes button:hover { color: #ffd491; }
.film-caption { min-height: 1.25rem; margin: .36rem 0 .95rem; font-size: .7rem; color: #d6dbe2; }

.motion-page h2 { font-size: clamp(2.25rem, 4vw, 4.1rem); letter-spacing: -.06em; }
.motion-page .section-head { align-items: baseline; }
.motion-page .section-head > p { max-width: 32ch; }
.motion-page .gallery { border-radius: .14rem; background: linear-gradient(90deg,#15283a 0%,#15283af0 48%,#13273bb0 73%,#10233599), url("/assets/cgi/systems-v4.webp") right 48% / min(73%, 910px) auto no-repeat, #15283a; }
.motion-page .sample-controls { gap: 0; padding: 0; background: #132333d9; }
.motion-page .sample-controls button { border-radius: 0; border-bottom: 2px solid transparent; color: var(--muted); }
.motion-page .sample-controls button[aria-pressed="true"] { background: #1c3952; border-bottom-color: var(--accent); color: var(--accent); }
.motion-page .sample { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); padding: clamp(1rem, 2.3vw, 2rem); }
.motion-page .sheet { display: flex; justify-content: center; align-items: center; padding: 0; border-radius: 0; background: transparent; height: clamp(220px, 29vw, 395px); }
.motion-page .sheet img { width: auto; height: auto; max-width: 100%; max-height: 100%; filter: none; }
.motion-page .sample-copy { padding: .65rem 0; }
.motion-page .sample-copy p { color: #d0e0ed; }
.motion-page .document-zoom { min-height: 44px; padding-inline: .35rem; border: 0; background: transparent; cursor: pointer; color: #c0e2fd; text-decoration: underline; text-underline-offset: .26em; }
.motion-page .document-zoom:hover { color: var(--accent); }
.sample-pages { display: flex; gap: .45rem; margin: .7rem 0 1rem; }
.motion-page .sample-pages button { min-height: 40px; cursor: pointer; background: #172b3f; color: #eef4fa; }
.motion-page .sample-pages button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.document-viewer { width: min(94vw, 1170px); max-height: 91svh; padding: 0 1rem 1rem; overflow: auto; color: var(--ink); background: #152739; border: 1px solid #627789; }
.document-viewer::backdrop { background: #0f1729ca; }
.document-viewer-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: .8rem; z-index: 1; padding: .68rem 0; background: #152739; }
.motion-page .document-viewer h2 { font-size: clamp(1.15rem, 3vw, 1.8rem); line-height: 1.12; letter-spacing: -.025em; }
.document-viewer img { display: block; width: 100%; height: auto; }

.process { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); border: 1px solid var(--line); background: #16293d; }
.process-content { min-width: 0; padding: clamp(1.05rem, 3vw, 2.55rem); background: linear-gradient(110deg,#182b40fc 15%,#182b40d0 65%,#182b4099), url("assets/motion-preview/steel-art.webp") 65% 46% / cover no-repeat; }
.process .film-navigation { display: grid; gap: .5rem; }
.process .film-scenes { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem .95rem; }
.process .film-scenes button { font-size: .91rem; color: #ccdaea; border-color: #718499; }
.process .film-scenes button:hover, .process .film-scenes button[aria-pressed="true"] { color: var(--accent); }
.process .film-scenes button[aria-pressed="true"]::before { background: var(--accent); }
.process .film-toggle { justify-self: start; min-height: 38px; padding: .15rem .45rem; color: #d3e6f5; border-color: #718499; }
.process .film-toggle:hover { color: var(--accent); border-color: var(--accent); }
.process-detail { margin: clamp(1.3rem, 3.2vw, 2.45rem) 0 .1rem; }
.process-detail h3 { font-size: clamp(1.55rem, 2.9vw, 2.8rem); line-height: 1.04; letter-spacing: -.05em; }
.process-detail p { max-width: 46ch; margin: .78rem 0 1rem; color: #d0e0ed; }
.process-detail .text-link { display: inline-block; }
.process-media { position: relative; isolation: isolate; min-height: 370px; background: #142339; }
.process-media .film-background::after { background: linear-gradient(0deg,#0a1428be,transparent 24%); }
.process-media .film-caption { position: absolute; bottom: 0; left: .95rem; right: .95rem; color: #f7f9fb; }

.motion-page .service-grid { grid-template-columns: minmax(0, 1fr); border-width: 1px 1px 0; background: linear-gradient(90deg,#14273a 16%,#14273af2 48%,#14273aa1 75%,#14273a6d), url("assets/motion-preview/monolith-art.webp") right 43% / auto 120% no-repeat, #14273a; }
.motion-page .service-grid a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: 1rem; border-width: 0 0 1px; padding: 1.3rem 2.6rem 1.3rem 1.15rem; }
.motion-page .service-grid a:hover { background: #28527453; }
.motion-page .service-grid h3 { font-size: clamp(1.04rem, 2vw, 1.55rem); letter-spacing: -.025em; }
.motion-page .service-grid p { margin: 0; color: #d8e4ee; }
.motion-page .service-grid span { top: 50%; transform: translateY(-50%); }
.motion-page .contact { width: 100%; padding: clamp(2.5rem, 6vw, 5rem) max(2.75rem, calc((100% - 1392px) / 2)); color: #f6f8fb; background: #16283f; }
.motion-page .contact .text-link { color: #e3edff; }
.motion-page .contact .button.primary { background: #e8f0ff; color: #143578; }
.motion-page .contact .button.primary:hover { background: white; }
.motion-page .footer { border-top: 0; }
.motion-page .payment { background: linear-gradient(90deg,#101c2a 28%,#101c2aeb 49%,#101c2a8a), url("/assets/brand/label-blueprint.webp") right center / min(41%, 560px) auto no-repeat; }
.resources, .common-questions { border-top: 1px solid var(--line); padding: 3.2rem 0; }
.common-questions h2 { margin-bottom: 1.45rem; }
.common-questions details { border-top: 1px solid var(--line); padding: .9rem 0; }
.common-questions details:last-child { border-bottom: 1px solid var(--line); }
.common-questions summary { cursor: pointer; font-weight: 650; }
.common-questions details p { max-width: 68ch; margin: .65rem 0 .15rem; color: var(--muted); }
.quality-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 2rem; }
.quality-strip p { color: var(--muted); }
.motion-page .contact .contact-extras { margin-top: 1rem; }

@media (max-width: 970px) {
  .motion-page .shell { width: calc(100% - 3rem); }
  .motion-page .contact { width: 100%; padding-inline: 1.5rem; }
  .film-copy .actions { gap: .65rem 1rem; }
}

@media (max-width: 760px) {
  .motion-page .shell { width: calc(100% - 2.25rem); }
  .motion-page .header { min-height: 62px; gap: .55rem; }
  .motion-page .header nav { gap: .75rem; }
  .motion-page .brand { font-size: .97rem; gap: .3rem; }
  .film-hero { min-height: clamp(515px, 76svh, 690px); }
  .film-copy h1 { font-size: clamp(3.7rem, 11vw, 5.55rem); margin-top: .7rem; }
  .film-copy .actions { margin-top: 1.2rem; }
  .film-background::after { background: linear-gradient(90deg,#101c2ade,#101c2a61 74%,#101c2a39), linear-gradient(0deg,#101c2af0,#101c2a10 58%); }
  .film-shot img, .film-shot video { object-position: 60% center; }
  .film-navigation { gap: .5rem; }
  .film-scenes button { font-size: .75rem; line-height: 1.2; }
  .film-toggle { padding-inline: .42rem; font-size: .72rem; }
  .motion-page .sample { grid-template-columns: minmax(0, 1fr); }
  .motion-page .gallery { background-position: center, right bottom; background-size: cover, 100% auto; }
  .motion-page .payment { background-size: cover, min(68%, 410px) auto; }
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-media { min-height: clamp(213px, 56vw, 365px); }
  .motion-page .service-grid a { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .motion-page .contact { width: 100%; padding-inline: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .film-shot, .film-shot video, .film-scenes button::before { transition: none; }
}
