:root {
  --ink: #06070d;
  --ink-2: #0d1124;
  --muted: #8a93a8;
  --muted-2: #aeb6c8;
  --paper: #f4f6fb;
  --paper-strong: #eaeef8;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --white: #ffffff;

  --cyan: #00e5ff;
  --cyan-soft: #6df3ff;
  --teal: #14b8a6;
  --violet: #7c5cff;
  --magenta: #ff3da8;
  --amber: #ffb547;
  --lime: #c6ff3d;
  --copper: #ff7a45;

  --grad-hero: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(124, 92, 255, 0.32), transparent 60%),
                radial-gradient(ellipse 60% 80% at 15% 80%, rgba(0, 229, 255, 0.22), transparent 60%),
                linear-gradient(180deg, #05060f 0%, #0a0d1f 100%);
  --grad-text: linear-gradient(135deg, #ffffff 0%, #b8c4ff 40%, #6df3ff 100%);
  --grad-accent: linear-gradient(135deg, var(--cyan), var(--violet) 70%, var(--magenta));

  --shadow: 0 24px 70px rgba(8, 12, 36, 0.18);
  --glow-cyan: 0 0 0 1px rgba(0, 229, 255, 0.4), 0 12px 40px rgba(0, 229, 255, 0.25);
  --glow-violet: 0 0 0 1px rgba(124, 92, 255, 0.4), 0 12px 40px rgba(124, 92, 255, 0.25);

  --radius: 14px;
  --radius-lg: 22px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, canvas { max-width: 100%; }
button, input, select, textarea { font: inherit; }

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

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(var(--max), calc(100% - 24px));
  min-height: 78px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 14px 12px 22px;
  background: rgba(8, 10, 25, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 16px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 229, 255, 0.04);
  transition: background 280ms ease, border-color 280ms ease, top 280ms ease, transform 280ms ease;
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.4), rgba(124, 92, 255, 0.15) 35%, transparent 60%, rgba(255, 61, 168, 0.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.site-header[data-scrolled] {
  top: 10px;
  background: rgba(6, 7, 18, 0.82);
  border-color: rgba(0, 229, 255, 0.12);
  min-height: 68px;
}
.site-header[data-scrolled]::before { opacity: 1; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  color: #fff;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease;
}
.brand:hover { transform: translateY(-1px); }

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 52px; height: 52px;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.1rem; line-height: 1; letter-spacing: 0.02em; }
.brand small { margin-top: 6px; color: rgba(255, 255, 255, 0.55); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; }

/* ===========================
   ARTIZAI WORDMARK
=========================== */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: "JetBrains Mono", "Space Grotesk", ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.wm-dot {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px; height: 6px;
}
.wm-art { color: currentColor; }
.wm-iz {
  position: relative;
  color: currentColor;
  opacity: 0.42;
  padding: 0 4px;
  margin: 0 2px;
}
.wm-iz::before, .wm-iz::after {
  content: "";
  position: absolute;
  top: 18%; bottom: 18%;
  width: 1px;
  background: currentColor;
  opacity: 0.55;
}
.wm-iz::before { left: -1px; }
.wm-iz::after { right: -1px; }
.wm-ai {
  position: relative;
  padding-right: 9px;
  background: linear-gradient(135deg, #00e5ff 0%, #7c5cff 55%, #ff3da8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.35));
}
.wm-dot {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #c6ff3d;
  box-shadow: 0 0 8px #c6ff3d, 0 0 14px rgba(198, 255, 61, 0.55);
  animation: wmDot 2.4s ease-in-out infinite;
}
@keyframes wmDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.65; }
}
.wm-bracket {
  font-style: normal;
  color: rgba(0, 229, 255, 0.65);
  font-weight: 700;
}
.wm-slash {
  color: rgba(124, 92, 255, 0.8);
  font-weight: 800;
  margin: 0 1px;
}

/* Inline ARTIZAI wordmark for use inside headings / paragraphs */
.brand-text {
  display: inline-flex;
  align-items: baseline;
  font-weight: inherit;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-text .b-art { color: currentColor; }
.brand-text .b-iz {
  position: relative;
  color: currentColor;
  opacity: 0.4;
  padding: 0 0.15em;
  margin: 0 0.08em;
}
.brand-text .b-iz::before,
.brand-text .b-iz::after {
  content: "";
  position: absolute;
  top: 18%; bottom: 18%;
  width: 1px;
  background: currentColor;
  opacity: 0.55;
}
.brand-text .b-iz::before { left: -0.03em; }
.brand-text .b-iz::after  { right: -0.03em; }
.brand-text .b-ai {
  position: relative;
  padding-right: 0.32em;
  background: linear-gradient(135deg, #00e5ff 0%, #7c5cff 55%, #ff3da8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.32));
}
.brand-text .b-ai::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0.02em;
  width: 0.2em; height: 0.2em;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime), 0 0 14px rgba(198, 255, 61, 0.5);
  animation: wmDot 2.4s ease-in-out infinite;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Reusable nav button base (triggers + pill links) */
.nav-trigger,
.site-nav .nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}

.nav-trigger:hover,
.nav-trigger:focus-visible,
.site-nav .nav-pill:hover,
.site-nav .nav-pill:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

.caret {
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.55;
  transition: transform 240ms ease, opacity 240ms ease;
}

/* Group with dropdown */
.nav-group { position: relative; }

.nav-group:hover .nav-trigger,
.nav-group:focus-within .nav-trigger {
  color: #fff;
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.2);
}
.nav-group:hover .caret,
.nav-group:focus-within .caret {
  transform: rotate(225deg) translate(-1px, -1px);
  opacity: 1;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 60;
  min-width: 360px;
  padding: 10px;
  display: grid;
  gap: 2px;
  border-radius: 18px;
  background: rgba(10, 12, 28, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.08);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}
.nav-menu-sm { min-width: 280px; }

.nav-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-group.is-open .nav-trigger {
  color: #fff;
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.2);
}
.nav-group.is-open .caret {
  transform: rotate(225deg) translate(-1px, -1px);
  opacity: 1;
}

.nav-menu a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  transition: background 200ms ease, color 200ms ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(124, 92, 255, 0.08));
  outline: none;
}

.nm-icon {
  display: grid;
  width: 36px; height: 36px;
  place-items: center;
  font-size: 1.1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(124, 92, 255, 0.1));
  border: 1px solid rgba(0, 229, 255, 0.18);
}
.nav-menu-sm a { grid-template-columns: 1fr; }
.nav-menu-sm .nm-text { padding-left: 4px; }

.nm-text {
  display: grid;
  gap: 2px;
}
.nm-text strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}
.nm-text span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

/* "Build my plan" — gentle accent pill between dropdowns */
.site-nav .nav-pill {
  position: relative;
}
.site-nav .nav-pill::after {
  content: "★";
  margin-left: 6px;
  color: var(--lime);
  font-size: 0.75rem;
  filter: drop-shadow(0 0 4px rgba(198, 255, 61, 0.7));
}

/* Language switcher */
.lang-trigger {
  gap: 8px !important;
  padding: 0 12px !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
}
.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
  filter: saturate(1.1);
}
.lang-code {
  color: rgba(255, 255, 255, 0.9);
}

.lang-menu {
  min-width: 240px !important;
  right: 0;
  left: auto;
}

.lang-menu button {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.lang-menu button > span:first-child {
  font-size: 1.2rem;
  line-height: 1;
}
.lang-menu button em {
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}
.lang-menu button:hover, .lang-menu button:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(124, 92, 255, 0.08));
  outline: none;
}
.lang-menu button.is-active {
  color: #fff;
  background: rgba(0, 229, 255, 0.1);
}
.lang-menu button.is-active::after {
  content: "✓";
  position: absolute;
  right: 14px;
  color: var(--cyan);
  font-weight: 900;
}
.lang-menu button.is-active em { color: var(--cyan); }

/* Primary CTA */
.site-nav .nav-cta {
  margin-left: 10px;
  padding: 0 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 100px;
  box-shadow:
    0 8px 22px rgba(0, 229, 255, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.site-nav .nav-cta::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  transition: transform 220ms ease;
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 229, 255, 0.5);
  outline: none;
}
.site-nav .nav-cta:hover::after { transform: translateX(4px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: #fff; border-radius: 2px;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-hero);
  color: #fff;
}

.hero-canvas, .hero-overlay { position: absolute; inset: 0; z-index: -2; }

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 100%, rgba(124, 92, 255, 0.18), transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(5, 6, 15, 0.9) 100%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-block: 170px 110px;
}

.hero-copy { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  color: var(--cyan-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  background: rgba(0, 229, 255, 0.06);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
  background: var(--grad-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.22;
  letter-spacing: -0.005em;
  font-weight: 700;
}

.hero-lede {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding: 14px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(124, 92, 255, 0.04)),
    rgba(8, 12, 36, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px rgba(0, 0, 0, 0.3);
  max-width: max-content;
}
.hero-actions::before {
  content: "GET STARTED ↓";
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 2px 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--cyan);
  background: linear-gradient(180deg, #0a0d1f, #0d1124);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
}
.hero-actions .button { min-height: 46px; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background 200ms ease;
  overflow: hidden;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); outline: none; }

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--lime) 100%);
  box-shadow: 0 14px 40px rgba(0, 229, 255, 0.4);
}
.button.primary:hover, .button.primary:focus-visible {
  box-shadow: 0 18px 50px rgba(0, 229, 255, 0.55);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.button.ghost:hover, .button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
}

/* Hero status pill */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 100px;
  background: rgba(0, 229, 255, 0.06);
  backdrop-filter: blur(10px);
}
.hero-status .dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero-status .sep { color: rgba(255, 255, 255, 0.3); }

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero rotator */
.hero-rotator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px dashed rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  max-width: 720px;
  overflow: hidden;
}
.rotator-label {
  color: rgba(0, 229, 255, 0.7);
  white-space: nowrap;
  flex-shrink: 0;
}
.rotator-track {
  position: relative;
  display: block;
  flex: 1;
  height: 1.4em;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
}
.rotator-track span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 500ms ease, transform 500ms ease;
}
.rotator-track span.active {
  opacity: 1;
  transform: translateY(0);
}

.button.quiet {
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border-color: transparent;
  padding: 0 16px;
}
.button.quiet:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.08); }

/* AI tool ticker */
.tool-ticker {
  position: absolute;
  bottom: 76px;
  left: 0; right: 0;
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  z-index: 1;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.tool-ticker-track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: tickerScroll 50s linear infinite;
  padding-left: 36px;
}
.tool-ticker-track span {
  color: rgba(255, 255, 255, 0.6);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.tool-ticker-track span::before {
  content: "▸ ";
  color: var(--cyan);
  margin-right: 4px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero terminal panel (replaces simple signals) */
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(10, 13, 31, 0.88), rgba(20, 14, 45, 0.82));
  border: 1px solid rgba(0, 229, 255, 0.25);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
}
.panel-dots { display: inline-flex; gap: 5px; }
.panel-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.panel-dots i:nth-child(1) { background: #ff5a4f; }
.panel-dots i:nth-child(2) { background: #ffbd2e; }
.panel-dots i:nth-child(3) { background: #27c93f; }
.panel-title { flex: 1; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.08em; }
.panel-live {
  color: var(--lime);
  letter-spacing: 0.1em;
  animation: pulse 1.6s ease-in-out infinite;
}

/* Hero side panel — "virtual lab terminal" */
.hero-signals {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  z-index: 1;
}
.hero-signals > * { z-index: 1; }

.hero-signals div {
  position: relative;
  padding: 22px 18px;
  border-right: 1px solid rgba(0, 229, 255, 0.08);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}
.hero-signals div:nth-child(2n) { border-right: 0; }
.hero-signals div:nth-last-child(-n+2) { border-bottom: 0; }

.hero-panel-foot {
  position: relative;
  z-index: 1;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.hero-panel-foot .prompt { color: var(--cyan); }
.hero-panel-foot .ok { color: var(--lime); }

.hero-signals strong {
  display: block;
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
  background: var(--grad-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-signals span {
  display: block; margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em;
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 30px;
  width: 28px; height: 46px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  z-index: 2;
}
.scroll-cue::after {
  content: ""; position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(18px); opacity: 1; }
}

/* ===========================
   SECTION SHARED
=========================== */
.section { position: relative; padding-block: 110px; overflow: hidden; }

.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading.wide { max-width: 1000px; }
.section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
}

/* Dark theme sections */
.intro-band, .making-section, .evolution-section, .virtual-section, .contact-section {
  color: #fff;
  background: var(--ink);
}
.intro-band .eyebrow, .making-section .eyebrow,
.evolution-section .eyebrow, .virtual-section .eyebrow,
.contact-section .eyebrow {
  color: var(--cyan-soft);
}
.intro-band p, .making-section p, .virtual-section p, .contact-section p,
.evolution-list p {
  color: rgba(255, 255, 255, 0.7);
}

/* Animated decorative grid on dark sections */
.intro-band::before, .making-section::before, .virtual-section::before, .contact-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}

.intro-band, .making-section, .evolution-section, .virtual-section, .contact-section {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(0, 229, 255, 0.14), transparent 60%),
    var(--ink);
}

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.intro-copy { font-size: 1.12rem; }
.intro-copy p:last-child { margin-bottom: 0; }

/* ===========================
   COMPARISON
=========================== */
.comparison { background: var(--paper-strong); }
.comparison::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.compare-pane {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.compare-pane:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.compare-pane.accent {
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(124, 92, 255, 0.4), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  border-color: rgba(0, 229, 255, 0.25);
}
.compare-pane.accent h3 { color: #fff; }

.compare-pane.muted { background: rgba(255, 255, 255, 0.7); }

.check-list, .lab-card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li, .lab-card li {
  position: relative;
  margin-top: 14px;
  padding-left: 26px;
}
.check-list li::before, .lab-card li::before {
  content: ""; position: absolute;
  top: 0.55em; left: 0;
  width: 14px; height: 14px;
  background:
    radial-gradient(circle, var(--copper) 0 30%, transparent 32%),
    radial-gradient(circle, rgba(255, 122, 69, 0.2) 0 60%, transparent 62%);
}
.compare-pane.accent .check-list li::before {
  background:
    radial-gradient(circle, var(--cyan) 0 30%, transparent 32%),
    radial-gradient(circle, rgba(0, 229, 255, 0.2) 0 60%, transparent 62%);
}

/* ===========================
   LABS
=========================== */
.labs-section { background: var(--paper); }

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0;
  background: transparent;
}

.segment {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 18px 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.segment::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 260ms ease;
}
.segment:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 14px 30px rgba(0, 229, 255, 0.1);
}
.segment:hover::before { transform: scaleY(1); }

.seg-sym {
  display: grid;
  width: 40px; height: 40px;
  place-items: center;
  font-size: 1.3rem;
  font-family: "Times New Roman", serif;
  font-weight: 700;
  color: var(--violet);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 220ms ease;
}

.seg-text {
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1.1;
}
.seg-text b {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
}
.seg-text i {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.02em;
}

.segment.active {
  color: #fff;
  background:
    radial-gradient(ellipse 70% 100% at 100% 0%, rgba(0, 229, 255, 0.25), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 14px 32px rgba(8, 12, 36, 0.3);
}
.segment.active::before { transform: scaleY(1); }
.segment.active .seg-sym {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(0, 229, 255, 0.4);
}
.segment.active .seg-text b { color: #fff; }
.segment.active .seg-text i { color: var(--cyan); }
.segment:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Scientific delivery-model tabs */
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.tab::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 260ms ease;
}
.tab:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 26px rgba(0, 229, 255, 0.1);
}
.tab:hover::before { transform: scaleY(1); }

.tab-sym {
  display: grid;
  width: 40px; height: 40px;
  place-items: center;
  font-size: 1.35rem;
  font-family: "Times New Roman", serif;
  font-weight: 700;
  color: var(--violet);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 220ms ease;
}
.tab-text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}
.tab-text b {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}
.tab-text i {
  display: block;
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.tab.active {
  color: #fff;
  background:
    radial-gradient(ellipse 70% 100% at 100% 0%, rgba(0, 229, 255, 0.28), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 14px 32px rgba(8, 12, 36, 0.3);
}
.tab.active::before { transform: scaleY(1); }
.tab.active .tab-sym {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(0, 229, 255, 0.4);
}
.tab.active .tab-text b { color: #fff; }
.tab.active .tab-text i { color: var(--cyan); }
.tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 760px) {
  .segment { width: 100%; }
  .segmented { flex-direction: column; }
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lab-card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(8, 12, 36, 0.04);
  overflow: hidden;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), box-shadow 320ms ease, border-color 320ms ease;
}
.lab-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.lab-cta {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.lab-card:hover .lab-cta { color: var(--violet); }
.featured-lab .lab-cta { border-top-color: rgba(255, 255, 255, 0.15); color: var(--cyan-soft); }
.featured-lab .lab-cta { grid-column: 2; }

.lab-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.lab-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 24px 60px rgba(0, 229, 255, 0.12), 0 8px 20px rgba(8, 12, 36, 0.06);
}
.lab-card:hover::before { opacity: 1; }

.lab-card.is-hidden { display: none; }

.lab-token {
  position: relative;
  display: inline-grid;
  min-width: 48px; height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(8, 12, 36, 0.2);
}
.lab-token::after {
  content: ""; position: absolute; inset: 2px;
  border-radius: 12px;
  background: inherit;
  filter: blur(12px) brightness(1.3);
  opacity: 0.5;
  z-index: -1;
}

.science { background: linear-gradient(135deg, #00e5ff, #14b8a6); }
.maths { background: linear-gradient(135deg, #7c5cff, #4338ca); }
.arts { background: linear-gradient(135deg, #ff3da8, #b91c5c); }
.social { background: linear-gradient(135deg, #ff7a45, #e85d18); }
.languages { background: linear-gradient(135deg, #34d399, #059669); }
.humanities { background: linear-gradient(135deg, #ffb547, #d97706); }
.making { background: linear-gradient(135deg, #c6ff3d, #65a30d); color: var(--ink); }

.lab-card p, .lab-card li,
.tier p, .pillars p, .crosslab-grid p,
.tab-content p, .roadmap p {
  color: var(--muted);
}

.featured-lab {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 28px;
  align-items: start;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  border-color: rgba(0, 229, 255, 0.2);
}
.featured-lab p, .featured-lab li { color: rgba(255, 255, 255, 0.7); }
.featured-lab .lab-token { grid-row: span 3; }

/* ===========================
   LAB STUDIOS
=========================== */
.lab-studios-section { background: var(--paper-strong); }

.lab-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  position: relative;
}

/* ===========================
   SCIENTIFIC METHOD — VERTICAL TIMELINE
=========================== */
.method-block {
  position: relative;
  margin-bottom: 44px;
  padding: 36px 36px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(0, 229, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(124, 92, 255, 0.06), transparent 60%),
    var(--white);
  overflow: hidden;
}
.method-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}
.method-block > * { position: relative; z-index: 1; }

.method-head {
  margin: 0 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.22);
}
.method-eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.method-title {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.method-sub {
  margin: 0;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.method-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
}
.method-timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--violet) 50%, var(--magenta) 85%, transparent 100%);
  border-radius: 2px;
}

.m-phase, .m-loop {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  margin-bottom: 22px;
}
.m-phase:last-of-type { margin-bottom: 30px; }

.m-node {
  position: absolute;
  left: -28px;
  top: 4px;
  display: grid;
  width: 56px; height: 56px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.5), 0 10px 24px rgba(0, 229, 255, 0.3);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 900;
  z-index: 2;
}
.m-node b {
  display: block;
  font-size: 0.94rem;
}
.m-phase[data-phase="02"] .m-node { background: linear-gradient(135deg, var(--violet), var(--magenta)); box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.5), 0 10px 24px rgba(124, 92, 255, 0.3); }
.m-phase[data-phase="03"] .m-node { background: linear-gradient(135deg, var(--magenta), var(--copper)); box-shadow: 0 0 0 1px rgba(255, 61, 168, 0.5), 0 10px 24px rgba(255, 61, 168, 0.3); }
.m-phase[data-phase="04"] .m-node { background: linear-gradient(135deg, var(--copper), var(--lime)); color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 122, 69, 0.5), 0 10px 24px rgba(255, 122, 69, 0.3); }

.m-node-loop {
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--violet) !important;
  border-color: var(--violet);
  border-style: dashed;
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.3) !important;
}

.m-card {
  grid-column: 2;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.m-phase:hover .m-card {
  transform: translateX(4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 14px 32px rgba(0, 229, 255, 0.1);
}

.m-tag {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.m-tag em {
  font-style: normal;
  color: var(--violet);
  padding: 1px 8px;
  margin-left: 4px;
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 100px;
  font-size: 0.7rem;
}
.m-card h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.m-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.m-card p:last-child { margin-bottom: 0; }

.m-out {
  display: inline-block;
  padding: 6px 12px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 92, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 100px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.m-loop-card {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.06), rgba(255, 61, 168, 0.04));
  border-color: rgba(124, 92, 255, 0.25);
  border-style: dashed;
}
.m-loop .m-tag em {
  color: var(--magenta);
  background: rgba(255, 61, 168, 0.08);
  border-color: rgba(255, 61, 168, 0.3);
}

@media (max-width: 760px) {
  .method-block { padding: 24px 18px 18px; }
  .method-timeline { padding-left: 22px; }
  .method-timeline::before { left: 21px; }
  .m-phase, .m-loop { grid-template-columns: 42px 1fr; gap: 14px; }
  .m-node { width: 44px; height: 44px; left: -22px; }
  .m-node b { font-size: 0.82rem; }
  .m-node-loop { font-size: 1.3rem; }
  .m-card { padding: 18px; }
  .m-card h4 { font-size: 1.05rem; }
}

/* ===========================
   LEGACY PIPELINE STYLES — keep no-ops in case of cached refs
=========================== */
.lab-pipeline {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 44px;
  padding: 28px 22px 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(0, 229, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(124, 92, 255, 0.06), transparent 60%),
    var(--white);
}

.pipeline-caption {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.pipe-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.pipe-step::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: var(--radius) var(--radius) 0 0;
}
.pipe-step:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.12);
}

.pipe-step header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.phase-tag {
  display: inline-block;
  padding: 4px 10px;
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 100px;
  background: rgba(124, 92, 255, 0.06);
}
.phase-sym {
  display: grid;
  width: 44px; height: 44px;
  place-items: center;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  flex-shrink: 0;
}
.phase-sym svg { width: 26px; height: 26px; display: block; }

.pipe-step[data-phase="02"] .phase-sym {
  color: var(--violet);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(255, 61, 168, 0.08));
  border-color: rgba(124, 92, 255, 0.3);
}
.pipe-step[data-phase="02"] .phase-sym svg { animation: pipeAtom 8s linear infinite; }

.pipe-step[data-phase="03"] .phase-sym {
  color: var(--magenta);
  background: linear-gradient(135deg, rgba(255, 61, 168, 0.1), rgba(255, 122, 69, 0.08));
  border-color: rgba(255, 61, 168, 0.3);
}
.pipe-step[data-phase="04"] .phase-sym {
  color: var(--copper);
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.1), rgba(198, 255, 61, 0.08));
  border-color: rgba(255, 122, 69, 0.3);
}

@keyframes pipeAtom {
  to { transform: rotate(360deg); }
}

.pipe-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pipe-step p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.pipe-step footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.pipe-step footer code {
  display: block;
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.pipe-arrow {
  display: grid;
  place-items: center;
  color: var(--cyan);
  align-self: center;
}
.pipe-arrow svg { width: 100%; height: 24px; opacity: 0.7; }

.pipe-loop {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pipe-loop svg {
  width: 120px; height: 22px;
}

/* Old default .lab-flow article styles still apply to other usages; pipeline overrides above */
.lab-pipeline article {
  min-height: auto;
}
.lab-pipeline article::after { display: none; }

@media (max-width: 1020px) {
  .lab-pipeline {
    grid-template-columns: 1fr 1fr;
  }
  .pipe-arrow { display: none; }
}
@media (max-width: 760px) {
  .lab-pipeline { grid-template-columns: 1fr; padding: 22px 18px 40px; }
}

.lab-flow article {
  position: relative;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.lab-flow article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.lab-flow article::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -34px;
  width: 110px; height: 110px;
  border: 16px solid rgba(0, 229, 255, 0.1);
  border-radius: 50%;
}

.lab-flow span {
  display: inline-grid;
  width: 40px; height: 40px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 229, 255, 0.3);
}

.lab-flow p { margin-bottom: 0; color: var(--muted); }

.studio-grid { display: grid; gap: 22px; }

.studio-card {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: stretch;
  min-height: 460px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(8, 12, 36, 0.06);
  transition: transform 320ms ease, box-shadow 320ms ease;
}
.studio-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(8, 12, 36, 0.1); }

.studio-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.18), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(124, 92, 255, 0.18), transparent 50%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  border: 1px solid rgba(0, 229, 255, 0.18);
}
.studio-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 90%);
  pointer-events: none;
}

.studio-copy { padding: 18px 14px 14px 0; }

.studio-kicker {
  margin-bottom: 12px;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.studio-copy h3 {
  max-width: 800px;
  font-size: clamp(1.55rem, 2.6vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.studio-copy p, .studio-copy li, .subject-grid span { color: var(--muted); }

.studio-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

/* ===========================
   SCIENTIFIC STUDIO CARDS — v2
=========================== */
.sci-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  padding: 10px;
}

.studio-card {
  min-height: auto;
  align-items: stretch;
}

.studio-visual {
  position: sticky;
  top: 20px;
  align-self: start;
  min-height: 460px;
}

.lab-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.lab-classic, .lab-ai {
  position: relative;
  padding: 18px 18px 18px 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.lab-classic {
  background: linear-gradient(135deg, rgba(255, 181, 71, 0.07), rgba(255, 122, 69, 0.04));
  border: 1px solid rgba(255, 181, 71, 0.22);
}
.lab-classic::before {
  content: ""; position: absolute;
  left: 0; top: 14px; bottom: 14px; width: 3px;
  background: linear-gradient(180deg, var(--amber), var(--copper));
  border-radius: 4px;
}
.lab-classic strong {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lab-ai {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.07), rgba(124, 92, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.22);
}
.lab-ai::before {
  content: ""; position: absolute;
  left: 0; top: 14px; bottom: 14px; width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 4px;
}
.lab-ai strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lab-classic ul, .lab-ai ul {
  margin: 0; padding: 0; list-style: none;
}
.lab-classic li, .lab-ai li {
  position: relative;
  margin-top: 9px;
  padding-left: 16px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.lab-classic li::before {
  content: ""; position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--copper);
  border-radius: 50%;
}
.lab-ai li::before {
  content: ""; position: absolute;
  left: 0; top: 0.5em;
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
}

.tool-stack-label {
  display: block;
  margin: 22px 0 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tool-stack-label::before {
  content: "▸ ";
  color: var(--violet);
}

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tool-pills li { margin: 0; padding: 0; }
.tool-pills li::before { display: none; }

.tool-pills a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 92, 255, 0.06));
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 100px;
  transition: all 200ms ease;
}
.tool-pills a::before {
  content: "↗";
  color: var(--violet);
  font-weight: 900;
}
.tool-pills a:hover, .tool-pills a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
  outline: none;
}
.tool-pills a:hover::before, .tool-pills a:focus-visible::before { color: #fff; }

.scenarios {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.05), rgba(255, 61, 168, 0.03)),
    rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(124, 92, 255, 0.18);
}
.scenarios .tool-stack-label { margin-top: 0; }
.scenarios ol {
  margin: 0;
  padding-left: 24px;
  counter-reset: scen;
  list-style: none;
}
.scenarios li {
  position: relative;
  margin-top: 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  counter-increment: scen;
}
.scenarios li:first-child { margin-top: 4px; }
.scenarios li::before {
  content: counter(scen, decimal-leading-zero);
  position: absolute;
  left: -22px;
  top: 0;
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 900;
}
.scenarios b {
  color: var(--ink);
  font-weight: 800;
}

/* Dark studio-visual is already the dark background — keep SVG legible */
.studio-visual svg text { paint-order: stroke; }

.studio-columns strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-columns ul { margin: 12px 0 0; padding-left: 20px; }
.studio-columns li { margin-top: 10px; }

.studio-mission {
  position: relative;
  margin: 24px 0 0;
  padding: 18px 18px 18px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 92, 255, 0.06));
  font-weight: 600;
  color: var(--ink);
}
.studio-mission::before {
  content: ""; position: absolute;
  left: 0; top: 12px; bottom: 12px; width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 4px;
}

/* Studio visuals — animated */
.molecule {
  position: absolute; display: block;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    70px 44px 0 var(--violet),
    132px -4px 0 var(--magenta),
    176px 78px 0 var(--lime),
    0 0 20px rgba(0, 229, 255, 0.6);
  animation: moleculeDrift 5s ease-in-out infinite;
}
.molecule.m1 { top: 92px; left: 54px; }
.molecule.m2 { top: 226px; left: 70px; transform: scale(0.72); animation-delay: -1.3s; }
.molecule.m3 { top: 168px; left: 172px; transform: scale(0.55); animation-delay: -2.2s; }

.orbit {
  position: absolute; inset: 78px 44px;
  border: 1px dashed rgba(0, 229, 255, 0.5);
  border-radius: 50%;
  animation: orbitSpin 10s linear infinite;
}
.orbit.o2 {
  inset: 112px 72px;
  border-color: rgba(124, 92, 255, 0.5);
  animation-duration: 14s;
  animation-direction: reverse;
}

@keyframes moleculeDrift {
  0%, 100% { translate: 0 0; }
  50% { translate: 14px -10px; }
}
@keyframes orbitSpin { to { rotate: 360deg; } }

.graph-visual {
  display: flex; align-items: end; justify-content: center; gap: 14px;
  padding: 60px 34px;
}
.graph-visual span {
  display: block;
  width: 26px;
  min-height: 50px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
  animation: graphPulse 1.8s ease-in-out infinite;
}
.graph-visual span:nth-child(2) { min-height: 116px; background: linear-gradient(180deg, var(--magenta), var(--copper)); animation-delay: -0.2s; }
.graph-visual span:nth-child(3) { min-height: 200px; background: linear-gradient(180deg, var(--cyan), var(--lime)); animation-delay: -0.4s; }
.graph-visual span:nth-child(4) { min-height: 142px; background: linear-gradient(180deg, var(--violet), var(--magenta)); animation-delay: -0.6s; }
.graph-visual span:nth-child(5) { min-height: 230px; background: linear-gradient(180deg, var(--lime), var(--cyan)); animation-delay: -0.8s; }

@keyframes graphPulse {
  0%, 100% { scale: 1 0.84; }
  50% { scale: 1 1; }
}

.waveform-visual {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.waveform-visual span {
  display: block;
  width: 16px; height: 70px;
  border-radius: 999px;
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(255, 61, 168, 0.6);
  animation: waveDance 1.4s ease-in-out infinite;
}
.waveform-visual span:nth-child(2) { height: 132px; background: var(--copper); box-shadow: 0 0 10px rgba(255, 122, 69, 0.6); animation-delay: -0.15s; }
.waveform-visual span:nth-child(3) { height: 210px; background: var(--cyan); box-shadow: 0 0 12px rgba(0, 229, 255, 0.7); animation-delay: -0.3s; }
.waveform-visual span:nth-child(4) { height: 166px; background: var(--violet); box-shadow: 0 0 10px rgba(124, 92, 255, 0.6); animation-delay: -0.45s; }
.waveform-visual span:nth-child(5) { height: 104px; background: var(--lime); box-shadow: 0 0 10px rgba(198, 255, 61, 0.6); animation-delay: -0.6s; }
.waveform-visual span:nth-child(6) { height: 188px; background: var(--copper); animation-delay: -0.75s; }

@keyframes waveDance {
  0%, 100% { transform: scaleY(0.7); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.network-visual span, .network-visual i { position: absolute; display: block; }
.network-visual span {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0, 229, 255, 0.18), 0 0 20px var(--cyan);
  animation: nodePulse 2.4s ease-in-out infinite;
}
.network-visual span:nth-child(1) { top: 72px; left: 62px; }
.network-visual span:nth-child(2) { top: 116px; right: 62px; background: var(--copper); box-shadow: 0 0 0 8px rgba(255, 122, 69, 0.18), 0 0 18px var(--copper); animation-delay: -0.3s; }
.network-visual span:nth-child(3) { top: 226px; left: 116px; background: var(--magenta); box-shadow: 0 0 0 8px rgba(255, 61, 168, 0.18), 0 0 18px var(--magenta); animation-delay: -0.6s; }
.network-visual span:nth-child(4) { bottom: 70px; right: 94px; background: var(--violet); box-shadow: 0 0 0 8px rgba(124, 92, 255, 0.18), 0 0 18px var(--violet); animation-delay: -0.9s; }
.network-visual span:nth-child(5) { bottom: 112px; left: 54px; background: var(--lime); box-shadow: 0 0 0 8px rgba(198, 255, 61, 0.18), 0 0 18px var(--lime); animation-delay: -1.2s; }

.network-visual i {
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.6), rgba(124, 92, 255, 0.6));
  transform-origin: left center;
}
.network-visual i:nth-of-type(1) { top: 106px; left: 104px; width: 150px; transform: rotate(12deg); }
.network-visual i:nth-of-type(2) { top: 230px; left: 136px; width: 130px; transform: rotate(-22deg); }
.network-visual i:nth-of-type(3) { bottom: 128px; left: 96px; width: 180px; transform: rotate(16deg); }

@keyframes nodePulse {
  0%, 100% { transform: scale(0.86); }
  50% { transform: scale(1); }
}

.language-visual { display: grid; place-items: center; }
.language-visual span {
  position: absolute;
  display: grid;
  width: 68px; height: 68px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.35);
  animation: languageOrbit 10s linear infinite;
}
.language-visual span:nth-child(2) { background: linear-gradient(135deg, var(--magenta), #b91c5c); box-shadow: 0 8px 20px rgba(255, 61, 168, 0.4); animation-delay: -2s; }
.language-visual span:nth-child(3) { background: linear-gradient(135deg, var(--copper), #d97706); box-shadow: 0 8px 20px rgba(255, 122, 69, 0.4); animation-delay: -4s; }
.language-visual span:nth-child(4) { background: linear-gradient(135deg, var(--violet), #4338ca); box-shadow: 0 8px 20px rgba(124, 92, 255, 0.4); animation-delay: -6s; }
.language-visual span:nth-child(5) { background: linear-gradient(135deg, var(--lime), #65a30d); box-shadow: 0 8px 20px rgba(198, 255, 61, 0.4); color: var(--ink); animation-delay: -8s; }

@keyframes languageOrbit {
  from { transform: rotate(0deg) translateX(96px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(96px) rotate(-360deg); }
}

.archive-visual { display: grid; place-items: center; }
.archive-visual span {
  position: absolute;
  width: 150px; height: 210px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(0, 229, 255, 0.4) 2px, transparent 2px) 20px 36px / 100px 18px no-repeat,
    linear-gradient(rgba(0, 229, 255, 0.4) 2px, transparent 2px) 20px 60px / 80px 18px no-repeat,
    linear-gradient(rgba(0, 229, 255, 0.4) 2px, transparent 2px) 20px 84px / 100px 18px no-repeat,
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  animation: archiveFlip 5s ease-in-out infinite;
}
.archive-visual span:nth-child(1) { transform: rotate(-12deg) translateX(-46px); }
.archive-visual span:nth-child(2) { transform: rotate(6deg) translateX(8px); animation-delay: -1s; }
.archive-visual span:nth-child(3) { transform: rotate(16deg) translateX(58px); animation-delay: -2s; }
.archive-visual span:nth-child(4) { width: 112px; height: 152px; background: linear-gradient(135deg, var(--cyan), var(--violet)); opacity: 0.95; animation-delay: -3s; }

@keyframes archiveFlip {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.build-visual { display: grid; place-items: center; }
.drone-shape, .board-shape, .wheel-shape { position: absolute; display: block; }

.drone-shape {
  width: 150px; height: 150px;
  border: 10px solid var(--cyan);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
  animation: orbitSpin 5s linear infinite;
}
.drone-shape::before, .drone-shape::after {
  content: ""; position: absolute;
  inset: 56px -52px auto;
  height: 8px;
  background: var(--lime);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--lime);
}
.drone-shape::after { transform: rotate(90deg); }

.board-shape {
  width: 132px; height: 88px;
  transform: translate(-54px, 96px) rotate(-10deg);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--copper), #d97706);
  box-shadow: 0 8px 24px rgba(255, 122, 69, 0.4);
}

.wheel-shape {
  width: 92px; height: 92px;
  transform: translate(82px, 100px);
  border: 10px solid var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255, 61, 168, 0.4);
  animation: orbitSpin 4s linear infinite reverse;
}

.subject-matrix { margin-top: 60px; }
/* ===========================
   14 DISCIPLINES SECTION
=========================== */
.disciplines-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(0, 229, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(124, 92, 255, 0.06), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.disciplines-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
  pointer-events: none;
}
.disciplines-section .container { position: relative; z-index: 1; }

.disciplines-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}
.disciplines-head h2 { margin-bottom: 14px; }
.disciplines-head p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
}

.disciplines-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  justify-content: flex-end;
}
.leg-chip {
  padding: 7px 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.leg-stem      { color: var(--cyan); border-color: rgba(0, 229, 255, 0.35); background: rgba(0, 229, 255, 0.06); }
.leg-creative  { color: var(--magenta); border-color: rgba(255, 61, 168, 0.35); background: rgba(255, 61, 168, 0.06); }
.leg-society   { color: var(--copper); border-color: rgba(255, 122, 69, 0.35); background: rgba(255, 122, 69, 0.06); }
.leg-humanities{ color: var(--violet); border-color: rgba(124, 92, 255, 0.35); background: rgba(124, 92, 255, 0.06); }

.disciplines-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 16px 22px;
  border: 1px dashed rgba(124, 92, 255, 0.3);
  border-radius: 100px;
  background: rgba(124, 92, 255, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}
.df-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}
.disciplines-foot a {
  margin-left: auto;
  color: var(--cyan);
  font-weight: 800;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86rem;
}
.disciplines-foot a:hover { color: var(--violet); }

@media (max-width: 1020px) {
  .disciplines-head { grid-template-columns: 1fr; }
  .disciplines-legend { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .disciplines-foot { border-radius: var(--radius); }
  .disciplines-foot a { margin-left: 0; }
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.subject-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 18px;
  min-height: 200px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), border-color 280ms ease, box-shadow 280ms ease;
}
.subject-card::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  transition: width 360ms ease;
}
.subject-card::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 320ms ease;
}
.subject-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.12);
}
.subject-card:hover::before { width: 100%; }
.subject-card:hover::after { opacity: 1; }
.subject-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.subj-icon {
  display: grid;
  width: 44px; height: 44px;
  place-items: center;
  font-size: 1.3rem;
  font-family: "Times New Roman", serif;
  font-weight: 700;
  color: var(--violet);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 12px;
  margin-bottom: 4px;
}
.subject-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}
.subj-desc {
  flex: 1;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.subj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.subj-meta span {
  padding: 3px 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.subj-meta .subj-tools { color: var(--cyan); border-color: rgba(0, 229, 255, 0.25); background: rgba(0, 229, 255, 0.04); }
.subj-meta .subj-projects { color: var(--violet); border-color: rgba(124, 92, 255, 0.25); background: rgba(124, 92, 255, 0.04); }

.subj-cta {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.subject-card:hover .subj-cta { color: var(--violet); }

/* Group-coloured icon tiles */
.subject-card[data-group="stem"] .subj-icon {
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(20, 184, 166, 0.08));
  border-color: rgba(0, 229, 255, 0.3);
}
.subject-card[data-group="creative"] .subj-icon {
  color: var(--magenta);
  background: linear-gradient(135deg, rgba(255, 61, 168, 0.12), rgba(255, 122, 69, 0.08));
  border-color: rgba(255, 61, 168, 0.3);
}
.subject-card[data-group="society"] .subj-icon {
  color: var(--copper);
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.12), rgba(255, 181, 71, 0.08));
  border-color: rgba(255, 122, 69, 0.3);
}
.subject-card[data-group="humanities"] .subj-icon {
  color: var(--violet);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(255, 61, 168, 0.08));
  border-color: rgba(124, 92, 255, 0.3);
}

/* ===========================
   SUBJECT DRAWER
=========================== */
.subject-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr min(720px, 100%);
  pointer-events: none;
}
.subject-drawer[hidden] { display: none !important; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 15, 0);
  pointer-events: none;
  transition: background 320ms ease;
}
.subject-drawer.is-open { pointer-events: auto; }
.subject-drawer.is-open .drawer-backdrop {
  background: rgba(5, 6, 15, 0.7);
  pointer-events: auto;
}
.drawer-panel {
  position: relative;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  background: var(--white);
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(.2,.8,.2,1);
  pointer-events: auto;
  outline: none;
}
.subject-drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  color: #fff;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}
.drawer-id { display: flex; align-items: center; gap: 16px; }
.drawer-icon {
  display: grid;
  width: 54px; height: 54px;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 229, 255, 0.4);
}
.drawer-tag {
  margin: 0 0 4px;
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.drawer-head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}
.drawer-close {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all 200ms ease;
}
.drawer-close:hover { background: rgba(255, 61, 168, 0.2); border-color: var(--magenta); }
.drawer-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow-x: auto;
}
.drawer-tabs .dt {
  padding: 8px 14px;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 200ms ease;
}
.drawer-tabs .dt:hover { color: var(--ink); }
.drawer-tabs .dt.active {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 26px; }
.dp { animation: dpFade 240ms ease; }
.dp[hidden] { display: none; }
@keyframes dpFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.drawer-lede {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
}
.drawer-sublede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.drawer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ds-classic, .ds-ai {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
}
.ds-classic {
  background: linear-gradient(135deg, rgba(255, 181, 71, 0.07), rgba(255, 122, 69, 0.04));
  border: 1px solid rgba(255, 181, 71, 0.22);
}
.ds-ai {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.07), rgba(124, 92, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.22);
}
.ds-classic h4 { color: var(--copper); margin: 0 0 12px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 900; }
.ds-ai h4 { color: var(--cyan); margin: 0 0 12px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 900; }
.ds-classic ul, .ds-ai ul { margin: 0; padding: 0; list-style: none; }
.ds-classic li, .ds-ai li { position: relative; padding-left: 18px; margin-top: 9px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.ds-classic li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--copper); border-radius: 50%; }
.ds-ai li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 6px var(--cyan); }
.drawer-projects {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: drp;
}
.drawer-projects li {
  position: relative;
  margin-bottom: 14px;
  padding: 16px 16px 16px 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  counter-increment: drp;
}
.drawer-projects li::before {
  content: counter(drp, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 8px;
}
.drawer-projects b { display: block; color: var(--ink); font-size: 0.98rem; margin-bottom: 6px; }
.drawer-projects span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.drawer-kit { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.drawer-kit li {
  padding: 12px 16px;
  border-left: 3px solid var(--cyan);
  background: var(--paper);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  font-size: 0.92rem;
}
[data-drawer-careers] p {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(255, 61, 168, 0.05));
  border: 1px solid rgba(124, 92, 255, 0.22);
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.6;
}
.drawer-foot {
  display: flex;
  gap: 10px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.drawer-foot .button { flex: 1; min-height: 44px; }
.drawer-foot .button.ghost { color: var(--ink); background: transparent; border-color: var(--line); }

@media (max-width: 760px) {
  .subject-drawer { grid-template-columns: 1fr; }
  .drawer-panel { grid-column: 1; }
  .drawer-head { padding: 16px 18px; }
  .drawer-tabs { padding: 10px 18px; }
  .drawer-body { padding: 18px; }
  .drawer-split { grid-template-columns: 1fr; }
  .drawer-foot { padding: 14px 18px; flex-direction: column; }
}

/* ===========================
   BACK TO TOP
=========================== */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(0, 229, 255, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
  z-index: 40;
}
.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0, 229, 255, 0.55); }
.back-top:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* Reveal */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}
.reveal-card.is-visible { opacity: 1; transform: translateY(0); }

/* ===========================
   SPRINT
=========================== */
.sprint-band {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(0, 229, 255, 0.1), transparent 60%),
    var(--paper);
}

.sprint-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sprint-track article {
  position: relative;
  min-height: 280px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.sprint-track article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.12);
}

.sprint-track article::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.16), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(124, 92, 255, 0.12), transparent 50%);
}
.sprint-track article::after {
  content: ""; position: absolute;
  right: 20px; top: 20px;
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

.sprint-track span {
  position: absolute; top: 22px; left: 24px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: rgba(15, 23, 42, 0.18);
  font-size: 2.4rem; font-weight: 800; line-height: 1;
}

.sprint-track h3, .sprint-track p { position: relative; }

/* ===========================
   JOURNEY
=========================== */
.journey-section { background: var(--paper); }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 18px;
  min-height: 220px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), border-color 280ms ease, box-shadow 280ms ease;
}
.tier-card::after {
  content: "";
  position: absolute;
  right: -36px; top: -36px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 320ms ease;
}
.tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.12);
}
.tier-card:hover::after { opacity: 1; }
.tier-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.tier-badge {
  position: relative;
  display: inline-grid;
  width: 46px; height: 46px;
  place-items: center;
  margin-bottom: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 229, 255, 0.35);
}
.tier-card[data-tier="t2"] .tier-badge { background: linear-gradient(135deg, var(--violet), var(--magenta)); box-shadow: 0 8px 18px rgba(124, 92, 255, 0.35); }
.tier-card[data-tier="t3"] .tier-badge { background: linear-gradient(135deg, var(--magenta), var(--copper)); box-shadow: 0 8px 18px rgba(255, 61, 168, 0.35); }
.tier-card[data-tier="t4"] .tier-badge { background: linear-gradient(135deg, var(--copper), var(--amber)); box-shadow: 0 8px 18px rgba(255, 122, 69, 0.35); }
.tier-card[data-tier="t5"] .tier-badge { background: linear-gradient(135deg, var(--amber), var(--lime)); color: var(--ink); box-shadow: 0 8px 18px rgba(255, 181, 71, 0.4); }
.tier-card[data-tier="t6"] .tier-badge { background: linear-gradient(135deg, var(--lime), var(--cyan)); color: var(--ink); box-shadow: 0 8px 18px rgba(198, 255, 61, 0.4); }

.tier-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}
.tier-card .tier-age {
  margin: 0 0 8px;
  color: var(--magenta);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tier-desc {
  flex: 1;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}
.tier-cta {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.tier-card:hover .tier-cta { color: var(--violet); }

.tier {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.tier:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.1);
}
.tier::after {
  content: ""; position: absolute;
  right: -30px; top: -30px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(124, 92, 255, 0.08));
}

.tier span {
  position: relative;
  display: inline-grid;
  width: 38px; height: 38px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 12px;
  font-size: 0.78rem; font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 229, 255, 0.3);
}

.tier-age {
  margin-bottom: 12px;
  color: var(--magenta);
  font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ===========================
   MAKING
=========================== */
.making-section { color: #fff; }

.making-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.making-copy { max-width: 620px; }

.workbench-visual {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(124, 92, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  overflow: hidden;
}
.workbench-visual::before {
  content: ""; position: absolute; inset: 28px;
  border: 1px dashed rgba(0, 229, 255, 0.32);
  border-radius: var(--radius);
}
.workbench-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.bench-node {
  position: absolute;
  display: grid;
  width: 122px; height: 66px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: benchFloat 6s ease-in-out infinite;
  z-index: 1;
}
.bench-node.drone { top: 52px; left: 52px; animation-delay: -0.5s; }
.bench-node.pcb { top: 85px; right: 54px; animation-delay: -1.5s; background: rgba(124, 92, 255, 0.18); border-color: rgba(124, 92, 255, 0.4); }
.bench-node.cad { top: 200px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 12px 30px rgba(0, 229, 255, 0.4); animation-delay: -2.5s; }
.bench-node.craft { bottom: 70px; left: 62px; background: rgba(255, 122, 69, 0.22); border-color: rgba(255, 122, 69, 0.4); animation-delay: -3.5s; }
.bench-node.ev { right: 62px; bottom: 70px; background: rgba(255, 61, 168, 0.22); border-color: rgba(255, 61, 168, 0.4); animation-delay: -4.5s; }

@keyframes benchFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.bench-line {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
  z-index: 0;
}
.bench-line::after {
  content: ""; position: absolute;
  top: -2px; left: 0;
  width: 30px; height: 5px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  border-radius: 4px;
  filter: blur(2px);
  animation: lineDash 3s linear infinite;
}
.bench-line.one { top: 130px; left: 168px; width: 240px; transform: rotate(12deg); }
.bench-line.two { top: 150px; right: 170px; width: 210px; transform: rotate(154deg); }
.bench-line.three { bottom: 143px; left: 176px; width: 230px; transform: rotate(-18deg); }
.bench-line.four { bottom: 143px; right: 176px; width: 230px; transform: rotate(198deg); }
.bench-line.two::after, .bench-line.four::after { animation-direction: reverse; }

@keyframes lineDash {
  0% { left: -10%; }
  100% { left: 100%; }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
  position: relative;
  z-index: 1;
}

.pillars article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}
.pillars article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.06);
}
.pillars h3 { color: var(--white); }

/* ===========================
   CROSSLAB
=========================== */
.crosslab-section { background: var(--paper-strong); }

.crosslab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.crosslab-grid article {
  position: relative;
  min-height: 200px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.crosslab-grid article::after {
  content: "+";
  position: absolute;
  right: 18px; top: 14px;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(0, 229, 255, 0.3);
  line-height: 1;
}
.crosslab-grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 229, 255, 0.1); }

.crosslab-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 800;
}

/* ===========================
   MODEL TABS
=========================== */
.model-section { background: var(--paper); }

.model-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 56px;
  align-items: start;
}

.model-grid > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.tab-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(8, 12, 36, 0.08);
  overflow: hidden;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.04), rgba(124, 92, 255, 0.03)),
    rgba(8, 12, 36, 0.02);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; }
  .tab { min-height: 58px; }
}

.tab-content { padding: 32px; }
.tab-content dl { margin: 24px 0 0; display: grid; gap: 14px; }
.tab-content dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tab-content dt { font-weight: 800; color: var(--ink); }
.tab-content dd { margin: 0; color: var(--muted); }

/* ===========================
   EVOLUTION
=========================== */
.evolution-section { color: #fff; }

.evolution-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.evolution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.evolution-list article {
  padding: 26px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(0, 229, 255, 0.04);
  backdrop-filter: blur(10px);
  transition: transform 280ms ease, border-color 280ms ease;
}
.evolution-list article:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.5); }
.evolution-list h3 { color: var(--white); }

/* ===========================
   GLOBAL PROOF
=========================== */
.global-section { background: var(--paper-strong); }

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reference-grid article {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  overflow: hidden;
}
.reference-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.1);
}

.reference-grid span,
.blueprint-grid span {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  color: var(--violet);
  font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 100px;
  background: rgba(124, 92, 255, 0.06);
  align-self: flex-start;
}

.reference-grid p, .decision-box p, .virtual-grid p, .blueprint-grid p, .admin-cta p {
  color: var(--muted);
}

.reference-grid a {
  margin-top: auto;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms ease, color 200ms ease;
}
.reference-grid a::after { content: "→"; transition: transform 200ms ease; }
.reference-grid a:hover, .reference-grid a:focus-visible {
  color: var(--violet);
  outline: none;
}
.reference-grid a:hover::after { transform: translateX(4px); }

.decision-box {
  position: relative;
  margin-top: 22px;
  padding: 34px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(0, 229, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(124, 92, 255, 0.08), transparent 60%),
    var(--white);
  overflow: hidden;
}
.decision-box::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--violet), var(--magenta));
}
.decision-box h3 { font-size: 1.3rem; }

/* ===========================
   VIRTUAL
=========================== */
.virtual-section { color: #fff; }
.virtual-section h2 { max-width: 760px; }

.virtual-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 54px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.virtual-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.virtual-stack article {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(0, 229, 255, 0.04);
  backdrop-filter: blur(10px);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
  overflow: hidden;
}
.virtual-stack article::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}
.virtual-stack article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.08);
}
.virtual-stack article:hover::before { transform: translateX(100%); }

.virtual-stack strong {
  display: inline-grid;
  width: 40px; height: 40px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 229, 255, 0.3);
}

.virtual-stack h3 { color: var(--white); }

/* ===========================
   BLUEPRINT
=========================== */
.blueprint-section { background: var(--paper); }

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blueprint-grid article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.blueprint-grid article::before {
  content: ""; position: absolute;
  left: 0; top: 0; height: 100%; width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 320ms ease;
}
.blueprint-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 20px 50px rgba(124, 92, 255, 0.1);
}
.blueprint-grid article:hover::before { transform: scaleY(1); }

.admin-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 22px;
  padding: 36px;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(124, 92, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  overflow: hidden;
}
.admin-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.admin-cta > * { position: relative; }
.admin-cta h3 { margin-bottom: 10px; font-size: 1.4rem; color: #fff; }
.admin-cta p { max-width: 680px; margin-bottom: 0; color: rgba(255, 255, 255, 0.7); }
.admin-cta .button.primary { min-width: 220px; }

/* ===========================
   IMPACT
=========================== */
.impact-section { background: var(--paper); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.impact-grid article {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease;
}
.impact-grid article::after {
  content: ""; position: absolute;
  right: -30px; bottom: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 92, 255, 0.06));
}
.impact-grid article:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.3); }

.impact-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 0.95;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.impact-grid span {
  display: block;
  color: var(--muted);
  font-weight: 600;
}

/* ===========================
   ROADMAP
=========================== */
.roadmap-section { background: var(--paper-strong); }

.roadmap { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.roadmap li {
  position: relative;
  display: grid;
  grid-template-columns: 200px 240px 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px;
  padding-left: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.roadmap li::before {
  content: ""; position: absolute;
  left: 18px; top: 32px;
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan), 0 0 0 5px rgba(0, 229, 255, 0.15);
}
.roadmap li:hover { transform: translateX(6px); box-shadow: 0 16px 40px rgba(0, 229, 255, 0.08); }

.roadmap time {
  color: var(--violet);
  font-weight: 900;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.roadmap h3, .roadmap p { margin-bottom: 0; }

/* ===========================
   CONTACT
=========================== */
.contact-section { color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.contact-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  font-size: 0.84rem; font-weight: 700;
  background: rgba(0, 229, 255, 0.05);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form .full { grid-column: 1 / -1; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 200ms ease, background 200ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 118px;
  padding: 12px 14px;
}

.contact-form select option { color: var(--ink); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  padding-block: 44px;
  color: rgba(255, 255, 255, 0.6);
  background: #04050d;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.footer-brand .brand-mark { width: 38px; height: 38px; }

.site-footer p {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.site-footer a {
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 200ms ease;
}

.site-footer a:hover, .site-footer a:focus-visible {
  color: var(--cyan);
  outline: none;
}

/* ===========================
   LEADERSHIP & FACULTY
=========================== */
.team-section {
  position: relative;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(0, 229, 255, 0.12), transparent 60%),
    #06070d;
  overflow: hidden;
}
.team-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
  pointer-events: none;
}
.team-section .container { position: relative; z-index: 1; }
.team-section h2 { color: #fff; }
.team-section .eyebrow { color: var(--cyan-soft); }

.leadership-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  padding: 36px;
  margin-bottom: 56px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(124, 92, 255, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.lead-portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 220px;
}
.lead-initials {
  display: grid;
  place-items: center;
  width: 140px; height: 140px;
  font-size: 3rem;
  font-weight: 800;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet) 60%, var(--magenta));
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(124, 92, 255, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  z-index: 1;
}
.lead-ring {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(0, 229, 255, 0.5);
  border-radius: 50%;
  animation: orbitSpin 22s linear infinite;
}
.lead-ring::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--lime);
}

.lead-body h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; }
.lead-name { margin: 0 0 14px; font-size: 1.05rem; }
.lead-name strong { color: #fff; font-weight: 800; }
.lead-name span { color: var(--cyan-soft); font-weight: 600; }
.lead-bio { color: rgba(255, 255, 255, 0.72); font-size: 1rem; line-height: 1.6; margin-bottom: 16px; }
.lead-quote {
  margin: 0 0 20px;
  padding: 14px 20px;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #fff;
  font-style: italic;
  font-size: 1.02rem;
}
.lead-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}
.lead-meta div { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lead-meta dt {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.lead-meta dd { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.45; }

.faculty-head { margin-bottom: 30px; }
.faculty-head p:not(.eyebrow) { color: rgba(255, 255, 255, 0.7); }

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.faculty-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.faculty-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.12);
}
.fc-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}
.faculty-card:hover .fc-cta { color: var(--lime); }

/* CEO card click affordance */
.leadership-card { position: relative; transition: border-color 240ms ease, box-shadow 240ms ease; }
.leadership-card:hover { border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 20px 60px rgba(124, 92, 255, 0.18); }
.leadership-card::after {
  content: "View full profile →";
  position: absolute;
  right: 24px; bottom: 20px;
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  opacity: 0.7;
}
.leadership-card:hover::after { opacity: 1; color: var(--lime); }

/* link-less tool pill inside drawer */
.tool-static {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 92, 255, 0.06));
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 100px;
}
.drawer-tabs .dt[hidden] { display: none; }
.fc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.fc-icon {
  display: grid;
  width: 52px; height: 52px;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(124, 92, 255, 0.12));
  border: 1px solid rgba(0, 229, 255, 0.25);
  flex-shrink: 0;
}
.fc-lab {
  margin: 0 0 2px;
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fc-name { margin: 0; color: #fff; font-size: 1.12rem; font-weight: 800; }
.fc-role { margin: 2px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; }
.fc-creds {
  margin: 0 0 12px;
  padding: 8px 12px;
  color: var(--lime);
  background: rgba(198, 255, 61, 0.06);
  border: 1px solid rgba(198, 255, 61, 0.2);
  border-radius: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 600;
}
.fc-focus { margin: 0 0 14px; color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; line-height: 1.5; }
.fc-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.fc-stack li {
  padding: 4px 10px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 600;
}
.fc-signature {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.5;
}
.fc-signature span {
  display: block;
  margin-bottom: 4px;
  color: var(--violet);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .leadership-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .leadership-card::after { display: none; }
  .lead-quote { text-align: left; }
  .lead-meta { text-align: left; }
  .faculty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .leadership-card { padding: 24px; }
  .lead-meta { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
}

/* CODES-AI build & host partner strip */
.codesai-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.codesai-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
}
.codesai-logo {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.3), 0 6px 16px rgba(0, 229, 255, 0.2);
}
.codesai-logo svg { display: block; width: 100%; height: 100%; }
.codesai-text strong {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}
.codesai-text em {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.02em;
}
.codesai-badge:hover .codesai-text strong { color: var(--cyan); }

.codesai-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
}
.codesai-contact a { color: var(--cyan); font-weight: 700; }
.codesai-contact a:hover { color: var(--lime); }

@media (max-width: 760px) {
  .codesai-strip { flex-direction: column; align-items: flex-start; }
  .codesai-contact { text-align: left; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1020px) {
  .hero-grid, .two-column, .making-grid, .model-grid,
  .evolution-grid, .virtual-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { padding-block: 130px 80px; gap: 36px; }
  .hero-panel { max-width: 560px; }
  .hero-signals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-rotator { max-width: 100%; }
  h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
  .lab-grid, .reference-grid, .blueprint-grid, .subject-grid, .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-card { grid-template-columns: 1fr; }
  .studio-visual { min-height: 360px; position: relative; top: auto; }
  .lab-split { grid-template-columns: 1fr; }
  .featured-lab { grid-column: span 2; }
  .sprint-track, .crosslab-grid, .pillars, .lab-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roadmap li { grid-template-columns: 160px 1fr; }
  .roadmap li p { grid-column: 1 / -1; }
}

/* Header collapses to drawer earlier than other layouts */
@media (max-width: 1080px) {
  .site-header { top: 12px; padding: 10px 10px 10px 18px; min-height: 70px; border-radius: 18px; gap: 16px; }
  .brand { padding-right: 0; border-right: 0; gap: 12px; }
  .brand-mark { width: 46px; height: 46px; }
  .wordmark { font-size: 1.2rem; }
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 86px 12px auto;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: rgba(8, 10, 25, 0.96);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  body.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a { min-height: 48px; justify-content: flex-start; color: rgba(255, 255, 255, 0.85); }

  .nav-group { width: 100%; }
  .nav-trigger,
  .site-nav .nav-pill {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
  }
  .nav-menu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    padding: 4px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(0, 229, 255, 0.08);
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-menu a { padding: 10px 12px; }
  .nm-icon { width: 32px; height: 32px; font-size: 1rem; }
  .nav-menu::before { display: none; }

  .site-nav .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { top: 8px; padding: 8px 10px 8px 14px; min-height: 60px; border-radius: 16px; }
  .brand-mark { width: 40px; height: 40px; }
  .wordmark { font-size: 1.05rem; }
  .brand small { font-size: 0.62rem; letter-spacing: 0.18em; }
  .site-nav { inset: 76px 10px auto; padding: 14px; }

  .hero { min-height: 780px; }
  .hero-grid { gap: 36px; padding-block: 120px 80px; }
  .hero-actions, .button { width: 100%; }
  .hero-actions { max-width: 100%; }

  .hero-signals, .lab-grid, .reference-grid, .subject-grid,
  .compare-grid, .sprint-track, .journey-grid, .crosslab-grid,
  .pillars, .lab-flow, .studio-columns, .evolution-list,
  .virtual-stack, .blueprint-grid, .impact-grid, .contact-form {
    grid-template-columns: 1fr;
  }
  .hero-signals { grid-template-columns: repeat(2, 1fr); }

  .featured-lab { grid-column: auto; grid-template-columns: 1fr; }
  .featured-lab .lab-token { grid-row: auto; }

  .studio-card { min-height: auto; padding: 14px; }
  .studio-copy { padding: 14px 6px 6px; }
  .studio-visual { min-height: 240px; }

  .section { padding-block: 80px; }

  .workbench-visual { min-height: 380px; }
  .bench-node { width: 104px; height: 58px; font-size: 0.78rem; }
  .bench-node.drone { top: 46px; left: 28px; }
  .bench-node.pcb { top: 76px; right: 28px; }
  .bench-node.cad { top: 164px; }
  .bench-node.craft { bottom: 56px; left: 28px; }
  .bench-node.ev { right: 28px; bottom: 56px; }
  .bench-line { display: none; }

  .tabs { display: grid; grid-template-columns: 1fr; }
  .tab-content dl div, .roadmap li { grid-template-columns: 1fr; gap: 8px; }
  .roadmap li { padding-left: 44px; }

  .contact-form .full { grid-column: auto; }
  .admin-cta { display: grid; }
  .admin-cta .button.primary { width: 100%; }
  .footer-grid { display: grid; }
  .site-footer nav { justify-content: flex-start; }
}

/* ===========================
   TEACHER TRAINING
=========================== */
.teachers-section {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(124, 92, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(0, 229, 255, 0.06), transparent 60%),
    var(--paper-strong);
}

.teacher-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}

.teacher-mode {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}
.teacher-mode::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--amber), var(--copper));
}
.teacher-mode:nth-child(2)::before {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
}
.teacher-mode:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 50px rgba(8, 12, 36, 0.08);
}

.teacher-mode header { margin-bottom: 20px; }

.mode-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 122, 69, 0.3);
  border-radius: 100px;
  background: rgba(255, 122, 69, 0.06);
}
.mode-tag.mode-virtual {
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
}

.teacher-mode h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}

.teacher-mode ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.teacher-mode li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}
.teacher-mode li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 900;
}

.mode-stat {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.mode-stat b { color: var(--ink); font-weight: 800; }

/* Modules */
.teacher-modules { margin-bottom: 60px; }
.modules-title {
  margin-bottom: 22px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.modules-grid article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 280ms ease, border-color 280ms ease;
}
.modules-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.3);
}

.m-num {
  display: inline-grid;
  width: 38px; height: 38px;
  margin-bottom: 14px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  border-radius: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(124, 92, 255, 0.3);
}

.modules-grid h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.modules-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.m-output {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* Audience / outcomes */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.teacher-audience, .teacher-outcomes {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.teacher-audience h3, .teacher-outcomes h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.teacher-audience ul, .teacher-outcomes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.teacher-audience li, .teacher-outcomes li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}
.teacher-audience li::before {
  content: "▸";
  position: absolute; left: 0;
  color: var(--copper);
  font-weight: 900;
}
.teacher-outcomes li::before {
  content: "★";
  position: absolute; left: 0;
  color: var(--violet);
  font-weight: 900;
}
.teacher-outcomes b { color: var(--ink); font-weight: 800; }

/* Funding strip */
.teacher-funding {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(124, 92, 255, 0.04)),
    var(--white);
  border: 1px solid rgba(0, 229, 255, 0.18);
  margin-bottom: 22px;
}
.teacher-funding h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
}

.funding-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.funding-pills li {
  padding: 7px 14px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
}

/* CTA */
.teacher-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 36px;
  color: #fff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(124, 92, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #0d1124 0%, #1a1448 100%);
  overflow: hidden;
  position: relative;
}
.teacher-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.teacher-cta > * { position: relative; }
.teacher-cta h3 { margin: 0 0 6px; font-size: 1.35rem; color: #fff; }
.teacher-cta p { margin: 0; color: rgba(255, 255, 255, 0.7); }
.teacher-cta-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.teacher-cta-buttons .button { color: var(--ink); }
.teacher-cta-buttons .button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1020px) {
  .teacher-modes, .teacher-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-funding { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .modules-grid { grid-template-columns: 1fr; }
  .teacher-cta { flex-direction: column; align-items: flex-start; }
  .teacher-cta-buttons { width: 100%; }
  .teacher-cta-buttons .button { flex: 1; }
}

/* ===========================
   DRONE LAB — DEDICATED
=========================== */
.drone-section {
  position: relative;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(124, 92, 255, 0.18), transparent 60%),
    #06070d;
  overflow: hidden;
}
.drone-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 80%);
  pointer-events: none;
}
.drone-section .container { position: relative; z-index: 1; }
.drone-section h2,
.drone-section h3 { color: #fff; }
.drone-section h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.drone-section h4 { color: #fff; font-weight: 800; }
.drone-section p { color: rgba(255, 255, 255, 0.7); }

/* Anatomy */
.drone-anatomy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 70px;
}
.drone-diagram {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(124, 92, 255, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.02);
}
.drone-diagram svg { width: 100%; height: auto; display: block; }

.drone-parts h3 { margin-bottom: 18px; }
.part-list {
  margin: 0;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.72);
}
.part-list li { margin-top: 10px; line-height: 1.55; font-size: 0.94rem; }
.part-list li::marker {
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}
.part-list b { color: #fff; font-weight: 800; }

/* Software stack */
.drone-stack { margin-bottom: 60px; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stack-grid article {
  padding: 22px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}
.stack-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  background: rgba(0, 229, 255, 0.06);
}
.stack-grid .tool-pills a {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(124, 92, 255, 0.08));
  border-color: rgba(0, 229, 255, 0.3);
}

/* Hardware tiers */
.drone-tiers { margin-bottom: 60px; }
.tier-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tier-track article {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(0, 229, 255, 0.06), rgba(124, 92, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease;
}
.tier-track article:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.5); }
.tier-track header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tier-id {
  display: grid;
  width: 42px; height: 42px;
  place-items: center;
  color: #0d1124;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 229, 255, 0.35);
}
.tier-track h4 { margin: 0; font-size: 1.1rem; }
.tier-track ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tier-track li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}
.tier-track li::before {
  content: "▸";
  position: absolute; left: 0;
  color: var(--cyan);
}

/* AI map */
.drone-aimap { margin-bottom: 60px; }
.aimap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.aimap-grid article {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(124, 92, 255, 0.06);
  transition: transform 240ms ease, border-color 240ms ease;
}
.aimap-grid article:hover { transform: translateY(-3px); border-color: rgba(124, 92, 255, 0.55); }
.step-num {
  display: inline-grid;
  width: 36px; height: 36px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}
.aimap-grid h4 { margin-bottom: 6px; font-size: 1rem; }
.aimap-grid p { color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; line-height: 1.5; margin-bottom: 0; }

/* Missions */
.drone-missions { margin-bottom: 60px; }
.mission-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mission-list article {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 240ms ease, border-color 240ms ease;
}
.mission-list article::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--lime));
  border-radius: 4px 0 0 4px;
}
.mission-list article[data-level="2"]::before { background: linear-gradient(180deg, var(--amber), var(--copper)); }
.mission-list article[data-level="3"]::before { background: linear-gradient(180deg, var(--magenta), var(--violet)); }
.mission-list article:hover { transform: translateY(-3px); }
.mission-list header { margin-bottom: 10px; }
.m-level {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.mission-list article[data-level="2"] .m-level { color: var(--amber); background: rgba(255, 181, 71, 0.06); border-color: rgba(255, 181, 71, 0.3); }
.mission-list article[data-level="3"] .m-level { color: var(--magenta); background: rgba(255, 61, 168, 0.06); border-color: rgba(255, 61, 168, 0.3); }
.mission-list h4 { margin: 0 0 6px; font-size: 1.05rem; }
.mission-list p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.5; }
.m-out {
  margin: 10px 0 0 !important;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 229, 255, 0.18);
  color: var(--cyan) !important;
  font-size: 0.8rem !important;
  font-family: "JetBrains Mono", monospace;
}

/* Legal */
.drone-legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(255, 122, 69, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 181, 71, 0.25);
}
.drone-legal h3 { margin: 8px 0 12px; font-size: 1.3rem; }
.drone-legal b { color: var(--amber); }
.legal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legal-pills li {
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 181, 71, 0.3);
  border-radius: 100px;
  background: rgba(255, 181, 71, 0.05);
}
.legal-pills a {
  color: var(--amber);
}
.legal-pills a:hover { color: #fff; }

@media (max-width: 1020px) {
  .drone-anatomy, .drone-legal { grid-template-columns: 1fr; }
  .stack-grid, .tier-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aimap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .stack-grid, .tier-track, .aimap-grid, .mission-list { grid-template-columns: 1fr; }
}

/* ===========================
   ENROLMENT WIZARD
=========================== */
.wizard-section {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(0, 229, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(124, 92, 255, 0.08), transparent 60%),
    var(--paper);
}

.wizard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(8, 12, 36, 0.08);
  overflow: hidden;
}

.wizard-rail {
  padding: 32px 24px;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
    linear-gradient(160deg, #0d1124 0%, #1a1448 100%);
  color: rgba(255, 255, 255, 0.7);
  border-right: 1px solid var(--line);
}

.wizard-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.wizard-rail li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.86rem;
  transition: background 200ms ease, color 200ms ease;
}

.wizard-rail li b {
  display: grid;
  width: 28px; height: 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 800;
}

.wizard-rail li span { font-weight: 600; }

.wizard-rail li.active {
  background: rgba(0, 229, 255, 0.1);
  color: #fff;
}
.wizard-rail li.active b {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.35);
}

.wizard-tip {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.06);
}
.wizard-tip strong { display: block; color: var(--cyan); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.wizard-tip p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.84rem; line-height: 1.5; }

.wizard-panels {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 0;
  position: relative;
  min-height: 540px;
}

.wizard-step {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  display: none;
}
.wizard-step.active, .wizard-step[hidden=false] { display: block; }
.wizard-step[hidden] { display: none; }
.wizard-step.active { display: block; }

.wizard-step legend {
  display: block;
  margin-bottom: 6px;
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wizard-step .step-lede {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 620px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.field em { color: var(--magenta); font-style: normal; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 6px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  font-weight: 500;
}
.field input, .field select { min-height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 90px; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18);
}

/* Lab chooser */
.lab-chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 8px;
}
.lab-chip {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 200ms ease;
}
.lab-chip:hover { transform: translateY(-2px); border-color: var(--cyan); }
.lab-chip.is-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #ffd93d, #ffb547);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 181, 71, 0.4);
}
.lab-chip.is-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.35);
}

/* Quiz */
.quiz-q { margin-bottom: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.quiz-prompt { margin: 0 0 12px; color: var(--ink); font-weight: 700; }
.quiz-prompt b { color: var(--violet); font-family: "JetBrains Mono", monospace; margin-right: 6px; }
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.quiz-opt:hover { background: var(--white); border-color: var(--line); }
.quiz-opt input[type="radio"] { accent-color: var(--cyan); }
.quiz-opt code { background: rgba(0, 229, 255, 0.08); color: var(--cyan); padding: 2px 6px; border-radius: 4px; font-size: 0.84em; }

/* Controls */
.wizard-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
}
.wizard-controls .button { min-height: 44px; padding: 0 18px; font-size: 0.88rem; }
.wizard-controls .button.quiet { color: var(--muted); }
.wizard-controls .button.quiet:hover { color: var(--ink); background: var(--paper); }
.wizard-controls .button.quiet:disabled { opacity: 0.4; cursor: not-allowed; }

.wizard-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--paper-strong);
  border-radius: 100px;
  overflow: hidden;
}
.wizard-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width 320ms ease;
}

/* RESULT */
.wizard-result { padding-bottom: 28px; }
.result-head { margin-bottom: 22px; }
.result-head .eyebrow { color: var(--lime); border-color: rgba(198, 255, 61, 0.4); background: rgba(198, 255, 61, 0.06); }
.result-head h3 {
  margin-top: 12px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
  background: linear-gradient(135deg, var(--ink), var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.result-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.result-meta b { color: var(--ink); font-weight: 800; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.result-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 14px;
}
.result-card h4 {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.result-card .big-stat {
  margin: 0 0 8px;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  color: var(--ink);
}
.result-card .big-stat small {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin-left: 6px;
}
.result-card .muted-line { color: var(--muted); font-size: 0.86rem; margin-bottom: 0; margin-top: 6px; }

.band-bar {
  height: 8px;
  margin: 10px 0 6px;
  background: var(--paper-strong);
  border-radius: 100px;
  overflow: hidden;
}
.band-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
}

.timetable {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.timetable li {
  display: grid;
  grid-template-columns: 130px 200px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border-left: 3px solid var(--cyan);
  background: var(--white);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
}
.timetable time {
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.84rem;
  font-weight: 800;
}
.timetable strong { color: var(--ink); font-weight: 800; }
.timetable span { color: var(--muted); }

.result-card ul:not(.timetable):not(.tool-pills) {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.result-card ul:not(.timetable):not(.tool-pills) li { margin-top: 8px; }

.result-scenarios {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}
.result-scenarios li { margin-top: 10px; line-height: 1.55; }
.result-scenarios li::marker { color: var(--cyan); font-weight: 900; }

.result-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(124, 92, 255, 0.04)),
    var(--white);
  border-color: rgba(0, 229, 255, 0.2);
}
.result-cta h4 { color: var(--ink); font-size: 1rem; letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
.result-cta p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.result-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.result-buttons .button { color: var(--ink); }
.result-buttons .button.ghost { color: var(--ink); background: transparent; border-color: var(--line); }

/* Responsive wizard */
@media (max-width: 900px) {
  .wizard { grid-template-columns: 1fr; }
  .wizard-rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .wizard-rail ol { display: flex; gap: 6px; overflow-x: auto; }
  .wizard-rail li { flex-shrink: 0; padding: 8px 12px; }
  .wizard-rail li span { display: none; }
  .wizard-tip { display: none; }
  .wizard-panels { padding: 24px 22px 0; min-height: auto; }
  .result-grid { grid-template-columns: 1fr; }
  .result-cta { flex-direction: column; align-items: flex-start; }
  .timetable li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 760px) {
  .tool-ticker { display: none; }
  .hero-rotator {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.74rem;
    padding: 10px 12px;
    gap: 6px;
  }
  .hero-rotator .rotator-track { width: 100%; }
  .hero { min-height: 100vh; }
  .hero-grid { padding-block: 110px 60px; }
  .hero-panel { max-width: 100%; }
  .hero-panel-head { padding: 10px 14px; font-size: 0.7rem; }
  .hero-panel-foot { padding: 12px 14px 14px; font-size: 0.7rem; }
  .hero-signals div { padding: 18px 14px; }
  .hero-signals strong { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-actions { flex-direction: column; }
  .hero-status { font-size: 0.72rem; padding: 5px 12px; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-lede { font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
