:root {
  --white: #f7f9fc;
  --white-pure: #ffffff;
  --ink: #0a1628;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: rgba(10, 22, 40, .08);
  --line-strong: rgba(10, 22, 40, .14);
  --glass: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .85);
  --blue: #2563eb;
  --blue-soft: #3b82f6;
  --cyan: #0891b2;
  --violet: #7c3aed;
  --emerald: #059669;
  --orange: #ea580c;
  --orange-soft: rgba(234, 88, 12, .08);
  --research: #2563eb;
  --development: #0891b2;
  --transfer: #7c3aed;
  --shadow: 0 24px 64px rgba(10, 22, 40, .08);
  --shadow-lg: 0 32px 80px rgba(10, 22, 40, .12);
  --radius: 20px;
  --radius-lg: 28px;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(37, 99, 235, .06), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(124, 58, 237, .05), transparent),
    linear-gradient(180deg, var(--white-pure) 0%, var(--white) 100%);
}

a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.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;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 252, .88);
  backdrop-filter: blur(20px) saturate(1.4);
}

.nav {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; letter-spacing: -.02em; color: var(--ink);
}
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.brand-text { font-size: .95rem; }
.brand-mark {
  width: 56px; height: 56px; display: flex; flex: 0 0 auto;
  overflow: hidden; border: 1px solid rgba(7, 38, 57, .18); border-radius: 16px;
  background: #061722;
  box-shadow: 0 12px 30px rgba(5, 35, 54, .18), inset 0 1px 0 rgba(255,255,255,.12);
}
.brand-logo { width: 100%; height: 100%; display: block; object-fit: cover; }

.desktop-nav {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 500; color: var(--muted);
}
.desktop-nav a:not(.nav-cta) {
  padding: 8px 12px; border-radius: 8px; transition: .15s;
}
.desktop-nav a:not(.nav-cta):hover { color: var(--ink); background: rgba(10,22,40,.04); }

.nav-cta {
  padding: 10px 18px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600;
  transition: .15s;
}
.nav-cta:hover { background: var(--ink-soft); }

.language-select {
  min-height: 38px; max-width: 160px;
  padding: 0 32px 0 12px; margin-left: 4px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--white-pure); color: var(--ink);
  font: 500 .8rem var(--font); cursor: pointer; outline: none;
}

.mobile-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--white-pure); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.mobile-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .18s; }

.mobile-menu {
  display: none; border-top: 1px solid var(--line);
  background: rgba(247, 249, 252, .98);
}
.mobile-menu-inner {
  width: min(1200px, calc(100% - 48px)); margin: 0 auto;
  display: grid; gap: 8px; padding: 16px 0 20px;
}
.mobile-menu a, .mobile-menu label {
  padding: 12px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white-pure); font-weight: 500;
}
.mobile-menu label { display: grid; gap: 6px; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.mobile-menu .language-select { max-width: none; width: 100%; }
body.menu-open .mobile-menu { display: block; }
body.menu-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.lab-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #0a1628 0%, #132238 40%, #1a2d4a 100%);
  color: #fff;
  min-height: calc(100svh - 72px);
  display: flex; align-items: center;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
  padding: 80px 0 100px; position: relative;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px; background: rgba(255,255,255,.06);
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, .25);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(5,150,105,.25); }
  50% { box-shadow: 0 0 0 8px rgba(5,150,105,.1); }
}

.hero-content h1 {
  margin: 28px 0 20px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: .95; letter-spacing: -.04em; font-weight: 700;
}

.hero-subtitle {
  margin: 0 0 16px; max-width: 600px;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.3; font-weight: 500; color: rgba(255,255,255,.9);
}

.hero-domains {
  margin: 0; max-width: 560px;
  font-family: var(--mono); font-size: .82rem;
  line-height: 1.8; color: rgba(255,255,255,.55);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; background: rgba(255,255,255,.08);
  color: #fff; font-weight: 600; font-size: .9rem; transition: .15s;
}
.btn:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.btn.primary {
  border: 0; background: #fff; color: var(--ink);
}
.btn.primary:hover { background: rgba(255,255,255,.92); }

/* Hero Lab Visual */
.hero-lab-visual {
  position: relative; min-height: 420px;
  display: grid; place-items: center;
}

.lab-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}
.lab-ring-1 { width: 380px; height: 380px; animation: rotate 30s linear infinite; }
.lab-ring-2 { width: 300px; height: 300px; border-style: dashed; animation: rotate 22s linear infinite reverse; }
.lab-ring-3 { width: 220px; height: 220px; border-color: rgba(37,99,235,.3); animation: rotate 16s linear infinite; }

.lab-core {
  position: relative; z-index: 2;
  width: 210px; height: 210px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 44px;
  background: #061722;
  box-shadow: 0 28px 76px rgba(5, 35, 54, .38), inset 0 1px 0 rgba(255,255,255,.13);
}
.lab-core-logo { width: 100%; height: 100%; display: block; object-fit: cover; }

.lab-scan {
  position: absolute; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.6), transparent);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 20%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 80%; opacity: 1; }
  60% { opacity: 0; }
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* Sections */
.section {
  padding: 88px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.section.is-visible { opacity: 1; transform: none; }
.section:nth-child(even) { background: var(--white-pure); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  margin-bottom: 12px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--blue);
}
h2 {
  margin: 0; font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05; letter-spacing: -.03em; font-weight: 700;
}
.section-text {
  margin-top: 16px; color: var(--muted); font-size: 1.02rem; line-height: 1.7;
}

/* Innovation Engine */
.engine-flow {
  display: flex; align-items: flex-start; gap: 0;
  overflow-x: auto; padding: 20px 0 8px;
  scrollbar-width: thin;
}

.engine-stage {
  flex: 1; min-width: 160px; text-align: center;
  padding: 0 12px;
  animation: stage-fade 8s ease-in-out infinite;
  animation-delay: calc(var(--stage-i) * 1.2s);
}
.engine-stage h3 {
  margin: 16px 0 8px; font-size: .95rem; font-weight: 600;
}
.engine-stage p {
  margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5;
}

.engine-node {
  width: 56px; height: 56px; margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--white-pure);
  display: grid; place-items: center;
  position: relative;
}
.engine-pulse {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  animation: engine-pulse 2s ease-in-out infinite;
  animation-delay: calc(var(--stage-i) * .4s);
}
@keyframes engine-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .6; }
}

.engine-arrow {
  flex-shrink: 0; width: 32px; align-self: center; padding-top: 20px;
}
.engine-arrow span {
  display: block; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--line-strong), var(--blue-soft));
  position: relative;
}
.engine-arrow span::after {
  content: ""; position: absolute; right: 0; top: -4px;
  border: 5px solid transparent; border-left-color: var(--blue-soft);
}

/* Research Domains */
.domain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.domain-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(12px);
  overflow: hidden; transition: .2s;
}
.domain-card.is-open {
  border-color: rgba(37,99,235,.25);
  box-shadow: var(--shadow);
}

.domain-trigger {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; border: 0; background: transparent;
  cursor: pointer; text-align: left; font: inherit; color: inherit;
}

.domain-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(8,145,178,.08));
  border: 1px solid rgba(37,99,235,.15);
}
.domain-info { flex: 1; min-width: 0; }
.domain-info strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.domain-info span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.5; }

.domain-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: .2s;
}
.domain-card.is-open .domain-chevron { transform: rotate(-135deg); }

.domain-panel {
  padding: 0 24px 22px 84px;
  border-top: 1px solid var(--line);
}
.domain-label {
  margin: 16px 0 8px; font-family: var(--mono);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue);
}
.domain-panel ul { margin: 0; padding: 0; list-style: none; }
.domain-panel li {
  padding: 6px 0; font-size: .88rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.domain-panel li:last-child { border: 0; }

/* Constellation */
.constellation-wrap {
  position: relative; width: min(640px, 100%); height: 640px;
  margin: 0 auto;
}

.constellation-ring {
  position: absolute; inset: 40px;
  border: 1px dashed var(--line-strong); border-radius: 50%;
  animation: rotate 60s linear infinite;
}

.constellation-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  font-weight: 700; z-index: 3;
  box-shadow: var(--shadow-lg);
}
.constellation-center small {
  font-family: var(--mono); font-size: .65rem; font-weight: 500;
  opacity: .7; letter-spacing: .08em; text-transform: uppercase;
}

.constellation-node {
  position: absolute; left: 50%; top: 50%;
  transform: rotate(var(--angle)) translateY(-260px) rotate(calc(-1 * var(--angle)));
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 2; transition: .2s;
}
.constellation-node:hover { transform: rotate(var(--angle)) translateY(-270px) rotate(calc(-1 * var(--angle))); }

.constellation-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--white-pure);
  box-shadow: 0 0 0 3px currentColor;
}
.c-research .constellation-dot { background: var(--research); color: rgba(37,99,235,.2); }
.c-development .constellation-dot { background: var(--development); color: rgba(8,145,178,.2); }
.c-transfer .constellation-dot { background: var(--transfer); color: rgba(124,58,237,.2); }

.constellation-label {
  font-size: .72rem; font-weight: 600; white-space: nowrap;
  padding: 4px 8px; border-radius: 6px;
  background: var(--white-pure); border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(10,22,40,.06);
}

.constellation-legend {
  display: flex; justify-content: center; gap: 24px; margin-top: 32px;
  font-size: .82rem; color: var(--muted);
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-item span {
  width: 10px; height: 10px; border-radius: 50%;
}
.legend-item.c-research span { background: var(--research); }
.legend-item.c-development span { background: var(--development); }
.legend-item.c-transfer span { background: var(--transfer); }

/* Pipeline */
.pipeline-track { position: relative; padding-top: 8px; }
.pipeline-progress {
  position: absolute; top: 36px; left: 0; right: 0; height: 3px;
  background: var(--line); border-radius: 2px; z-index: 0;
}
.pipeline-fill {
  height: 100%; width: 16.6%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .5s ease;
}

.pipeline-stages {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  position: relative; z-index: 1;
}

.pipeline-stage {
  padding: 20px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white-pure);
  cursor: pointer; transition: .2s; outline: none;
}
.pipeline-stage:hover, .pipeline-stage.is-active {
  border-color: rgba(37,99,235,.3);
  box-shadow: var(--shadow);
}
.pipeline-stage.is-active .pipeline-marker {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

.pipeline-marker {
  width: 36px; height: 36px; margin-bottom: 14px;
  display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  transition: .2s;
}
.pipeline-stage h3 { margin: 0 0 8px; font-size: .9rem; }
.pipeline-stage p { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* Showcase */
.showcase-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
}

.showcase-panel {
  position: relative; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white-pure); overflow: hidden;
  transition: .25s;
}
.showcase-panel:hover {
  border-color: rgba(37,99,235,.2);
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.showcase-glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%);
}
.showcase-panel h3 { margin: 0 0 12px; font-size: 1.05rem; position: relative; }
.showcase-panel p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.65; position: relative; }

/* Command Center */
.command-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}

.command-panel {
  padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--glass);
  backdrop-filter: blur(12px);
}

.command-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.command-header h3 { margin: 0; font-size: .95rem; }
.command-status {
  flex-shrink: 0; padding: 4px 10px; border-radius: 6px;
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  background: rgba(37,99,235,.08); color: var(--blue);
}
.command-panel p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}

.prototype-card {
  display: flex; flex-direction: column;
  padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white-pure);
  transition: .2s;
}
.prototype-card:hover {
  border-color: rgba(37,99,235,.25);
  box-shadow: var(--shadow); transform: translateY(-2px);
}

.prototype-badge {
  align-self: flex-start; margin-bottom: 16px;
  padding: 4px 10px; border-radius: 6px;
  font-family: var(--mono); font-size: .65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  background: rgba(37,99,235,.08); color: var(--blue);
}
.prototype-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.prototype-card p { margin: 0; flex: 1; font-size: .86rem; color: var(--muted); line-height: 1.6; }
.prototype-link {
  margin-top: 16px; font-size: .82rem; font-weight: 600; color: var(--blue);
}

/* Global Network Map */
.network-map-wrap {
  position: relative; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white-pure);
  overflow: hidden; box-shadow: var(--shadow);
}

.world-map { width: 100%; height: auto; display: block; }

.land-mass {
  fill: rgba(10, 22, 40, .08);
  stroke: rgba(10, 22, 40, .16);
  stroke-width: 0.6;
  stroke-linejoin: round;
}

.map-nodes { position: absolute; inset: 0; z-index: 2; }

.map-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 20px; height: 20px; padding: 0; border: 0;
  background: transparent; cursor: pointer;
}
.map-pulse {
  display: block; width: 12px; height: 12px; margin: 4px auto;
  border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.2);
  transition: .2s;
}
.map-node.is-active .map-pulse,
.map-node:hover .map-pulse {
  background: var(--violet);
  box-shadow: 0 0 0 6px rgba(124,58,237,.25);
  transform: scale(1.2);
}

.map-info {
  position: absolute; bottom: 20px; left: 20px;
  padding: 16px 20px; border-radius: 12px;
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.map-info strong { display: block; font-size: 1rem; }
.map-info span { display: block; font-size: .85rem; color: var(--muted); }
.map-info em {
  display: block; margin-top: 6px; font-style: normal;
  font-family: var(--mono); font-size: .72rem; color: var(--blue);
}

.network-legend {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px;
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
}
.network-legend span::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  margin-right: 6px; border-radius: 50%; background: var(--blue); vertical-align: middle;
}

/* Roadmap */
.roadmap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.roadmap-phase {
  padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white-pure);
}
.roadmap-phase h3 {
  margin: 0 0 20px; padding-bottom: 16px;
  border-bottom: 2px solid var(--blue);
  font-size: 1.1rem;
}
.roadmap-phase ul { margin: 0; padding: 0; list-style: none; }
.roadmap-phase li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.roadmap-phase li:last-child { border: 0; }
.roadmap-phase li strong { display: block; font-size: .88rem; margin-bottom: 4px; }
.roadmap-phase li span { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* Ecosystem */
.ecosystem-stack {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
  max-width: 900px; margin: 0 auto;
}

.ecosystem-layer {
  padding: 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white-pure);
  text-align: center; transition: .2s;
}
.ecosystem-layer:hover {
  border-color: rgba(37,99,235,.25); box-shadow: var(--shadow);
}
.ecosystem-layer strong { display: block; font-size: .95rem; margin-bottom: 6px; }
.ecosystem-layer span { font-size: .78rem; color: var(--muted); }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}

.email-list { display: grid; gap: 10px; margin-top: 24px; }
.email-list a {
  padding: 14px 18px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white-pure);
  color: var(--blue); font-weight: 500; transition: .15s;
}
.email-list a:hover { border-color: rgba(37,99,235,.3); }

form {
  display: grid; gap: 14px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white-pure); box-shadow: var(--shadow);
}
input, textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--white); color: var(--ink);
  font: inherit; outline: none; transition: .15s;
}
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
button[type="submit"] {
  min-height: 48px; border: 0; border-radius: 10px;
  background: var(--ink); color: #fff;
  font-weight: 600; cursor: pointer; transition: .15s;
}
button[type="submit"]:hover { background: var(--ink-soft); }

/* Preflight Audit Internal Technical Assessment */
.hero-preflight { margin-top: 28px; }

.preflight-badge {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white-pure);
  box-shadow: var(--shadow); transition: .18s;
  max-width: 100%;
}
.preflight-badge:hover {
  border-color: rgba(234, 88, 12, .25);
  box-shadow: 0 12px 32px rgba(10, 22, 40, .1);
  transform: translateY(-1px);
}
.preflight-seal {
  flex-shrink: 0; width: 72px; height: 72px;
  border-radius: 50%; object-fit: contain;
}
.preflight-badge-copy {
  display: grid; gap: 4px; min-width: 0;
}
.preflight-badge-copy strong {
  font-size: .82rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.01em;
}
.preflight-badge-copy span {
  font-size: .72rem; color: var(--muted); line-height: 1.4;
}

.preflight-badge--hero .preflight-seal { width: 56px; height: 56px; }
.preflight-badge--hero {
  padding: 10px 14px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
}

.preflight-badge--footer {
  padding: 10px 14px; gap: 12px;
  background: var(--white); border-color: var(--line);
  box-shadow: none;
}
.preflight-badge--footer .preflight-seal { width: 48px; height: 48px; }
.preflight-badge--footer:hover { transform: none; }

.preflight-badge--compact,
.preflight-badge--panel {
  flex-direction: column; text-align: center; padding: 24px;
  border-radius: var(--radius); background: var(--white-pure);
}
.preflight-badge--compact .preflight-seal,
.preflight-badge--panel .preflight-seal { width: 120px; height: 120px; }
.preflight-badge--compact .preflight-badge-copy,
.preflight-badge--panel .preflight-badge-copy { text-align: center; }

.section-preflight {
  background: linear-gradient(180deg, var(--white) 0%, rgba(234, 88, 12, .03) 100%);
}
.section-preflight--compact { padding: 56px 0; }

.preflight-panel {
  display: grid; grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 40px; align-items: start;
  padding: 32px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white-pure);
  box-shadow: var(--shadow);
}
.preflight-panel-seal {
  display: grid; gap: 16px; justify-items: center;
}
.preflight-verify-link {
  font-size: .82rem; font-weight: 600; color: var(--orange);
  transition: .15s;
}
.preflight-verify-link:hover { color: var(--ink); }

.preflight-panel-content h3 {
  margin: 0 0 12px; font-size: 1.15rem; letter-spacing: -.02em;
}
.preflight-panel-content > p {
  margin: 0 0 24px; color: var(--muted); line-height: 1.7;
}

.preflight-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.preflight-pillar {
  padding: 18px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--white);
}
.preflight-pillar h3 {
  margin: 0 0 8px; font-size: .88rem; font-weight: 700;
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: .06em; color: var(--orange);
}
.preflight-pillar p {
  margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.55;
}

.preflight-compact-row {
  display: flex; align-items: center; gap: 32px;
  padding: 28px 32px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white-pure);
  box-shadow: var(--shadow);
}
.preflight-compact-text {
  margin: 0; color: var(--muted); line-height: 1.7; font-size: .95rem;
}

/* Corporate pages */
.corporate-hero {
  padding-top: 72px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white-pure) 0%, var(--white) 100%);
}
.corporate-hero h1 {
  max-width: 720px; margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.03em;
}
.corporate-lead { max-width: 680px; font-size: 1.05rem; }

.corporate-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.corporate-block {
  padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white-pure);
  box-shadow: var(--shadow);
}
.corporate-block h2 {
  margin: 0 0 12px; font-size: 1rem; letter-spacing: -.01em;
}
.corporate-block p {
  margin: 0; color: var(--muted); line-height: 1.65; font-size: .92rem;
}

/* Footer */
.footer-preflight {
  display: flex; justify-content: center;
  padding: 28px 0 0;
}
.footer {
  border-top: 1px solid var(--line);
  background: var(--white-pure); color: var(--muted);
}
.footer-row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center; gap: 20px;
  padding: 28px 0 40px; font-size: .88rem;
}
.footer-row p { margin: 0; }
.footer-brand {
  width: 72px; height: 72px; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px; background: #061722;
  box-shadow: 0 14px 34px rgba(5,35,54,.14);
}
.footer-brand img { width: 100%; height: 100%; display: block; object-fit: cover; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.footer-links a:hover { color: var(--ink); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(247, 249, 252, .98); }
}

/* RTL */
[dir="rtl"] .desktop-nav,
[dir="rtl"] .actions,
[dir="rtl"] .footer-links { flex-direction: row-reverse; }

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

/* Responsive */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-lab-visual { min-height: 320px; order: -1; }
  .domain-grid { grid-template-columns: 1fr; }
  .pipeline-stages { grid-template-columns: repeat(3, 1fr); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .preflight-panel { grid-template-columns: 1fr; }
  .preflight-pillars { grid-template-columns: 1fr; }
  .corporate-grid { grid-template-columns: 1fr; }
  .preflight-compact-row { flex-direction: column; text-align: center; }
  .constellation-wrap { height: 520px; }
  .constellation-node { transform: rotate(var(--angle)) translateY(-200px) rotate(calc(-1 * var(--angle))); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1200px); }
  .brand-text em { display: none; }
  .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
  .lab-core { width: 172px; height: 172px; border-radius: 36px; }
  .footer-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .hero-inner { padding: 56px 0 72px; }
  .section { padding: 64px 0; }
  .engine-flow { flex-direction: column; align-items: stretch; }
  .engine-arrow { display: none; }
  .engine-stage { min-width: auto; text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .engine-node { margin: 0; flex-shrink: 0; }
  .pipeline-stages { grid-template-columns: 1fr 1fr; }
  .constellation-wrap { height: 440px; }
  .constellation-node { transform: rotate(var(--angle)) translateY(-170px) rotate(calc(-1 * var(--angle))); }
  .constellation-label { font-size: .65rem; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-row { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .preflight-badge--hero { width: 100%; }
}

/* tvkl-premium: accessible premium visual polish, CSS-only and progressive. */
@keyframes tvkl-premium-reveal{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(prefers-reduced-motion:no-preference){main h1{animation:tvkl-premium-reveal .55s cubic-bezier(.2,.75,.2,1) both}main h1+p{animation:tvkl-premium-reveal .55s .1s cubic-bezier(.2,.75,.2,1) both}}
@media(prefers-reduced-motion:reduce){main h1,main h1+p{animation:none!important;transform:none!important}}
