:root {
  color-scheme: dark;
  --bg: #07090d;
  --ink: #f2f5fb;
  --sub: #a4aebc;
  --cyan: #8bdfff;
  --border: #202b39;
  --layout: min(1200px, calc(100% - 112px));
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 93px; }
body { margin: 0; background: var(--bg); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
.layout { width: var(--layout); margin-inline: auto; }
.skip { position: fixed; z-index: 20; left: 12px; top: 12px; transform: translateY(-200%); color: #071017; background: var(--cyan); border-radius: 8px; padding: 12px; }
.skip:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #bacafb17; backdrop-filter: blur(18px); background: #080a10eb; }
.nav { min-height: 66px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; }

.navlinks { display: flex; gap: 33px; color: #b4bdcc; font-size: .875rem; }
.navlinks a:hover { color: var(--ink); }
.nav > .button { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 100px; white-space: nowrap; font-size: .9rem; font-weight: 650; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.button-small { min-height: 40px; padding-inline: 16px; font-size: .875rem; }
.button-primary { color: #061019; background: #9be2ff; }
.button-primary:hover { background: #d3f2ff; }
.button-outline { border-color: #354050; color: var(--ink); background: #1017215e; }
.button-outline:hover { background: #1b2634; border-color: #687c91; }
.triangle { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }


.hero { position: relative; isolation: isolate; min-height: max(750px, calc(100svh - 66px)); overflow: hidden; text-align: center; display: flex; justify-content: center; background: #05070b; }
.hero-image, .hero-shadow { position: absolute; inset: 0; }
.hero-image { top: 25%; z-index: -2; transform: translate3d(0,var(--hero-y,0px),0); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-shadow { z-index: -1; background: linear-gradient(180deg,#07090d 0%,#07090d 21%,#07090dfa 27%,#07090da3 45%,#07090d00 64%,#07090d16 76%,#07090d 100%), linear-gradient(90deg,#07090d30, transparent 32%,transparent 76%,#07090d30); }
.hero-copy { padding-top: clamp(70px, 12vh, 125px); padding-bottom: 312px; }
.hero h1 { margin: 19px 0; font-size: clamp(3rem, 8.15vw, 7.7rem); font-weight: 700; letter-spacing: -.08em; line-height: .91; }
.hero h1 span { display: inline-block; padding: .07em .085em .07em .02em; color: #adccdf; background: linear-gradient(95deg,#dce7f2,#a1bfd4 53%,#87a7bd); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin: 0 auto; max-width: 38rem; color: #c2ccda; font-size: clamp(1.02rem, 1.55vw, 1.23rem); line-height: 1.55; text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 25px; }



.section { padding-top: clamp(74px, 8.5vw, 130px); }
.section-head { margin-bottom: 31px; }
.section-head h2, .tech-copy h2, .closing h2 { margin-top: 12px; font-size: clamp(2.55rem, 5.25vw, 5rem); line-height: .99; font-weight: 680; letter-spacing: -.065em; }
.section-head > p, .closing p { margin-top: 17px; color: var(--sub); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.55; }
#experience .section-head { text-align: center; }
.simulator { overflow: hidden; border: 1px solid var(--border); border-radius: 21px; background: #0b1018; }
.tabs { display: flex; justify-content: center; gap: 5px; padding: 13px; background: #0d131c; }
.tabs button { border: 1px solid transparent; min-height: 43px; padding: 7px 20px; border-radius: 100px; color: #adb8c9; font-size: .875rem; font-weight: 600; cursor: pointer; background: transparent; }
.tabs button:hover { color: var(--ink); background: #172331; }
.tabs button[aria-selected="true"] { color: #e0f3ff; background: #1a2e40; border-color: #32536b; }
.scene { isolation: isolate; position: relative; overflow: hidden; background: #101a26; aspect-ratio: 2.18; }
.scene > img, .scene-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene > img { object-fit: cover; }
.scene[data-mode="translation"] > img { transform: scaleX(-1); }



.scene-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; padding: 15px 22px; color: #bdc8d7; line-height: 1.48; }





dialog { width: min(940px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: 19px; border: 1px solid #364858; padding: 0; background: #0d141f; color: var(--ink); }
dialog::backdrop { background: #010309cf; backdrop-filter: blur(9px); }
.dialog-inner { position: relative; padding: 24px; }
.dialog-inner h3 { font-size: 1.35rem; margin: 0 42px 20px 0; }
.dialog-inner p { color: var(--sub); line-height: 1.6; }
.dialog-inner a { color: var(--cyan); text-decoration: underline; }
.close { position: absolute; right: 14px; top: 14px; width: 41px; height: 41px; border-radius: 50%; border: 1px solid #3d4b5a; background: #182232; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
dialog video, dialog iframe { display: block; background: #000; border: 0; width: 100%; aspect-ratio: 16 / 9; }
#film-media .media-fallback { margin-top: 13px; }
.application-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.application-photo { position: relative; overflow: hidden; aspect-ratio: 1.42; border: 1px solid var(--border); border-radius: 15px; background: #121b26; }
.application-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; transition: transform .55s ease; }
.application:hover img { transform: scale(1.035); }

.application h3 { margin: 16px 0 7px; font-size: clamp(1.16rem, 1.65vw, 1.42rem); letter-spacing: -.035em; }
.application p, .process p { color: var(--sub); font-size: 1rem; line-height: 1.55; }
.technology { padding-bottom: clamp(66px, 9vw, 126px); }
.tech-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 94px); align-items: center; }
.tech-photo { aspect-ratio: 1.14; overflow: hidden; border: 1px solid var(--border); border-radius: 19px; background: #131c29; }
.tech-photo img { width: 100%; height: 100%; object-fit: cover; }
.tech-copy h2 { font-size: clamp(2.3rem, 4.65vw, 4.15rem); }
.process { list-style: none; padding: 0 0 0 14px; margin: 28px 0 0 4px; border-left: 1px solid #304757; }
.process li { position: relative; padding-left: 9px; }
.process li + li { margin-top: 16px; }
.process li::before { content: ''; position: absolute; top: 8px; left: -18px; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; }
.process h3 { font-size: 1.02rem; margin-bottom: 4px; }
.closing { padding: clamp(77px, 11vw, 155px) 0; text-align: center; border-block: 1px solid var(--border); background: radial-gradient(ellipse at 50% 105%, #112f44 0, #0b1725 43%, #080b12 72%); }
.closing .button { margin-top: 25px; }
.closing p { max-width: 550px; margin-inline: auto; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .reveal:not(.revealed) { opacity: 0; transform: translateY(18px); }
  .motion-enabled .reveal { transition: opacity .6s ease, transform .6s ease; }
}
@media (max-width: 900px) {
  :root { --layout: calc(100% - 56px); }
  .navlinks { gap: 18px; }
  .hero { min-height: max(680px, calc(100svh - 66px)); }
  .hero-image img { object-position: 51% center; }

}
@media (max-width: 640px) {
  :root { --layout: calc(100% - 36px); }
  html { scroll-padding-top: 77px; }
  .nav { min-height: 58px; grid-template-columns: 1fr auto; }
  .navlinks { display: none; }
  .hero { min-height: max(650px, calc(100svh - 58px)); }
  .hero-copy { padding-top: 75px; padding-bottom: 256px; }
  .hero h1 { font-size: clamp(2.45rem, 10.75vw, 4.4rem); }
  .hero-sub { max-width: 28rem; }
  .hero-image { top: 38%; }
  .hero-image img { object-fit: cover; object-position: 53% 59%; }
  .hero-shadow { background: linear-gradient(180deg,#07090d 0%,#07090d 37%,#07090de8 47%,#07090d00 65%,#07090d22 81%,#07090d 100%); }

  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 13px; font-size: .85rem; }
  .desktop-break { display: none; }
  .section-head { margin-bottom: 22px; }
  .section-head h2, .closing h2 { text-wrap: balance; }
  .tabs { padding: 7px 4px; gap: 2px; }
  .tabs button { padding-inline: 7px; font-size: .83rem; line-height: 1.2; }
  .scene { aspect-ratio: 1.29; }

  .scene-caption { min-height: 113px; align-items: start; flex-direction: column; gap: 10px; padding: 12px 14px; }

  .application-grid { grid-template-columns: 1fr; gap: 29px; }
  .application-photo { aspect-ratio: 1.68; }
  .tech-grid { grid-template-columns: 1fr; gap: 25px; }
  .tech-photo { aspect-ratio: 1.58; }

}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-image { transform: none; }
}

.home-link { display: block; width: 140px; height: 44px; }
.home-link img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; filter: contrast(1.18); mix-blend-mode: screen; }
.sim-toolbar { display: flex; align-items: center; gap: 16px; padding: 8px 15px; background: #0d131c; border-bottom: 1px solid var(--border); }
.demo-tag { color: #a4aebc; font-size: .8125rem; white-space: nowrap; }
.sim-toolbar .tabs { flex: 1; background: transparent; padding: 4px; }
.scene-shade { background: linear-gradient(90deg,#06132133,transparent 64%); }
.hud { position: absolute; left: 17%; top: 45%; transform: translateY(-50%); width: 278px; height: 112px; padding: 12px 13px; display: grid; align-content: center; gap: 4px; border: 1px solid #e1f1ff2d; border-radius: 10px; background: #06192799; backdrop-filter: blur(7px); color: #dceeff; text-shadow: 0 1px 3px #04090c; }
.hud strong { color: #f2faff; font-size: 1rem; font-weight: 650; }
.hud span { color: #dcedfa; font-size: .865rem; line-height: 1.24; }
.hud-direction b { color: #a9dcff; }
.hud-direction[data-direction="outgoing"] b { color: #9de4c5; }
.scene[data-mode="translation"] #hud-line-two { color: #b5c5d3; }
.hud .hud-map { position: absolute; top: 50%; right: 11px; transform: translateY(-50%); }
.scene[data-mode="fire"] .hud { padding-right: 94px; }
.scene-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scene-actions button:disabled { opacity: .56; cursor: default; }
.film-section .section-head { text-align: center; }
.film-track { min-height: calc(min(51vw, 62svh) + 380px); }
.film-frame { position: sticky; top: clamp(78px, 13svh, 128px); }
.film { position: relative; height: min(51vw, 62svh); overflow: hidden; border: 1px solid var(--border); border-radius: 21px; background: #191411; }
.film video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.clip-button { position: absolute; bottom: 16px; right: 16px; color: white; background: #0b1017d9; }
.contact-main { min-height: calc(100svh - 66px); display: grid; align-items: center; background: radial-gradient(ellipse at 72% 65%, #102c42, transparent 51%), #080b10; }
.contact-content { padding-block: clamp(80px, 12vw, 158px); }
.contact-content h1 { max-width: 870px; font-size: clamp(3rem, 8.4vw, 7.9rem); letter-spacing: -.077em; line-height: .96; text-wrap: balance; }
.contact-content p { max-width: 536px; margin-top: 24px; color: #b9c5d2; font-size: clamp(1.05rem, 2vw, 1.32rem); line-height: 1.55; }
.contact-content .contact-pending { margin-top: 27px; color: #a1aab7; font-size: 1rem; }
.contact-address a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.contact-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
@media (max-width: 800px) {
  .sim-toolbar { flex-direction: column; gap: 3px; align-items: stretch; }
  .sim-toolbar .tabs { justify-content: center; }
  .demo-tag { padding-top: 4px; padding-left: 4px; }
}
@media (max-width: 640px) {
  .home-link { width: 127px; }
  .sim-toolbar { padding: 9px 7px 6px; }
  .sim-toolbar .tabs { padding: 4px 0 0; display: grid; grid-template-columns: repeat(2,1fr); }
  .scene > img { object-position: 55% center; }
  .scene[data-mode="fire"] > img, .scene[data-mode="officer"] > img { object-position: 66% center; }
  .hud { left: 8%; top: 44%; width: min(244px, 83%); height: 108px; padding: 8px 10px; }
  .hud strong { font-size: .94rem; }
  .hud span { font-size: .8125rem; }
  .hud .hud-map { width: 64px; height: 58px; right: 8px; }
  .scene[data-mode="fire"] .hud { padding-right: 78px; }
  .film-track { min-height: calc(64vw + 270px); }
  .film-frame { top: 80px; }
  .film { height: 64vw; border-radius: 15px; }
  .clip-button { right: 9px; bottom: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-track { min-height: 0; }
  .film-frame { position: static; }
}
