/* GloboTech V5 Design System */
:root {
  --bg: #08090d;
  --bg-2: #0a0b10;
  --panel: #11141c;
  --panel-2: #151a24;
  --line: rgba(192, 200, 208, .17);
  --line-blue: rgba(0, 210, 255, .28);
  --text: #c8d0d8;
  --muted: #82909e;
  --white: #f5f8fb;
  --blue: #00d2ff;
  --blue-2: #0066ff;
  --green: #67e8a4;
  --amber: #f7c66a;
  --red: #ff6b6b;
  --shadow: 0 22px 70px rgba(0,0,0,.38);
  --radius: 10px;
  --header-h: 78px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: rgba(0,210,255,.25); color: var(--white); }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 999; background: var(--blue); color: #001018; padding: 10px 14px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.display { font-family: Rajdhani, "Arial Narrow", "Segoe UI", sans-serif; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .2em; font: 700 .78rem/1.2 Rajdhani, sans-serif; }
.muted { color: var(--muted); }
.blue { color: var(--blue); }
.text-glow { text-shadow: 0 0 24px rgba(0,210,255,.36); }
.grid-bg { background-image: linear-gradient(rgba(0,210,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,210,255,.045) 1px, transparent 1px); background-size: 34px 34px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid transparent; transition: .25s ease; background: rgba(8,9,13,.64); backdrop-filter: blur(9px); }
.site-header.scrolled { background: rgba(8,9,13,.95); border-color: var(--line-blue); box-shadow: 0 10px 38px rgba(0,0,0,.35); backdrop-filter: blur(16px); }
.navbar { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; font: 800 1.3rem Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 0 8px rgba(0,210,255,.4)); }
.brand span span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-link { position: relative; padding: 26px 0; font: 700 .78rem Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: #b9c3ce; transition: .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); }
.nav-link::after { content:""; position:absolute; left:0; right:100%; bottom:18px; height:1px; background:var(--blue); transition:.25s; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right:0; }
.nav-drop { position: relative; }
.drop-panel { position:absolute; top:64px; left:-22px; min-width:220px; padding:10px; opacity:0; pointer-events:none; transform:translateY(8px); background:rgba(10,11,16,.98); border:1px solid var(--line-blue); box-shadow:var(--shadow); transition:.2s; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity:1; pointer-events:auto; transform:none; }
.drop-panel a { display:block; padding:10px 12px; color:#b9c3ce; font:700 .78rem Rajdhani,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.drop-panel a:hover { color:var(--blue); background:rgba(0,210,255,.06); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--line-blue); color: var(--white); background: linear-gradient(90deg, rgba(0,102,255,.65), rgba(0,210,255,.34)); font: 800 .76rem Rajdhani,sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.mobile-toggle { display:none; width:42px; height:42px; border:1px solid var(--line); background:transparent; align-items:center; justify-content:center; flex-direction:column; gap:5px; cursor:pointer; }
.mobile-toggle span { width:20px; height:2px; background:#c9d2db; }
.mobile-panel { display:none; border-top:1px solid var(--line-blue); padding:12px 0 20px; }
.mobile-panel a { display:block; padding:11px 0; text-transform:uppercase; font:700 .86rem Rajdhani,sans-serif; letter-spacing:.12em; }
.mobile-panel a:hover { color:var(--blue); }
.mobile-panel.open { display:block; }

/* Hero */
.hero { position:relative; min-height: 76vh; padding: calc(var(--header-h) + 80px) 0 92px; display:flex; align-items:center; overflow:hidden; border-bottom:1px solid var(--line); }
.hero.home { min-height:100vh; }
.hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.hero-overlay { position:absolute; inset:0; z-index:1; background: linear-gradient(90deg, rgba(8,9,13,.96) 0%, rgba(8,9,13,.77) 48%, rgba(8,9,13,.52) 100%), linear-gradient(0deg, rgba(8,9,13,.95), transparent 55%); }
.hero-content { position:relative; z-index:2; max-width:820px; }
.hero h1 { color:var(--white); margin:16px 0 20px; font: 800 clamp(2.7rem, 7vw, 6.2rem)/.93 Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:-.035em; }
.hero.compact h1 { font-size:clamp(2.7rem,6vw,5.1rem); }
.hero p.lead { max-width:720px; margin:0 0 32px; font-size:clamp(1rem,2vw,1.22rem); color:#b8c3cd; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 22px; border:1px solid var(--line); font:800 .86rem Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:.12em; transition:.22s; cursor:pointer; }
.btn.primary { border-color:rgba(0,210,255,.58); color:white; background:linear-gradient(90deg,#075fe5,#00bde7); box-shadow:0 0 24px rgba(0,102,255,.25); }
.btn.secondary { background:rgba(10,11,16,.5); color:#d3dbe3; }
.btn:hover { transform:translateY(-2px); border-color:var(--blue); color:white; }
.hero-meta { display:flex; flex-wrap:wrap; gap:10px 24px; margin-top:26px; color:#8d99a6; font:600 .78rem Rajdhani,sans-serif; letter-spacing:.09em; text-transform:uppercase; }

/* Sections */
.section { padding: 92px 0; position:relative; border-bottom:1px solid rgba(192,200,208,.08); }
.section.alt { background:#0a0b10; }
.section-title { margin:10px 0 16px; color:var(--white); font:800 clamp(2.2rem,5vw,4.2rem)/1 Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:-.02em; }
.section-lead { max-width:760px; color:#9eabb7; font-size:1.05rem; margin:0 0 38px; }
.two-col { display:grid; grid-template-columns: 1.1fr .9fr; gap:54px; align-items:center; }
.three-col { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.four-col { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.panel { background:linear-gradient(180deg, rgba(21,26,36,.92), rgba(13,15,22,.92)); border:1px solid var(--line); box-shadow:var(--shadow); }
.panel.pad { padding:28px; }
.panel:hover { border-color:rgba(0,210,255,.36); }
.cap-card { padding:28px; min-height:190px; }
.cap-number { color:rgba(0,210,255,.32); font:800 2.6rem Rajdhani,sans-serif; }
.cap-card h3 { margin:3px 0 8px; color:white; font:800 1.35rem Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:.04em; }

/* Breadcrumb */
.breadcrumb { margin-bottom:18px; color:#82909e; font:700 .74rem Rajdhani,sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.breadcrumb a:hover { color:var(--blue); }
.breadcrumb span { color:var(--blue); }

/* Cards */
.card-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.system-card { position:relative; overflow:hidden; background:#11141c; border:1px solid var(--line); transition:.25s; min-height:100%; }
.system-card::before { content:""; position:absolute; inset:0 0 auto; height:2px; background:linear-gradient(90deg,transparent,var(--blue),transparent); opacity:.45; z-index:3; }
.system-card:hover { transform:translateY(-5px); border-color:rgba(0,210,255,.52); box-shadow:var(--shadow); }
.system-card .media { aspect-ratio:4/3; overflow:hidden; background:#07080b; }
.system-card .media img { width:100%; height:100%; object-fit:cover; transition:.35s; }
.system-card:hover .media img { transform:scale(1.035); }
.system-card .body { padding:22px; }
.system-card .code { color:var(--blue); font:700 .72rem Rajdhani,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.system-card h3 { margin:8px 0 6px; color:white; font:800 1.55rem Rajdhani,sans-serif; text-transform:uppercase; }
.system-card p { color:#909daa; font-size:.9rem; }
.card-footer { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; color:var(--blue); font:700 .73rem Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:.09em; }
.status { display:inline-flex; align-items:center; gap:7px; color:#95a1ad; }
.status::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 10px rgba(103,232,164,.5); }
.status.legacy::before { background:var(--amber); box-shadow:none; }
.status.restricted::before { background:var(--red); box-shadow:none; }
.filters { display:flex; flex-wrap:wrap; gap:8px; margin:28px 0 34px; }
.filter-btn { border:1px solid var(--line); background:#0e1118; color:#99a6b2; padding:9px 14px; cursor:pointer; text-transform:uppercase; font:700 .74rem Rajdhani,sans-serif; letter-spacing:.1em; }
.filter-btn.active, .filter-btn:hover { border-color:var(--blue); color:var(--blue); background:rgba(0,210,255,.06); }

/* Dossier */
.dossier-hero { display:grid; grid-template-columns:1fr 1fr; gap:42px; align-items:center; }
.dossier-image { position:relative; overflow:hidden; border:1px solid var(--line-blue); box-shadow:var(--shadow); }
.dossier-image img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.dossier-hero.reverse > .dossier-image { order:-1; }
.spec-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:22px; }
.spec { padding:14px 16px; border:1px solid var(--line); background:rgba(17,20,28,.68); }
.spec dt { color:#778593; font:700 .68rem Rajdhani,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.spec dd { margin:5px 0 0; color:#e4ebf1; font:700 1rem Rajdhani,sans-serif; }
.article { max-width:820px; }
.article h2 { margin:50px 0 14px; color:white; font:800 2rem Rajdhani,sans-serif; text-transform:uppercase; }
.article h3 { margin:32px 0 10px; color:white; font:800 1.25rem Rajdhani,sans-serif; text-transform:uppercase; }
.article p { color:#a8b3bd; }
.chapter-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:30px; }
.chapter { padding:24px; border:1px solid var(--line); background:#10131a; }
.chapter .num { color:rgba(0,210,255,.45); font:800 2.3rem Rajdhani,sans-serif; }
.chapter h3 { margin:5px 0 8px; }
.callout { margin:28px 0; padding:20px 22px; border-left:2px solid var(--blue); background:rgba(0,210,255,.055); color:#aab6c0; }
.warning { border-left-color:var(--amber); background:rgba(247,198,106,.055); }
.related { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:22px; }
.related a { padding:18px; border:1px solid var(--line); background:#10131a; }
.related a:hover { border-color:var(--blue); }
.related strong { display:block; color:white; font:800 1.1rem Rajdhani,sans-serif; text-transform:uppercase; }
.related small { color:#84919d; }
.source-notes { margin-top:46px; padding:20px 22px; border:1px solid var(--line); background:#0d1016; }
.source-notes summary { cursor:pointer; color:#aab7c3; font:800 .82rem Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:.1em; }
.source-notes ul { margin:14px 0 0; padding-left:20px; }
.source-notes a { color:var(--blue); }

/* Technology */
.tech-hero .dossier-image img { filter:saturate(.82) contrast(1.05); }
.tech-matrix { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.tech-block { position:relative; min-height:210px; padding:26px; background:linear-gradient(145deg,#11151d,#0b0d12); border:1px solid var(--line); overflow:hidden; }
.tech-block::after { content:""; position:absolute; width:120px; height:120px; right:-60px; top:-60px; border:1px solid rgba(0,210,255,.13); transform:rotate(45deg); }
.tech-block .num { color:rgba(0,210,255,.34); font:800 2.8rem Rajdhani,sans-serif; }
.tech-block h2 { color:white; margin:3px 0 9px; font:800 1.45rem Rajdhani,sans-serif; text-transform:uppercase; }
.tech-block p { color:#98a5b0; margin:0; }

/* Personnel */
.personnel-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.person-card .media { aspect-ratio:4/3; }

/* Footer */
.site-footer { padding:56px 0 32px; background:#050609; border-top:1px solid var(--line-blue); }
.footer-grid { display:grid; grid-template-columns:1.2fr repeat(3,1fr); gap:30px; }
.footer-brand p { color:#788692; max-width:340px; }
.footer-title { color:white; font:800 .88rem Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:.12em; }
.footer-links { display:grid; gap:7px; margin-top:12px; }
.footer-links a { color:#84919d; font-size:.9rem; }
.footer-links a:hover { color:var(--blue); }
.footer-bottom { margin-top:38px; padding-top:22px; border-top:1px solid rgba(192,200,208,.1); display:flex; justify-content:space-between; gap:20px; color:#5f6b76; font-size:.78rem; }
.network { color:var(--green); font:700 .75rem Rajdhani,sans-serif; text-transform:uppercase; letter-spacing:.12em; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.contact-card { padding:28px; }

@media (max-width: 1040px) {
  .card-grid, .four-col { grid-template-columns:repeat(2,1fr); }
  .three-col { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .container { width:min(100% - 28px,1180px); }
  .nav-links { display:none; }
  .mobile-toggle { display:flex; }
  .dossier-hero, .two-col { grid-template-columns:1fr; }
  .dossier-image { order:-1; }
  .dossier-hero.reverse > .dossier-image { order:-1; }
  .hero { min-height:auto; padding-top:calc(var(--header-h) + 64px); }
  .hero.home { min-height:88vh; }
  .hero-overlay { background:linear-gradient(0deg,rgba(8,9,13,.97) 0%,rgba(8,9,13,.68) 70%,rgba(8,9,13,.55) 100%); }
  .chapter-grid, .tech-matrix, .contact-grid { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .section { padding:70px 0; }
  .card-grid, .personnel-grid, .three-col, .four-col, .related, .footer-grid, .spec-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:clamp(2.45rem,14vw,4rem); }
  .hero-actions { flex-direction:column; }
  .btn { width:100%; }
  .brand { font-size:1.08rem; }
  .brand img { width:38px; height:38px; }
  .footer-bottom { flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}

/* CSP-safe replacements for former inline styles */
.page-offset-top {
    padding-top: calc(var(--header-h) + 64px);
}

.display-white-upper-sm {
    color: white;
    text-transform: uppercase;
    font-size: 1.35rem;
}

.title-size-dossier {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.mt-24 {
    margin-top: 24px;
}

.title-size-tech {
    font-size: clamp(2.7rem, 6vw, 5rem);
}

.title-size-armor {
    font-size: clamp(2.6rem, 6vw, 4.9rem);
}

.display-white-upper {
    color: white;
    text-transform: uppercase;
}

.title-size-250 {
    font-size: 2.5rem;
}

.research-hero-gradient {
    background: linear-gradient(
        90deg,
        rgba(8, 9, 13, .98),
        rgba(8, 9, 13, .7)
    );
}

.display-white-upper-155 {
    color: white;
    font-size: 1.55rem;
    text-transform: uppercase;
}

.display-white-upper-180 {
    color: white;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.mt-30 {
    margin-top: 30px;
}

/* GT-HERO-VIDEO: plays once, poster image stays underneath */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero-video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }
}


/* GT-DYNAMIC: motion layer, only active when JS adds .gt-motion */
.gt-motion .gt-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--gt-delay, 0ms);
}
.gt-motion .gt-reveal.is-visible { opacity: 1; transform: none; }

@keyframes gtFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.gt-motion .hero-content > * { animation: gtFadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
.gt-motion .hero-content > *:nth-child(2) { animation-delay: .12s; }
.gt-motion .hero-content > *:nth-child(3) { animation-delay: .24s; }
.gt-motion .hero-content > *:nth-child(4) { animation-delay: .36s; }
.gt-motion .hero-content > *:nth-child(5) { animation-delay: .48s; }

.gt-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 200;
  transform-origin: 0 50%;
  transform: scaleX(var(--gt-p, 0));
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  box-shadow: 0 0 10px rgba(0,210,255,.6);
  pointer-events: none;
}

.panel { position: relative; }
.system-card::after, .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(320px circle at var(--gt-mx, 50%) var(--gt-my, 50%), rgba(0,210,255,.12), transparent 60%);
}
.system-card:hover::after, .panel:hover::after { opacity: 1; }

.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn.primary:hover::after { left: 120%; }

@media (prefers-reduced-motion: reduce) {
  .gt-reveal, .hero-content > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .gt-progress { display: none; }
}


/* GT-NAV: dropdown without hover gap, open state, active section */
.drop-panel { top: 100%; z-index: 110; }
.nav-drop::before {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: 100%;
  height: 12px;
}
.nav-drop.open .drop-panel { opacity: 1; pointer-events: auto; transform: none; }
.nav-link[aria-current="true"] { color: var(--blue); }
.nav-link[aria-current="true"]::after { right: 0; }
.nav-cta[aria-current] { border-color: var(--blue); }
.drop-panel a[aria-current],
.mobile-panel a[aria-current] { color: var(--blue); background: rgba(0,210,255,.06); }

/* GT-PHASE4: lightbox, back-to-top, filter status */
.gt-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gt-zoom img { transition: transform .35s ease; }
.gt-zoom:hover img { transform: scale(1.02); }
.gt-noscroll { overflow: hidden; }
.gt-lightbox {
  width: min(96vw, 1400px);
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--line-blue);
  background: #05060a;
  color: var(--text);
  box-shadow: var(--shadow);
}
.gt-lightbox::backdrop { background: rgba(3,4,7,.88); backdrop-filter: blur(4px); }
.gt-lightbox figure { margin: 0; }
.gt-lightbox img { width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.gt-lightbox figcaption { padding: 12px 18px; color: #93a0ac; font-size: .88rem; border-top: 1px solid var(--line); }
.gt-lightbox-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 42px; height: 42px;
  border: 1px solid var(--line-blue); background: rgba(8,9,13,.85);
  color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.gt-lightbox-close:hover { border-color: var(--blue); color: var(--blue); }
.gt-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px;
  border: 1px solid var(--line-blue); background: rgba(8,9,13,.88);
  cursor: pointer; backdrop-filter: blur(6px);
  transition: border-color .2s, transform .2s;
}
.gt-top::before {
  content: ""; position: absolute; left: 50%; top: 54%;
  width: 12px; height: 12px;
  border-left: 2px solid var(--blue); border-top: 2px solid var(--blue);
  transform: translate(-50%, -50%) rotate(45deg);
}
.gt-top:hover { border-color: var(--blue); transform: translateY(-2px); }
.gt-top[hidden] { display: none; }
.filter-btn[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); background: rgba(0,210,255,.06); }
.gt-filter-status { margin: -18px 0 22px; color: #7f8c99; font: 600 .78rem Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 620px) { .gt-top { right: 14px; bottom: 14px; } }

/* GT-PHASE4B: canon/interpretation tags, comparison table */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.gt-interp-note { margin:0 0 6px; padding:14px 16px; border-left:2px solid var(--amber); background:rgba(247,198,106,.05); color:#aab6c0; font-size:.92rem; }
.gt-tag { display:inline-block; margin:6px 0 2px; padding:2px 8px; font:700 .66rem Rajdhani,sans-serif; letter-spacing:.14em; text-transform:uppercase; border:1px solid; }
.gt-tag.canon { color:var(--blue); border-color:var(--line-blue); background:rgba(0,210,255,.06); }
.gt-tag.interp { color:var(--amber); border-color:rgba(247,198,106,.35); background:rgba(247,198,106,.06); }
.gt-interp-note .gt-tag { margin:0 2px; }
.gt-compare-wrap { margin:56px 0 0; }
.gt-compare-scroll { overflow-x:auto; border:1px solid var(--line); background:#0d1016; }
.gt-compare-scroll:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
.gt-compare { width:100%; min-width:760px; border-collapse:collapse; font-size:.9rem; }
.gt-compare th, .gt-compare td { padding:13px 16px; text-align:left; vertical-align:top; border-bottom:1px solid rgba(192,200,208,.09); }
.gt-compare thead th { color:#7f8c99; font:700 .7rem Rajdhani,sans-serif; letter-spacing:.14em; text-transform:uppercase; background:#11141c; position:sticky; top:0; }
.gt-compare tbody th { color:var(--white); font:800 1rem Rajdhani,sans-serif; text-transform:uppercase; white-space:nowrap; }
.gt-compare tbody th a:hover { color:var(--blue); }
.gt-compare td { color:#9eabb7; }
.gt-compare td:nth-child(2) { color:var(--blue); font:700 .8rem Rajdhani,sans-serif; letter-spacing:.1em; white-space:nowrap; }
.gt-compare tbody tr:hover { background:rgba(0,210,255,.035); }
.gt-compare-note { margin-top:12px; font-size:.82rem; }

/* GT-TIMELINE: corporate history sequence */
.gt-timeline-wrap { margin: 64px 0 40px; }
.gt-timeline { position: relative; list-style: none; margin: 28px 0 0; padding: 0 0 0 34px; }
.gt-timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: rgba(192,200,208,.12);
}
.gt-timeline::after {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 10px rgba(0,210,255,.45);
  transform-origin: 50% 0; transform: scaleY(1);
}
.gt-motion .gt-timeline::after { transform: scaleY(var(--gt-tl, 0)); }
.gt-tl-item { position: relative; margin: 0 0 26px; }
.gt-tl-marker {
  position: absolute; left: -31px; top: 6px; width: 14px; height: 14px;
  border: 2px solid var(--blue); background: #08090d; transform: rotate(45deg);
}
.gt-tl-body { padding: 16px 20px; border: 1px solid var(--line); background: #0d1016; }
.gt-tl-step { display: block; color: #7f8c99; font: 700 .7rem Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.gt-tl-body h3 { margin: 6px 0 6px; }
.gt-tl-body p { margin: 0; color: #9eabb7; }
.gt-motion .gt-tl-item { opacity: 0; transform: translateX(-18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.gt-motion .gt-tl-item.is-in { opacity: 1; transform: none; }
.gt-motion .gt-tl-item.is-in .gt-tl-marker { background: var(--blue); box-shadow: 0 0 12px rgba(0,210,255,.6); transition: background .4s .2s, box-shadow .4s .2s; }
@media (prefers-reduced-motion: reduce) {
  .gt-tl-item { opacity: 1 !important; transform: none !important; }
  .gt-timeline::after { transform: scaleY(1) !important; }
}

/* GT-DESIGN2: section accents, HUD frames, blueprint, hero fx, view switch, roles, stamp, glossary, search, compare */

/* Akzentfarbe je Bereich */
body[data-gt-section="personnel"], body[data-gt-section="armor"] { --blue: #f2b84b; --blue-2: #b97a1f; --line-blue: rgba(242,184,75,.34); }
body[data-gt-section="research"] { --blue: #6ff0a0; --blue-2: #25a35a; --line-blue: rgba(111,240,160,.32); }
body[data-gt-section="company"], body[data-gt-section="sources"] { --blue: #d6dee6; --blue-2: #8794a1; --line-blue: rgba(214,222,230,.30); }
body[data-gt-section="technology"] { --blue: #5fd0ff; --blue-2: #1b7fd1; --line-blue: rgba(95,208,255,.32); }
body .gt-tag.canon { color: #00d2ff; border-color: rgba(0,210,255,.35); background: rgba(0,210,255,.06); }
body .gt-tag.interp { color: #f7c66a; border-color: rgba(247,198,106,.35); background: rgba(247,198,106,.06); }

/* HUD-Rahmen */
.system-card, .panel, .cap-card, .tech-block, .chapter, .gt-tl-body, .gt-compare-card {
  --gt-cut: 14px;
  clip-path: polygon(0 0, calc(100% - var(--gt-cut)) 0, 100% var(--gt-cut), 100% 100%, var(--gt-cut) 100%, 0 calc(100% - var(--gt-cut)));
  box-shadow: inset 0 1px 0 var(--line-blue);
}

/* Blueprint-Ansicht fuer /technology/ */
body[data-gt-section="technology"] main {
  background-image:
    linear-gradient(rgba(95,208,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,208,255,.055) 1px, transparent 1px);
  background-size: 32px 32px;
}
body[data-gt-section="technology"] .dossier-image img,
body[data-gt-section="technology"] .system-card img {
  filter: grayscale(1) sepia(1) hue-rotate(170deg) saturate(2.4) contrast(1.15) brightness(.95);
  transition: filter .5s ease;
}
body[data-gt-section="technology"] .dossier-image:hover img,
body[data-gt-section="technology"] .system-card:hover img { filter: none; }
body[data-gt-section="technology"] .dossier-image { position: relative; }
body[data-gt-section="technology"] .dossier-image::after {
  content: "ENGINEERING VIEW // BLUEPRINT";
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: 4px 10px; border: 1px solid var(--line-blue); background: rgba(5,14,24,.8);
  color: var(--blue); font: 700 .66rem Rajdhani, sans-serif; letter-spacing: .16em; pointer-events: none;
}

/* Kopfbereich fuer Seiten ohne Bild */
.gt-hero-plain { position: relative; isolation: isolate; overflow: hidden; }
.gt-hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gt-hero-fx img {
  position: absolute; right: 0; top: 0; width: 62%; height: 100%;
  object-fit: cover; opacity: .30; filter: saturate(.85);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.gt-hero-fx::before {
  content: ""; position: absolute; inset: 0; opacity: .28;
  background-image: linear-gradient(var(--line-blue) 1px, transparent 1px), linear-gradient(90deg, var(--line-blue) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%);
}
.gt-hero-fx::after {
  content: ""; position: absolute; left: 0; right: 0; height: 120px; top: -120px; opacity: .5;
  background: linear-gradient(180deg, transparent, var(--line-blue), transparent);
  animation: gtScan 8s linear infinite;
}
@keyframes gtScan { from { top: -120px; } to { top: 100%; } }

/* Ansichtswechsel */
.gt-viewswitch { display: flex; flex-wrap: wrap; margin-top: 22px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.gt-viewswitch a {
  padding: 12px 18px; margin-bottom: -1px; border-bottom: 2px solid transparent;
  color: #8d99a6; font: 700 .78rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase;
}
.gt-viewswitch a:hover { color: var(--white); }
.gt-viewswitch a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

/* Rollen-Symbole */
.gt-has-roles { position: relative; }
.gt-role-icons { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; gap: 6px; }
.gt-role { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-blue); background: rgba(8,9,13,.82); color: var(--blue); }
.gt-role svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* Stempel */
.gt-stamp-host { position: relative; }
.gt-stamp {
  position: absolute; top: 18px; right: 18px; z-index: 4; padding: 6px 14px;
  border: 3px double #ff5a4f; background: rgba(8,9,13,.55); color: #ff5a4f;
  font: 800 1.05rem Rajdhani, sans-serif; letter-spacing: .3em; text-transform: uppercase;
  transform: rotate(-8deg); opacity: .9; pointer-events: none;
}

/* Glossar */
.gt-term { border-bottom: 1px dotted var(--blue); cursor: help; }
.gt-term:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.gt-term-pop {
  position: fixed; left: -9999px; top: 0; z-index: 300; max-width: 300px; padding: 10px 12px;
  border: 1px solid var(--line-blue); background: #0b0e14; color: #c9d2db;
  font-size: .84rem; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.gt-term-pop.is-on { opacity: 1; }

/* Suche */
.gt-search-open {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 10px;
  border: 1px solid var(--line-blue); background: transparent; color: #c9d2db; cursor: pointer;
}
.gt-search-open:hover { color: var(--blue); border-color: var(--blue); }
.gt-search-open svg { width: 18px; height: 18px; fill: currentColor; }
.gt-search { width: min(94vw, 720px); max-height: 80vh; margin-top: 10vh; padding: 0; border: 1px solid var(--line-blue); background: #07090d; color: var(--text); }
.gt-search::backdrop { background: rgba(3,4,7,.82); backdrop-filter: blur(4px); }
.gt-search form { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); }
.gt-search input { flex: 1; padding: 12px 14px; border: 1px solid var(--line-blue); background: #0d1016; color: var(--white); font: 500 1rem Inter, sans-serif; }
.gt-search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.gt-search form button { padding: 0 16px; border: 1px solid var(--line); background: transparent; color: #93a0ac; font: 700 .72rem Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.gt-search-status { margin: 0; padding: 10px 18px 0; color: #7f8c99; font: 600 .74rem Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.gt-search-results { list-style: none; margin: 0; padding: 8px 8px 14px; max-height: 60vh; overflow: auto; }
.gt-search-results a { display: block; padding: 12px; border: 1px solid transparent; }
.gt-search-results a:hover, .gt-search-results a:focus { border-color: var(--line-blue); background: rgba(0,210,255,.04); outline: none; }
.gt-search-results strong { display: block; color: var(--white); font: 800 1.02rem Rajdhani, sans-serif; text-transform: uppercase; }
.gt-search-section { color: var(--blue); font: 700 .66rem Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.gt-search-desc { display: block; margin-top: 4px; color: #93a0ac; font-size: .86rem; }

/* Fahrzeugvergleich */
.gt-compare-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.gt-compare-bar .muted { margin: 0 auto 0 0; font-size: .86rem; }
.gt-compare-bar button { padding: 9px 14px; border: 1px solid var(--line-blue); background: #0d1016; color: #c9d2db; font: 700 .72rem Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.gt-compare-bar button:disabled { opacity: .45; cursor: not-allowed; }
.gt-compare-bar button:not(:disabled):hover { border-color: var(--blue); color: var(--white); }
.gt-compare-check { width: 16px; height: 16px; margin: 0 10px 0 0; vertical-align: middle; accent-color: var(--blue); }
.gt-compare tbody tr.is-selected { background: rgba(0,210,255,.06); }
.gt-compare-panel { display: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; }
.gt-compare-panel.is-open { display: grid; }
.gt-compare-card { padding: 18px; border: 1px solid var(--line-blue); background: #0d1016; }
.gt-compare-card h3 { margin: 0 0 12px; }
.gt-compare-card dl { margin: 0; }
.gt-compare-card dt { margin-top: 10px; color: #7f8c99; font: 700 .68rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.gt-compare-card dd { margin: 2px 0 0; color: #c9d2db; }

/* Forschungsfelder */
.gt-research { margin: 56px 0 0; }
.gt-research .chapter p + p { margin-top: 10px; }
.gt-related { display: inline-block; margin-top: 12px; color: var(--blue); font: 700 .74rem Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .gt-hero-fx::after { display: none; animation: none; }
  .gt-term-pop { transition: none; }
}


/* GT-NAVFIX: alle Hauptpunkte auf einer Linie, Dropdown unveraendert */
.nav-links { align-items: center; }
.nav-links > li,
.nav-links > .nav-drop { display: flex; align-items: center; margin: 0; padding: 0; }
.nav-drop { position: relative; }
.nav-links .nav-link,
.nav-drop > .nav-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  vertical-align: middle;
}
.nav-drop > .nav-link > svg,
.nav-drop > .nav-link > .caret,
.nav-drop > .nav-link::before { vertical-align: middle; }
.nav-drop .drop-panel { top: 100%; }


/* GT-NAVLINE: Unterstrich sauber unter dem Text, von der Mitte animiert */
.nav-links .nav-link { position: relative; transition: color .25s ease; }
.nav-links .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 6px;
  width: auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 8px var(--blue);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
  opacity: 0;
}
.nav-links .nav-link:hover::after,
.nav-links .nav-link:focus-visible::after,
.nav-drop.open > .nav-link::after,
.nav-links .nav-link[aria-current]::after { transform: scaleX(1); opacity: 1; right: 0; }
.nav-links .nav-link[aria-current="true"]::after { opacity: .6; }

/* Pfeil am Dropdown-Ausloeser */
.nav-drop > .nav-link { padding-right: 16px; }
.nav-drop > .nav-link::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.nav-drop.open > .nav-link::before,
.nav-drop:hover > .nav-link::before { transform: translateY(-30%) rotate(225deg); }

/* Dropdown: weich einblenden, Eintraege gleiten nacheinander */
.drop-panel {
  border-top: 2px solid var(--blue);
  box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 0 1px var(--line-blue);
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.nav-drop.open .drop-panel, .nav-drop:hover .drop-panel { transform: none; }
.drop-panel a {
  position: relative;
  transition: color .2s, background .2s, padding-left .2s;
}
.drop-panel a::before {
  content: "";
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 2px; background: var(--blue);
  transform: scaleY(0); transition: transform .2s ease;
}
.drop-panel a:hover, .drop-panel a:focus-visible { color: var(--white); background: rgba(0,210,255,.06); padding-left: 22px; }
.drop-panel a:hover::before, .drop-panel a:focus-visible::before { transform: scaleY(1); }
@keyframes gtDropIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.nav-drop.open .drop-panel a, .nav-drop:hover .drop-panel a { animation: gtDropIn .25s ease both; }
.drop-panel a:nth-child(2) { animation-delay: .04s; }
.drop-panel a:nth-child(3) { animation-delay: .08s; }
.drop-panel a:nth-child(4) { animation-delay: .12s; }
.drop-panel a:nth-child(5) { animation-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .nav-links .nav-link::after, .drop-panel, .drop-panel a, .nav-drop > .nav-link::before { transition: none; animation: none !important; }
}

/* GT-DESIGN3: stats, featured system, fact card, mobile, print */
.gt-home-extra { padding-top: 56px; }
.gt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 48px; padding: 0; list-style: none; }
.gt-stat { padding: 20px 18px; border: 1px solid var(--line-blue); background: #0d1016;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.gt-stat-num { display: block; color: var(--blue); font: 800 2.6rem/1 Rajdhani, sans-serif; text-shadow: 0 0 18px rgba(0,210,255,.35); }
.gt-stat-label { display: block; margin-top: 8px; color: #93a0ac; font: 700 .72rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; }

.gt-featured { position: relative; }
.gt-feat-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line-blue); background: #0d1016; overflow: hidden; }
.gt-feat-item[hidden] { display: none; }
.gt-feat-item img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.gt-feat-body { padding: 26px 28px; }
.gt-feat-body h3 { margin: 6px 0 12px; font-size: 1.9rem; }
.gt-feat-body dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 18px; }
.gt-feat-body dt { color: #7f8c99; font: 700 .7rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.gt-feat-body dd { margin: 0; color: #c9d2db; }
.gt-feat-item.is-in { animation: gtFeatIn .5s ease both; }
@keyframes gtFeatIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gt-feat-next { margin-top: 12px; padding: 9px 16px; border: 1px solid var(--line-blue); background: transparent; color: #c9d2db;
  font: 700 .72rem Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.gt-feat-next:hover { border-color: var(--blue); color: var(--white); }

.gt-factcard { float: right; width: 300px; margin: 0 0 24px 28px; padding: 18px 20px; border: 1px solid var(--line-blue);
  border-top: 2px solid var(--blue); background: #0b0e14; }
.gt-factcard h2 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .18em; color: var(--blue); }
.gt-factcard dl { margin: 0; }
.gt-factcard dt { margin-top: 10px; color: #7f8c99; font: 700 .68rem Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.gt-factcard dd { margin: 2px 0 0; color: #dfe6ec; }
.gt-factcard dd.gt-code { color: var(--blue); font: 700 .9rem Rajdhani, sans-serif; letter-spacing: .12em; }
.gt-factcard .gt-related { margin-top: 14px; }
.gt-factcard + h2 { clear: none; }
.chapter-grid { clear: both; }

/* Mobile */
@media (max-width: 900px) {
  .gt-stats { grid-template-columns: repeat(2, 1fr); }
  .gt-feat-item { grid-template-columns: 1fr; }
  .gt-feat-item img { min-height: 200px; max-height: 260px; }
  .gt-factcard { float: none; width: auto; margin: 0 0 24px; }
  .gt-hero-fx img { width: 100%; opacity: .18; }
}
@media (max-width: 620px) {
  .gt-stat-num { font-size: 2.1rem; }
  .gt-feat-body { padding: 20px; }
  .gt-feat-body h3 { font-size: 1.5rem; }
  .gt-viewswitch { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gt-viewswitch a { white-space: nowrap; padding: 10px 12px; }
  .gt-search { width: 100vw; max-width: 100vw; margin-top: 0; max-height: 100vh; height: 100vh; }
  .gt-search-results { max-height: calc(100vh - 140px); }
  .gt-compare-bar { flex-direction: column; align-items: stretch; }
  .gt-compare-bar button { width: 100%; }
  .gt-compare-panel { grid-template-columns: 1fr; }
  .gt-role { width: 26px; height: 26px; }
  .gt-stamp { font-size: .8rem; top: 10px; right: 10px; }
  .gt-term-pop { max-width: calc(100vw - 24px); }
  .gt-search-open { width: 44px; height: 44px; margin-left: 6px; }
}

/* Druck */
@media print {
  .site-header, .site-footer, footer, .gt-top, .gt-progress, .gt-search, .gt-search-open, .gt-hero-fx, .hero-video,
  .gt-viewswitch, .gt-feat-next, .gt-compare-bar, .gt-role-icons, .filters { display: none !important; }
  body, main { background: #fff !important; color: #000 !important; }
  .gt-reveal, .gt-tl-item { opacity: 1 !important; transform: none !important; }
  .system-card, .panel, .chapter, .gt-factcard, .gt-stat { clip-path: none !important; border: 1px solid #999 !important; background: #fff !important; color: #000 !important; }
  h1, h2, h3, p, dd, dt, td, th { color: #000 !important; text-shadow: none !important; }
  a { color: #000 !important; text-decoration: underline; }
  .gt-factcard { float: none; width: auto; }
}
