@font-face {
  font-family: Geist;
  src: url('/assets/geist.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  /* "only light" also opts out of browser-forced dark modes (Chrome/Edge auto dark). */
  color-scheme: only light;
  --ink: #092335;
  --navy: #071724;
  --deep: #04111c;
  --paper: #f5f7f5;
  --muted: #465b65;
  --teal: #086b70;
  --aqua: #6ef0dc;
  --line: #cddbd9;
  --wrap: min(1248px, calc(100% - clamp(40px, 9.1vw, 144px)));
  font-family: Geist, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1ca998; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  color: #eaf4f6;
  background: #071724;
  border-bottom: 1px solid #263b45;
}
.header-row { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-block; flex: none; }
.brand img { height: auto; }
.navigation { display: flex; gap: clamp(17px, 2.45vw, 40px); align-items: center; }
.navigation a { text-decoration: none; font-size: .88rem; font-weight: 560; white-space: nowrap; }
.navigation a:hover, .footer-links a:hover { color: var(--aqua); }
.navigation .language { color: var(--aqua); padding-left: 20px; border-left: 1px solid #3c5058; }
.navigation :is(.header-contact, .header-careers) { display: flex; gap: 13px; border: 1px solid #547476; padding: 11px 15px; border-radius: 4px; }
.menu { border: 1px solid #547476; border-radius: 4px; padding: 9px 12px; color: white; background: transparent; }

.hero { position: relative; isolation: isolate; min-height: 660px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 87px 0 120px; color: #f3fafb; background: #060f19; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 50% 34%; filter: brightness(1.24) saturate(.82); }
.hero-shade {
  background: linear-gradient(90deg, #06131df7 0%, #06131de3 26%, #06131d6b 54%, #06131d08 95%),
              linear-gradient(0deg, #06131dca 0%, transparent 27%, transparent 78%, #06131d75);
}
.label { margin: 0 0 16px; color: var(--teal); font-size: .75rem; font-weight: 720; line-height: 1.4; letter-spacing: .135em; text-transform: uppercase; }
.hero .label, .contact .label { color: var(--aqua); }
.hero-label { display: flex; gap: 12px; align-items: center; }
.hero-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--aqua); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(4rem, 8.4vw, 8rem); font-weight: 650; letter-spacing: -.075em; line-height: .93; }
h1 em { color: var(--aqua); font-style: normal; }
.hero-intro { max-width: 32rem; color: #e1eaef; font-size: clamp(1.05rem, 1.55vw, 1.32rem); line-height: 1.55; margin-bottom: 31px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 49px; padding: 12px 17px; border-radius: 4px; border: 1px solid transparent; font-size: .91rem; font-weight: 680; text-decoration: none; }
.primary { color: #092335; background: var(--aqua); }
.primary:hover { background: #9ff8e9; }
.secondary { color: #f3fafb; border-color: #839396; background: #0b1d28ad; }
.secondary:hover { border-color: var(--aqua); }
.photo-credit { position: absolute; bottom: 23px; left: 0; right: 0; text-align: right; font-size: .72rem; color: #d2e2e8; }
.photo-credit a { background: #06131dcf; padding: 4px 6px; text-underline-offset: 3px; }
.photo-credit span { margin-inline: 2px; }

h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.3vw, 4.45rem); line-height: 1.03; letter-spacing: -.065em; font-weight: 645; text-wrap: balance; }
h3 { margin-bottom: 12px; line-height: 1.12; letter-spacing: -.04em; }
.intro { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(25px, 7vw, 104px); padding-block: 92px; }
.intro-copy { align-self: end; }
.intro-copy p, .project-intro > p, .contact p:not(.label) { font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.6; }
.intro-copy p, .project-intro > p { margin-bottom: 16px; color: var(--muted); }
.intro-copy p:last-child, .project-intro > p { margin-bottom: 0; }
.expertise { background: #e7efed; padding-block: 77px 84px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4.5vw, 64px); margin-top: 40px; }
.service-grid article { padding-top: 20px; border-top: 2px solid #2a8888; }
.service-grid h3 { font-size: 1.42rem; }
.service-grid p, .project > p:not(.label), details p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }

.projects { padding-block: 88px; }
.project-intro { display: grid; grid-template-columns: 1.23fr 1fr; gap: 32px; align-items: end; margin-bottom: 35px; }
.bridge { margin: 0; min-height: 250px; position: relative; isolation: isolate; background: #213f47; overflow: hidden; }
.bridge img { width: 100%; height: clamp(250px, 31vw, 408px); object-fit: cover; object-position: center 45%; }
.bridge figcaption { position: absolute; inset: auto auto 16px 16px; color: white; padding: 6px 9px; background: #071724e8; font-size: .78rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 23px; gap: 23px; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); padding: clamp(20px, 3.3vw, 44px); background: #fff; }
.project h3 { font-size: clamp(2.3rem, 4.3vw, 4.1rem); margin-bottom: 4px; }
.project .project-name { margin-bottom: 18px !important; font-size: .86rem; font-weight: 620; }
details { margin-block: 21px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { cursor: pointer; color: var(--ink); padding: 12px 0; font-weight: 620; }
details p { padding-bottom: 13px; }
.text-link { display: inline-block; align-self: flex-start; margin-top: auto; color: var(--teal); text-underline-offset: 4px; font-weight: 650; }

.support { padding-block: 57px; border-top: 1px solid var(--line); }
.support h2 { font-size: clamp(1.8rem, 2.95vw, 2.7rem); }
.support ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 24px 0 0; list-style: none; }
.support li { padding-top: 17px; border-top: 1px solid var(--line); }
.support li a { display: inline-block; font-size: 1.1rem; font-weight: 650; text-decoration: none; }
.support li a:hover { text-decoration: underline; }
.support-logo {
  width: min(176px, 100%);
  height: 104px;
  margin-bottom: 12px;
  padding: 9px 12px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.support li a span { color: var(--teal); margin-left: 3px; }
.support li > span { display: block; margin-top: 5px; color: var(--muted); font-size: .9rem; }

.contact { color: #eff7f8; background: var(--navy); border-top: 1px solid #2d5d62; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px; padding-block: 80px; }
.contact p:not(.label) { margin: 17px 0 0; color: #c3d4d9; max-width: 37rem; }
.contact-action { justify-self: end; }
.email { display: block; margin-top: 14px; font-size: .89rem; color: #d9ebef; text-underline-offset: 4px; overflow-wrap: anywhere; }
footer { background: var(--deep); color: #d0dee2; border-top: 1px solid #324651; }
.footer-inner { min-height: 93px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: .83rem; }
.footer-links a { text-decoration: none; }

@media (max-width: 950px) {
  .hero { min-height: 615px; }
  .navigation { gap: 18px; }
  .navigation .language { padding-left: 12px; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 84px; }
  .header-row { min-height: 70px; flex-wrap: wrap; }
  .brand img { width: 118px; }
  .navigation { width: 100%; padding-bottom: 14px; flex-wrap: wrap; }
  .has-js .navigation { display: none; position: absolute; inset: 100% 0 auto; background: #071724; padding: 12px 20px 23px; box-shadow: 0 8px 14px #0004; }
  .has-js .navigation.open { display: grid; gap: 0; }
  .navigation a { padding: 10px; }
  .navigation .language { border-left: 0; }
  .navigation :is(.header-contact, .header-careers) { justify-self: start; margin-top: 6px; }
  .hero { min-height: 600px; padding-block: 75px 100px; }
  .hero-shade { background: linear-gradient(90deg, #06131df5, #06131da4 58%, #06131d55), linear-gradient(0deg, #06131d, transparent 29%); }
  .hero-image { object-position: 59% 50%; }
  .intro, .expertise, .projects, .contact-grid { padding-block: 58px; }
  .intro, .project-intro, .contact-grid { grid-template-columns: 1fr; gap: 17px; }
  .contact-action { justify-self: start; margin-top: 11px; }
  .service-grid { gap: 19px; }
}
@media (max-width: 540px) {
  .hero { min-height: 580px; }
  h1 { font-size: clamp(3.42rem, 13vw, 5rem); }
  .hero-image { object-position: 56% 50%; }
  .photo-credit { text-align: left; }
  .service-grid, .project-grid, .support ul { grid-template-columns: 1fr; }
  .service-grid article, .support li { padding-top: 13px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.arrow {
  display: inline-block;
  position: relative;
  width: .63em;
  height: .63em;
  flex: none;
  align-self: center;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  vertical-align: .08em;
}
.arrow::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: .83em;
  height: 1.5px;
  background: currentColor;
  transform-origin: right center;
  transform: rotate(-45deg);
}
.arrow-up { transform: rotate(-45deg); margin-left: 3px; }
.menu-icon {
  display: inline-block;
  width: .8em;
  height: .58em;
  border-block: 1.5px solid currentColor;
  margin-left: 5px;
}

.project-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 22px 0 38px;
}
.project-jump a, .related-projects a {
  color: var(--teal);
  text-underline-offset: 4px;
  font-weight: 650;
}
.project-area + .project-area {
  margin-top: clamp(40px, 6vw, 74px);
  padding-top: clamp(30px, 5vw, 62px);
  border-top: 1px solid var(--line);
}
.project-area .project-intro h3 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
}
.road-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.drone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project h4 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.6vw, 3.2rem);
  letter-spacing: -.065em;
  line-height: 1.04;
}
.project .text-link { padding-top: 24px; }

.detail-hero {
  padding-block: clamp(46px, 7vw, 98px);
  color: #f3fafb;
  background: var(--navy);
}
.detail-back {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--aqua);
  text-underline-offset: 4px;
}
.detail-hero h1 { margin: 0; }
.detail-lead {
  max-width: 55ch;
  margin: 18px 0 0;
  color: #d2e2e8;
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.5;
}
.detail-body { padding-block: clamp(42px, 6vw, 78px); }
.detail-body > section, .detail-body > p {
  max-width: 76ch;
  margin: 0 0 32px;
}
.detail-body .bridge { margin-bottom: 36px; }
.detail-body h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  text-wrap: initial;
}
.detail-body section p {
  color: var(--muted);
  line-height: 1.65;
}
.related-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 780px) {
  .road-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .road-grid { grid-template-columns: 1fr; }
}
.arrow-back { transform: rotate(-135deg); margin-right: .35em; }

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid #385661;
}
.project-facts dt {
  color: #a9c6cd;
  font-size: .83rem;
  font-weight: 600;
}
.project-facts dd {
  margin: 5px 0 0;
  font-weight: 650;
}
.project-facts small {
  display: block;
  margin-top: 3px;
  color: #a9c6cd;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 780px) {
  .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .project-facts { grid-template-columns: 1fr; gap: 14px; }
}

.gambe-figure {
  margin: 22px 0 32px;
  border: 1px solid var(--line);
  background: white;
}
.gambe-figure img { width: 100%; height: auto; }
.gambe-figure figcaption {
  padding: 11px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}
.gambe-app-stage {
  display: grid;
  place-items: center;
  padding: 25px 16px;
  background: radial-gradient(ellipse at 50% 65%, #295e65, #0d2939 62%, #071724);
}
.gambe-phone {
  width: min(100%, 280px);
  padding: 8px;
  border: 1px solid #779399;
  border-radius: 28px;
  background: #15252b;
  box-shadow: 0 16px 28px #030c12a0, inset 0 0 0 2px #33464c;
}
.gambe-screen {
  overflow: hidden;
  border-radius: 20px;
  background: #eff5f6;
  color: var(--ink);
  font-size: .76rem;
}
.gambe-app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 15px 13px;
  background: #0c3950;
  color: #f4feff;
  font-size: 1rem;
  font-weight: 700;
}
.gambe-app-title span {
  width: 19px;
  height: 10px;
  border-top: 2px solid #62e8d8;
  border-radius: 50% 50% 0 0;
}
.gambe-app-body { padding: 10px; }
.gambe-app-block, .gambe-app-status {
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid #d5e3e5;
  border-radius: 7px;
  background: white;
}
.gambe-app-block:last-child { margin-bottom: 0; }
.gambe-app-status { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.gambe-app-status b { margin-left: auto; color: #0a7259; }
.gambe-app-label { margin-bottom: 5px; font-weight: 700; }
.gambe-app-block ul, .gambe-app-block dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 4px 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-wrap: anywhere;
}
.gambe-app-block dl { justify-content: space-between; }
.gambe-app-block dd { margin: 0; }
.gambe-app-block .gambe-app-zones { grid-template-columns: 1fr; }
.gambe-app-stage i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #168a68;
  vertical-align: .1em;
}

.vibra-architecture {
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  background: white;
}
/* Horizontal flow on wide screens: [RSU 1 / RSU 2] - COBU - RIMIS (on board) - CSC. */
.vibra-arch { display: flex; align-items: center; padding: clamp(14px, 2.4vw, 26px); }
.vibra-arch-onboard {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 38px 14px 14px;
  border: 1px dashed #9fbcbc;
  border-radius: 6px;
}
.vibra-arch-zone {
  position: absolute;
  top: 10px;
  left: 14px;
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vibra-arch-rsus { display: grid; gap: 12px; flex: 0 1 190px; }
.vibra-arch-node {
  position: relative;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #abc5c5;
  border-radius: 4px;
  background: #e7efed;
  color: var(--ink);
  font-size: .84rem;
  line-height: 1.35;
}
.vibra-arch-node strong { display: block; font-size: 1rem; }
.vibra-arch-node > span { display: block; font-weight: 600; }
.vibra-arch-node small { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
.vibra-arch-node ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: .78rem; }
.vibra-arch-node li + li { margin-top: 2px; }
.vibra-arch-num {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #70e5ce;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
}
.node-cobu { flex: 0 1 220px; border-color: var(--navy); background: var(--navy); color: #eff7f8; }
.node-cobu > span, .node-cobu ul { color: #c3d4d9; }
.vibra-arch-node > .vibra-arch-num { display: grid; color: var(--navy); font-weight: 700; line-height: 1; }
.node-cobu .vibra-arch-num { background: #ffcf74; }
.node-rimis { flex: 0 1 170px; border-style: dashed; background: #f3f6f6; }
.node-rimis .vibra-arch-num { background: #c9d3d8; }
.node-csc { flex: 0 0 150px; border-color: #63c7b5; background: #dff5f1; text-align: center; }
.vibra-arch-link {
  position: relative;
  flex: 1 1 60px;
  min-width: 56px;
  align-self: stretch;
}
.vibra-arch-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 6px;
  border-top: 2px solid #547476;
}
.vibra-arch-link.wireless::before { border-top-style: dashed; }
.vibra-arch-onboard > .vibra-arch-link.wired { min-width: 108px; }
.vibra-arch-link::after, .vibra-arch-head-start {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  border-left: 8px solid #547476;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transform: translateY(calc(-50% + 1px));
}
.vibra-arch-head-start { right: auto; left: 0; border-left: 0; border-right: 8px solid #547476; }
.vibra-arch-link span {
  position: absolute;
  bottom: calc(50% + 7px);
  left: 2px;
  right: 2px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.25;
  text-align: center;
}
.vibra-arch-note { margin: 0; padding: 0 clamp(14px, 2.4vw, 26px) 14px; color: var(--muted); font-size: .82rem; }
.vibra-architecture figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}
.detail-body > .vibra-wide { max-width: none; }
.vibra-wide > h2, .vibra-wide > h3, .vibra-wide > p { max-width: 76ch; }

/* Vertical flow on narrow screens. */
@media (max-width: 900px) {
  .vibra-arch, .vibra-arch-onboard { flex-direction: column; align-items: stretch; }
  .vibra-arch-rsus, .node-cobu, .node-rimis, .node-csc { flex: none; }
  .vibra-arch-rsus { grid-template-columns: 1fr 1fr; }
  .node-csc { text-align: left; }
  .vibra-arch-link { flex: none; min-height: 50px; }
  .vibra-arch-link::before { top: 3px; bottom: 7px; left: 22px; right: auto; border-top: 0; border-left: 2px solid #547476; }
  .vibra-arch-link.wireless::before { border-left-style: dashed; }
  .vibra-arch-link::after { top: auto; bottom: 0; right: auto; left: 18px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid #547476; border-bottom: 0; transform: none; }
  .vibra-arch-head-start { top: 0; left: 18px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid #547476; border-top: 0; transform: none; }
  .vibra-arch-link span { top: 50%; bottom: auto; left: 36px; right: 0; text-align: left; transform: translateY(-50%); }
}
@media (max-width: 480px) { .vibra-arch-rsus { grid-template-columns: 1fr; } }

.vibra-sim {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  background: white;
}
.vibra-sim canvas {
  display: block;
  width: 100%;
  height: clamp(240px, 48vw, 400px);
  background: #102935;
}
.vibra-sim-controls, .vibra-sim-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 12px 14px;
}
.vibra-sim-controls button {
  padding: 7px 10px;
  border: 1px solid #547476;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font-size: .84rem;
  cursor: pointer;
}
.vibra-sim-controls button:hover { background: #e7efed; }
.vibra-sim-legend {
  padding-top: 0;
  list-style: none;
  color: var(--ink);
  font-size: .84rem;
}
.vibra-sim-legend span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  place-items: center;
  border-radius: 50%;
  background: #70e5ce;
  font-weight: 700;
}
.vibra-sim-legend li:nth-child(3) span { background: #ffcf74; }
.vibra-sim-legend li:nth-child(4) span { background: #c9d3d8; }
.vibra-sim figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.contact-page {
  max-width: 760px;
  padding-block: clamp(35px, 6vw, 72px);
}
.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(17px, 4vw, 34px);
  background: white;
  border: 1px solid var(--line);
}
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-form label {
  display: block;
  margin-bottom: 7px;
  font-weight: 650;
}
.contact-form input:not([hidden]), .contact-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid #789092;
  border-radius: 4px;
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.contact-form button { justify-self: start; cursor: pointer; }
.contact-form p, .contact-direct {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.contact-form p { font-size: .9rem; }
.contact-page a { color: var(--teal); text-underline-offset: 3px; }
.contact-direct { margin-top: 22px; }
.contact-direct a { overflow-wrap: anywhere; }
.contact-confirmation { display: none; }
.contact-confirmation:target {
  display: block;
  padding: 14px 17px;
  background: #e7efed;
  border-left: 3px solid var(--teal);
  font-weight: 650;
}
@media (max-width: 540px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

/* Publication polish: readable labels, keyboard targets, narrow layouts. */
.label { font-size: .875rem; }
.navigation a, .footer-links, .project-facts dt, .vibra-sim-controls button, .vibra-sim-legend { font-size: .875rem; }
.navigation a { min-height: 44px; display: inline-flex; align-items: center; }
.vibra-sim-controls button { min-height: 44px; }
textarea, select { font: inherit; }
.contact-form input, .contact-form textarea { font-size: 1rem; }
.contact-page, .detail-body, .project-facts dd { overflow-wrap: anywhere; }
.error-page { min-height: 100vh; }
.error-page .brand { margin-bottom: 3rem; }
.error-page .actions { margin-block: 2rem 4rem; }
.error-page h2 { font-size: 2rem; margin-bottom: 1rem; }
.error-page p { line-height: 1.6; }

.contact-feedback { margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid var(--teal); background: #e7efed; line-height: 1.6; }
.contact-feedback ul { margin: 0; padding-left: 1.2rem; }
.contact-error { border-color: #a52b27; background: #fff0ed; color: #70211d; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Company details supplied by Space for Life SRL. */
.company-details { font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.company-details p { margin: 0; }
.company-details .company-name { font-weight: 650; }
.company-details address { font-style: normal; }

/* Four-language selector: local flags, native disclosure, accessible links. */
.language-switcher { position: relative; flex: none; margin: 0; border: 0; }
.language-switcher summary { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; padding: 9px 12px; border: 1px solid #547476; border-radius: 4px; color: #eaf4f6; font-size: .875rem; font-weight: 560; cursor: pointer; list-style: none; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher img { flex: none; width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px #ffffff40; }
.language-chevron { width: 7px; height: 7px; margin: -3px 2px 0 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.language-switcher[open] .language-chevron { transform: rotate(225deg); margin-top: 4px; }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; width: 180px; margin: 0; padding: 6px; list-style: none; border: 1px solid #547476; border-radius: 6px; background: #071724; box-shadow: 0 12px 28px #0005; }
.navigation .language-options a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px; border-radius: 3px; text-decoration: none; }
.language-options a:hover, .language-options a:focus-visible, .language-options a[aria-current] { color: var(--aqua); background: #163541; }
@media (min-width: 781px) and (max-width: 1150px) { .navigation { gap: 12px; } .navigation a { font-size: .875rem; } .header-row { gap: 18px; } }
@media (min-width: 781px) and (max-width: 1000px) { .header-row { flex-wrap: wrap; padding-block: 12px; } .navigation { width: 100%; justify-content: space-between; } }
@media (max-width: 780px) { .language-switcher { justify-self: start; } .language-options { position: static; width: min(240px, calc(100vw - 60px)); margin-top: 6px; box-shadow: none; } }

/* Drone project overview: preserve the aircraft in the landscape crop. */
.drone-overview img { object-position: center top; }
.drone-overview figcaption { max-width: calc(100% - 32px); line-height: 1.4; }

/* Client logos: original brand artwork on a consistent, responsive surface. */
.clients { padding-block: 57px; border-top: 1px solid var(--line); }
.clients h2 { font-size: clamp(1.8rem, 2.95vw, 2.7rem); }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 26px 0 0; list-style: none; }
.client-grid li { min-width: 0; }
.client-card { display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: 20px; height: 100%; min-height: 184px; padding: 24px 18px 20px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); text-align: center; text-decoration: none; }
.client-card:hover { border-color: var(--teal); }
.client-card img { width: min(190px, 100%); height: 88px; object-fit: contain; }
.client-card span { font-size: 1.1rem; font-weight: 650; }
@media (max-width: 900px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .clients { padding-block: 42px; } .client-grid { grid-template-columns: 1fr; gap: 14px; } }

/* Complete registered-company details, readable on narrow screens. */
.company-details { min-width: 0; max-width: 46rem; }
.company-registration { text-wrap: pretty; }

/* Careers and applicant notice */
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.cv-acknowledgement { display: flex; align-items: flex-start; gap: .75rem; }
.contact-form .cv-acknowledgement input { width: 1.25rem; min-width: 1.25rem; height: 1.25rem; margin-top: .2rem; }
.cv-privacy { margin-top: 3rem; max-width: 56rem; scroll-margin-top: 7rem; }
.cv-privacy h2 { font-size: 1.6rem; }
.cv-privacy p { margin-top: 1rem; }
.contact-form input[type="file"] { max-width: 100%; padding: .8rem; }
.contact-form[inert] { opacity: .8; margin-bottom: 1.5rem; }

.careers-callout { padding-bottom: 4rem; }
.careers-callout p { margin: 1rem 0 1.5rem; max-width: 48rem; }

/* Independent careers navigation and applicant fields. */
.navigation { gap: clamp(12px, 1.65vw, 24px); }
.field-hint { font-size: .9rem; line-height: 1.5; margin: .3rem 0 .75rem; }
.contact-form button:disabled { opacity: .55; cursor: not-allowed; }
@media (min-width: 781px) and (max-width: 1200px) {
 .header-row { flex-wrap: wrap; padding-block: 12px; }
 .navigation { width: 100%; justify-content: space-between; }
}
.vibra-sim canvas { cursor: grab; }
.vibra-sim canvas:active { cursor: grabbing; }
.vibra-sim-hint { margin: 0; padding: 0 14px 12px; color: var(--muted); font-size: .84rem; }

/* Form fields: explicit colours so forced dark modes and OS themes cannot darken them. */
.contact-form input:not([type="checkbox"]):not([hidden]), .contact-form textarea {
  background-color: #fff;
  color: var(--ink);
  color-scheme: only light;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6b7f86; opacity: 1; }
.contact-form input[type="file"] { background-color: #f5f7f5; cursor: pointer; }
.contact-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid #547476;
  border-radius: 4px;
  background: #e7efed;
  color: var(--ink);
  font: inherit;
  font-weight: 620;
  cursor: pointer;
}
.contact-form input[type="file"]::file-selector-button:hover { background: #d8e6e3; }
.contact-form input[type="checkbox"] { accent-color: var(--teal); background-color: #fff; }
/* The acknowledgement label must stay a row: checkbox beside its text. */
.contact-form .cv-acknowledgement { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 0; font-weight: 500; }
.contact-form .cv-acknowledgement input { margin: .15rem 0 0; padding: 0; min-height: 0; flex: none; }

/* VIBRA project page and drive-by simulation */
.vibra-acronym { display: block; margin-bottom: 6px; color: var(--aqua); font-weight: 650; }
.vibra-sim .vibra-sim-scene { height: clamp(280px, 46vw, 500px); }
.vibra-sim .vibra-sim-chart { height: 184px; background: white; border-top: 1px solid var(--line); cursor: default; }
.vibra-sim-status {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
  font-size: .92rem;
  min-height: 2.6em;
}
.vibra-sim-status::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: 1px;
}
.vibra-sim-status[data-zone="pothole"]::before { background: #ff8a5b; }
.vibra-sim-hint { margin: 0; padding: 0 14px 12px; color: var(--muted); font-size: .84rem; }
.vibra-sim-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 10px 14px 4px;
  list-style: none;
  color: var(--muted);
  font-size: .84rem;
}
.vibra-sim-zones span { display: inline-block; width: 22px; height: 10px; margin-right: 7px; vertical-align: 0; border-radius: 2px; }
.vibra-sim-zones .zone-approach { background: rgba(255, 207, 116, .55); }
.vibra-sim-zones .zone-span { background: rgba(110, 240, 220, .55); }
.vibra-sim-zones .zone-pothole { width: 0; height: 12px; border-left: 2px dashed #ff8a5b; border-radius: 0; }
.vibra-sim-controls button[aria-pressed="true"] { background: #e7efed; }

/* CoCAS */
.cocas-arch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.15fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr);
  grid-template-areas: "s ls core la a . ." "r lr core le le le e";
  row-gap: 14px;
  align-items: center;
  padding-top: 52px;
}
.cocas-arch .c-s { grid-area: s; } .cocas-arch .c-r { grid-area: r; }
.cocas-arch .c-ls { grid-area: ls; } .cocas-arch .c-lr { grid-area: lr; }
.cocas-arch .c-core { grid-area: core; } .cocas-arch .c-la { grid-area: la; }
.cocas-arch .c-le { grid-area: le; } .cocas-arch .c-a { grid-area: a; } .cocas-arch .c-e { grid-area: e; }
.cocas-arch > .vibra-arch-link { min-width: 0; height: 100%; }
.cocas-arch > .vibra-arch-node, .cocas-arch > .vibra-arch-link { z-index: 1; }
.cocas-zone {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  align-self: stretch;
  margin: -40px -12px -12px;
  border: 1px dashed #9fbcbc;
  border-radius: 6px;
}
.cocas-arch .cocas-zone-label { position: static; grid-column: 1 / 6; grid-row: 1; align-self: start; margin-top: -30px; z-index: 1; }
.cocas-arch .node-csc { text-align: left; }
.node-csc .vibra-arch-num { background: #b5e6dc; }
.cocas-list { padding-left: 1.2em; }
.cocas-list li + li { margin-top: 6px; }
.cocas-note { margin-top: 18px; padding: 12px 16px; border-left: 4px solid #ffcf74; background: #fff8ea; color: var(--navy); font-size: .92rem; }
@media (max-width: 900px) {
  .cocas-arch { grid-template-columns: 1fr 1fr; grid-template-areas: "s r" "ls lr" "core core" "la le" "a le" ". e"; row-gap: 0; column-gap: 12px; align-items: stretch; }
  .cocas-zone { grid-column: 1 / 3; grid-row: 1 / 6; margin: -40px -8px 6px; }
  .cocas-arch .cocas-zone-label { grid-column: 1 / 3; }
  .cocas-arch > .vibra-arch-link { height: auto; min-height: 50px; }
}
.cocas-3d canvas { background: #e9eff0; cursor: grab; }
.cocas-3d-hint { align-self: center; color: var(--muted); font-size: .84rem; }
/* Drawn connectors (cocas.js): inclined arrows from box to box; the CSS arrows stay as a no-JS fallback. */
.cocas-arch.has-wires > .vibra-arch-link::before, .cocas-arch.has-wires > .vibra-arch-link::after,
.cocas-arch.has-wires > .vibra-arch-link .vibra-arch-head-start, .cocas-arch.has-wires > .vibra-arch-link span { visibility: hidden; }
.cocas-wires { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cocas-wires path { fill: none; stroke: #547476; stroke-width: 2; }
.cocas-wires marker path { fill: #547476; stroke: none; }
.cocas-wires text { fill: var(--muted); font-size: 12px; paint-order: stroke; stroke: white; stroke-width: 4px; stroke-linejoin: round; }
