:root {
  --bg: #07090c;
  --bg-soft: #0c1014;
  --panel: #11161b;
  --panel-2: #151b21;
  --text: #f2f3f4;
  --muted: #9da4aa;
  --muted-2: #747c83;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --accent: #f08a32;
  --accent-soft: #ffad63;
  --white: #fff;
  --max: 1440px;
  --pad: clamp(24px, 4vw, 68px);
  --header: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #0a0b0c; }
.shell { width: min(100%, var(--max)); margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 1000;
  padding: 10px 14px; color: #000; background: #fff;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto 0; height: var(--header);
  padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(7,9,12,.78);
  border-color: rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(120%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; letter-spacing: .18em; font-weight: 720; font-size: 13px; }
.brand-mark { width: 24px; height: 24px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; fill: currentColor; }
.desktop-nav { display: flex; gap: 36px; font-size: 12px; color: #d1d4d7; }
.desktop-nav a { position: relative; padding: 12px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--accent); transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-meta { justify-self: end; color: var(--muted-2); font-size: 10px; letter-spacing: .18em; }
.menu-button { display: none; justify-self: end; width: 42px; height: 42px; padding: 0; background: none; border: 0; color: white; cursor: pointer; position: relative; }
.menu-button span { position: absolute; left: 7px; width: 28px; height: 1px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.menu-button span:first-child { top: 16px; }
.menu-button span:last-child { top: 25px; }
.menu-button[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; z-index: 90; inset: 0; background: #080a0d;
  padding: calc(var(--header) + 52px) var(--pad) 40px;
}
.mobile-menu nav { display: grid; gap: 0; }
.mobile-menu nav a { font-size: clamp(28px, 8vw, 52px); line-height: 1.08; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.mobile-menu nav span { font-size: 11px; color: var(--muted); margin-top: 8px; }
.mobile-menu > p { position: absolute; bottom: 26px; font-size: 10px; color: var(--muted-2); letter-spacing: .14em; }

.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  padding-top: var(--header); background: #05070a;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: #06090d url('/media/scabro-space-poster.webp') center center / cover no-repeat;
}
.hero-motion-card {
  position: absolute;
  top: max(104px, calc(var(--header) + 16px));
  right: clamp(16px, 3.8vw, 52px);
  width: min(25vw, 420px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 80px rgba(0,0,0,.44), 0 0 0 1px rgba(255,255,255,.04) inset;
  background: #06090d;
  isolation: isolate;
}
.hero-motion-bg {
  position: absolute;
  inset: -5%;
  background: url('/media/scabro-space-bg.webp') center center / cover no-repeat;
  transform: translate3d(0,0,0) scale(1.03);
  filter: saturate(.92) contrast(1.03) brightness(.76);
  animation: scabroSpaceDrift 30s cubic-bezier(.45,0,.55,1) infinite;
  will-change: transform, filter;
}
.hero-motion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.12)),
    radial-gradient(ellipse at 84% 12%, rgba(240,138,50,.08), transparent 34%);
  box-shadow: inset 0 0 70px rgba(0,0,0,.18);
}
.hero-motion-glow {
  position: absolute;
  z-index: 1;
  width: 52%;
  aspect-ratio: 1;
  top: -18%;
  right: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,162,208,.12), transparent 67%);
  filter: blur(12px);
  animation: scabroGlow 30s ease-in-out infinite;
}
.hero-drone-pass {
  position: absolute;
  z-index: 3;
  width: 48%;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.hero-drone {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.34)) drop-shadow(0 0 6px rgba(168,207,235,.10));
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-drone-trail {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(198,225,245,.05) 42%, rgba(220,238,251,.18) 100%);
  filter: blur(3px);
  opacity: .48;
}
.hero-drone-pass-up .hero-drone-trail {
  width: 54%;
  height: 7%;
  left: -34%;
  top: 64%;
  transform: rotate(-8deg);
}
.hero-drone-pass-down .hero-drone {
  transform: scaleX(-1) translateZ(0);
  transform-origin: 50% 50%;
}
.hero-drone-pass-down .hero-drone-trail {
  width: 50%;
  height: 7%;
  left: auto;
  right: -30%;
  top: 28%;
  transform: rotate(-8deg);
  background: linear-gradient(270deg, transparent, rgba(198,225,245,.05) 42%, rgba(220,238,251,.18) 100%);
}
.hero-motion-card { --drone-loop-duration: 40s; }
.hero-drone-pass-up-a { animation: scabroDroneUpA var(--drone-loop-duration) linear infinite; }
.hero-drone-pass-down { animation: scabroDroneDown var(--drone-loop-duration) linear infinite; }
.hero-drone-pass-up-b { animation: scabroDroneUpB var(--drone-loop-duration) linear infinite; }
/* Change --drone-loop-duration above to adjust the complete loop speed. Keep all passes synchronized. */
@keyframes scabroDroneUpA {
  /* Diagonal: fully outside lower-left -> fully outside upper-right. Entire path shifted left. */
  0%   { transform: translate3d(-265%,270%,0) scale(.92); opacity: 0; }
  3%   { opacity: .62; }
  10%  { transform: translate3d(-190%,132%,0) scale(.82); opacity: .98; }
  19%  { transform: translate3d(-90%,22%,0) scale(.61); opacity: 1; }
  27%  { transform: translate3d(7%,-112%,0) scale(.39); opacity: .98; }
  31%  { transform: translate3d(55%,-235%,0) scale(.28); opacity: .82; }
  34%  { transform: translate3d(82%,-365%,0) scale(.21); opacity: .36; }
  36%  { transform: translate3d(95%,-510%,0) scale(.17); opacity: 0; }
  100% { transform: translate3d(95%,-510%,0) scale(.17); opacity: 0; }
}
@keyframes scabroDroneDown {
  /* Re-enter well above upper-right and fly diagonally to fully outside lower-left. */
  0%, 37% { transform: translate3d(95%,-510%,0) scale(.17); opacity: 0; }
  39% { opacity: .34; }
  42% { transform: translate3d(80%,-355%,0) scale(.22); opacity: .72; }
  46% { transform: translate3d(47%,-210%,0) scale(.34); opacity: .96; }
  53% { transform: translate3d(-47%,-34%,0) scale(.55); opacity: 1; }
  61% { transform: translate3d(-147%,108%,0) scale(.76); opacity: .98; }
  66% { transform: translate3d(-265%,270%,0) scale(.92); opacity: 0; }
  100% { transform: translate3d(-265%,270%,0) scale(.92); opacity: 0; }
}
@keyframes scabroDroneUpB {
  /* Invisible reset below the frame, then a second full diagonal climb. */
  0%, 69% { transform: translate3d(-265%,270%,0) scale(.92); opacity: 0; }
  72% { opacity: .56; }
  78% { transform: translate3d(-190%,132%,0) scale(.82); opacity: .98; }
  86% { transform: translate3d(-90%,22%,0) scale(.61); opacity: 1; }
  92% { transform: translate3d(7%,-112%,0) scale(.39); opacity: .98; }
  95% { transform: translate3d(55%,-235%,0) scale(.28); opacity: .82; }
  97.5% { transform: translate3d(82%,-365%,0) scale(.21); opacity: .36; }
  100% { transform: translate3d(95%,-510%,0) scale(.17); opacity: 0; }
}
@keyframes scabroSpaceDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1.03); filter: saturate(.92) contrast(1.03) brightness(.76); }
  25% { transform: translate3d(-1.1%,.4%,0) scale(1.055); filter: saturate(.88) contrast(1.05) brightness(.72); }
  50% { transform: translate3d(-2.1%,1.0%,0) scale(1.08); filter: saturate(.80) contrast(1.07) brightness(.66); }
  75% { transform: translate3d(-1.0%,.4%,0) scale(1.055); filter: saturate(.88) contrast(1.05) brightness(.72); }
}
@keyframes scabroGlow {
  0%,100% { opacity: .46; transform: scale(.95); }
  50% { opacity: .80; transform: scale(1.12); }
}
@keyframes scabroTrailPulse {
  0%,100% { opacity: .42; }
  50% { opacity: .18; }
}
.hero-drone-pass .hero-drone-trail { animation: scabroTrailPulse 3.8s ease-in-out infinite; }
.hero-video-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,7,10,.82) 0%, rgba(4,7,10,.58) 32%, rgba(4,7,10,.16) 65%, rgba(4,7,10,.28) 100%),
    linear-gradient(180deg, rgba(3,5,8,.34) 0%, rgba(3,5,8,.02) 44%, rgba(5,7,10,.64) 100%),
    radial-gradient(ellipse at 75% 46%, rgba(240,138,50,.08), transparent 34%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 26%; background: linear-gradient(180deg, transparent, #07090c 95%); pointer-events: none; }
.hero-grid { position: absolute; z-index: 1; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom,rgba(0,0,0,.75),transparent 92%); }
.hero-orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.hero-orbit-a { width: 850px; aspect-ratio: 1; right: -270px; top: -360px; }
.hero-orbit-b { width: 1200px; aspect-ratio: 1; right: -410px; top: -530px; border-color: rgba(255,255,255,.04); }
.hero-copy { position: relative; z-index: 4; padding-top: clamp(84px, 12vh, 154px); }
.eyebrow, .section-index { margin: 0; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .22em; }
.display { margin: 28px 0 0; font-size: clamp(62px, 10vw, 154px); line-height: .78; letter-spacing: -.066em; font-weight: 760; max-width: 1120px; }
.display span { display: block; }
.display-outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.68); text-stroke: 1px rgba(255,255,255,.68); margin-left: clamp(18px, 8vw, 122px); }
.hero-lower { display: flex; align-items: flex-end; gap: 44px; margin-top: clamp(26px, 4vh, 54px); max-width: 680px; }
.hero-intro { margin: 0; max-width: 500px; color: #aeb4b9; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.65; }
.round-link { flex: 0 0 auto; width: 82px; aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.round-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s ease; }
.round-link:hover { border-color: var(--accent); background: rgba(240,138,50,.08); transform: translateY(-3px); }
.round-link:hover svg { transform: translateX(3px); }
.hero-machine { position: absolute; z-index: 2; left: 50%; bottom: clamp(-55px,-3vh,-15px); width: min(94vw, 1450px); height: clamp(310px, 44vw, 650px); transform: translateX(-50%); display: grid; place-items: end center; pointer-events: none; }
.airframe { width: 100%; overflow: visible; filter: drop-shadow(0 30px 65px rgba(0,0,0,.85)); animation: floatAirframe 8s ease-in-out infinite; }
.wing { opacity: .98; }
.machine-caption { position: absolute; bottom: 16%; display: grid; gap: 4px; font-size: 8px; letter-spacing: .16em; color: #666f77; }
.machine-caption b { color: #a6adb3; font-size: 8px; font-weight: 600; }
.machine-caption::before { content: ""; position: absolute; top: 7px; height: 1px; width: 90px; background: rgba(255,255,255,.15); }
.machine-caption-left { left: 7%; text-align: right; }
.machine-caption-left::before { left: calc(100% + 12px); }
.machine-caption-right { right: 7%; }
.machine-caption-right::before { right: calc(100% + 12px); }
.scroll-cue { position: absolute; z-index: 5; left: var(--pad); bottom: 32px; display: flex; gap: 12px; align-items: center; color: #5e666d; font-size: 8px; letter-spacing: .2em; }
.scroll-cue i { width: 42px; height: 1px; background: #4e555b; position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; width: 15px; background: #c3c7ca; animation: scrollCue 2s linear infinite; }

@keyframes floatAirframe { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
@keyframes scrollCue { from{ transform: translateX(-18px) } to{ transform: translateX(48px) } }

.manifesto { padding: clamp(110px, 12vw, 190px) 0; background: #090c10; border-top: 1px solid rgba(255,255,255,.05); }
.manifesto-head { display: grid; grid-template-columns: .4fr 1fr; align-items: start; margin-bottom: 74px; }
.manifesto h2, .capabilities h2, .campus h2, .process h2 { margin: 0; font-size: clamp(42px, 6.5vw, 96px); line-height: .95; letter-spacing: -.055em; font-weight: 650; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr 1.08fr; gap: 1px; background: var(--line); border: 1px solid var(--line); padding: 0; }
.manifesto-card { min-height: 350px; position: relative; background: #0c1014; padding: 28px 30px; overflow: hidden; isolation: isolate; }
.manifesto-card-accent { background: #12100f; }
.manifesto-visual { position: absolute; z-index: 0; inset: 0; background-position: 50% 18%; background-size: cover; background-repeat: no-repeat; opacity: .62; transform: scale(1.015); transition: opacity .45s ease, transform 1.1s cubic-bezier(.2,.65,.25,1); }
.manifesto-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,17,.05) 0%, rgba(10,13,17,.16) 36%, rgba(10,13,17,.78) 67%, rgba(10,13,17,.98) 100%), linear-gradient(90deg, rgba(8,11,15,.12), transparent 65%); }
.manifesto-card-mission .manifesto-visual { background-image: url('/media/manifesto-mission.webp'); background-position: 50% 8%; opacity: .58; }
.manifesto-card-vision .manifesto-visual { background-image: url('/media/manifesto-vision.webp'); background-position: 50% 7%; opacity: .66; }
.manifesto-card-bhag .manifesto-visual { background-image: url('/media/manifesto-bhag.webp'); background-position: 50% 6%; opacity: .63; }
.manifesto-card:hover .manifesto-visual { opacity: .76; transform: scale(1.045); }
.card-index, .card-label, .manifesto-card h3 { position: relative; z-index: 2; }
.card-index { color: #697179; font-size: 10px; letter-spacing: .1em; }
.card-label { position: absolute; left: 30px; bottom: 122px; margin: 0; color: var(--accent); font-size: 9px; letter-spacing: .2em; font-weight: 700; }
.manifesto-card h3 { position: absolute; left: 30px; right: 24px; bottom: 26px; margin: 0; font-size: clamp(25px, 2.7vw, 39px); line-height: 1.04; letter-spacing: -.035em; font-weight: 540; text-shadow: 0 2px 18px rgba(0,0,0,.36); }

.capabilities { background: #f0f0ee; color: #0a0c0e; padding: clamp(105px, 11vw, 180px) 0; }
.capabilities-layout { display: grid; grid-template-columns: .88fr 1.4fr; gap: clamp(50px, 10vw, 150px); }
.capabilities .section-index { color: #7a7f82; }
.capabilities-title-block { position: sticky; top: 118px; align-self: start; }
.capabilities-title-block h2 { margin-top: 25px; }
.capabilities-title-block > p:last-child { max-width: 440px; margin: 40px 0 0; font-size: 15px; line-height: 1.65; color: #5f6467; }
.capability-list { border-top: 1px solid rgba(0,0,0,.22); }
.capability { min-height: 190px; display: grid; grid-template-columns: 58px 1fr 40px; gap: 14px; padding: 34px 0; border-bottom: 1px solid rgba(0,0,0,.18); align-items: start; }
.cap-number { font-size: 10px; color: #808588; padding-top: 6px; }
.capability h3 { margin: 0 0 13px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.035em; }
.capability p { max-width: 620px; margin: 0; color: #666b6e; line-height: 1.62; font-size: 14px; }
.cap-symbol { justify-self: end; width: 38px; height: 38px; border: 1px solid rgba(0,0,0,.18); border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #4d5255; transition: transform .35s ease, border-color .35s ease, color .35s ease; }
.capability:hover .cap-symbol { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }

.carbon-band { min-height: 720px; position: relative; overflow: hidden; display: flex; align-items: center; background: #080a0c; border-top: 1px solid #101418; border-bottom: 1px solid #101418; }
.carbon-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(125deg,rgba(255,255,255,.026) 0 2px,transparent 2px 8px),repeating-linear-gradient(55deg,rgba(255,255,255,.016) 0 2px,transparent 2px 8px); transform: scale(1.2); opacity: .9; }
.carbon-band::after { content: ""; position: absolute; width: 72vw; height: 72vw; right: -14vw; top: -30vw; border-radius: 50%; border: 1px solid rgba(240,138,50,.19); box-shadow: inset 0 0 120px rgba(240,138,50,.025); }
.carbon-noise { position: absolute; inset: 0; background: radial-gradient(circle at 70% 45%,rgba(160,171,180,.13),transparent 34%),linear-gradient(100deg,#040507 20%,transparent 60%); }
.carbon-copy { position: relative; z-index: 2; }
.carbon-copy p { margin: 0 0 24px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .23em; }
.carbon-copy h2 { margin: 0; font-size: clamp(60px, 9vw, 145px); line-height: .83; letter-spacing: -.065em; font-weight: 680; }
.carbon-copy em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.56); }
.carbon-data { position: absolute; z-index: 2; right: var(--pad); bottom: 36px; display: flex; gap: 28px; font-size: 8px; letter-spacing: .17em; color: #5a6269; }
.carbon-data span + span::before { content: "/"; margin-right: 28px; color: #333940; }

.campus { padding: clamp(110px, 12vw, 190px) 0; background: #0a0d11; }
.campus-intro { display: grid; grid-template-columns: .4fr 1fr; margin-bottom: 76px; }
.campus-visual { display: grid; grid-template-columns: 1.55fr .65fr; gap: 42px; align-items: stretch; }
.campus-map { min-height: 560px; background: #0d1115; border: 1px solid var(--line); position: relative; overflow: hidden; }
.map-grid { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 42px 42px; transform: perspective(650px) rotateX(55deg) scale(1.55); transform-origin: 50% 86%; }
.campus-map::after { content: "SPACE CAMPUS"; position: absolute; left: 24px; bottom: 20px; color: #596168; font-size: 8px; letter-spacing: .22em; }
.campus-map svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(240,138,50,.7); stroke-width: 1; filter: drop-shadow(0 0 5px rgba(240,138,50,.25)); }
.campus-q { position: absolute; right: 6%; top: 5%; font-size: clamp(140px, 18vw, 260px); line-height: 1; font-weight: 720; color: rgba(255,255,255,.018); letter-spacing: -.08em; }
.map-point { position: absolute; color: #818990; font-size: 7px; letter-spacing: .14em; display: grid; gap: 8px; }
.map-point i { width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(240,138,50,.06), 0 0 16px rgba(240,138,50,.26); }
.map-point-a { left: 18%; top: 58%; }.map-point-b{left:54%;top:44%}.map-point-c{right:11%;top:27%}
.campus-copy { display: flex; flex-direction: column; justify-content: end; border-top: 1px solid var(--line); padding-top: 26px; }
.campus-copy p { margin: 0; color: #a5acb1; font-size: 14px; line-height: 1.72; }
.campus-copy p + p { margin-top: 22px; color: #6f777d; }

.process { background: #0a0d11; padding: 0 0 clamp(120px, 13vw, 200px); }
.process-head { display: grid; grid-template-columns: .4fr 1fr; padding-bottom: 66px; }
.process-line { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.process-line article { position: relative; padding: 27px 30px 0 0; min-height: 230px; border-right: 1px solid var(--line); }
.process-line article:last-child { border-right: 0; padding-left: 28px; }
.process-line article:not(:first-child) { padding-left: 28px; }
.process-line article::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #858c91; top: -4px; left: -4px; }
.process-line article:first-child::before { left: 0; background: var(--accent); box-shadow: 0 0 15px rgba(240,138,50,.45); }
.process-line span { color: #596168; font-size: 9px; letter-spacing: .15em; }
.process-line h3 { margin: 38px 0 10px; font-size: 24px; font-weight: 560; letter-spacing: -.03em; }
.process-line p { margin: 0; color: #747c82; font-size: 13px; line-height: 1.6; }

.direction { min-height: 890px; position: relative; overflow: hidden; display: flex; align-items: center; background: #05070a; border-top: 1px solid rgba(255,255,255,.06); }
.direction-stars { position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(circle,rgba(255,255,255,.7) 0 1px,transparent 1.4px),radial-gradient(circle,rgba(255,255,255,.45) 0 1px,transparent 1.4px); background-size: 190px 190px, 270px 270px; background-position: 20px 35px, 110px 120px; mask-image: linear-gradient(to right,transparent 0,black 40%,black 100%); }
.direction-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; min-height: 760px; }
.direction-copy h2 { margin: 30px 0 28px; font-size: clamp(132px, 18vw, 270px); line-height: .62; letter-spacing: -.085em; font-weight: 720; }
.direction-copy h2 span { display: block; margin-left: .07em; font-size: .29em; letter-spacing: -.035em; color: var(--accent); }
.direction-copy > p:last-child { max-width: 470px; margin: 0; color: #8e969c; font-size: 15px; line-height: 1.7; }
.q-system { aspect-ratio: 1; width: min(50vw, 650px); justify-self: end; position: relative; display: grid; place-items: center; }
.q-core { width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: clamp(84px, 10vw, 148px); font-weight: 720; letter-spacing: -.09em; color: #f5f5f2; background: radial-gradient(circle at 38% 32%,#4e555b 0,#1a1f24 35%,#090b0e 70%); box-shadow: inset -40px -35px 70px rgba(0,0,0,.75), 0 0 90px rgba(255,255,255,.04); }
.q-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); transform: rotate(-17deg); }
.q-orbit-1 { width: 55%; height: 33%; }.q-orbit-2{width:77%;height:45%;border-color:rgba(255,255,255,.07)}.q-orbit-3{width:98%;height:58%;border-color:rgba(240,138,50,.18)}
.q-satellite { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); top: 29%; right: 10%; box-shadow: 0 0 18px rgba(240,138,50,.8); animation: satellitePulse 2.5s ease-in-out infinite; }
@keyframes satellitePulse { 50% { box-shadow: 0 0 34px rgba(240,138,50,1); transform: scale(1.2); } }

.site-footer { border-top: 1px solid var(--line); background: #05070a; padding: 58px 0 28px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.footer-brand { font-size: clamp(28px,4vw,48px); font-weight: 720; letter-spacing: -.035em; }
.footer-brand span { display: block; font-size: 9px; letter-spacing: .24em; color: #737b81; margin-top: 8px; font-weight: 600; }
.footer-top p { margin: 0; color: #8d949a; font-size: 9px; letter-spacing: .18em; }
.footer-bottom { margin-top: 76px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #50575d; font-size: 8px; letter-spacing: .16em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.65,.25,1), transform .8s cubic-bezier(.2,.65,.25,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --header: 74px; }
  .hero-motion-card { top: 96px; right: 14px; width: min(35vw, 320px); border-radius: 20px; }
  .hero-drone-pass { width: 52%; left: 50%; }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-meta { display: none; }
  .menu-button { display: block; }
  .hero-copy { padding-top: 80px; }
  .display { font-size: clamp(58px, 13.5vw, 110px); }
  .display-outline { margin-left: 0; }
  .hero-machine { width: 124vw; bottom: 0; opacity: .9; }
  .hero-lower { max-width: 580px; }
  .machine-caption { display: none; }
  .manifesto-head, .campus-intro, .process-head { grid-template-columns: 1fr; gap: 25px; }
  .manifesto-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-card-accent { grid-column: 1 / -1; }
  .capabilities-layout { grid-template-columns: 1fr; }
  .capabilities-title-block { position: static; }
  .campus-visual { grid-template-columns: 1fr; }
  .campus-copy { padding-bottom: 10px; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .process-line article:nth-child(2) { border-right: 0; }
  .process-line article:nth-child(3), .process-line article:nth-child(4) { border-top: 1px solid var(--line); }
  .direction-layout { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 60px; }
  .q-system { width: min(82vw, 600px); justify-self: center; margin-top: 40px; }
  .direction { min-height: auto; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .hero-motion-card { top: 96px; right: 12px; width: min(52vw, 300px); border-radius: 16px; }
  .hero-drone-pass { width: 58%; left: 50%; }
  .hero { min-height: 840px; }
  .hero-copy { padding-top: 74px; }
  .eyebrow { font-size: 8px; }
  .display { margin-top: 20px; line-height: .84; }
  .hero-lower { display: block; margin-top: 28px; max-width: 83%; }
  .hero-intro { font-size: 13px; }
  .round-link { width: 66px; margin-top: 24px; }
  .hero-machine { width: 165vw; left: 53%; bottom: 25px; }
  .scroll-cue { bottom: 20px; }
  .manifesto { padding: 90px 0; }
  .manifesto-head { margin-bottom: 42px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-card, .manifesto-card-accent { min-height: 300px; grid-column: auto; }
  .manifesto-visual { background-position: 50% 14%; opacity: .58; }
  .card-label { bottom: 102px; }
  .capabilities { padding: 90px 0; }
  .capability { grid-template-columns: 40px 1fr; min-height: 0; }
  .cap-symbol { display: none; }
  .carbon-band { min-height: 580px; }
  .carbon-data { left: var(--pad); right: auto; gap: 10px; flex-wrap: wrap; }
  .carbon-data span + span::before { margin-right: 10px; }
  .campus { padding: 90px 0; }
  .campus-map { min-height: 410px; }
  .campus-copy { margin-top: 0; }
  .process-line { grid-template-columns: 1fr; }
  .process-line article, .process-line article:not(:first-child), .process-line article:last-child { border-right: 0; border-top: 1px solid var(--line); padding: 26px 0 32px; min-height: 0; }
  .process-line article:first-child { border-top: 0; }
  .process-line article::before { display: none; }
  .process-line h3 { margin-top: 24px; }
  .direction-copy h2 { font-size: clamp(120px, 46vw, 190px); }
  .direction-copy h2 span { font-size: .25em; }
  .q-system { width: 95vw; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
  .footer-top { align-items: flex-start; gap: 30px; flex-direction: column; }
  .footer-bottom { margin-top: 50px; align-items: flex-start; gap: 14px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Motion hero: lightweight 30-second seamless loop. */
.hero-machine { display: none !important; }

@media (max-width: 700px) {
  .hero-motion-card { top: 98px; right: 16px; width: min(52vw, 300px); border-radius: 16px; }
  .hero-video-shade {
    background:
      linear-gradient(90deg, rgba(4,7,10,.78) 0%, rgba(4,7,10,.48) 60%, rgba(4,7,10,.26) 100%),
      linear-gradient(180deg, rgba(3,5,8,.34) 0%, rgba(3,5,8,.06) 42%, rgba(5,7,10,.70) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-motion-bg, .hero-motion-glow, .hero-drone-pass, .hero-drone-trail { animation: none !important; }
  .hero-drone-pass { opacity: 0 !important; }
  .hero-drone-pass-up-a { transform: translate3d(-55%,18%,0) scale(.61) !important; opacity: 1 !important; }
}

/* v1.5 multilingual language selector */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.header-actions .header-meta { justify-self: auto; }
.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
}
.language-link,
.active-language-mobile {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  line-height: 1;
  opacity: .72;
  transition: opacity .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.language-link:hover,
.language-link:focus-visible,
.active-language-mobile:hover,
.active-language-mobile:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.05);
}
.language-link.is-active {
  opacity: 1;
  border-color: rgba(240,138,50,.58);
  background: rgba(240,138,50,.09);
  box-shadow: 0 0 0 1px rgba(240,138,50,.04) inset;
}
.active-language-mobile { display: none; }
.mobile-languages { display: none; }

/* Some translations are longer; keep the headline premium without forcing overflow. */
html[lang="de"] .display,
html[lang="pl"] .display,
html[lang="uk"] .display,
html[lang="fr"] .display,
html[lang="es"] .display,
html[lang="it"] .display { font-size: clamp(54px, 8.6vw, 132px); }
html[lang="uk"] .display { letter-spacing: -.052em; }

@media (max-width: 1230px) {
  .desktop-nav { gap: 24px; }
  .header-actions { gap: 10px; }
  .language-switcher { gap: 2px; }
  .language-link { width: 24px; height: 24px; font-size: 14px; }
  .header-meta { display: none; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 8px; }
  .desktop-nav,
  .language-switcher--desktop,
  .header-meta { display: none; }
  .header-actions { gap: 0; }
  .active-language-mobile {
    display: inline-grid;
    width: 36px;
    height: 36px;
    font-size: 19px;
    opacity: 1;
    border-color: rgba(255,255,255,.09);
    background: rgba(255,255,255,.025);
  }
  .menu-button { display: block; }
  .mobile-menu { overflow-y: auto; }
  .mobile-languages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
    padding-bottom: 74px;
  }
  .mobile-language {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px;
    min-height: 46px;
    padding: 9px 12px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 10px;
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #d8dcdf;
    background: rgba(255,255,255,.018);
  }
  .mobile-language.is-active {
    border-color: rgba(240,138,50,.50) !important;
    background: rgba(240,138,50,.08);
    color: #fff;
  }
  .mobile-language-flag { font-size: 19px !important; margin: 0 !important; color: inherit !important; }
  .mobile-menu > p { position: static; margin: 0 0 18px; }
}

@media (max-width: 640px) {
  html[lang="de"] .display,
  html[lang="pl"] .display,
  html[lang="uk"] .display,
  html[lang="fr"] .display,
  html[lang="es"] .display,
  html[lang="it"] .display { font-size: clamp(42px, 11.3vw, 70px); }
  .mobile-languages { grid-template-columns: 1fr 1fr; }
}

/* Deterministic SVG flags (avoid platform-dependent emoji rendering). */
.language-link,
.active-language-mobile {
  padding: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}
.flag-img {
  display: block;
  width: 19px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}
.active-language-mobile .flag-img { width: 22px; height: 15px; }
.mobile-language-flag {
  flex: 0 0 auto;
  display: block;
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}

/* v1.6 recruitment / Work at Scabro */
.header-careers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(240,138,50,.64);
  border-radius: 999px;
  background: rgba(240,138,50,.10);
  color: #fff;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .14em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.header-careers svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 1.7;
  transition: transform .22s ease;
}
.header-careers:hover,
.header-careers:focus-visible {
  background: rgba(240,138,50,.20);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.header-careers:hover svg,
.header-careers:focus-visible svg { transform: translateX(2px); }

.hero-lower { max-width: 890px; }
.hero-actions-main {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-careers-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(240,138,50,.68);
  background: rgba(240,138,50,.11);
  color: #f7f7f4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .24s ease, background .24s ease, border-color .24s ease;
}
.hero-careers-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 1.5;
  transition: transform .24s ease;
}
.hero-careers-link:hover,
.hero-careers-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(240,138,50,.19);
  border-color: var(--accent);
}
.hero-careers-link:hover svg,
.hero-careers-link:focus-visible svg { transform: translateX(3px); }

.mobile-jobs-link { color: var(--accent-soft) !important; }
.mobile-jobs-link span { color: var(--accent) !important; }

.careers {
  position: relative;
  overflow: hidden;
  padding: clamp(105px, 11vw, 180px) 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(240,138,50,.11), transparent 28%),
    linear-gradient(135deg, #090c10 0%, #07090c 58%, #0e0d0d 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.careers::before {
  content: "";
  position: absolute;
  width: min(54vw, 780px);
  aspect-ratio: 1;
  right: -18vw;
  top: -28vw;
  border: 1px solid rgba(240,138,50,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.012), 0 0 0 180px rgba(255,255,255,.008);
  pointer-events: none;
}
.careers-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
}
.careers-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  gap: clamp(56px, 9vw, 140px);
  align-items: center;
}
.careers .section-index { color: #7d858b; }
.careers-copy h2 {
  margin: 26px 0 30px;
  font-size: clamp(54px, 7.9vw, 124px);
  line-height: .82;
  letter-spacing: -.065em;
  font-weight: 700;
}
.careers-copy h2 span { color: #f4f4f1; }
.careers-copy h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240,138,50,.82);
  text-stroke: 1px rgba(240,138,50,.82);
}
.careers-lead {
  max-width: 680px;
  margin: 0;
  color: #9ba2a7;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.72;
}
.careers-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  margin-top: 36px;
  padding: 0 22px 0 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #111214;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}
.careers-cta svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .24s ease;
}
.careers-cta:hover,
.careers-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-soft);
  box-shadow: 0 14px 42px rgba(240,138,50,.16);
}
.careers-cta:hover svg,
.careers-cta:focus-visible svg { transform: translateX(4px); }

.careers-panel {
  position: relative;
  min-height: 475px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 2px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(10,13,16,.74);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.careers-panel::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 88px;
  height: 1px;
  background: rgba(255,255,255,.10);
}
.careers-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  color: #666f76;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.careers-panel-top strong {
  color: #d4d7d9;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-align: right;
}
.careers-talent {
  margin: 62px 0 22px;
  color: #f2f2ef;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 560;
}
.careers-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.careers-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #aeb5ba;
  font-size: 9px;
  letter-spacing: .08em;
}
.careers-address {
  max-width: 390px;
  margin: 34px 0 8px;
  color: #f2f2ef;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}
.careers-phone {
  max-width: 390px;
  margin: 0 0 10px;
  color: #f2f2ef;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}
.careers-phone a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: color .2s ease, border-color .2s ease;
}
.careers-phone a:hover,
.careers-phone a:focus-visible {
  color: var(--accent-soft);
  border-color: var(--accent);
}
.careers-note {
  max-width: 390px;
  margin: 0 0 72px;
  color: #767e84;
  font-size: 13px;
  line-height: 1.65;
}
.careers-coordinate {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5b6369;
  font-size: 8px;
  letter-spacing: .16em;
}
.careers-coordinate i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(240,138,50,.65);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-careers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7dadc;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-careers span { color: var(--accent); }
.footer-careers:hover,
.footer-careers:focus-visible { color: #fff; }

@media (max-width: 1320px) {
  .header-careers { padding-inline: 10px; font-size: 8px; letter-spacing: .10em; }
}

@media (max-width: 980px) {
  .header-careers { display: none; }
  .hero-lower { max-width: 720px; }
  .careers-layout { grid-template-columns: 1fr; }
  .careers-panel { min-height: 400px; }
}

@media (max-width: 640px) {
  .hero-lower { max-width: 92%; }
  .hero-actions-main { margin-top: 24px; align-items: flex-start; flex-wrap: wrap; }
  .hero-careers-link { min-height: 46px; padding-inline: 16px; font-size: 9px; }
  .careers { padding: 92px 0; }
  .careers-layout { gap: 48px; }
  .careers-copy h2 { font-size: clamp(48px, 15vw, 74px); }
  .careers-panel { min-height: 0; padding: 24px; }
  .careers-panel::before { left: 24px; right: 24px; top: 82px; }
  .careers-panel-top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .careers-panel-top strong { text-align: left; }
  .careers-talent { margin-top: 56px; }
  .careers-address { margin-top: 30px; }
  .careers-note { margin-bottom: 66px; }
  .careers-coordinate { left: 24px; right: 24px; bottom: 22px; }
  .footer-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
}
