@font-face {
  font-family: "Schibsted Grotesk";
  src: url('/assets/SchibstedGrotesk.ttf') format('truetype');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #06131a;
  --deep: #02090e;
  --white: #eef3f6;
  --muted: #a9bcc7;
  --steel: #86a9bc;
  --line: rgba(238,243,246,.22);
  --gutter: clamp(1.25rem,4.5vw,6rem);
  --section-space: clamp(3.5rem,7vw,7rem);
  font-family: "Schibsted Grotesk",Arial,sans-serif;
  color: var(--white);
  background: var(--ink);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; min-width: 0; }
p,h1,h2,h3 { margin: 0; }
h1,h2,h3 { overflow-wrap: break-word; }
p { overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button { color: inherit; cursor: pointer; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
button:disabled { cursor: default; }
a,button,summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible {
  outline: 2px solid currentColor; outline-offset: 5px;
}
img,video,canvas,svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 100; padding: 1rem; color: var(--ink); background: white; }
.skip:focus { top: 1rem; }
/* Navigation and copy stay in normal flow, including at high zoom. */
.masthead {
  position: relative; z-index: 10;
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem;
  padding: 1.25rem var(--gutter);
  padding-left: max(var(--gutter),env(safe-area-inset-left,0px));
  padding-right: max(var(--gutter),env(safe-area-inset-right,0px));
}
.wordmark { flex: 0 0 8rem; }
.wordmark img { width: 100%; height: auto; }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; margin-left: auto; }
.masthead nav a,footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.masthead nav a:hover,footer a:hover { color: #b8d5e4; }
.motion-toggle {
  flex: 0 0 auto; min-height: 44px; border: 1px solid var(--line); border-radius: 2rem;
  background: transparent; padding: .6rem 1rem; font-size: .875rem;
}
.motion-short { display: none; }
.hero { position: relative; isolation: isolate; background: var(--deep); }
.hero-film { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.hero-film video { width: 100%; height: 100%; object-fit: contain; }
.hero-copy { position: relative; padding: 1.5rem var(--gutter) 3.5rem; max-width: 82rem; }
.hero-shade { display: none; }
.origin,.section-note { color: var(--muted); font-size: .875rem; line-height: 1.6; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.7rem,7vw,7rem); line-height: 1.04; font-weight: 450; letter-spacing: -.06em; }
.hero-description { font-size: clamp(1rem,1.25vw,1.2rem); line-height: 1.65; margin-top: 1.5rem; color: #d4e0e6; max-width: 37rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.75rem; font-size: .9rem; border-bottom: 1px solid currentColor; padding: .5rem 0; }
/* Applications: one, two or three columns according to usable space. */
.usecases { padding: var(--section-space) var(--gutter); background: #0a1b24; }
.usecases h2,.heritage h2,.statement h2,.mission h2,.robot-heading h2,.closing h2 {
  font-size: clamp(2.35rem,5.4vw,6rem); letter-spacing: -.055em; line-height: 1.09; font-weight: 450;
}
.usecase-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem 2rem; margin-top: 3rem; }
.usecase-card { min-width: 0; }
.product-drawing { aspect-ratio: 1.8; background: linear-gradient(135deg,#173240,#102630); border: 1px solid #86a9bc30; display: grid; place-items: center; color: #b8d5e4; overflow: hidden; }
.product-drawing svg { width: 62%; height: 82%; max-height: 12rem; }
.product-drawing .icon-solid { fill: #284c5e; }
.product-drawing .icon-hub,.product-drawing .icon-rotors { fill: #173240; }
.product-drawing .icon-rotors { stroke: #9fc6da; }
.product-drawing .icon-link { stroke: #365e72; }
.product-drawing .icon-screen { fill: #102630; }
.usecase-card h3 { font-size: 1.25rem; font-weight: 550; letter-spacing: -.025em; line-height: 1.35; margin-top: 1.25rem; }
.usecase-card>p { font-size: 1rem; line-height: 1.7; color: var(--muted); margin-top: .65rem; max-width: 30rem; }
/* The compact history never imposes a viewport-height scroll sequence. */
.heritage { background: #eef1f2; color: var(--ink); padding: var(--section-space) var(--gutter); }
.heritage .section-note { color: #516773; }
.heritage-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; align-items: end; }
.heritage-intro .section-note { grid-column: 1 / -1; }
.heritage h2 { font-size: clamp(2.35rem,4.5vw,5rem); }
.heritage-intro>p:last-child { font-size: 1.05rem; line-height: 1.7; color: #4b5d66; max-width: 33rem; }
.inventors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3rem; margin-top: 3rem; max-width: 90rem; }
.inventors article { min-width: 0; }
.year { font-size: 2rem; font-weight: 450; letter-spacing: -.05em; margin-bottom: 1rem; color: #637780; }
.inventors h3 { font-size: 1.1rem; line-height: 1.4; font-weight: 550; margin-bottom: .75rem; }
.inventors article>p:not(.year) { font-size: 1rem; line-height: 1.7; color: #4b5d66; max-width: 27rem; }
.heritage-close { font-size: 1.15rem; line-height: 1.65; max-width: 52rem; margin-top: 2.5rem; border-top: 1px solid #06131a26; padding-top: 1.5rem; }
.statement { background: #e7edef; color: var(--ink); padding: var(--section-space) var(--gutter); }
.statement>p { font-size: clamp(1.1rem,1.6vw,1.5rem); max-width: 42rem; line-height: 1.7; margin-top: 2rem; color: #4c626e; }
/* Each film owns its copy and controls. No shared sticky screen, hidden chapters
   or scroll-dependent opacity: rapid scroll and anchor jumps remain consistent. */
.production { background: var(--deep); }
.production-step {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr);
  align-items: center; gap: clamp(2rem,4vw,5rem);
  padding: var(--section-space) var(--gutter); max-width: 120rem; margin: auto;
}
.production-step+.production-step { border-top: 1px solid var(--line); }
.chapter-copy { min-width: 0; }
.chapter-copy h2 { font-size: clamp(2.25rem,3.6vw,4.5rem); font-weight: 450; line-height: 1.1; letter-spacing: -.055em; }
.chapter-copy>p { max-width: 31rem; font-size: 1rem; line-height: 1.7; color: #c3d3dc; margin-top: 1.5rem; }
.chapter-copy .skills { color: #e3edf2; }
.production-media { min-width: 0; }
.production-media video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--ink); }
.production-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem; padding-top: 1rem; }
.production-controls button { border: 1px solid var(--line); border-radius: 2rem; min-height: 44px; padding: .65rem 1rem; background: transparent; font-size: .875rem; }
.production-controls button:hover { background: #173240; }
/* Canvas and its controls occupy separate rows, including on short windows. */
.robot-section { background: #e7edef; color: var(--ink); padding: var(--section-space) var(--gutter); }
.robot-stage { position: relative; margin-top: 2.5rem; width: 100%; height: clamp(20rem,49vw,42rem); background: #dae3e8; overflow: hidden; touch-action: pan-y; }
.robot-stage.is-interactive { cursor: grab; }
.robot-stage.is-dragging { cursor: grabbing; }
.robot-stage:focus-visible { outline: 2px solid #496b7c; outline-offset: 5px; }
.robot-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.robot-stage.is-ready canvas { opacity: 1; }
.robot-fallback { width: 100%; height: 100%; object-fit: contain; }
.robot-stage.is-ready .robot-fallback { visibility: hidden; }
.robot-controls { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: 1rem; }
.robot-controls button { min-height: 44px; border: 1px solid #06131a42; background: #eef3f6; color: var(--ink); border-radius: 2rem; padding: .65rem 1rem; font-size: .875rem; }
.robot-controls button[aria-pressed=true] { background: var(--ink); color: var(--white); }
.robot-controls button:disabled { opacity: .55; }
.robot-load { font-size: .875rem; line-height: 1.65; margin-top: .8rem; color: #425f6f; }
.robot-load:empty { display: none; }
.robot-meta { margin-top: 1rem; color: #526b78; font-size: .875rem; line-height: 1.65; max-width: 49rem; }
.joint-panel { border-top: 1px solid #06131a26; border-bottom: 1px solid #06131a26; margin-top: 1.25rem; padding: .25rem 0; }
.joint-panel summary { width: fit-content; padding: .8rem .25rem; min-height: 44px; font-size: .95rem; cursor: pointer; }
.joint-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem 2rem; padding: .75rem 0 1.5rem; }
.joint-control { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem; align-items: center; }
.joint-control label { overflow-wrap: anywhere; font-size: .875rem; line-height: 1.4; }
.joint-control output { font-size: .875rem; font-variant-numeric: tabular-nums; }
.joint-control input { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 44px; margin: 0; accent-color: #234f68; cursor: pointer; }
.approach { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3rem; margin-top: 4rem; }
.approach article { min-width: 0; }
.approach h3 { font-size: 1.3rem; letter-spacing: -.03em; font-weight: 550; line-height: 1.4; }
.approach p { font-size: 1rem; line-height: 1.7; margin-top: 1rem; color: #4c626e; max-width: 30rem; }
.mission { padding: var(--section-space) var(--gutter); max-width: 120rem; margin: auto; }
.mission-bottom { margin-top: 2rem; }
.mission-bottom>p { font-size: clamp(1.1rem,1.6vw,1.5rem); line-height: 1.7; max-width: 43rem; color: #beced8; }
.development-note { font-size: .875rem; line-height: 1.7; color: #9fb5c2; max-width: 44rem; margin-top: 2rem; }
.closing { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); }
.closing>video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.closing-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(2,9,14,.96),rgba(2,9,14,.65) 65%),linear-gradient(0deg,var(--ink),transparent 65%); }
.closing-copy { position: relative; padding: var(--section-space) var(--gutter); }
.contact-intro { max-width: 30rem; font-size: 1.1rem; line-height: 1.7; color: #c0d2dc; margin-top: 2rem; }
.contact-details { display: grid; justify-items: start; gap: .5rem; font-size: 1.05rem; line-height: 1.6; font-style: normal; margin-top: 1.5rem; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; border-bottom: 1px solid #a9bcc766; overflow-wrap: anywhere; }
.contact-details span:last-child { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
footer { padding: 3rem var(--gutter); padding-bottom: max(3rem,env(safe-area-inset-bottom,0px)); }
.footer-wordmark { display: block; margin-bottom: 2rem; }
.footer-wordmark img { width: 100%; height: auto; }
footer>div { display: flex; justify-content: flex-end; }
footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; color: var(--muted); }
.legal-page { min-height: 100vh; min-height: 100svh; }
.legal-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.5rem var(--gutter); }
.legal-header img { width: 15rem; max-width: 60vw; height: auto; }
.legal-header>a:last-child { font-size: .875rem; display: inline-flex; align-items: center; min-height: 44px; }
.legal-content { max-width: 58rem; padding: 3rem var(--gutter) 6rem; margin: auto; }
.legal-content h1 { font-size: clamp(2.5rem,7vw,5rem); letter-spacing: -.055em; font-weight: 450; line-height: 1.1; margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.25rem; font-weight: 550; margin: 2.5rem 0 1rem; line-height: 1.4; }
.legal-content address,.legal-content p { font-size: 1rem; font-style: normal; line-height: 1.8; color: #c0d0da; }
.legal-content a:not(.text-link) { text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; }
@media (min-width: 1100px) and (min-height: 650px) {
  .hero { display: flex; align-items: flex-end; min-height: 40rem; min-height: max(40rem,calc(100svh - 7rem)); }
  .hero-film { position: absolute; inset: 0; z-index: -3; aspect-ratio: auto; }
  .hero-film video { object-fit: cover; object-position: center; }
  .hero-shade { display: block; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(2,9,14,.88),rgba(2,9,14,.4) 55%,transparent),linear-gradient(0deg,var(--ink),transparent 60%); }
  .hero-copy { padding-block: 5rem; }
}
@media (max-width: 1099px) {
  .motion-text { display: none; }
  .motion-short { display: inline; }
  .masthead { gap: 1rem; }
  .masthead nav { gap: .25rem 1rem; }
  .production-step { grid-template-columns: 1fr; gap: 2rem; }
  .production-media { order: -1; }
  .chapter-copy { max-width: 46rem; }
  .chapter-copy>p { max-width: 39rem; }
  .chapter-copy h2 { font-size: clamp(2.25rem,5vw,4rem); }
  .usecase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .approach { gap: 2rem; }
  .joint-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .masthead nav { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; gap: .2rem 1.25rem; }
  .motion-toggle { margin-left: auto; }
  .wordmark { flex-basis: 7rem; }
  .hero-copy { padding-top: 1.5rem; }
  .hero h1 { font-size: clamp(2.5rem,10vw,4.5rem); }
  .hero-description br { display: none; }
  .heritage-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .heritage-intro .section-note { margin-bottom: 0; }
  .inventors { grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2rem; }
  .inventors article { display: grid; grid-template-columns: 4rem minmax(0,1fr); column-gap: 1rem; }
  .year { grid-row: 1 / 3; font-size: 1.5rem; margin: 0; }
  .inventors h3 { font-size: 1rem; margin-bottom: .5rem; }
  .heritage-close { font-size: 1rem; margin-top: 2rem; }
  .approach { grid-template-columns: 1fr; margin-top: 3rem; gap: 2rem; }
  .robot-stage { height: 22rem; height: clamp(18rem,68vw,29rem); }
  .product-drawing { aspect-ratio: 1.45; }
  .product-drawing svg { width: 78%; }
  .usecase-grid { gap: 2rem 1.25rem; }
  .usecase-card h3 { font-size: 1.1rem; }
  .closing-shade { background: rgba(2,9,14,.82); }
}
@media (max-width: 420px) {
  .usecase-grid,.joint-grid { grid-template-columns: 1fr; }
  .product-drawing { aspect-ratio: 1.8; }
  .product-drawing svg { width: 62%; }
  .robot-controls { gap: .5rem; }
  .robot-controls button { padding: .65rem .85rem; }
  .masthead nav { gap: .15rem 1rem; }
  .masthead nav a { font-size: .8rem; }
  .usecases h2,.heritage h2,.statement h2,.mission h2,.robot-heading h2,.closing h2 { font-size: clamp(2rem,8.5vw,2.35rem); }
  .chapter-copy h2 { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .product-drawing { border: 1px solid CanvasText; }
  .motion-toggle,.production-controls button,.robot-controls button { border: 1px solid ButtonText; }
}
/* Short landscape windows keep both the film and its explanation reachable. */
@media (min-width: 600px) and (max-height: 600px) {
  .hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 2rem; padding: 2rem var(--gutter); }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2rem,4vw,3.5rem); }
  .hero-description { font-size: 1rem; margin-top: 1rem; }
  .hero-copy .text-link { margin-top: 1rem; }
  .origin { margin-bottom: 1rem; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .robot-stage { height: 65vh; height: 65svh; min-height: 12rem; max-height: 28rem; }
}
